@farris/ui-vue 1.0.2 → 1.1.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 (798) hide show
  1. package/farris.all.esm.js +52196 -23847
  2. package/farris.all.umd.cjs +26 -0
  3. package/package.json +7 -6
  4. package/style.css +1 -11
  5. package/accordion/index.esm.js +0 -355
  6. package/accordion/index.umd.js +0 -1
  7. package/accordion/package.json +0 -8
  8. package/accordion/style.css +0 -1
  9. package/avatar/index.esm.js +0 -121
  10. package/avatar/index.umd.js +0 -1
  11. package/avatar/package.json +0 -8
  12. package/avatar/style.css +0 -1
  13. package/button/index.esm.js +0 -271
  14. package/button/index.umd.js +0 -1
  15. package/button/package.json +0 -8
  16. package/button-edit/index.esm.js +0 -1208
  17. package/button-edit/index.umd.js +0 -1
  18. package/button-edit/package.json +0 -8
  19. package/button-edit/style.css +0 -1
  20. package/calculator/index.esm.js +0 -315
  21. package/calculator/index.umd.js +0 -1
  22. package/calculator/package.json +0 -8
  23. package/calculator/style.css +0 -1
  24. package/calendar/index.esm.js +0 -778
  25. package/calendar/index.umd.js +0 -1
  26. package/calendar/package.json +0 -8
  27. package/calendar/style.css +0 -1
  28. package/capsule/index.esm.js +0 -130
  29. package/capsule/index.umd.js +0 -1
  30. package/capsule/package.json +0 -8
  31. package/capsule/style.css +0 -1
  32. package/checkbox/index.esm.js +0 -251
  33. package/checkbox/index.umd.js +0 -1
  34. package/checkbox/package.json +0 -8
  35. package/color-picker/index.esm.js +0 -1551
  36. package/color-picker/index.umd.js +0 -16
  37. package/color-picker/package.json +0 -8
  38. package/color-picker/style.css +0 -1
  39. package/combo-list/index.esm.js +0 -2227
  40. package/combo-list/index.umd.js +0 -1
  41. package/combo-list/package.json +0 -8
  42. package/combo-list/style.css +0 -1
  43. package/component/index.esm.js +0 -176
  44. package/component/index.umd.js +0 -1
  45. package/component/package.json +0 -8
  46. package/condition/index.esm.js +0 -13570
  47. package/condition/index.umd.js +0 -1
  48. package/condition/package.json +0 -8
  49. package/condition/style.css +0 -1
  50. package/content-container/index.esm.js +0 -242
  51. package/content-container/index.umd.js +0 -1
  52. package/content-container/package.json +0 -8
  53. package/data-grid/index.esm.js +0 -13724
  54. package/data-grid/index.umd.js +0 -1
  55. package/data-grid/package.json +0 -8
  56. package/data-grid/style.css +0 -1
  57. package/date-picker/index.esm.js +0 -2558
  58. package/date-picker/index.umd.js +0 -1
  59. package/date-picker/package.json +0 -8
  60. package/date-picker/style.css +0 -1
  61. package/designer-canvas/index.esm.js +0 -15240
  62. package/designer-canvas/index.umd.js +0 -1
  63. package/designer-canvas/package.json +0 -8
  64. package/designer-canvas/style.css +0 -1
  65. package/discussion-editor/index.esm.js +0 -3559
  66. package/discussion-editor/index.umd.js +0 -16
  67. package/discussion-editor/package.json +0 -8
  68. package/discussion-editor/style.css +0 -1
  69. package/discussion-list/index.esm.js +0 -111
  70. package/discussion-list/index.umd.js +0 -1
  71. package/discussion-list/package.json +0 -8
  72. package/discussion-list/style.css +0 -1
  73. package/dropdown/index.esm.js +0 -214
  74. package/dropdown/index.umd.js +0 -1
  75. package/dropdown/package.json +0 -8
  76. package/dropdown/style.css +0 -1
  77. package/dynamic-form/index.esm.js +0 -13568
  78. package/dynamic-form/index.umd.js +0 -1
  79. package/dynamic-form/package.json +0 -8
  80. package/dynamic-form/style.css +0 -1
  81. package/dynamic-resolver/index.esm.js +0 -41
  82. package/dynamic-resolver/index.umd.js +0 -1
  83. package/dynamic-resolver/package.json +0 -8
  84. package/dynamic-view/index.esm.js +0 -13608
  85. package/dynamic-view/index.umd.js +0 -1
  86. package/dynamic-view/package.json +0 -8
  87. package/dynamic-view/style.css +0 -1
  88. package/farris.all.umd.js +0 -24
  89. package/filter-bar/index.esm.js +0 -549
  90. package/filter-bar/index.umd.js +0 -1
  91. package/filter-bar/package.json +0 -8
  92. package/filter-bar/style.css +0 -1
  93. package/image-cropper/index.esm.js +0 -720
  94. package/image-cropper/index.umd.js +0 -1
  95. package/image-cropper/package.json +0 -8
  96. package/image-cropper/style.css +0 -1
  97. package/input-group/index.esm.js +0 -549
  98. package/input-group/index.umd.js +0 -1
  99. package/input-group/package.json +0 -8
  100. package/input-group/style.css +0 -1
  101. package/list-nav/index.esm.js +0 -61
  102. package/list-nav/index.umd.js +0 -1
  103. package/list-nav/package.json +0 -8
  104. package/list-nav/style.css +0 -1
  105. package/list-view/index.esm.js +0 -536
  106. package/list-view/index.umd.js +0 -1
  107. package/list-view/package.json +0 -8
  108. package/list-view/style.css +0 -1
  109. package/loading/index.esm.js +0 -124
  110. package/loading/index.umd.js +0 -8
  111. package/loading/package.json +0 -8
  112. package/loading/style.css +0 -1
  113. package/locale/index.esm.js +0 -1868
  114. package/locale/index.umd.js +0 -1
  115. package/locale/package.json +0 -8
  116. package/message-box/index.esm.js +0 -572
  117. package/message-box/index.umd.js +0 -1
  118. package/message-box/package.json +0 -8
  119. package/message-box/style.css +0 -1
  120. package/modal/index.esm.js +0 -212
  121. package/modal/index.umd.js +0 -1
  122. package/modal/package.json +0 -8
  123. package/modal/style.css +0 -1
  124. package/nav/index.esm.js +0 -456
  125. package/nav/index.umd.js +0 -16
  126. package/nav/package.json +0 -8
  127. package/nav/style.css +0 -1
  128. package/notify/index.esm.js +0 -187
  129. package/notify/index.umd.js +0 -1
  130. package/notify/package.json +0 -8
  131. package/notify/style.css +0 -1
  132. package/order/index.esm.js +0 -2278
  133. package/order/index.umd.js +0 -1
  134. package/order/package.json +0 -8
  135. package/order/style.css +0 -1
  136. package/page-footer/index.esm.js +0 -94
  137. package/page-footer/index.umd.js +0 -1
  138. package/page-footer/package.json +0 -8
  139. package/page-header/index.esm.js +0 -230
  140. package/page-header/index.umd.js +0 -1
  141. package/page-header/package.json +0 -8
  142. package/pagination/index.esm.js +0 -340
  143. package/pagination/index.umd.js +0 -1
  144. package/pagination/package.json +0 -8
  145. package/pagination/style.css +0 -1
  146. package/popover/index.esm.js +0 -218
  147. package/popover/index.umd.js +0 -1
  148. package/popover/package.json +0 -8
  149. package/popover/style.css +0 -1
  150. package/propress/index.esm.js +0 -108
  151. package/propress/index.umd.js +0 -1
  152. package/propress/package.json +0 -8
  153. package/propress/style.css +0 -1
  154. package/radio-group/index.esm.js +0 -221
  155. package/radio-group/index.umd.js +0 -1
  156. package/radio-group/package.json +0 -8
  157. package/rate/index.esm.js +0 -168
  158. package/rate/index.umd.js +0 -1
  159. package/rate/package.json +0 -8
  160. package/rate/style.css +0 -1
  161. package/response-toolbar/index.esm.js +0 -433
  162. package/response-toolbar/index.umd.js +0 -1
  163. package/response-toolbar/package.json +0 -8
  164. package/search-box/index.esm.js +0 -208
  165. package/search-box/index.umd.js +0 -1
  166. package/search-box/package.json +0 -8
  167. package/search-box/style.css +0 -1
  168. package/section/index.esm.js +0 -366
  169. package/section/index.umd.js +0 -1
  170. package/section/package.json +0 -8
  171. package/section/style.css +0 -1
  172. package/splitter/index.esm.js +0 -491
  173. package/splitter/index.umd.js +0 -1
  174. package/splitter/package.json +0 -8
  175. package/splitter/style.css +0 -1
  176. package/step/index.esm.js +0 -117
  177. package/step/index.umd.js +0 -1
  178. package/step/package.json +0 -8
  179. package/step/style.css +0 -1
  180. package/switch/index.esm.js +0 -197
  181. package/switch/index.umd.js +0 -1
  182. package/switch/package.json +0 -8
  183. package/switch/style.css +0 -1
  184. package/tabs/index.esm.js +0 -1638
  185. package/tabs/index.umd.js +0 -1
  186. package/tabs/package.json +0 -8
  187. package/tabs/style.css +0 -1
  188. package/tags/index.esm.js +0 -287
  189. package/tags/index.umd.js +0 -1
  190. package/tags/package.json +0 -8
  191. package/tags/style.css +0 -1
  192. package/text/index.esm.js +0 -36
  193. package/text/index.umd.js +0 -1
  194. package/text/package.json +0 -8
  195. package/time-picker/index.esm.js +0 -1465
  196. package/time-picker/index.umd.js +0 -1
  197. package/time-picker/package.json +0 -8
  198. package/time-picker/style.css +0 -1
  199. package/tooltip/index.esm.js +0 -195
  200. package/tooltip/index.umd.js +0 -1
  201. package/tooltip/package.json +0 -8
  202. package/tooltip/style.css +0 -1
  203. package/transfer/index.esm.js +0 -642
  204. package/transfer/index.umd.js +0 -1
  205. package/transfer/package.json +0 -8
  206. package/transfer/style.css +0 -1
  207. package/tree-view/index.esm.js +0 -701
  208. package/tree-view/index.umd.js +0 -1
  209. package/tree-view/package.json +0 -8
  210. package/tree-view/style.css +0 -1
  211. package/types/accordion/index.d.ts +0 -27
  212. package/types/accordion/src/accordion.component.d.ts +0 -6
  213. package/types/accordion/src/accordion.props.d.ts +0 -19
  214. package/types/accordion/src/components/accordion-item.component.d.ts +0 -6
  215. package/types/accordion/src/components/accordion-item.props.d.ts +0 -19
  216. package/types/accordion/src/designer/accordion-item.design.component.d.ts +0 -6
  217. package/types/accordion/src/designer/accordion.design.component.d.ts +0 -6
  218. package/types/accordion/src/schema/schema-mapper.d.ts +0 -2
  219. package/types/avatar/index.d.ts +0 -23
  220. package/types/avatar/src/avatar.component.d.ts +0 -111
  221. package/types/avatar/src/avatar.props.d.ts +0 -96
  222. package/types/avatar/src/composition/types.d.ts +0 -31
  223. package/types/avatar/src/composition/use-image.d.ts +0 -19
  224. package/types/button/index.d.ts +0 -25
  225. package/types/button/src/button-group.component.d.ts +0 -108
  226. package/types/button/src/button-group.props.d.ts +0 -106
  227. package/types/button/src/button.component.d.ts +0 -42
  228. package/types/button/src/button.props.d.ts +0 -53
  229. package/types/button/src/composition/types-group.d.ts +0 -24
  230. package/types/button/src/composition/types.d.ts +0 -24
  231. package/types/button/src/composition/use-button-group.d.ts +0 -19
  232. package/types/button/src/composition/use-button.d.ts +0 -19
  233. package/types/button-edit/index.d.ts +0 -25
  234. package/types/button-edit/src/button-edit.component.d.ts +0 -6
  235. package/types/button-edit/src/button-edit.props.d.ts +0 -21
  236. package/types/button-edit/src/components/button-group.component.d.ts +0 -3
  237. package/types/button-edit/src/components/popup-container.component.d.ts +0 -4
  238. package/types/button-edit/src/components/text-edit.component.d.ts +0 -4
  239. package/types/button-edit/src/composition/types.d.ts +0 -132
  240. package/types/button-edit/src/composition/use-button.d.ts +0 -19
  241. package/types/button-edit/src/composition/use-clear.d.ts +0 -19
  242. package/types/button-edit/src/composition/use-popup.d.ts +0 -4
  243. package/types/button-edit/src/composition/use-text-box.d.ts +0 -19
  244. package/types/button-edit/src/schema/schema-mapper.d.ts +0 -2
  245. package/types/calculator/index.d.ts +0 -23
  246. package/types/calculator/src/calculator.component.d.ts +0 -8
  247. package/types/calculator/src/calculator.props.d.ts +0 -23
  248. package/types/calculator/src/composition/use-calculator.d.ts +0 -26
  249. package/types/calendar/index.d.ts +0 -21
  250. package/types/calendar/src/calendar.props.d.ts +0 -26
  251. package/types/calendar/src/components/day/day-view.props.d.ts +0 -34
  252. package/types/calendar/src/components/header/header.props.d.ts +0 -24
  253. package/types/calendar/src/components/month/month-view.props.d.ts +0 -69
  254. package/types/calendar/src/components/week/week-view.component.d.ts +0 -106
  255. package/types/calendar/src/components/week/week-view.props.d.ts +0 -51
  256. package/types/calendar/src/composition/types.d.ts +0 -57
  257. package/types/calendar/src/composition/use-calendar.d.ts +0 -2
  258. package/types/calendar/src/composition/use-compare.d.ts +0 -2
  259. package/types/calendar/src/composition/use-date.d.ts +0 -2
  260. package/types/calendar/src/composition/use-event.d.ts +0 -30
  261. package/types/calendar/src/composition/use-month.d.ts +0 -2
  262. package/types/calendar/src/types/calendar.d.ts +0 -13
  263. package/types/calendar/src/types/common.d.ts +0 -32
  264. package/types/calendar/src/types/month-view.d.ts +0 -23
  265. package/types/calendar/src/types/month.d.ts +0 -20
  266. package/types/calendar/src/types/schedule.d.ts +0 -35
  267. package/types/capsule/index.d.ts +0 -8
  268. package/types/capsule/src/capsule.props.d.ts +0 -67
  269. package/types/checkbox/index.d.ts +0 -24
  270. package/types/checkbox/src/checkbox-group.component.d.ts +0 -6
  271. package/types/checkbox/src/checkbox-group.props.d.ts +0 -19
  272. package/types/checkbox/src/composition/types.d.ts +0 -46
  273. package/types/checkbox/src/composition/use-checkbox-group.d.ts +0 -19
  274. package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
  275. package/types/color-picker/index.d.ts +0 -22
  276. package/types/color-picker/src/color-picker.props.d.ts +0 -62
  277. package/types/color-picker/src/composition/class/base-color.class.d.ts +0 -3
  278. package/types/color-picker/src/composition/class/cmyk.class.d.ts +0 -21
  279. package/types/color-picker/src/composition/class/colors-table.class.d.ts +0 -154
  280. package/types/color-picker/src/composition/class/control.class.d.ts +0 -47
  281. package/types/color-picker/src/composition/class/helper.functions.d.ts +0 -4
  282. package/types/color-picker/src/composition/class/hsla.class.d.ts +0 -21
  283. package/types/color-picker/src/composition/class/hsva.class.d.ts +0 -21
  284. package/types/color-picker/src/composition/class/rgba.class.d.ts +0 -21
  285. package/types/color-picker/src/composition/component/alpha.d.ts +0 -34
  286. package/types/color-picker/src/composition/component/hue.d.ts +0 -40
  287. package/types/color-picker/src/composition/component/preset.d.ts +0 -43
  288. package/types/color-picker/src/composition/component/props/alpha.props.d.ts +0 -16
  289. package/types/color-picker/src/composition/component/props/hue.props.d.ts +0 -19
  290. package/types/color-picker/src/composition/component/props/preset.props.d.ts +0 -20
  291. package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +0 -20
  292. package/types/color-picker/src/composition/component/sv-panel.d.ts +0 -43
  293. package/types/combo-list/index.d.ts +0 -25
  294. package/types/combo-list/src/combo-list.props.d.ts +0 -59
  295. package/types/combo-list/src/components/list-container.props.d.ts +0 -56
  296. package/types/combo-list/src/composition/types.d.ts +0 -11
  297. package/types/combo-list/src/composition/use-data-source.d.ts +0 -3
  298. package/types/combo-list/src/designer/combo-list.design.component.d.ts +0 -6
  299. package/types/combo-list/src/schema/schema-mapper.d.ts +0 -2
  300. package/types/component/index.d.ts +0 -26
  301. package/types/component/src/component.props.d.ts +0 -4
  302. package/types/component/src/designer/types.d.ts +0 -10
  303. package/types/component/src/designer/use-designer-rules.d.ts +0 -2
  304. package/types/component/src/schema/schema-mapper.d.ts +0 -2
  305. package/types/condition/index.d.ts +0 -24
  306. package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -13
  307. package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -19
  308. package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -25
  309. package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -18
  310. package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -13
  311. package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -18
  312. package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -21
  313. package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -21
  314. package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -15
  315. package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -18
  316. package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -21
  317. package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -13
  318. package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -13
  319. package/types/condition/src/composition/condition-value/text-value.d.ts +0 -13
  320. package/types/condition/src/composition/condition-value/types.d.ts +0 -9
  321. package/types/condition/src/composition/types.d.ts +0 -41
  322. package/types/condition/src/composition/use-compare.d.ts +0 -40
  323. package/types/condition/src/composition/use-condition-value.d.ts +0 -2
  324. package/types/condition/src/composition/use-condition.d.ts +0 -2
  325. package/types/condition/src/composition/use-field-config.d.ts +0 -4
  326. package/types/condition/src/composition/use-selection.d.ts +0 -4
  327. package/types/condition/src/condition.props.d.ts +0 -58
  328. package/types/condition/src/types.d.ts +0 -144
  329. package/types/content-container/index.d.ts +0 -26
  330. package/types/content-container/src/content-container.props.d.ts +0 -4
  331. package/types/content-container/src/designer/use-designer-rules.d.ts +0 -3
  332. package/types/content-container/src/schema/schema-mapper.d.ts +0 -2
  333. package/types/data-grid/index.d.ts +0 -26
  334. package/types/data-grid/src/components/data/data-area.component.d.ts +0 -21
  335. package/types/data-grid/src/components/editors/commands.component.d.ts +0 -18
  336. package/types/data-grid/src/components/editors/date-picker.component.d.ts +0 -18
  337. package/types/data-grid/src/components/editors/text-area-editor.component.d.ts +0 -3
  338. package/types/data-grid/src/components/editors/text-editor.component.d.ts +0 -18
  339. package/types/data-grid/src/components/filter/boolean-filter-editor.component.d.ts +0 -2
  340. package/types/data-grid/src/components/filter/column-filter-container.component.d.ts +0 -19
  341. package/types/data-grid/src/components/filter/date-filter-editor.component.d.ts +0 -2
  342. package/types/data-grid/src/components/filter/enum-filter-editor.component.d.ts +0 -3
  343. package/types/data-grid/src/components/filter/list-filter-editor.component.d.ts +0 -2
  344. package/types/data-grid/src/components/filter/numeric-filter-editor.component.d.ts +0 -2
  345. package/types/data-grid/src/components/filter/text-filter-editor.component.d.ts +0 -3
  346. package/types/data-grid/src/components/group-panel/group-panel.component.d.ts +0 -5
  347. package/types/data-grid/src/components/header/data-grid-header-handler.component.d.ts +0 -21
  348. package/types/data-grid/src/components/header/data-grid-header.component.d.ts +0 -22
  349. package/types/data-grid/src/components/pagination/data-grid-pagination.component.d.ts +0 -5
  350. package/types/data-grid/src/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -21
  351. package/types/data-grid/src/components/scrollbar/vertical-scrollbar.component.d.ts +0 -21
  352. package/types/data-grid/src/components/settings/data-grid-settings-icon.component.d.ts +0 -21
  353. package/types/data-grid/src/components/sidebar/data-grid-sidebar.component.d.ts +0 -21
  354. package/types/data-grid/src/components/summary/data-grid-summary.component.d.ts +0 -5
  355. package/types/data-grid/src/composition/types.d.ts +0 -301
  356. package/types/data-grid/src/composition/use-column-filter.d.ts +0 -3
  357. package/types/data-grid/src/composition/use-column.d.ts +0 -20
  358. package/types/data-grid/src/composition/use-command-column.d.ts +0 -3
  359. package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
  360. package/types/data-grid/src/composition/use-drag-column.d.ts +0 -4
  361. package/types/data-grid/src/composition/use-filter-history.d.ts +0 -2
  362. package/types/data-grid/src/composition/use-group-column.d.ts +0 -22
  363. package/types/data-grid/src/composition/use-group-data.d.ts +0 -3
  364. package/types/data-grid/src/composition/use-positon-style.d.ts +0 -20
  365. package/types/data-grid/src/composition/use-resize.d.ts +0 -20
  366. package/types/data-grid/src/composition/use-row.d.ts +0 -19
  367. package/types/data-grid/src/composition/use-selection.d.ts +0 -3
  368. package/types/data-grid/src/composition/use-sidebar.d.ts +0 -3
  369. package/types/data-grid/src/composition/use-sort.d.ts +0 -3
  370. package/types/data-grid/src/composition/use-virtual-scroll.d.ts +0 -20
  371. package/types/data-grid/src/composition/use-visual-data-bound.d.ts +0 -2
  372. package/types/data-grid/src/composition/use-visual-data-cell.d.ts +0 -3
  373. package/types/data-grid/src/composition/use-visual-data-row.d.ts +0 -3
  374. package/types/data-grid/src/composition/use-visual-data.d.ts +0 -19
  375. package/types/data-grid/src/composition/use-visual-summary-row.d.ts +0 -3
  376. package/types/data-grid/src/data-grid.props.d.ts +0 -512
  377. package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
  378. package/types/date-picker/src/components/calendar/calendar.component.d.ts +0 -168
  379. package/types/date-picker/src/components/calendar/calendar.props.d.ts +0 -94
  380. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +0 -140
  381. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.props.d.ts +0 -81
  382. package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +0 -628
  383. package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -306
  384. package/types/date-picker/src/components/month/month.component.d.ts +0 -88
  385. package/types/date-picker/src/components/month/month.props.d.ts +0 -57
  386. package/types/date-picker/src/components/year/year.component.d.ts +0 -88
  387. package/types/date-picker/src/components/year/year.props.d.ts +0 -57
  388. package/types/date-picker/src/composition/types.d.ts +0 -102
  389. package/types/date-picker/src/composition/use-calendar.d.ts +0 -2
  390. package/types/date-picker/src/composition/use-compare.d.ts +0 -2
  391. package/types/date-picker/src/composition/use-date.d.ts +0 -2
  392. package/types/date-picker/src/composition/use-disable-date.d.ts +0 -18
  393. package/types/date-picker/src/composition/use-disable-month.d.ts +0 -2
  394. package/types/date-picker/src/composition/use-event.d.ts +0 -45
  395. package/types/date-picker/src/composition/use-mark.d.ts +0 -2
  396. package/types/date-picker/src/composition/use-month.d.ts +0 -2
  397. package/types/date-picker/src/composition/use-number.d.ts +0 -2
  398. package/types/date-picker/src/composition/use-year.d.ts +0 -2
  399. package/types/date-picker/src/date-picker.component.d.ts +0 -6
  400. package/types/date-picker/src/date-picker.props.d.ts +0 -19
  401. package/types/date-picker/src/designer/date-picker.design.component.d.ts +0 -6
  402. package/types/date-picker/src/schema/schema-mapper.d.ts +0 -2
  403. package/types/date-picker/src/types/calendar.d.ts +0 -30
  404. package/types/date-picker/src/types/common.d.ts +0 -42
  405. package/types/date-picker/src/types/date-model.d.ts +0 -38
  406. package/types/date-picker/src/types/month.d.ts +0 -48
  407. package/types/date-picker/src/types/year.d.ts +0 -24
  408. package/types/designer-canvas/index.d.ts +0 -8
  409. package/types/designer-canvas/src/components/designer-item.props.d.ts +0 -3
  410. package/types/designer-canvas/src/components/designer-placeholder.props.d.ts +0 -7
  411. package/types/designer-canvas/src/components/maps.d.ts +0 -3
  412. package/types/designer-canvas/src/components/toolbox.props.d.ts +0 -11
  413. package/types/designer-canvas/src/composition/types.d.ts +0 -27
  414. package/types/designer-canvas/src/designer-canvas.props.d.ts +0 -3
  415. package/types/designer-canvas/src/types.d.ts +0 -40
  416. package/types/discussion-editor/discussion-editor.component.d.ts +0 -121
  417. package/types/discussion-editor/discussion-editor.props.d.ts +0 -69
  418. package/types/discussion-editor/index.d.ts +0 -23
  419. package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +0 -15
  420. package/types/discussion-editor/src/types/interface.d.ts +0 -22
  421. package/types/discussion-list/discussion-list.component.d.ts +0 -70
  422. package/types/discussion-list/discussion-list.props.d.ts +0 -52
  423. package/types/discussion-list/index.d.ts +0 -23
  424. package/types/dropdown/index.d.ts +0 -9
  425. package/types/dropdown/src/composition/function/use-dropdown.d.ts +0 -26
  426. package/types/dropdown/src/composition/props/dropdown.item.props.d.ts +0 -46
  427. package/types/dropdown/src/composition/props/dropdown.props.d.ts +0 -99
  428. package/types/dropdown/src/dropdown.component.d.ts +0 -179
  429. package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
  430. package/types/dropdown/src/types.d.ts +0 -46
  431. package/types/dynamic-form/index.d.ts +0 -14
  432. package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +0 -4
  433. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +0 -15
  434. package/types/dynamic-form/src/composition/types.d.ts +0 -5
  435. package/types/dynamic-form/src/dynamic-form.props.d.ts +0 -3
  436. package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
  437. package/types/dynamic-form/src/types.d.ts +0 -17
  438. package/types/dynamic-resolver/index.d.ts +0 -3
  439. package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
  440. package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
  441. package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -5
  442. package/types/dynamic-resolver/src/types.d.ts +0 -1
  443. package/types/dynamic-view/index.d.ts +0 -8
  444. package/types/dynamic-view/src/components/maps.d.ts +0 -4
  445. package/types/dynamic-view/src/dynamic-view.props.d.ts +0 -15
  446. package/types/filter-bar/index.d.ts +0 -7
  447. package/types/filter-bar/src/components/ellipsis-button.component.d.ts +0 -3
  448. package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
  449. package/types/filter-bar/src/components/toolbar-component.d.ts +0 -4
  450. package/types/filter-bar/src/composition/types.d.ts +0 -14
  451. package/types/filter-bar/src/composition/use-filter-items.d.ts +0 -4
  452. package/types/filter-bar/src/filter-bar.props.d.ts +0 -53
  453. package/types/filter-bar/src/types.d.ts +0 -9
  454. package/types/image-cropper/index.d.ts +0 -23
  455. package/types/image-cropper/src/composition/type.d.ts +0 -44
  456. package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +0 -2
  457. package/types/image-cropper/src/composition/use-image-cropper.d.ts +0 -20
  458. package/types/image-cropper/src/image-cropper.component.d.ts +0 -248
  459. package/types/image-cropper/src/image-cropper.props.d.ts +0 -153
  460. package/types/index.d.ts +0 -25
  461. package/types/input-group/index.d.ts +0 -25
  462. package/types/input-group/src/components/appended-button.component.d.ts +0 -4
  463. package/types/input-group/src/components/text-edit.component.d.ts +0 -4
  464. package/types/input-group/src/composition/types.d.ts +0 -37
  465. package/types/input-group/src/composition/use-appended-button.d.ts +0 -4
  466. package/types/input-group/src/composition/use-clear.d.ts +0 -4
  467. package/types/input-group/src/composition/use-password.d.ts +0 -4
  468. package/types/input-group/src/composition/use-text-box.d.ts +0 -4
  469. package/types/input-group/src/input-group.props.d.ts +0 -4
  470. package/types/input-group/src/schema/schema-mapper.d.ts +0 -2
  471. package/types/list-nav/index.d.ts +0 -23
  472. package/types/list-nav/src/list-nav.component.d.ts +0 -61
  473. package/types/list-nav/src/list-nav.props.d.ts +0 -51
  474. package/types/list-view/index.d.ts +0 -23
  475. package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
  476. package/types/list-view/src/components/header/search-header.component.d.ts +0 -6
  477. package/types/list-view/src/components/list-view-checkbox.props.d.ts +0 -38
  478. package/types/list-view/src/composition/types.d.ts +0 -40
  479. package/types/list-view/src/composition/use-data-view.d.ts +0 -4
  480. package/types/list-view/src/composition/use-draggable.d.ts +0 -4
  481. package/types/list-view/src/composition/use-hover.d.ts +0 -2
  482. package/types/list-view/src/composition/use-item.d.ts +0 -4
  483. package/types/list-view/src/composition/use-remove.d.ts +0 -4
  484. package/types/list-view/src/composition/use-search.d.ts +0 -5
  485. package/types/list-view/src/composition/use-selection.d.ts +0 -4
  486. package/types/list-view/src/list-view.component.d.ts +0 -203
  487. package/types/list-view/src/list-view.props.d.ts +0 -113
  488. package/types/loading/index.d.ts +0 -23
  489. package/types/loading/src/composition/types.d.ts +0 -19
  490. package/types/loading/src/loading.component.d.ts +0 -43
  491. package/types/loading/src/loading.props.d.ts +0 -35
  492. package/types/loading/src/loading.service.d.ts +0 -4
  493. package/types/locale/src/lib/locale.service.d.ts +0 -26
  494. package/types/locale/src/lib/locales/en-us/avatar.d.ts +0 -7
  495. package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +0 -15
  496. package/types/locale/src/lib/locales/en-us/collapse.d.ts +0 -4
  497. package/types/locale/src/lib/locales/en-us/combo.d.ts +0 -4
  498. package/types/locale/src/lib/locales/en-us/datagrid.d.ts +0 -103
  499. package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +0 -25
  500. package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +0 -50
  501. package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +0 -25
  502. package/types/locale/src/lib/locales/en-us/footer.d.ts +0 -4
  503. package/types/locale/src/lib/locales/en-us/index.d.ts +0 -568
  504. package/types/locale/src/lib/locales/en-us/language-label.d.ts +0 -8
  505. package/types/locale/src/lib/locales/en-us/list-filter.d.ts +0 -6
  506. package/types/locale/src/lib/locales/en-us/list-view.d.ts +0 -3
  507. package/types/locale/src/lib/locales/en-us/loading.d.ts +0 -3
  508. package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +0 -38
  509. package/types/locale/src/lib/locales/en-us/lookup.d.ts +0 -48
  510. package/types/locale/src/lib/locales/en-us/messager.d.ts +0 -28
  511. package/types/locale/src/lib/locales/en-us/multi-select.d.ts +0 -15
  512. package/types/locale/src/lib/locales/en-us/notify.d.ts +0 -3
  513. package/types/locale/src/lib/locales/en-us/numeric.d.ts +0 -7
  514. package/types/locale/src/lib/locales/en-us/page-walker.d.ts +0 -6
  515. package/types/locale/src/lib/locales/en-us/pagination.d.ts +0 -17
  516. package/types/locale/src/lib/locales/en-us/progress-step.d.ts +0 -3
  517. package/types/locale/src/lib/locales/en-us/query-condition.d.ts +0 -33
  518. package/types/locale/src/lib/locales/en-us/query-solution.d.ts +0 -41
  519. package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +0 -3
  520. package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +0 -3
  521. package/types/locale/src/lib/locales/en-us/section.d.ts +0 -4
  522. package/types/locale/src/lib/locales/en-us/sidebar.d.ts +0 -3
  523. package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +0 -15
  524. package/types/locale/src/lib/locales/en-us/tabs.d.ts +0 -3
  525. package/types/locale/src/lib/locales/en-us/tag.d.ts +0 -4
  526. package/types/locale/src/lib/locales/en-us/text.d.ts +0 -10
  527. package/types/locale/src/lib/locales/en-us/treetable.d.ts +0 -8
  528. package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +0 -5
  529. package/types/locale/src/lib/locales/index.d.ts +0 -1712
  530. package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +0 -7
  531. package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +0 -15
  532. package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +0 -4
  533. package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +0 -4
  534. package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +0 -103
  535. package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +0 -25
  536. package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +0 -50
  537. package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +0 -25
  538. package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +0 -4
  539. package/types/locale/src/lib/locales/zh-CHT/index.d.ts +0 -568
  540. package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +0 -8
  541. package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +0 -6
  542. package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +0 -3
  543. package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +0 -3
  544. package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +0 -38
  545. package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +0 -48
  546. package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +0 -28
  547. package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +0 -15
  548. package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +0 -3
  549. package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +0 -7
  550. package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +0 -6
  551. package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +0 -17
  552. package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +0 -3
  553. package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +0 -33
  554. package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +0 -41
  555. package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +0 -3
  556. package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +0 -3
  557. package/types/locale/src/lib/locales/zh-CHT/section.d.ts +0 -4
  558. package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +0 -3
  559. package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +0 -15
  560. package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +0 -3
  561. package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +0 -4
  562. package/types/locale/src/lib/locales/zh-CHT/text.d.ts +0 -10
  563. package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +0 -8
  564. package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +0 -5
  565. package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +0 -7
  566. package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +0 -15
  567. package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +0 -4
  568. package/types/locale/src/lib/locales/zh-cn/combo.d.ts +0 -4
  569. package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +0 -105
  570. package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +0 -25
  571. package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +0 -50
  572. package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +0 -25
  573. package/types/locale/src/lib/locales/zh-cn/footer.d.ts +0 -4
  574. package/types/locale/src/lib/locales/zh-cn/index.d.ts +0 -574
  575. package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +0 -8
  576. package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +0 -6
  577. package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +0 -3
  578. package/types/locale/src/lib/locales/zh-cn/loading.d.ts +0 -3
  579. package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +0 -38
  580. package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +0 -48
  581. package/types/locale/src/lib/locales/zh-cn/messager.d.ts +0 -32
  582. package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +0 -15
  583. package/types/locale/src/lib/locales/zh-cn/notify.d.ts +0 -3
  584. package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +0 -7
  585. package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +0 -6
  586. package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +0 -17
  587. package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +0 -3
  588. package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +0 -33
  589. package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +0 -41
  590. package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +0 -3
  591. package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +0 -3
  592. package/types/locale/src/lib/locales/zh-cn/section.d.ts +0 -4
  593. package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +0 -3
  594. package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +0 -15
  595. package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +0 -3
  596. package/types/locale/src/lib/locales/zh-cn/tag.d.ts +0 -4
  597. package/types/locale/src/lib/locales/zh-cn/text.d.ts +0 -10
  598. package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +0 -8
  599. package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +0 -5
  600. package/types/message-box/index.d.ts +0 -24
  601. package/types/message-box/src/components/footer/footer.component.d.ts +0 -4
  602. package/types/message-box/src/components/message-content/reactive-content.component.d.ts +0 -3
  603. package/types/message-box/src/components/message-content/static-content.component.d.ts +0 -3
  604. package/types/message-box/src/components/message-detail/exception-message.component.d.ts +0 -3
  605. package/types/message-box/src/components/message-detail/static-message.component.d.ts +0 -2
  606. package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +0 -3
  607. package/types/message-box/src/composition/types.d.ts +0 -27
  608. package/types/message-box/src/composition/use-copy.d.ts +0 -2
  609. package/types/message-box/src/composition/use-editor.d.ts +0 -4
  610. package/types/message-box/src/composition/use-feedback.d.ts +0 -2
  611. package/types/message-box/src/message-box.component.d.ts +0 -70
  612. package/types/message-box/src/message-box.props.d.ts +0 -54
  613. package/types/modal/index.d.ts +0 -24
  614. package/types/modal/src/modal.component.d.ts +0 -106
  615. package/types/modal/src/modal.props.d.ts +0 -72
  616. package/types/modal/src/modal.service.d.ts +0 -17
  617. package/types/nav/index.d.ts +0 -23
  618. package/types/nav/src/composition/types.d.ts +0 -6
  619. package/types/nav/src/nav.component.d.ts +0 -87
  620. package/types/nav/src/nav.props.d.ts +0 -62
  621. package/types/notify/index.d.ts +0 -26
  622. package/types/notify/src/components/toast.component.d.ts +0 -23
  623. package/types/notify/src/components/toast.props.d.ts +0 -27
  624. package/types/notify/src/notify.component.d.ts +0 -130
  625. package/types/notify/src/notify.props.d.ts +0 -99
  626. package/types/notify/src/notify.service.d.ts +0 -4
  627. package/types/number-range/index.d.ts +0 -24
  628. package/types/number-range/src/components/spinner.component.d.ts +0 -4
  629. package/types/number-range/src/components/text-box.component.d.ts +0 -4
  630. package/types/number-range/src/composition/types.d.ts +0 -54
  631. package/types/number-range/src/composition/use-format.d.ts +0 -4
  632. package/types/number-range/src/composition/use-number.d.ts +0 -4
  633. package/types/number-range/src/composition/use-spinner.d.ts +0 -4
  634. package/types/number-range/src/composition/use-text-box.d.ts +0 -4
  635. package/types/number-range/src/number-range.component.d.ts +0 -6
  636. package/types/number-range/src/number-range.props.d.ts +0 -19
  637. package/types/number-range/src/schema/schema-mapper.d.ts +0 -2
  638. package/types/number-spinner/index.d.ts +0 -25
  639. package/types/number-spinner/src/components/spinner.component.d.ts +0 -4
  640. package/types/number-spinner/src/components/text-box.component.d.ts +0 -4
  641. package/types/number-spinner/src/composition/types.d.ts +0 -57
  642. package/types/number-spinner/src/composition/use-format.d.ts +0 -4
  643. package/types/number-spinner/src/composition/use-number.d.ts +0 -4
  644. package/types/number-spinner/src/composition/use-spinner.d.ts +0 -4
  645. package/types/number-spinner/src/composition/use-text-box.d.ts +0 -4
  646. package/types/number-spinner/src/designer/number-spinner.component.d.ts +0 -6
  647. package/types/number-spinner/src/number-spinner.component.d.ts +0 -6
  648. package/types/number-spinner/src/number-spinner.props.d.ts +0 -19
  649. package/types/number-spinner/src/schema/schema-mapper.d.ts +0 -2
  650. package/types/order/index.d.ts +0 -8
  651. package/types/order/src/order.props.d.ts +0 -44
  652. package/types/overlay/src/overlay.component.d.ts +0 -28
  653. package/types/overlay/src/overlay.props.d.ts +0 -29
  654. package/types/overlay/src/overlay.service.d.ts +0 -16
  655. package/types/page-footer/index.d.ts +0 -8
  656. package/types/page-footer/src/page-footer.props.d.ts +0 -40
  657. package/types/page-header/index.d.ts +0 -10
  658. package/types/page-header/src/page-header.props.d.ts +0 -4
  659. package/types/page-header/src/schema/schema-mapper.d.ts +0 -2
  660. package/types/pagination/index.d.ts +0 -23
  661. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +0 -19
  662. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +0 -20
  663. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +0 -20
  664. package/types/pagination/src/components/pages/page-info.component.d.ts +0 -19
  665. package/types/pagination/src/components/pages/page-list.component.d.ts +0 -19
  666. package/types/pagination/src/components/pages/page-number.component.d.ts +0 -20
  667. package/types/pagination/src/composition/types.d.ts +0 -24
  668. package/types/pagination/src/composition/use-pages.d.ts +0 -18
  669. package/types/pagination/src/pagination.components.d.ts +0 -43
  670. package/types/pagination/src/pagination.props.d.ts +0 -36
  671. package/types/popover/index.d.ts +0 -24
  672. package/types/popover/src/composition/types.d.ts +0 -24
  673. package/types/popover/src/composition/use-host.d.ts +0 -3
  674. package/types/popover/src/composition/use-popup.d.ts +0 -4
  675. package/types/popover/src/composition/use-position.d.ts +0 -4
  676. package/types/popover/src/composition/use-resize.d.ts +0 -4
  677. package/types/popover/src/popover.component.d.ts +0 -106
  678. package/types/popover/src/popover.directive.d.ts +0 -5
  679. package/types/popover/src/popover.props.d.ts +0 -66
  680. package/types/propress/index.d.ts +0 -8
  681. package/types/propress/src/progress.props.d.ts +0 -49
  682. package/types/query-solution/index.d.ts +0 -25
  683. package/types/query-solution/src/designer/query-solution.design.component.d.ts +0 -6
  684. package/types/query-solution/src/query-solution.component.d.ts +0 -6
  685. package/types/query-solution/src/query-solution.d.ts +0 -40
  686. package/types/query-solution/src/query-solution.props.d.ts +0 -19
  687. package/types/query-solution/src/schema/preset-resolver.d.ts +0 -5
  688. package/types/query-solution/src/schema/schema-mapper.d.ts +0 -2
  689. package/types/radio-group/index.d.ts +0 -24
  690. package/types/radio-group/src/composition/change-radio.d.ts +0 -19
  691. package/types/radio-group/src/composition/types.d.ts +0 -42
  692. package/types/radio-group/src/radio-group.component.d.ts +0 -6
  693. package/types/radio-group/src/radio-group.props.d.ts +0 -19
  694. package/types/radio-group/src/schema/schema-mapper.d.ts +0 -2
  695. package/types/rate/index.d.ts +0 -23
  696. package/types/rate/src/rate.component.d.ts +0 -124
  697. package/types/rate/src/rate.props.d.ts +0 -86
  698. package/types/response-toolbar/index.d.ts +0 -10
  699. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -5
  700. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +0 -7
  701. package/types/response-toolbar/src/composition/types.d.ts +0 -9
  702. package/types/response-toolbar/src/composition/use-icon.d.ts +0 -2
  703. package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +0 -2
  704. package/types/response-toolbar/src/response-toolbar.props.d.ts +0 -26
  705. package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +0 -13
  706. package/types/response-toolbar/src/types/response-toolbar-group.d.ts +0 -19
  707. package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +0 -36
  708. package/types/response-toolbar/src/types/response-toolbar-item.d.ts +0 -4
  709. package/types/search-box/index.d.ts +0 -24
  710. package/types/search-box/src/components/search-box-container.props.d.ts +0 -21
  711. package/types/search-box/src/schema/schema-mapper.d.ts +0 -2
  712. package/types/search-box/src/search-box.props.d.ts +0 -4
  713. package/types/section/index.d.ts +0 -25
  714. package/types/section/src/schema/schema-mapper.d.ts +0 -2
  715. package/types/section/src/section.component.d.ts +0 -6
  716. package/types/section/src/section.props.d.ts +0 -34
  717. package/types/splitter/index.d.ts +0 -10
  718. package/types/splitter/src/components/splitter-pane.props.d.ts +0 -5
  719. package/types/splitter/src/composition/types.d.ts +0 -23
  720. package/types/splitter/src/composition/use-resize-handle.d.ts +0 -3
  721. package/types/splitter/src/composition/use-resize-pane.d.ts +0 -3
  722. package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +0 -2
  723. package/types/splitter/src/schema/splitter-schema-mapper.d.ts +0 -2
  724. package/types/splitter/src/splitter.props.d.ts +0 -5
  725. package/types/step/index.d.ts +0 -8
  726. package/types/step/src/step.props.d.ts +0 -46
  727. package/types/switch/index.d.ts +0 -24
  728. package/types/switch/src/schema/schema-mapper.d.ts +0 -2
  729. package/types/switch/src/switch.component.d.ts +0 -6
  730. package/types/switch/src/switch.props.d.ts +0 -20
  731. package/types/tabs/index.d.ts +0 -27
  732. package/types/tabs/src/components/more-pages-button.component.d.ts +0 -5
  733. package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +0 -5
  734. package/types/tabs/src/components/tab-header-item.component.d.ts +0 -4
  735. package/types/tabs/src/components/tab-header.component.d.ts +0 -4
  736. package/types/tabs/src/components/tab-page.component.d.ts +0 -6
  737. package/types/tabs/src/components/tab-page.props.d.ts +0 -19
  738. package/types/tabs/src/composition/types.d.ts +0 -66
  739. package/types/tabs/src/composition/use-dropdown.d.ts +0 -3
  740. package/types/tabs/src/composition/use-nav.d.ts +0 -4
  741. package/types/tabs/src/composition/use-one-page.d.ts +0 -4
  742. package/types/tabs/src/composition/use-tabs.d.ts +0 -19
  743. package/types/tabs/src/schema/schema-mapper.d.ts +0 -2
  744. package/types/tabs/src/tabs.props.d.ts +0 -22
  745. package/types/tags/index.d.ts +0 -8
  746. package/types/tags/src/composition/types.d.ts +0 -13
  747. package/types/tags/src/composition/use-draggable.d.ts +0 -4
  748. package/types/tags/src/tags.props.d.ts +0 -92
  749. package/types/text/index.d.ts +0 -23
  750. package/types/text/src/text.component.d.ts +0 -16
  751. package/types/text/src/text.props.d.ts +0 -26
  752. package/types/time-picker/index.d.ts +0 -11
  753. package/types/time-picker/src/components/time-holder.d.ts +0 -82
  754. package/types/time-picker/src/components/time.props.d.ts +0 -48
  755. package/types/time-picker/src/components/utils/check.d.ts +0 -1
  756. package/types/time-picker/src/schema/schema-mapper.d.ts +0 -2
  757. package/types/time-picker/src/time-picker.props.d.ts +0 -4
  758. package/types/tooltip/index.d.ts +0 -24
  759. package/types/tooltip/src/composition/types.d.ts +0 -45
  760. package/types/tooltip/src/composition/use-adjust-placement.d.ts +0 -20
  761. package/types/tooltip/src/composition/use-adjust-position.d.ts +0 -21
  762. package/types/tooltip/src/composition/use-calculate-position.d.ts +0 -21
  763. package/types/tooltip/src/composition/use-relative.d.ts +0 -19
  764. package/types/tooltip/src/composition/use-tooltip-position.d.ts +0 -22
  765. package/types/tooltip/src/tooltip.component.d.ts +0 -58
  766. package/types/tooltip/src/tooltip.directive.d.ts +0 -5
  767. package/types/tooltip/src/tooltip.props.d.ts +0 -45
  768. package/types/transfer/index.d.ts +0 -8
  769. package/types/transfer/src/transfer.props.d.ts +0 -71
  770. package/types/tree-view/index.d.ts +0 -8
  771. package/types/tree-view/src/components/data/control-tree-view.component.d.ts +0 -108
  772. package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -8
  773. package/types/tree-view/src/composition/types.d.ts +0 -97
  774. package/types/tree-view/src/composition/use-auto-check-children-and-cascade.d.ts +0 -4
  775. package/types/tree-view/src/composition/use-tree-data-view.d.ts +0 -21
  776. package/types/tree-view/src/composition/use-tree-node-icon.d.ts +0 -4
  777. package/types/tree-view/src/composition/use-tree-node-lines.d.ts +0 -3
  778. package/types/tree-view/src/composition/use-visual-tree-node.d.ts +0 -9
  779. package/types/tree-view/src/control-tree-view.props.d.ts +0 -58
  780. package/types/tree-view/src/tree-view.component.d.ts +0 -97
  781. package/types/tree-view/src/tree-view.props.d.ts +0 -54
  782. package/types/uploader/index.d.ts +0 -25
  783. package/types/uploader/src/components/sub-component.props.d.ts +0 -63
  784. package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
  785. package/types/uploader/src/composition/type.d.ts +0 -135
  786. package/types/uploader/src/service/get-service.d.ts +0 -2
  787. package/types/uploader/src/uploader.props.d.ts +0 -156
  788. package/types/verify-detail/index.d.ts +0 -23
  789. package/types/verify-detail/src/verify-detail.component.d.ts +0 -70
  790. package/types/verify-detail/src/verify-detail.props.d.ts +0 -36
  791. package/uploader/index.esm.js +0 -1972
  792. package/uploader/index.umd.js +0 -17
  793. package/uploader/package.json +0 -8
  794. package/uploader/style.css +0 -1
  795. package/verify-detail/index.esm.js +0 -187
  796. package/verify-detail/index.umd.js +0 -1
  797. package/verify-detail/package.json +0 -8
  798. package/verify-detail/style.css +0 -1
package/tabs/index.esm.js DELETED
@@ -1,1638 +0,0 @@
1
- var Pe = Object.defineProperty;
2
- var Ae = (e, t, n) => t in e ? Pe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var M = (e, t, n) => (Ae(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { ref as j, nextTick as q, computed as g, createVNode as d, defineComponent as L, watch as z, onMounted as _, withDirectives as Re, vModelText as He, createTextVNode as $e, Fragment as Ee, onUnmounted as ae, shallowRef as U, provide as be, inject as Y, isVNode as ve } from "vue";
5
- const he = {};
6
- function le(e) {
7
- const { properties: t } = e;
8
- return Object.keys(t).reduce((s, o) => (s[o] = t[o].type === "object" && t[o].properties ? le(t[o]) : t[o].default, s), {});
9
- }
10
- function Ne(e) {
11
- const t = he[e];
12
- return t ? le(t) : null;
13
- }
14
- function We(e, t) {
15
- const n = le(t);
16
- return Object.keys(e).reduce((s, o) => (s[o] = e[o], s), n), n;
17
- }
18
- function Le(e, t) {
19
- return Object.keys(e).filter((s) => e[s] != null).reduce((s, o) => {
20
- if (t.has(o)) {
21
- const b = t.get(o);
22
- if (typeof b == "string")
23
- s[b] = e[o];
24
- else {
25
- const i = b(o, e[o]);
26
- Object.assign(s, i);
27
- }
28
- } else
29
- s[o] = e[o];
30
- return s;
31
- }, {});
32
- }
33
- function _e(e, t, n = /* @__PURE__ */ new Map()) {
34
- const s = We(e, t);
35
- return Le(s, n);
36
- }
37
- function re(e, t, n = /* @__PURE__ */ new Map()) {
38
- return he[t.title] = t, (s) => {
39
- const o = _e(s, t, n), b = Object.keys(e).reduce((i, y) => (i[y] = e[y].default, i), {});
40
- return Object.assign(b, o);
41
- };
42
- }
43
- function ge(e, t) {
44
- return { customClass: t.class };
45
- }
46
- const ye = /* @__PURE__ */ new Map([
47
- ["appearance", ge]
48
- ]), Ve = "https://json-schema.org/draft/2020-12/schema", Fe = "https://farris-design.gitee.io/tabs.schema.json", qe = "tabs", ze = "A Farris Container Component", Ge = "object", Ue = {
49
- id: {
50
- description: "The unique identifier for a Tabs",
51
- type: "string"
52
- },
53
- type: {
54
- description: "The type string of Tabs component",
55
- type: "string",
56
- default: "tabs"
57
- },
58
- appearance: {
59
- description: "",
60
- type: "object",
61
- properties: {
62
- class: {
63
- type: "string"
64
- },
65
- style: {
66
- type: "string"
67
- }
68
- },
69
- default: {}
70
- },
71
- contents: {
72
- description: "",
73
- type: "array",
74
- default: []
75
- }
76
- }, Je = [
77
- "id",
78
- "type",
79
- "contents"
80
- ], Qe = {
81
- $schema: Ve,
82
- $id: Fe,
83
- title: qe,
84
- description: ze,
85
- type: Ge,
86
- properties: Ue,
87
- required: Je
88
- }, ie = {
89
- tabType: { type: String, default: "default" },
90
- autoTitleWidth: { type: Boolean, default: !1 },
91
- titleLength: { type: Number, default: 7 },
92
- position: { type: String, default: "top" },
93
- showDropDwon: { type: Boolean, default: !1 },
94
- showTooltips: { type: Boolean, default: !1 },
95
- scrollStep: { type: Number, default: 10 },
96
- autoResize: { type: Boolean, default: !1 },
97
- closeable: { type: Boolean, default: !1 },
98
- selectedTab: { type: String, default: "" },
99
- width: { type: Number },
100
- height: { type: Number },
101
- searchBoxVisible: { type: Boolean, default: !0 },
102
- titleWidth: { type: Number, default: 0 },
103
- customClass: { type: String, default: "" },
104
- activeId: { type: String },
105
- fill: { type: Boolean, default: !1 },
106
- justifyContent: { type: String, default: "left" }
107
- }, de = re(ie, Qe, ye);
108
- function me(e, t, n) {
109
- const s = j([]), o = j(e.activeId || ""), b = j(!0), i = j([]);
110
- function y(p) {
111
- const c = p.value.findIndex((u) => u.props.show !== !1 && !o.value && !u.props.disabled);
112
- !o.value && c !== -1 && (o.value = p.value[c].props.id);
113
- }
114
- function C(p) {
115
- var u;
116
- if (e.autoTitleWidth)
117
- return;
118
- const c = (u = p.value) == null ? void 0 : u.querySelectorAll(".st-tab-text");
119
- if (c)
120
- for (let h = 0; h < c.length; h++) {
121
- const x = c[h].parentNode;
122
- c[h].scrollWidth > x.offsetWidth ? c[h].classList.contains("farris-title-text-custom") || c[h].classList.add("farris-title-text-custom") : c[h].classList.remove("farris-title-text-custom");
123
- }
124
- }
125
- const r = (p) => {
126
- p.preventDefault(), p.stopPropagation();
127
- };
128
- function l(p, c, u = !1) {
129
- s.value.findIndex((h) => h.props.id === c), s.value = s.value.filter((h) => h.props.id !== c), o.value === c && (o.value = "", y(s)), r(p), q(() => {
130
- C(n), u && (b.value = !0);
131
- const h = s.value.findIndex((x) => x.props.id === o.value);
132
- t.emit("tabRemove", {
133
- removeIndex: h,
134
- removeId: c,
135
- activeId: o.value
136
- });
137
- });
138
- }
139
- function a(p) {
140
- const c = o.value;
141
- o.value = p;
142
- const u = s.value.find((h) => h.props.id === p);
143
- u && u.props.toolbar && u.props.toolbar.contents && u.props.toolbar.contents.length && (i.value = [...u.props.toolbar.contents]), t.emit("tabChange", {
144
- prevId: c,
145
- nextId: o.value
146
- });
147
- }
148
- function v(p) {
149
- a(p);
150
- }
151
- function f(p) {
152
- s.value.findIndex((u) => u.props.id === p.props.id) === -1 && s.value.push(p);
153
- }
154
- function T(p) {
155
- s.value.findIndex((u) => u.props.id === p.props.id) !== -1 && (s.value.forEach((u) => {
156
- u.props.id === p.props.id && (u = p);
157
- }), q(() => {
158
- C(n);
159
- }));
160
- }
161
- return {
162
- activeId: o,
163
- addTab: f,
164
- changeTitleStyle: C,
165
- removeTab: l,
166
- selectTab: v,
167
- selectTabByTabId: a,
168
- tabPages: s,
169
- updateTab: T,
170
- toolbarItems: i
171
- };
172
- }
173
- function Xe(e, t, n, s, o) {
174
- const {
175
- activeId: b,
176
- removeTab: i,
177
- selectTab: y
178
- } = o, C = g(() => ({
179
- "st-tab-text": !0,
180
- "farris-title-auto": e.autoTitleWidth
181
- })), r = g(() => ({
182
- "nav-item": !0,
183
- "d-none": t.show !== void 0 ? !t.show : !1,
184
- "f-state-active": t.id === b.value,
185
- "f-state-disable": t.disabled
186
- })), l = g(() => ({
187
- width: `${t.tabWidth}px`
188
- })), a = g(() => ({
189
- "nav-link": !0,
190
- "tabs-text-truncate": !0,
191
- active: t.id === b.value,
192
- disabled: t.disabled
193
- }));
194
- function v(h) {
195
- return d("span", {
196
- class: C.value,
197
- title: h.title
198
- }, [h.title]);
199
- }
200
- function f(h) {
201
- return h.slots.title ? h.slots.title : v;
202
- }
203
- const T = f(n), p = j(t.removeable);
204
- function c() {
205
- return d("span", {
206
- class: "st-drop-close",
207
- onClick: (h) => i(h, t.id)
208
- }, [d("i", {
209
- class: "f-icon f-icon-close"
210
- }, null)]);
211
- }
212
- function u(h) {
213
- y(t.id), e.tabType === "one-page" && s.scrollToByPaggId(t.id);
214
- }
215
- return d("li", {
216
- class: r.value,
217
- style: l.value
218
- }, [d("a", {
219
- class: a.value,
220
- onClick: u
221
- }, [T(t), p.value && c()])]);
222
- }
223
- function Ce(e, t, n, s, o) {
224
- const {
225
- shouldShowNavigationButtons: b
226
- } = n, {
227
- tabPages: i
228
- } = o, y = g(() => ({
229
- spacer: !0,
230
- "f-utils-fill": !0,
231
- "spacer-sides-dropdown": b.value
232
- })), C = g(() => ({
233
- width: "100%",
234
- display: "flex",
235
- "justify-content": e.justifyContent
236
- })), r = g(() => ({
237
- nav: !0,
238
- "farris-nav-tabs": !0,
239
- "flex-nowrap": !0,
240
- "nav-fill": e.fill || e.tabType === "fill",
241
- "nav-pills": e.tabType === "pills",
242
- "flex-row": e.position === "top" || e.position === "bottom",
243
- "flex-column": e.position === "left" || e.position === "right"
244
- }));
245
- return () => d("div", {
246
- class: y.value,
247
- style: C.value
248
- }, [d("ul", {
249
- class: r.value,
250
- ref: t
251
- }, [i.value.map((l) => Xe(e, l.props, l, s, o))])]);
252
- }
253
- const Ye = {
254
- items: { Type: Array, default: [] },
255
- /**
256
- * 组件值
257
- */
258
- modelValue: { type: String, default: "" },
259
- type: { type: String, default: "primary" }
260
- }, Ze = {
261
- name: { type: String, default: "" },
262
- value: { type: String, default: "" },
263
- isActive: { type: Boolean, default: !1 },
264
- icon: { type: String, default: "" },
265
- index: { type: Number, default: 0 }
266
- };
267
- const Ke = /* @__PURE__ */ L({
268
- name: "FCapsuleItem",
269
- props: Ze,
270
- emits: ["mounted", "active"],
271
- setup(e, t) {
272
- const n = j(), s = j(e.isActive);
273
- z(() => e.isActive, (i) => {
274
- s.value = i;
275
- });
276
- const o = g(() => ({
277
- "f-capsule-item": !0,
278
- "f-capsule-active-item": s.value
279
- }));
280
- _(() => {
281
- t.emit("mounted", n, e.value);
282
- });
283
- function b(i) {
284
- t.emit("active", i, {
285
- name: e.name,
286
- value: e.value
287
- });
288
- }
289
- return () => d("div", {
290
- ref: n,
291
- class: o.value,
292
- onClick: (i) => b(i)
293
- }, [e.icon && d("i", {
294
- class: e.icon
295
- }, null), e.name]);
296
- }
297
- }), et = /* @__PURE__ */ L({
298
- name: "FCapsule",
299
- props: Ye,
300
- emits: ["change", "update:modelValue"],
301
- setup(e, t) {
302
- const n = j(e.items), s = j(), o = 2, b = j(e.modelValue), i = j("none"), y = j(e.type), C = g(() => {
303
- const w = {
304
- "f-capsule-container": !0
305
- };
306
- return y.value && (w[y.value] = !0), w;
307
- }), r = g(() => ({})), l = g(() => ({
308
- "f-capsule": !0
309
- })), a = j(o), v = j(0), f = j(0), T = g(() => ({
310
- left: `${a.value}px`,
311
- width: `${v.value}px`,
312
- transition: i.value
313
- })), p = g(() => ({
314
- width: `${f.value}px`
315
- })), c = /* @__PURE__ */ new Map();
316
- function u(w) {
317
- var S;
318
- if (c.has(w.value)) {
319
- const B = (S = c.get(w.value)) == null ? void 0 : S.value;
320
- if (B) {
321
- const P = B.getBoundingClientRect(), E = s.value.getBoundingClientRect();
322
- a.value = P.left - E.left + o + s.value.scrollLeft, v.value = P.width - 2 * o;
323
- }
324
- }
325
- }
326
- function h(w, S) {
327
- const B = w.value;
328
- b.value = B, t.emit("update:modelValue", B), u(w), S && t.emit("change", B);
329
- }
330
- function x(w) {
331
- const S = n.value.findIndex((B) => B.value === w);
332
- S > -1 && h(n.value[S], !1);
333
- }
334
- z(() => e.modelValue, (w) => {
335
- b.value = w, x(b.value);
336
- }), z(() => e.items, async (w) => {
337
- n.value = w, await q(), x(b.value), f.value = Array.from(c.values()).reduce((S, B) => (S += B.value.clientWidth, S), 0);
338
- }), _(async () => {
339
- x(b.value), await q(), i.value = "0.1s ease-out all", f.value = Array.from(c.values()).reduce((w, S) => (w += S.value.clientWidth, w), 0);
340
- });
341
- function D(w, S) {
342
- h(S, !0);
343
- }
344
- function R(w, S) {
345
- c.set(S, w);
346
- }
347
- function m(w, S) {
348
- return d(Ke, {
349
- name: w.name,
350
- value: w.value,
351
- isActive: w.value === b.value,
352
- index: S,
353
- onMounted: R,
354
- onActive: D
355
- }, null);
356
- }
357
- return () => d("span", {
358
- ref: s,
359
- class: C.value,
360
- style: r.value
361
- }, [d("span", {
362
- class: "f-capsule-pane"
363
- }, [n.value.map((w, S) => m(w, S))]), d("small", {
364
- class: l.value,
365
- style: T.value
366
- }, null), d("div", {
367
- class: "f-capsule-board",
368
- style: p.value
369
- }, null)]);
370
- }
371
- });
372
- function we(e, t, n, s, o) {
373
- const b = j(), {
374
- shouldShowNavigationButtons: i
375
- } = n, {
376
- activeId: y,
377
- tabPages: C
378
- } = o, r = g(() => C.value.map((f) => ({
379
- name: f.props.title,
380
- value: f.props.id
381
- }))), l = g(() => ({
382
- spacer: !0,
383
- "f-utils-fill": !0,
384
- "spacer-sides-dropdown": i.value
385
- })), a = g(() => ({
386
- width: "100%",
387
- display: "flex",
388
- "justify-content": e.justifyContent
389
- }));
390
- _(() => {
391
- b.value && (t.value = b.value.$el);
392
- });
393
- function v() {
394
- }
395
- return () => d("div", {
396
- class: l.value,
397
- style: a.value
398
- }, [d(et, {
399
- items: r.value,
400
- modelValue: y.value,
401
- "onUpdate:modelValue": (f) => y.value = f,
402
- onChange: v,
403
- ref: b
404
- }, null)]);
405
- }
406
- function tt(e, t, n, s) {
407
- const {
408
- activeId: o,
409
- removeTab: b,
410
- tabPages: i
411
- } = s, {
412
- selectAndScrollToTab: y
413
- } = n, {
414
- hideDropDown: C,
415
- searchTabText: r
416
- } = t, l = j("auto"), a = g(() => {
417
- var h, x;
418
- let u = [];
419
- return e.searchBoxVisible ? u = (h = i.value) == null ? void 0 : h.filter((D) => D.props.title.includes(r.value)) : u = (x = i.value) == null ? void 0 : x.slice(), u;
420
- }), v = g(() => ({
421
- "dropdown-menu": !0,
422
- "tabs-pt28": e.searchBoxVisible,
423
- show: !C.value
424
- }));
425
- function f(u) {
426
- return {
427
- "dropdown-item": !0,
428
- "text-truncate": !0,
429
- "px-2": !0,
430
- disabled: u.props.disabled,
431
- active: u.props.id === o.value,
432
- "d-none": u.props.show !== !0
433
- };
434
- }
435
- function T(u) {
436
- u.preventDefault(), u.stopPropagation();
437
- }
438
- const p = () => ({
439
- width: l.value
440
- });
441
- function c() {
442
- return d("div", {
443
- class: v.value
444
- }, [e.searchBoxVisible && d("div", {
445
- onClick: (u) => T(u),
446
- class: "pb-1 tabs-li-absolute"
447
- }, [Re(d("input", {
448
- title: "search-box",
449
- type: "text",
450
- class: "form-control k-textbox",
451
- "onUpdate:modelValue": (u) => r.value = u
452
- }, null), [[He, r.value]]), d("span", {
453
- class: "f-icon f-icon-page-title-query tabs-icon-search"
454
- }, null)]), a.value.length ? d("ul", {
455
- class: "tab-dropdown-menu--items",
456
- style: p()
457
- }, [a.value.map((u) => d("li", {
458
- class: f(u),
459
- onClick: (h) => y(h, u.props)
460
- }, [u.props.removeable && d("span", {
461
- class: "float-right st-drop-close",
462
- onClick: (h) => b(h, u.props.id, !0)
463
- }, [d("i", {
464
- class: "f-icon f-icon-close"
465
- }, null)]), d("a", {
466
- class: "dropdown-title"
467
- }, [u.props.title])]))]) : d("div", {
468
- class: "dropdown-no-data"
469
- }, [$e("没有相关数据")])]);
470
- }
471
- return {
472
- renderDropdownMenu: c
473
- };
474
- }
475
- function Te(e, t, n, s) {
476
- const {
477
- hideDropDown: o
478
- } = t, {
479
- renderDropdownMenu: b
480
- } = tt(e, t, n, s);
481
- function i() {
482
- return d(Ee, null, [d("button", {
483
- title: "toggle-button",
484
- class: "btn dropdown-toggle-split dropdown-toggle",
485
- onClick: () => {
486
- o.value = !1;
487
- }
488
- }, null), b()]);
489
- }
490
- return {
491
- renderMorePagesButtton: i
492
- };
493
- }
494
- function Se(e, t, n, s) {
495
- const o = j(!1), { selectTabByTabId: b, tabPages: i } = s, y = 4;
496
- function C() {
497
- var u;
498
- const p = t.value, c = (u = t.value) == null ? void 0 : u.parentElement;
499
- o.value = c && p && c.offsetWidth < p.scrollWidth - y;
500
- }
501
- const r = g(() => ({
502
- btn: !0,
503
- "sc-nav-btn": !0,
504
- "px-1": !0,
505
- "sc-nav-lr": !0,
506
- "d-none": !o.value
507
- })), l = g(() => ({
508
- "btn-group": !0,
509
- "sc-nav-btn": !0,
510
- dropdown: !0,
511
- "d-none": !o.value
512
- })), a = g(() => ({
513
- btn: !0,
514
- "sc-nav-rg": !0,
515
- "d-none": !o.value
516
- }));
517
- function v(p, c) {
518
- if (!t.value)
519
- return;
520
- const u = t.value.scrollLeft, h = t.value.scrollWidth - t.value.offsetWidth;
521
- if (c > 0) {
522
- if (t.value.scrollLeft >= h)
523
- return;
524
- t.value.scrollLeft = u + e.scrollStep + p;
525
- } else if (c < 0) {
526
- if (t.value.scrollLeft <= 0)
527
- return;
528
- t.value.scrollLeft = u - e.scrollStep - p;
529
- }
530
- }
531
- function f(p) {
532
- if (!o.value || !t.value)
533
- return;
534
- const c = e.tabType === "pills" ? ".f-capsule-item" : ".nav-item", u = t.value.querySelectorAll(c), { parentElement: h } = t.value, x = u[p];
535
- if (x && h) {
536
- const D = h.getBoundingClientRect().left, R = h.getBoundingClientRect().right, m = x.getBoundingClientRect().left, w = x.getBoundingClientRect().right;
537
- m < D ? v(D - m, -1) : R < w && v(w - R, 1), e.tabType === "one-page" && n.scrollTo(p);
538
- }
539
- }
540
- function T(p, c) {
541
- if (c.disabled)
542
- return;
543
- b(c.id);
544
- const u = i.value.findIndex((h) => h.props.id === c.id);
545
- q(() => {
546
- f(u);
547
- });
548
- }
549
- return {
550
- previousButtonClass: r,
551
- nextButtonGroupClass: l,
552
- nextButtonClass: a,
553
- scrollTab: v,
554
- selectAndScrollToTab: T,
555
- shouldShowNavigationButtons: o,
556
- updateNavigationLayout: C
557
- };
558
- }
559
- function xe(e, t) {
560
- const { tabPages: n } = t, s = j(""), o = j(!0), b = g(() => e.searchBoxVisible), i = g(() => b.value ? n.value.filter((C) => C.props.title.includes(s.value)) : n.value.slice());
561
- return {
562
- searchTabText: s,
563
- hideDropDown: o,
564
- shouldShowSearchBox: b,
565
- tabsInDropdownMenu: i
566
- };
567
- }
568
- function je(e, t, n) {
569
- const s = ".farris-tab-page", { tabPages: o } = n;
570
- function b(y) {
571
- const C = t.value;
572
- if (C) {
573
- const r = t.value.querySelectorAll(s);
574
- if (r.length > 0) {
575
- const l = r[y], { offsetTop: a } = l, v = a - 32 > 0 ? a - 32 : 0;
576
- C.scrollTop = v;
577
- }
578
- }
579
- }
580
- function i(y) {
581
- const C = o.value.findIndex((r) => r.props.id === y);
582
- C > -1 && b(C);
583
- }
584
- return { scrollTo: b, scrollToByPaggId: i };
585
- }
586
- const nt = {
587
- alignment: { Type: String, default: "right" },
588
- items: { Type: Array, default: [] }
589
- };
590
- class Be {
591
- constructor(t) {
592
- /** 工具栏项标识 */
593
- M(this, "id", "");
594
- /** 工具栏项自定义样式 */
595
- M(this, "class", "btn-secondary");
596
- /** 图标 */
597
- M(this, "icon", "");
598
- /** 所属分组 */
599
- M(this, "groupId", "");
600
- /** 收藏顺序 */
601
- M(this, "order", -1);
602
- /** 是否作为下拉菜单的顶层按钮 */
603
- M(this, "asDropDownTop", !1);
604
- /** 文本 */
605
- M(this, "text", "");
606
- /** 是否可见 */
607
- M(this, "visible", !0);
608
- M(this, "responsed", !1);
609
- /** 是否启用提示消息 */
610
- M(this, "tipsEnable", !1);
611
- /** 提示消息内容 */
612
- M(this, "tipsText", "");
613
- /** 记录宽度 */
614
- M(this, "width", 0);
615
- M(this, "onClick", () => {
616
- });
617
- M(this, "options");
618
- this.options = t;
619
- const n = [
620
- "id",
621
- "class",
622
- "icon",
623
- "groupId",
624
- "order",
625
- "asDropDownTop",
626
- "text",
627
- "isDP",
628
- "visible",
629
- "responsed",
630
- "width",
631
- "tipsEnable",
632
- "tipsText",
633
- "onClick"
634
- ];
635
- Object.keys(t).filter((s) => n.indexOf(s) > -1).forEach((s) => {
636
- this[s] = t[s];
637
- });
638
- }
639
- /** 是否可用 */
640
- get enable() {
641
- return Object.keys(this.options).indexOf("enable") > -1 ? this.options.enable : g(() => !0);
642
- }
643
- /** 设置宽度 */
644
- setWidth(t) {
645
- this.width = parseInt(t, 10);
646
- }
647
- /** 获取宽度 */
648
- getWidth() {
649
- return this.visible ? this.width : !1;
650
- }
651
- }
652
- class st extends Be {
653
- constructor(t) {
654
- super(t);
655
- }
656
- }
657
- function Ie() {
658
- function e(t) {
659
- const n = [];
660
- return t.reduce((s, o) => (o.children && o.children.length > 0 ? s.push(new oe(o)) : s.push(new st(o)), s), n), n;
661
- }
662
- return { buildResponseToolbarItems: e };
663
- }
664
- const { buildResponseToolbarItems: ot } = Ie();
665
- class oe extends Be {
666
- constructor(n) {
667
- super(n);
668
- M(this, "placement", "");
669
- // 下拉位置
670
- /** 下拉class */
671
- M(this, "dropdownClass", "");
672
- /** 下拉菜单class */
673
- M(this, "menuClass", "");
674
- /** 是否用分开的下拉按钮 */
675
- M(this, "split", !1);
676
- M(this, "children", []);
677
- M(this, "expanded", !1);
678
- const s = ["isDP", "class", "dropdownClass", "menuClass", "placement", "split", "expanded"];
679
- Object.keys(n).filter((o) => s.indexOf(o) > -1).forEach((o) => {
680
- this[o] = n[o];
681
- }), n.children && n.children.length && (this.children = ot(n.children));
682
- }
683
- }
684
- function at() {
685
- function e(r) {
686
- const l = {
687
- "dropdown-menu": !0
688
- };
689
- if (r.class) {
690
- const a = r.menuClass.split(" ");
691
- a && a.length && a.reduce((v, f) => (v[f] = !0, v), l);
692
- }
693
- return l;
694
- }
695
- function t(r) {
696
- const l = {
697
- disabled: !r.enable,
698
- "dropdown-submenu": !0,
699
- "f-rt-dropdown": !0
700
- }, a = r.dropdownClass.split(" ");
701
- return a && a.length && a.reduce((v, f) => (v[f] = !0, v), l), l;
702
- }
703
- function n(r) {
704
- const l = {
705
- disabled: !r.enable,
706
- "dropdown-item": !0,
707
- "f-rt-btn": !0
708
- }, a = r.class.split(" ");
709
- return a && a.length && a.reduce((v, f) => (v[f] = !0, v), l), l;
710
- }
711
- let s;
712
- const o = /* @__PURE__ */ new Map();
713
- function b(r, l, a) {
714
- var f;
715
- ((f = r.target) == null ? void 0 : f.id) === l.id && r.stopPropagation();
716
- const v = a ? a.id : "__top_item__";
717
- if (l.children && l.children.length && (l.expanded = !l.expanded, l.expanded ? o.set(v, l) : o.delete(v)), o.has(v) && o.get(v) !== l) {
718
- const T = o.get(v);
719
- T && (T.expanded = !1);
720
- }
721
- }
722
- function i(r) {
723
- return r.children.map((l) => l.children && l.children.length ? d("li", {
724
- class: t(l),
725
- id: l.id,
726
- onClick: (a) => l.enable && b(a, l, r)
727
- }, [d("span", {
728
- id: l.id,
729
- class: n(l),
730
- onMouseover: (a) => l.enable && b(a, l, r)
731
- }, [l.text, d("i", {
732
- class: "f-icon f-icon-arrow-chevron-right",
733
- style: "display: inline-block;float: right;line-height: 1.25rem;"
734
- }, null)]), s(l, r)]) : d("li", {
735
- class: n(l),
736
- id: l.id,
737
- onClick: (a) => l.enable && l.onClick(a, l.id),
738
- onMouseover: (a) => l.enable && b(a, l, r)
739
- }, [l.text]));
740
- }
741
- function y(r, l) {
742
- const a = {
743
- display: r.expanded ? "block" : "none"
744
- }, v = document.getElementsByTagName("body")[0].getClientRects()[0].width, f = document.getElementById(r.id), T = f == null ? void 0 : f.getClientRects();
745
- if (f && T && T.length) {
746
- const p = T[0].x;
747
- v - p <= 160 && (a.right = 0, a.left = "unset");
748
- }
749
- return l && (a.top = 0, a.right = "160px", a.left = "unset"), a;
750
- }
751
- s = function(r, l) {
752
- return d("ul", {
753
- class: e(r),
754
- style: y(r, l),
755
- id: r.id + "_menu"
756
- }, [i(r)]);
757
- };
758
- function C() {
759
- o.forEach((r) => {
760
- r.expanded = !1;
761
- }), o.clear();
762
- }
763
- return {
764
- renderDropdownMenu: s,
765
- clearAllDropDownMenu: C
766
- };
767
- }
768
- function lt(e, t) {
769
- const n = j(e.alignment), {
770
- renderDropdownMenu: s,
771
- clearAllDropDownMenu: o
772
- } = at();
773
- function b(l) {
774
- const a = {
775
- "btn-group": !0,
776
- "f-rt-dropdown": !0,
777
- "f-btn-ml": n.value === "right",
778
- "f-btn-mr": n.value === "left"
779
- }, v = l.dropdownClass.split(" ");
780
- return v && v.length && v.reduce((f, T) => (f[T] = !0, f), a), a;
781
- }
782
- function i(l) {
783
- const a = {
784
- btn: !0,
785
- disabled: !l.enable,
786
- "f-rt-btn": !0,
787
- "btn-icontext": !!(l.icon && l.icon.trim())
788
- };
789
- if (l.class) {
790
- const v = l.class.split(" ");
791
- v && v.length && v.reduce((f, T) => (f[T] = !0, f), a);
792
- }
793
- return a;
794
- }
795
- function y(l, a) {
796
- l.stopPropagation(), a.expanded = !a.expanded;
797
- }
798
- function C(l) {
799
- return d("div", {
800
- id: l.id,
801
- class: b(l)
802
- }, [d("div", {
803
- class: i(l),
804
- style: "display: flex;padding-right: 0.1rem;",
805
- onClick: (a) => l.enable && y(a, l)
806
- }, [t.shouldShowIcon(l) && d("i", {
807
- class: t.iconClass(l)
808
- }, null), d("span", null, [l.text]), d("i", {
809
- class: "f-icon f-icon-arrow-chevron-down",
810
- style: "display: inline-block;float: right;line-height: 1.25rem;margin-left: .25rem;margin-right: .25rem;"
811
- }, null)]), s(l)]);
812
- }
813
- function r() {
814
- o();
815
- }
816
- return {
817
- renderToolbarDropdown: C,
818
- clearAllDropDown: r
819
- };
820
- }
821
- function rt() {
822
- function e(n) {
823
- const s = {
824
- "f-icon": !0
825
- };
826
- if (n.icon) {
827
- const o = n.icon.trim().split(" ");
828
- o && o.length && o.reduce((b, i) => (b[i] = !0, b), s);
829
- }
830
- return s;
831
- }
832
- function t(n) {
833
- return !!(n.icon && n.icon.trim());
834
- }
835
- return { iconClass: e, shouldShowIcon: t };
836
- }
837
- const {
838
- buildResponseToolbarItems: fe
839
- } = Ie(), Oe = /* @__PURE__ */ L({
840
- name: "FResponseToolbar",
841
- props: nt,
842
- emits: ["Click"],
843
- setup(e) {
844
- const t = j(fe(e.items)), n = j(), s = j(), o = j(e.alignment), b = {
845
- id: "__more_buttons__",
846
- text: "More"
847
- }, i = j(new oe(b)), y = rt(), C = g(() => i.value.children.length > 0), r = g(() => ({
848
- "f-toolbar": !0,
849
- "f-response-toolbar": !0,
850
- "position-relative": !0
851
- })), l = g(() => ({
852
- "d-flex": !0,
853
- "flex-nowrap": !0,
854
- "justify-content-end": o.value === "right",
855
- "justify-content-start": o.value === "left"
856
- })), {
857
- renderToolbarDropdown: a,
858
- clearAllDropDown: v
859
- } = lt(e, y);
860
- function f() {
861
- t.value.filter((m) => m.children && m.children.length > 0).forEach((m) => {
862
- m.expanded = !1;
863
- }), i.value.expanded = !1, v();
864
- }
865
- function T(m) {
866
- const w = {
867
- "f-icon": !0
868
- };
869
- if (m.icon) {
870
- const S = m.icon.trim().split(" ");
871
- S && S.length && S.reduce((B, P) => (B[P] = !0, B), w);
872
- }
873
- return w;
874
- }
875
- function p(m) {
876
- return !!(m.icon && m.icon.trim());
877
- }
878
- function c(m) {
879
- const w = {
880
- btn: !0,
881
- "f-rt-btn": !0,
882
- "f-btn-ml": o.value === "right",
883
- "f-btn-mr": o.value === "left",
884
- "btn-icontext": !!(m.icon && m.icon.trim())
885
- };
886
- if (m.class) {
887
- const S = m.class.split(" ");
888
- S && S.length && S.reduce((B, P) => (B[P] = !0, B), w);
889
- }
890
- return w;
891
- }
892
- function u(m) {
893
- return d("button", {
894
- type: "button",
895
- class: c(m),
896
- id: m.id,
897
- disabled: !m.enable,
898
- onClick: (w) => m.onClick(w, m.id)
899
- }, [p(m) && d("i", {
900
- class: T(m)
901
- }, null), m.text]);
902
- }
903
- const h = /* @__PURE__ */ new Map(), x = [];
904
- function D(m) {
905
- const w = s.value;
906
- let S = m;
907
- const B = Array.from(w.children), P = B[B.length - 1].id === "__more_buttons__" ? B[B.length - 1] : null;
908
- if (P) {
909
- const I = P.computedStyleMap().get("margin-left"), A = P.computedStyleMap().get("margin-right"), W = (I ? I.value : 0) + P.getBoundingClientRect().width + (A ? A.value : 0);
910
- S -= W;
911
- }
912
- const E = B.filter((I) => I.id !== "__more_buttons__");
913
- for (const I of E) {
914
- const A = I.computedStyleMap().get("margin-left"), W = I.computedStyleMap().get("margin-right"), F = (A ? A.value : 0) + I.getBoundingClientRect().width + (W ? W.value : 0);
915
- S < F ? (h.set(I.id, !0), x.push({
916
- id: I.id,
917
- width: F
918
- })) : S -= F;
919
- }
920
- if (x.length)
921
- for (let I = x.length - 1; I >= 0; I--) {
922
- const A = x[I].width;
923
- if (S >= A)
924
- S -= A, h.delete(x[I].id), x.pop();
925
- else
926
- break;
927
- }
928
- const V = Object.assign({}, i.value);
929
- V.children = [];
930
- const N = new oe(V), G = t.value.reduce((I, A) => (h.has(A.id) && N.children.push(A), A.visible = !h.has(A.id), I.push(A), I), []);
931
- i.value = N, t.value = G;
932
- }
933
- const R = new ResizeObserver((m) => {
934
- if (m.length) {
935
- const S = m[0].contentRect.width, P = s.value.getBoundingClientRect().width;
936
- (S < P || x.length) && D(S);
937
- }
938
- });
939
- return _(() => {
940
- const m = n.value;
941
- R.observe(m), document.body.addEventListener("click", f);
942
- }), ae(() => {
943
- R.disconnect(), document.body.removeEventListener("click", f);
944
- }), z(() => e.items, () => {
945
- t.value = fe(e.items);
946
- }), () => d("div", {
947
- class: r.value
948
- }, [d("div", {
949
- ref: n,
950
- class: l.value
951
- }, [d("div", {
952
- ref: s,
953
- class: "d-inline-block f-response-content",
954
- style: "white-space: nowrap;"
955
- }, [t.value.filter((m) => m.visible).map((m) => m.children && m.children.length > 0 ? a(m) : u(m)), C.value && a(i.value)])])]);
956
- }
957
- }), ne = /* @__PURE__ */ L({
958
- name: "FTabs",
959
- props: ie,
960
- emits: ["tabChange", "tabRemove"],
961
- setup(e, t) {
962
- const n = j(e.tabType), s = U(), o = U(), b = U(), i = me(e, t, o), {
963
- activeId: y,
964
- changeTitleStyle: C,
965
- tabPages: r,
966
- addTab: l,
967
- updateTab: a,
968
- selectTabByTabId: v,
969
- toolbarItems: f
970
- } = i, T = je(e, b, i), p = Se(e, o, T, i), {
971
- previousButtonClass: c,
972
- nextButtonClass: u,
973
- nextButtonGroupClass: h,
974
- scrollTab: x,
975
- updateNavigationLayout: D
976
- } = p, R = xe(e, i), {
977
- hideDropDown: m
978
- } = R, w = Ce(e, o, p, T, i), S = w, B = we(e, o, p, T, i), P = /* @__PURE__ */ new Map([["default", w], ["one-page", S], ["pills", B]]);
979
- g(() => {
980
- const k = r.value.find(($) => $.props.id === y.value);
981
- return k == null ? void 0 : k.slots;
982
- });
983
- const E = g(() => {
984
- const k = r.value.find((O) => O.props.id === y.value);
985
- return (k == null ? void 0 : k.props.toolbarPosition) === "inHead";
986
- });
987
- be("tabs", {
988
- activeId: y,
989
- addTab: l,
990
- updateTab: a,
991
- tabPages: r,
992
- tabType: n
993
- });
994
- const V = g(() => e.fill || e.tabType === "fill"), N = g(() => e.tabType === "pills"), G = g(() => ({
995
- "farris-tabs-header": !0,
996
- "farris-tabs-inHead": E.value,
997
- "farris-tabs-inContent": !E.value,
998
- "farris-tabs-nav-fill": V.value,
999
- "farris-tabs-nav-pills": N.value
1000
- })), I = g(() => ({
1001
- width: E.value && e.titleWidth ? `${e.titleWidth}%` : ""
1002
- })), A = g(() => ({
1003
- "farris-tabs": !0,
1004
- "flex-column": e.position === "top",
1005
- "flex-column-reverse": e.position === "bottom",
1006
- "flex-row": e.position === "left",
1007
- "flex-row-reverse": e.position === "right",
1008
- "one-page": e.tabType === "one-page"
1009
- }));
1010
- _(() => {
1011
- r.value.length && (y.value = e.activeId || r.value[0].props.id, v(y.value)), q(() => {
1012
- D();
1013
- }), C(o), window.addEventListener("click", (k) => {
1014
- var $;
1015
- m.value || ($ = s.value) != null && $.contains(k.target) || (m.value = !0);
1016
- }), window.addEventListener("resize", () => {
1017
- D();
1018
- });
1019
- });
1020
- function W() {
1021
- return d("button", {
1022
- title: "left-arrow-button",
1023
- type: "button",
1024
- class: c.value,
1025
- onClick: () => {
1026
- x(0, -1);
1027
- }
1028
- }, null);
1029
- }
1030
- function F() {
1031
- return d("button", {
1032
- title: "right-arrow-button",
1033
- type: "button",
1034
- class: u.value,
1035
- onClick: () => {
1036
- x(0, 1);
1037
- }
1038
- }, null);
1039
- }
1040
- const {
1041
- renderMorePagesButtton: Z
1042
- } = Te(e, R, p, i), K = (k) => {
1043
- t.emit("Click", k);
1044
- };
1045
- function ee() {
1046
- return !!f.value.length && d(Oe, {
1047
- items: f.value,
1048
- onClick: K
1049
- }, null);
1050
- }
1051
- const J = P.get(e.tabType) || P.get("default");
1052
- function te() {
1053
- var k, $, O, H;
1054
- return d("div", {
1055
- class: G.value
1056
- }, [d("div", {
1057
- class: "farris-tabs-header-pre"
1058
- }, [($ = (k = t.slots).headerPrefix) == null ? void 0 : $.call(k)]), d("div", {
1059
- class: "farris-tabs-title scroll-tabs",
1060
- style: I.value
1061
- }, [W(), J && J(), d("div", {
1062
- class: h.value
1063
- }, [F(), Z()])]), ee(), d("div", {
1064
- class: "farris-tabs-header-post"
1065
- }, [(H = (O = t.slots).headerSuffix) == null ? void 0 : H.call(O)])]);
1066
- }
1067
- function Q() {
1068
- var k, $;
1069
- return d("div", {
1070
- class: "farris-tabs-content",
1071
- ref: b
1072
- }, [($ = (k = t.slots).default) == null ? void 0 : $.call(k)]);
1073
- }
1074
- return () => d("div", {
1075
- class: A.value,
1076
- ref: s
1077
- }, [te(), Q()]);
1078
- }
1079
- }), it = "https://json-schema.org/draft/2020-12/schema", ct = "https://farris-design.gitee.io/accordion-item.schema.json", ut = "AccordionItem", dt = "A Farris Container Component", ft = "object", pt = {
1080
- id: {
1081
- description: "The unique identifier for a Accordion Item",
1082
- type: "string"
1083
- },
1084
- type: {
1085
- description: "The type string of Accordion Item component",
1086
- type: "string"
1087
- },
1088
- contents: {
1089
- description: "",
1090
- type: "array",
1091
- default: []
1092
- },
1093
- title: {
1094
- description: "",
1095
- type: "string",
1096
- default: ""
1097
- },
1098
- toolbar: {
1099
- description: "",
1100
- type: "object"
1101
- }
1102
- }, bt = [
1103
- "id",
1104
- "type",
1105
- "contents"
1106
- ], vt = {
1107
- $schema: it,
1108
- $id: ct,
1109
- title: ut,
1110
- description: dt,
1111
- type: ft,
1112
- properties: pt,
1113
- required: bt
1114
- }, ce = {
1115
- tabWidth: { type: Number, default: -1 },
1116
- id: { type: String, default: "" },
1117
- customTitleClass: { type: String, default: "" },
1118
- titleOverflow: { type: Boolean, default: !1 },
1119
- title: { type: String, default: "" },
1120
- selected: { type: Boolean, default: !1 },
1121
- disabled: { type: Boolean, default: !1 },
1122
- removeable: { type: Boolean, default: !1 },
1123
- show: { type: Boolean, default: !0 },
1124
- toolbar: { type: Object, default: {} },
1125
- toolbarPosition: { type: String, default: "inContent" }
1126
- }, pe = re(ce, vt, ye), ht = /* @__PURE__ */ new Map([
1127
- ["appearance", ge],
1128
- ["expanded", "expandStatus"],
1129
- ["title", (e, t) => ({ mainTitle: t })]
1130
- ]), gt = "https://json-schema.org/draft/2020-12/schema", yt = "https://farris-design.gitee.io/section.schema.json", mt = "section", Ct = "A Farris Container Component", wt = "object", Tt = {
1131
- id: {
1132
- description: "The unique identifier for a Section",
1133
- type: "string"
1134
- },
1135
- type: {
1136
- description: "The type string of Section component",
1137
- type: "string",
1138
- default: "section"
1139
- },
1140
- appearance: {
1141
- description: "",
1142
- type: "object",
1143
- properties: {
1144
- class: {
1145
- type: "string"
1146
- },
1147
- style: {
1148
- type: "string"
1149
- }
1150
- },
1151
- default: {}
1152
- },
1153
- contentClass: {
1154
- description: "",
1155
- type: "string",
1156
- default: ""
1157
- },
1158
- contents: {
1159
- description: "",
1160
- type: "array",
1161
- default: []
1162
- },
1163
- enableAccordion: {
1164
- description: "",
1165
- type: "boolean",
1166
- default: !1
1167
- },
1168
- enableCollapse: {
1169
- description: "",
1170
- type: "boolean",
1171
- default: !0
1172
- },
1173
- enableMaximize: {
1174
- description: "",
1175
- type: "boolean",
1176
- default: !0
1177
- },
1178
- expanded: {
1179
- description: "",
1180
- type: "boolean",
1181
- default: !0
1182
- },
1183
- fill: {
1184
- description: "",
1185
- type: "boolean",
1186
- default: !1
1187
- },
1188
- headerClass: {
1189
- description: "",
1190
- type: "string",
1191
- default: ""
1192
- },
1193
- size: {
1194
- description: "",
1195
- type: "object",
1196
- properties: {
1197
- width: {
1198
- type: "number"
1199
- },
1200
- height: {
1201
- type: "number"
1202
- }
1203
- },
1204
- default: null
1205
- },
1206
- subTitle: {
1207
- description: "",
1208
- type: "string",
1209
- default: ""
1210
- },
1211
- title: {
1212
- description: "",
1213
- type: "string",
1214
- default: ""
1215
- },
1216
- titleClass: {
1217
- description: "",
1218
- type: "string",
1219
- default: ""
1220
- },
1221
- toolbarClass: {
1222
- description: "",
1223
- type: "string",
1224
- default: ""
1225
- },
1226
- visible: {
1227
- description: "",
1228
- type: "boolean",
1229
- default: !0
1230
- }
1231
- }, St = [
1232
- "id",
1233
- "type",
1234
- "contents"
1235
- ], xt = {
1236
- $schema: gt,
1237
- $id: yt,
1238
- title: mt,
1239
- description: Ct,
1240
- type: wt,
1241
- properties: Tt,
1242
- required: St
1243
- }, De = {
1244
- clickThrottleTime: { type: Number, default: 350 },
1245
- contentClass: { type: String, default: "" },
1246
- context: { type: Object },
1247
- customClass: { type: String, default: "" },
1248
- enableAccordion: { type: Boolean, default: !1 },
1249
- enableCollapse: { type: Boolean, default: !0 },
1250
- enableMaximize: { type: Boolean, default: !1 },
1251
- expandStatus: { type: Boolean, default: !0 },
1252
- fill: { type: Boolean, default: !1 },
1253
- headerClass: { type: String, default: "" },
1254
- index: { type: Number },
1255
- maxStatus: { type: Boolean, default: !1 },
1256
- mainTitle: { type: String, default: "" },
1257
- showHeader: { type: Boolean, default: !0 },
1258
- showToolbarMoreButton: { type: Boolean, default: !0 },
1259
- subTitle: { type: String, default: "" },
1260
- toolbarPosition: { type: String, default: "" },
1261
- toolbarButtons: { type: Array, default: [] },
1262
- toolbar: { type: Object, default: {} }
1263
- };
1264
- re(De, xt, ht);
1265
- const Me = /* @__PURE__ */ L({
1266
- name: "FSection",
1267
- props: De,
1268
- emits: [],
1269
- setup(e, t) {
1270
- const n = j(e.customClass), s = g(() => e.showHeader && (!!e.mainTitle || !!e.subTitle)), o = g(() => !!e.mainTitle || !!e.subTitle), b = g(() => !!e.subTitle);
1271
- g(() => !1), g(() => !1), g(() => !1), g(() => !1), j([]);
1272
- const i = g(() => {
1273
- const f = {
1274
- "f-section": !0
1275
- };
1276
- return n.value && n.value.split(" ").reduce((T, p) => (T[p] = !0, T), f), f;
1277
- }), y = g(() => {
1278
- const f = e.headerClass.split(" "), T = {
1279
- "f-section-header": !0
1280
- };
1281
- return f.reduce((p, c) => (p[c] = !0, p), T), T;
1282
- });
1283
- g(() => ({
1284
- "f-section-extend": !0
1285
- }));
1286
- const C = g(() => {
1287
- const f = e.contentClass.split(" "), T = {
1288
- "f-section-content": !0
1289
- };
1290
- return f.reduce((p, c) => (p[c] = !0, p), T), T;
1291
- }), r = j(e.mainTitle), l = j(e.subTitle);
1292
- function a() {
1293
- return s.value && d("div", {
1294
- class: y.value
1295
- }, [o.value && d("div", {
1296
- class: "f-title"
1297
- }, [d("h4", {
1298
- class: "f-title-text"
1299
- }, [r.value]), b.value && d("span", null, [l.value])])]);
1300
- }
1301
- function v() {
1302
- return d("div", {
1303
- class: C.value
1304
- }, [t.slots.default && t.slots.default()]);
1305
- }
1306
- return () => d("div", {
1307
- class: i.value
1308
- }, [a(), v()]);
1309
- }
1310
- });
1311
- function jt(e) {
1312
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
1313
- }
1314
- const se = /* @__PURE__ */ L({
1315
- name: "FTabPage",
1316
- props: ce,
1317
- emits: [],
1318
- setup(e, t) {
1319
- const n = Y("tabs"), s = j(!0), o = {
1320
- slots: t.slots,
1321
- props: e
1322
- }, b = j((n == null ? void 0 : n.tabType.value) || "default");
1323
- _(() => {
1324
- const a = n == null ? void 0 : n.tabPages.value.findIndex((v) => v.props.id === e.id);
1325
- !a || a === -1 ? n == null || n.addTab(o) : a > -1 && (s.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
1326
- }), ae(() => {
1327
- });
1328
- const i = g(() => ({
1329
- display: (e == null ? void 0 : e.id) === (n == null ? void 0 : n.activeId.value) ? "" : "none"
1330
- }));
1331
- z(() => e, (a) => {
1332
- n == null || n.updateTab({
1333
- props: a,
1334
- slots: t.slots
1335
- });
1336
- }, {
1337
- immediate: !0,
1338
- deep: !0
1339
- });
1340
- function y() {
1341
- var v, f;
1342
- const a = (f = (v = t.slots).default) == null ? void 0 : f.call(v);
1343
- return d(Me, {
1344
- "main-title": e.title,
1345
- class: "farris-tab-page"
1346
- }, jt(a) ? a : {
1347
- default: () => [a]
1348
- });
1349
- }
1350
- function C() {
1351
- var v, f;
1352
- const a = (f = (v = t.slots).default) == null ? void 0 : f.call(v);
1353
- return d("div", {
1354
- class: "farris-tab-page",
1355
- style: i.value
1356
- }, [a]);
1357
- }
1358
- const l = (/* @__PURE__ */ new Map([["default", C], ["one-page", y]])).get(b.value) || C;
1359
- return () => s.value ? l() : null;
1360
- }
1361
- });
1362
- function ke(e, t, n) {
1363
- var h;
1364
- const s = n == null ? void 0 : n.checkIsInFixedContextRules(), o = n && n.getStyles && n.getStyles() || "";
1365
- function b() {
1366
- return !(t.schema.componentType || s);
1367
- }
1368
- function i() {
1369
- return !1;
1370
- }
1371
- function y() {
1372
- return !(t.schema.componentType || s);
1373
- }
1374
- function C() {
1375
- return !!s;
1376
- }
1377
- function r(x) {
1378
- if (!x)
1379
- return null;
1380
- if (x.schema.type === "Component")
1381
- return x;
1382
- const D = r(x.parent);
1383
- return D || null;
1384
- }
1385
- function l(x, D, R) {
1386
- return !!n && n.canAccepts();
1387
- }
1388
- function a() {
1389
- return t.schema.label || t.schema.title || t.schema.name;
1390
- }
1391
- function v() {
1392
- }
1393
- function f(x, D) {
1394
- D && (n == null || n.onAcceptMovedChildElement(D));
1395
- }
1396
- function T(x, D) {
1397
- const R = String(x.getAttribute("data-controltype"));
1398
- return Ne(R);
1399
- }
1400
- function p(x) {
1401
- return x.contents ? x.contents.length : -1;
1402
- }
1403
- function c(x) {
1404
- }
1405
- const u = {
1406
- canMove: b(),
1407
- canSelectParent: i(),
1408
- canDelete: y(),
1409
- canNested: !C(),
1410
- contents: t.schema.contents,
1411
- elementRef: e,
1412
- parent: (h = t.parent) == null ? void 0 : h.componentInstance.value,
1413
- schema: t.schema,
1414
- styles: o,
1415
- canAccepts: l,
1416
- getBelongedComponentInstance: r,
1417
- getDraggingDisplayText: a,
1418
- getDragScopeElement: v,
1419
- onAcceptMovedChildElement: f,
1420
- onAcceptNewChildElement: T,
1421
- onAddNewChildElement: p,
1422
- onChildElementMovedOut: c,
1423
- triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved
1424
- };
1425
- return j(u);
1426
- }
1427
- const Bt = /* @__PURE__ */ L({
1428
- name: "FTabsDesign",
1429
- props: ie,
1430
- emits: ["tabChange", "tabRemove"],
1431
- setup(e, t) {
1432
- const n = j(), s = Y("design-item-context"), o = ke(n, s), b = j(e.tabType), i = U(), y = U(), C = me(e, t, i), {
1433
- activeId: r,
1434
- changeTitleStyle: l,
1435
- tabPages: a,
1436
- addTab: v,
1437
- updateTab: f,
1438
- selectTabByTabId: T,
1439
- toolbarItems: p
1440
- } = C, c = je(e, y, C), u = Se(e, i, c, C), {
1441
- previousButtonClass: h,
1442
- nextButtonClass: x,
1443
- nextButtonGroupClass: D,
1444
- scrollTab: R,
1445
- updateNavigationLayout: m
1446
- } = u, w = xe(e, C), {
1447
- hideDropDown: S
1448
- } = w, B = Ce(e, i, u, c, C), P = B, E = we(e, i, u, c, C), V = /* @__PURE__ */ new Map([["default", B], ["one-page", P], ["pills", E]]);
1449
- g(() => {
1450
- const O = a.value.find((H) => H.props.id === r.value);
1451
- return O == null ? void 0 : O.slots;
1452
- });
1453
- const N = g(() => {
1454
- const O = a.value.find((X) => X.props.id === r.value);
1455
- return (O == null ? void 0 : O.props.toolbarPosition) === "inHead";
1456
- });
1457
- be("tabs", {
1458
- activeId: r,
1459
- addTab: v,
1460
- updateTab: f,
1461
- tabPages: a,
1462
- tabType: b
1463
- });
1464
- const G = g(() => e.fill || e.tabType === "fill"), I = g(() => e.tabType === "pills"), A = g(() => ({
1465
- "farris-tabs-header": !0,
1466
- "farris-tabs-inHead": N.value,
1467
- "farris-tabs-inContent": !N.value,
1468
- "farris-tabs-nav-fill": G.value,
1469
- "farris-tabs-nav-pills": I.value
1470
- })), W = g(() => ({
1471
- width: N.value && e.titleWidth ? `${e.titleWidth}%` : ""
1472
- })), F = g(() => ({
1473
- "farris-tabs": !0,
1474
- "flex-column": e.position === "top",
1475
- "flex-column-reverse": e.position === "bottom",
1476
- "flex-row": e.position === "left",
1477
- "flex-row-reverse": e.position === "right",
1478
- "one-page": e.tabType === "one-page"
1479
- }));
1480
- _(() => {
1481
- a.value.length && (r.value = e.activeId || a.value[0].props.id, T(r.value)), q(() => {
1482
- m();
1483
- }), l(i), window.addEventListener("click", (O) => {
1484
- var H;
1485
- S.value || (H = n.value) != null && H.contains(O.target) || (S.value = !0);
1486
- }), window.addEventListener("resize", () => {
1487
- m();
1488
- }), n.value.componentInstance = o;
1489
- });
1490
- function Z() {
1491
- return d("button", {
1492
- title: "left-arrow-button",
1493
- type: "button",
1494
- class: h.value,
1495
- onClick: () => {
1496
- R(0, -1);
1497
- }
1498
- }, null);
1499
- }
1500
- function K() {
1501
- return d("button", {
1502
- title: "right-arrow-button",
1503
- type: "button",
1504
- class: x.value,
1505
- onClick: () => {
1506
- R(0, 1);
1507
- }
1508
- }, null);
1509
- }
1510
- const {
1511
- renderMorePagesButtton: ee
1512
- } = Te(e, w, u, C), J = (O) => {
1513
- t.emit("Click", O);
1514
- };
1515
- function te() {
1516
- return !!p.value.length && d(Oe, {
1517
- items: p.value,
1518
- onClick: J
1519
- }, null);
1520
- }
1521
- const Q = V.get(e.tabType) || V.get("default");
1522
- function k() {
1523
- var O, H, X, ue;
1524
- return d("div", {
1525
- class: A.value
1526
- }, [d("div", {
1527
- class: "farris-tabs-header-pre"
1528
- }, [(H = (O = t.slots).headerPrefix) == null ? void 0 : H.call(O)]), d("div", {
1529
- class: "farris-tabs-title scroll-tabs",
1530
- style: W.value
1531
- }, [Z(), Q && Q(), d("div", {
1532
- class: D.value
1533
- }, [K(), ee()])]), te(), d("div", {
1534
- class: "farris-tabs-header-post"
1535
- }, [(ue = (X = t.slots).headerSuffix) == null ? void 0 : ue.call(X)])]);
1536
- }
1537
- function $() {
1538
- var O, H;
1539
- return d("div", {
1540
- class: "farris-tabs-content",
1541
- ref: y
1542
- }, [(H = (O = t.slots).default) == null ? void 0 : H.call(O)]);
1543
- }
1544
- return t.expose(o.value), () => d("div", {
1545
- class: F.value,
1546
- ref: n
1547
- }, [k(), $()]);
1548
- }
1549
- });
1550
- function It(e, t) {
1551
- let s = !0;
1552
- function o() {
1553
- return !!s;
1554
- }
1555
- function b() {
1556
- const y = e, C = y.appearance && y.appearance.class || "", r = C ? C.split(" ") : [], l = y.contents || [], a = l.length ? l[0] : null, v = a && a.appearance && a.appearance.class || "", f = v ? v.split(" ") : [], T = t, p = T && T.appearance && T.appearance.class || "", c = p ? p.split(" ") : [];
1557
- return r.includes("f-section-form") && (T == null ? void 0 : T.type) === "content-container" && f.includes("f-form-layout") || r.includes("f-section-tabs") && c.includes("f-struct-wrapper") && f.includes("f-component-tabs") || r.includes("f-section-grid") && c.includes("f-struct-wrapper") && (f.includes("f-component-grid") || f.includes("f-filter-container")) || r.includes("f-section-treegrid") && c.includes("f-struct-wrapper") && f.includes("f-component-treetable") || r.includes("f-section-oa-table") && c.includes("f-struct-wrapper") && f.includes("f-form-is-table") || r.includes("f-section-card-table") && c.includes("f-struct-wrapper") && f.includes("f-form-is-table") || r.includes("f-section-scheme") && a && a.type === "query-solution" || (r.includes("f-section-in-main") || r.includes("f-section-in-mainsubcard")) && c.includes("f-struct-wrapper") && a && a.type === "content-container" || (r.includes("f-section-in-main") || r.includes("f-section-in-mainsubcard")) && c.includes("f-struct-wrapper") && a && a.type === "file-upload-preview" ? (s = !1, !0) : a && (a.type === "approval-comments" || a.type === "approval-comments") ? (s = !1, !1) : r.includes("f-section-grid") && c.includes("f-struct-wrapper") && f.includes("f-component-appointment-calendar") ? (s = !1, !0) : !1;
1558
- }
1559
- function i(y) {
1560
- }
1561
- return { canAccepts: o, checkIsInFixedContextRules: b, onAcceptMovedChildElement: i, triggerBelongedComponentToMoveWhenMoved: !1 };
1562
- }
1563
- function Ot(e) {
1564
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
1565
- }
1566
- const Dt = /* @__PURE__ */ L({
1567
- name: "FTabPageDesign",
1568
- props: ce,
1569
- emits: [],
1570
- setup(e, t) {
1571
- var p;
1572
- const n = j(), s = Y("design-item-context"), o = It(s.schema, (p = s.parent) == null ? void 0 : p.schema), b = ke(n, s, o);
1573
- b.value.canNested = !1, t.expose(b.value);
1574
- const i = Y("tabs"), y = j(!0), C = {
1575
- slots: t.slots,
1576
- props: e
1577
- }, r = j((i == null ? void 0 : i.tabType.value) || "default");
1578
- _(() => {
1579
- n.value.componentInstance = b;
1580
- const c = i == null ? void 0 : i.tabPages.value.findIndex((u) => u.props.id === e.id);
1581
- !c || c === -1 ? i == null || i.addTab(C) : c > -1 && (y.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
1582
- }), ae(() => {
1583
- });
1584
- const l = g(() => ({
1585
- display: (e == null ? void 0 : e.id) === (i == null ? void 0 : i.activeId.value) ? "" : "none"
1586
- }));
1587
- z(() => e, (c) => {
1588
- i == null || i.updateTab({
1589
- props: c,
1590
- slots: t.slots
1591
- });
1592
- }, {
1593
- immediate: !0,
1594
- deep: !0
1595
- });
1596
- function a() {
1597
- var u, h;
1598
- const c = (h = (u = t.slots).default) == null ? void 0 : h.call(u);
1599
- return d(Me, {
1600
- "main-title": e.title,
1601
- class: "farris-tab-page"
1602
- }, Ot(c) ? c : {
1603
- default: () => [c]
1604
- });
1605
- }
1606
- function v() {
1607
- var u, h;
1608
- const c = (h = (u = t.slots).default) == null ? void 0 : h.call(u);
1609
- return d("div", {
1610
- ref: n,
1611
- class: "farris-tab-page drag-container",
1612
- dragref: `${s.schema.id}-container`,
1613
- style: l.value
1614
- }, [c]);
1615
- }
1616
- const T = (/* @__PURE__ */ new Map([["default", v], ["one-page", a]])).get(r.value) || v;
1617
- return () => y.value ? T() : null;
1618
- }
1619
- }), Pt = {
1620
- install(e) {
1621
- e.component(ne.name, ne), e.component(se.name, se);
1622
- },
1623
- register(e, t) {
1624
- e.tabs = ne, e["tab-page"] = se, t.tabs = de, t["tab-page"] = pe;
1625
- },
1626
- registerDesigner(e, t) {
1627
- e.tabs = Bt, e["tab-page"] = Dt, t.tabs = de, t["tab-page"] = pe;
1628
- }
1629
- };
1630
- export {
1631
- se as TabPage,
1632
- ne as Tabs,
1633
- Pt as default,
1634
- ce as tabPageProps,
1635
- pe as tabPagePropsResolver,
1636
- ie as tabsProps,
1637
- de as tabsPropsResolver
1638
- };