@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
@@ -1 +0,0 @@
1
- (function(j,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(j=typeof globalThis<"u"?globalThis:j||self,t(j["button-edit"]={},j.Vue))})(this,function(j,t){"use strict";const te={};function K(e){const{properties:n}=e;return Object.keys(n).reduce((i,o)=>(i[o]=n[o].type==="object"&&n[o].properties?K(n[o]):n[o].default,i),{})}function ne(e,n){const l=K(n);return Object.keys(e).reduce((i,o)=>(i[o]=e[o],i),l),l}function oe(e,n){return Object.keys(e).filter(i=>e[i]!=null).reduce((i,o)=>{if(n.has(o)){const r=n.get(o);if(typeof r=="string")i[r]=e[o];else{const d=r(o,e[o]);Object.assign(i,d)}}else i[o]=e[o];return i},{})}function ae(e,n,l=new Map){const i=ne(e,n);return oe(i,l)}function le(e,n,l=new Map){return te[n.title]=n,i=>{const o=ae(i,n,l),r=Object.keys(e).reduce((d,s)=>(d[s]=e[s].default,d),{});return Object.assign(r,o)}}function ie(e,n){return{customClass:n.class}}const se=new Map([["appearance",ie]]),ue={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/button-edit.schema.json",title:"button-edit",description:"A Farris Input Component",type:"object",properties:{id:{description:"The unique identifier for a Input Group",type:"string"},type:{description:"The type string of Input Group component",type:"string",default:"button-edit"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}},binding:{description:"",type:"object",default:{}},disable:{type:"string",default:!1},editable:{description:"",type:"boolean",default:!0},enableLinkLabel:{description:"",type:"boolean",default:!1},label:{description:"",type:"string",default:""},lableWidth:{description:"",type:"number"},placeHolder:{description:"",type:"string",default:""},readonly:{description:"",type:"boolean",default:!1},require:{description:"",type:"boolean",default:!1},tabindex:{description:"",type:"number",default:-1},textAlign:{description:"",type:"string",enum:["left","middle","right"],default:"left"},visible:{description:"",type:"boolean",default:!0},onBlur:{description:"",type:"string",default:""},onClickLinkLabel:{description:"",type:"sting",default:""},autoComplete:{description:"",type:"boolean",default:!1},buttonContent:{description:"",type:"string",default:""},enableClear:{description:"",type:"boolean",default:!0},inputType:{description:"",type:"string",enum:["text","tag"],default:"text"},multiSelect:{description:"",type:"boolean",default:!1},popup:{description:"",type:"object",properties:{footerButtons:{type:"array",default:[]},height:{type:"number",default:600},dataMapping:{type:"object"},contents:{type:"array",default:[]},showMaxButton:{type:"boolean",default:!0},showCloseButton:{type:"boolean",default:!0},showFooter:{type:"boolean",default:!0},title:{type:"string",default:""},width:{type:"number",default:800}}},separator:{type:"string",default:","},showButtonWhenDisabled:{description:"",type:"boolean",default:!1},wrapText:{type:"boolean",default:!1},onClear:{description:"",type:"string",default:""}},required:["id","type"]},G={id:String,buttonContent:{type:String,default:'<i class="f-icon f-icon-lookup"></i>'},buttonBehavior:{type:String,default:"Popup"},autoComplete:{type:Boolean,default:!1},customClass:{type:String,default:""},disable:{type:Boolean,default:!1},editable:{type:Boolean,default:!0},enableClear:{type:Boolean,default:!1},modelValue:{type:String,default:""},readonly:{type:Boolean,default:!1},textAlign:{type:String,default:"left"},showButtonWhenDisabled:{type:Boolean,default:!1},enableTitle:{type:Boolean,default:!1},inputType:{type:String,default:"text"},forcePlaceholder:{type:Boolean,default:!1},placeholder:{type:String,default:""},minLength:Number,maxLength:Number,tabIndex:Number,popupHost:{type:Object},popupRightBoundary:{type:Object},popupOffsetX:{type:Object},popupOnInput:{type:Boolean,default:!1},popupOnFocus:{type:Boolean,default:!1},popupMinWidth:{type:Number,default:320},wrapText:{type:Boolean,default:!1},multiSelect:{type:Boolean,default:!1},separator:{type:String,default:","}},U=le(G,ue,se),re={popupContentPosition:{type:Object,default:{left:0,top:0}},host:{type:Object}},ce=t.defineComponent({name:"FOverlay",props:re,emits:["click"],setup(e,n){const l=t.ref(e.popupContentPosition),i=t.ref(e.host);function o(s){n.emit("click"),s.preventDefault(),s.stopPropagation()}const r=t.computed(()=>{const s=i.value;if(s){const y=s.getBoundingClientRect(),{left:f,top:m,height:g}=y;return{left:f,top:m+g}}return l.value}),d=t.computed(()=>({position:"relative",left:`${r.value.left}px`,top:`${r.value.top}px`}));return()=>t.createVNode(t.Teleport,{to:"body"},{default:()=>{var s,y;return[t.createVNode("div",{class:"overlay-container",style:"pointer-events: auto;",onClick:f=>o(f)},[t.createVNode("div",{style:d.value},[(y=(s=n.slots).default)==null?void 0:y.call(s)])])]}})}});function de(e){if(e.content&&e.content.render)return e.content.render;if(e.render&&typeof e.render=="function")return e.render}function fe(e){const n=document.createElement("div");n.style.display="contents";let l;const i=e.onClickCallback||(()=>{}),o=()=>{i(),l&&l.unmount()};return l=t.createApp({setup(){t.onUnmounted(()=>{document.body.removeChild(n)});const r=de(e);return()=>t.createVNode(ce,{"popup-content-position":e.popupPosition,host:e.host,onClick:o},{default:()=>[r&&r()]})}}),document.body.appendChild(n),l.mount(n),l}class pe{static show(n){return fe(n)}}function ge(e,n,l,i){const o=t.ref(e.buttonBehavior),r=t.ref(e.popupOnInput),d=t.computed(()=>({"input-group-append":!0,"append-force-show":e.showButtonWhenDisabled&&(e.readonly||e.disable)})),s=t.computed(()=>e.showButtonWhenDisabled||(!e.editable||!e.readonly)&&!e.disable);async function y(v){if(s.value){const C=!!n.slots.default;o.value==="Overlay"&&pe.show({host:l.value,render:()=>{if(n.slots.default)return n.slots.default()}}),C&&o.value==="Popup"&&i.togglePopup(),C&&r.value&&i.hidePopup(),n.emit("clickButton",{origin:v,value:e.modelValue})}v.stopPropagation()}function f(v){n.emit("mouseEnterIcon",v)}function m(v){n.emit("mouseLeaveIcon",v)}function g(){n.emit("mouseOverButton")}return{buttonClass:d,onClickButton:y,onMouseEnterButton:f,onMouseLeaveButton:m,onMouseOverButton:g}}function me(e,n,l,i,o,r){const d=t.ref(!1),s=t.computed(()=>e.enableClear&&!e.readonly&&!e.disable),{changeTextBoxValue:y}=r;function f(C){d.value=C}t.watch(o,()=>{i.value?f(!!o.value):f(!1)});function m(C){const T=!e.readonly&&!e.disable&&e.editable,b=!e.editable;C.stopPropagation(),(T||b)&&(y("",!1),f(!d.value),n.emit("clear"))}function g(C){if(s.value){if(!l.value){f(!1);return}(!e.editable||!e.readonly)&&!e.disable&&f(!0)}}function v(C){s.value&&f(!1)}return{enableClearButton:s,showClearButton:d,onClearValue:m,onMouseEnterTextBox:g,onMouseLeaveTextBox:v}}function he(e,n,l,i,o){const r=t.ref(e.popupOnInput),d=t.ref(e.popupOnFocus),{shouldPopupContent:s}=o,y=t.computed(()=>e.enableTitle?l.value:""),f=t.computed(()=>(e.disable||e.readonly)&&!e.forcePlaceholder?"":e.placeholder),m=t.computed(()=>e.readonly||!e.editable);let g=!1;const v=t.computed(()=>!e.disable&&g),C=t.computed(()=>({"text-left":e.textAlign==="left","text-center":e.textAlign==="center","text-right":e.textAlign==="right","form-control":!0,"f-utils-fill":!0})),T=t.computed(()=>({"input-group":!0,"f-state-disable":e.disable,"f-state-editable":e.editable&&!e.disable&&!e.readonly,"f-state-readonly":e.readonly&&!e.disable,"f-state-focus":v.value}));function b(p,V=!0){l.value!==p&&(l.value=p,V&&n.emit("change",p),n.emit("update:modelValue",p))}function M(p){s.value=!1,b(p,!0)}t.watch(()=>e.modelValue,p=>{l.value=p,n.emit("change",p)});function P(p){g=!1,n.emit("blur",p),p.stopPropagation()}function I(p){n.emit("click",p)}function w(p){if(e.disable){g=!0;return}g=!0,m.value||(n.emit("focus",p),d.value&&!s.value&&o.popup())}function O(p){n.emit("input",p.target.value);const V=p.target.value;i.value=V,l.value!==V&&b(V,!1),r.value&&!s.value&&o.popup()}function L(p){p.target.tagName!=="INPUT"&&p.preventDefault(),p.stopPropagation()}function R(p){n.emit("keydown",p)}function D(p){p.key==="Enter"&&(r.value||d.value)&&o.hidePopup(),n.emit("keyup",p)}function S(p){const V=p.target.value;p.stopPropagation(),b(V)}return{hasFocusedTextBox:v,isTextBoxReadonly:m,textBoxClass:C,textBoxPlaceholder:f,textBoxTitle:y,inputGroupClass:T,changeTextBoxValue:b,commitValue:M,onBlurTextBox:P,onClickTextBox:I,onFocusTextBox:w,onInput:O,onKeyDownTextBox:R,onKeyUpTextBox:D,onMouseDownTextBox:L,onTextBoxValueChange:S}}function ye(e,n,l){const i=t.ref(),o=t.ref(!1);function r(){const f=i.value;f&&f.show(l.value)}async function d(){!!n.slots.default&&(o.value=!o.value,await t.nextTick(),r())}async function s(){!!n.slots.default&&(o.value=!0,await t.nextTick(),r())}function y(){o.value=!1}return{hidePopup:y,popup:s,shouldPopupContent:o,togglePopup:d,popoverRef:i}}function ve(e,n,l){const{isTextBoxReadonly:i,textBoxClass:o,textBoxPlaceholder:r,textBoxTitle:d,onBlurTextBox:s,onClickTextBox:y,onFocusTextBox:f,onInput:m,onKeyDownTextBox:g,onKeyUpTextBox:v,onMouseDownTextBox:C,onTextBoxValueChange:T}=l;return()=>t.createVNode("input",{name:"input-group-value",autocomplete:e.autoComplete?"on":"off",class:o.value,disabled:e.disable,maxlength:e.maxLength,minlength:e.minLength,placeholder:r.value,readonly:i.value,tabindex:e.tabIndex,title:d.value,type:e.inputType,value:n.value,onBlur:s,onChange:T,onClick:y,onFocus:f,onInput:m,onKeydown:g,onKeyup:v,onMousedown:C},null)}const be={activeTag:{Type:String,default:""},addButtonText:{Type:String,default:""},customClass:{Type:String,default:""},customStyle:{Type:String,default:""},data:{type:Array,default:[]},enableAddButton:{Type:Boolean,default:!1},placeholder:{Type:String,default:""},selectable:{Type:Boolean,default:!1},showAddButton:{Type:Boolean,default:!1},showClose:{Type:Boolean,default:!1},showColor:{Type:Boolean,default:!1},showInput:{Type:Boolean,default:!1},tagType:{Type:String,default:""},tagStyle:{Type:String,default:""},wrapText:{Type:Boolean,default:!1},draggable:{Type:Boolean,default:!1}},Je="";function Be(e,n,l,i){const o=t.ref(-1),r=t.ref(!1);function d(m,g,v){m.stopPropagation(),g&&setTimeout(()=>{o.value=v,r.value=!0,g.moving=!0})}function s(m,g){if(m.preventDefault(),o.value!==g){const v=i.value[o.value],C=i.value;C.splice(o.value,1),C.splice(g,0,v),o.value=g}}function y(m,g){m.preventDefault(),m.dataTransfer&&(m.dataTransfer.dropEffect="move")}function f(m,g){g&&(g.moving=!1),l.value=i.value.filter(v=>v.type==="Tag").map(v=>v.payload),r.value=!1,n.emit("change",l.value)}return{dragstart:d,dragenter:s,dragover:y,dragend:f,isDragging:r}}const Ce=t.defineComponent({name:"FTags",props:be,emits:["remove","selectionChange","change"],setup(e,n){const l=t.ref(e.selectable),i=t.ref(e.customClass),o=t.ref(e.data),r=t.ref(e.tagType),d=t.ref(e.tagStyle),s=t.ref(e.showColor),y=t.ref(e.activeTag),f=t.ref(e.customStyle),m=t.ref(e.showClose),g=t.ref(e.showAddButton),v=t.ref(e.showInput),C=t.ref(e.addButtonText),T=t.ref(e.enableAddButton);t.ref(e.placeholder),t.ref(""),t.ref();const b=t.ref(),M=t.ref(e.wrapText),P=t.ref();function I(){const a=o.value.map(u=>({type:"Tag",payload:u}));return g.value&&a.push({type:"AddButton"}),a}const w=t.ref(I());function O(a){o.value=a,w.value=I()}const L=t.computed(()=>w.value.findIndex(a=>a.type==="Input")),R=Be(e,n,o,w),{dragstart:D,dragenter:S,dragover:p,dragend:V}=R;t.watch(()=>e.data,a=>O(a));const _=t.computed(()=>{const a={"farris-tags":!0,"farris-tags-checkable":l.value,"farris-tags-nowrap":!M.value};return i.value.split(" ").reduce((u,c)=>(u[c]=!0,u),a),a});function H(a){const u={"farris-tag-item":!0,"farris-tag-item-checked":l.value&&a.checked,"farris-tag-item-checkable":l.value,"farris-tag-item-has-color":s.value,"farris-tag-item-actived":y.value===a.name};if(r.value){const c=`farris-tag-item-${r.value}`;u[c]=!0}return u}const J=t.computed(()=>{const a={};return f.value&&f.value.split(";").reduce((u,c)=>{const k=c.split(":");return u[k[0]]=k[1],u},a),a});function z(a,u){l.value&&u.selectable&&(u.checked=!u.checked,y.value=u.checked?u.name:"",u.checked&&o.value.filter(c=>c.name!==u.name).forEach(c=>{c.checked=!u.checked}),n.emit("change",o.value),n.emit("selectionChange",u))}function h(a,u){let c;switch(a.key){case"Backspace":o.value=o.value.filter(k=>k.name!==u.name),n.emit("change",o.value);break;case"ArrowLeft":c=Math.max(b.value.scrollLeft+20,0),b.value.scrollLeft=c;break;case"ArrowRight":c=Math.max(b.value.scrollLeft-20,0),b.value.scrollLeft=c}}function B(a,u){const c=o.value.findIndex(k=>k.name===u.name);if(c>-1){const[k]=o.value.splice(c,1);w.value=I(),n.emit("change",o.value),n.emit("remove",o.value,k,c)}a.stopPropagation()}const x=t.computed(()=>({"farris-tag-item":!0,"farris-tag-add-button":!0,"farris-tag-add-button-disabled":!T.value}));function A(a){}function N(){return t.createVNode("li",{class:x.value,onClick:a=>void 0},[t.createVNode("span",{class:"f-icon f-icon-amplification"},null),t.createVNode("span",{class:"farris-tag-add-text"},[C.value])])}function W(a){if(a&&!a.innerText){const u=L.value;if(u>0){const[c]=o.value.splice(u-1,1);w.value.splice(u-1,1),n.emit("remove",o.value,c,u-1)}}}function X(a,u,c){a>-1&&(o.value.splice(a,0,{name:u,value:c,selectable:l.value}),w.value=I(),n.emit("change",o.value))}function q(a){if(a&&a.innerText){const u=a.innerText,c=L.value;X(c,u,u),a.innerText=""}}function Q(a){const u=a.target;u&&(u.innerText?q(u):n.emit("change",o.value))}function Ve(a){a.key==="Enter"&&q(a.target),a.key==="Backspace"&&(W(a.target),t.nextTick(()=>{P.value&&P.value.focus()}))}function Ne(){return t.createVNode("li",{class:"farris-tag-input-box"},[t.createVNode("div",{ref:P,class:"form-control",contenteditable:"true",onKeyup:Ve,onBlur:Q},null)])}function je(a,u){return t.createVNode("li",{class:H(a),style:J.value,tabindex:0,id:a.name,key:a.name,onClick:c=>z(c,a),onKeydown:c=>h(c,a),draggable:"true",onDragstart:c=>D(c,a,u),onDragenter:c=>S(c,u),onDragend:c=>V(c,a),onDragover:c=>p(c,u)},[t.createVNode("div",{title:a.name,class:"tag-box"},[a.name]),m.value&&t.createVNode("span",{class:"tag-delete"},[t.createVNode("i",{class:"f-icon f-icon-close",onClick:c=>B(c,a)},null)])])}function Me(){return w.value.map((a,u)=>{switch(a.type){case"Tag":return je(a.payload,u);case"AddButton":return N();case"Input":return Ne()}})}const De=t.computed(()=>({"farris-tags-item-container":!0,"farris-tag-item-capsule":d.value==="capsule"}));function Ae(a){const u=Math.max(b.value.scrollLeft-a.deltaX,0);b.value.scrollLeft=u}function We(a){const u=b.value,c=o.value.length-1;if(u){const k=Array.from(u.children).filter(E=>E.className.indexOf("farris-tag-item")>-1).findIndex(E=>{const F=E.getBoundingClientRect(),Y=window.getComputedStyle(E),ee=parseInt(Y["margin-left"],10)+F.width+parseInt(Y["margin-right"],10);return F.left+ee>a});if(k>-1)return k}return c}function Ee(a){if(v.value){const c=We(a.clientX)+1,E=w.value.filter(F=>F.type!=="Input");E.splice(c,0,{type:"Input"}),w.value=E,t.nextTick(()=>{P.value&&P.value.focus()})}}function Fe(a){var c;a.preventDefault(),a.stopPropagation();const u=(c=a.dataTransfer)==null?void 0:c.getData("Text");if(u){const k=u.split(":"),E=k[0],F=k[1];[...o.value].findIndex(Z=>(console.log(`${Z.value} === ${F} is ${Z.value===F}`),Z.value===F))>-1||X(o.value.length,E,F)}}function Xe(a){a.preventDefault()}return()=>t.createVNode("div",{class:_.value,onClick:Ee,onDrop:Fe,onDragover:Xe},[t.createVNode("ul",{ref:b,class:De.value,onWheel:a=>Ae(a)},[Me()])])}});function Te(e,n,l){const i=t.ref(e.separator),{changeTextBoxValue:o}=l,r=t.computed(()=>n.value?n.value.split(i.value).map(s=>({name:s,selectable:!0})):[]);function d(s){o(s.map(y=>y.name).join(i.value),!0)}return()=>t.createVNode(Ce,{class:"form-control",data:r.value,showClose:!0,showInput:!0,onChange:d},null)}function xe(e,n,l){const{buttonClass:i,onClickButton:o,onMouseEnterButton:r,onMouseLeaveButton:d}=n,{enableClearButton:s,showClearButton:y,onClearValue:f}=l;return()=>t.createVNode("div",{class:i.value},[s.value&&t.withDirectives(t.createVNode("span",{class:"input-group-text input-group-clear",onClick:f},[t.createVNode("i",{class:"f-icon modal_close"},null)]),[[t.vShow,y.value]]),e.buttonContent&&t.createVNode("span",{class:"input-group-text input-group-append-button",innerHTML:e.buttonContent,onClick:o,onMouseenter:r,onMouseleave:d},null)])}const we={title:{type:String},placement:{type:String,default:"bottom"},reference:{type:Object},host:{type:Object},leftBoundary:{type:Object},rightBoundary:{type:Object},visible:{type:Boolean,default:!1},class:{type:String},offsetX:{type:Object,default:t.ref(0)},zIndex:{type:Number,default:-1},keepWidthWithReference:{type:Boolean,default:!1},fitContent:{type:Boolean,default:!1},minWidth:{type:Number,default:-1}},Qe="";function ke(e){const n=e.host?e.host:"body",l=t.computed(()=>n==="body"?0:n?n.getBoundingClientRect().top:0),i=t.computed(()=>n==="body"?0:n?n.getBoundingClientRect().left:0),o=t.computed(()=>n==="body"?document.body.getBoundingClientRect().width:n?n.getBoundingClientRect().width-(e.rightBoundary?e.rightBoundary.getBoundingClientRect().width:0):document.body.getBoundingClientRect().width);return{host:n,hostLeft:i,hostTop:l,hostWidth:o}}function Pe(e,n,l,i){var z;const o=t.ref(0),r=t.ref(((z=e.offsetX)==null?void 0:z.value)||0),d=t.ref(-1),s=t.ref(-1),y=t.ref(-1),f=t.ref(e.placement),m=t.ref(0),g=t.ref(0),v=t.ref(0),C=t.ref(document.documentElement.scrollLeft),T=t.ref(document.documentElement.scrollTop),{hostLeft:b,hostTop:M,hostWidth:P}=i;t.watch(e.offsetX,h=>{o.value=h-r.value});const I=t.computed(()=>{const h={left:`${g.value}px`,top:`${v.value}px`,transform:`translateX(${o.value}px)`};return e.zIndex!==-1&&(h["z-index"]=e.zIndex),d.value!==-1&&(h.width=`${d.value}px`),h}),w=t.computed(()=>({left:`${m.value}px`}));function O(h){if(h&&e.keepWidthWithReference){const B=h.getBoundingClientRect();d.value=Math.max(e.minWidth,B.width)}}function L(h,B){const x=P.value-h.width-4;return x>0?x:B}function R(h,B,x){const A=m.value,N=B.left-b.value+B.width/2+C.value,W=B.top-M.value-(h.height+x.height)+T.value;return{popoverLeft:N,popoverTop:W,arrowLeft:A}}function D(h,B,x){return B.top-M.value+(B.height+x.height)+T.value}function S(h,B){const x=L(B,h),A=h<=x?m.value:h-x;return{popoverLeft:Math.min(h,x),arrowLeft:A}}function p(h,B,x){const A=B.left-b.value+B.width/2-(x.width/2-(h.left-b.value))+C.value,{arrowLeft:N,popoverLeft:W}=S(A,h),X=D(h,B,x);return{popoverLeft:W,popoverTop:X,arrowLeft:N}}function V(h,B,x){const A=B.left-b.value+C.value,{arrowLeft:N,popoverLeft:W}=S(A,h),X=D(h,B,x);return{popoverLeft:W,popoverTop:X,arrowLeft:N}}const _=new Map([["top",R],["bottom",p],["bottom-left",V]]);function H(h){var W;const B=h.getBoundingClientRect();s.value=B.top,y.value=B.left;const x=n.value.getBoundingClientRect(),A=(W=l.value)==null?void 0:W.getBoundingClientRect(),N=_.get(f.value);if(N){const{arrowLeft:X,popoverLeft:q,popoverTop:Q}=N(A,B,x);m.value=X,g.value=q,v.value=Q}e.keepWidthWithReference&&O(h)}function J(h){if(h){const B=h.getBoundingClientRect();(B.left!==y.value||B.top!==s.value)&&H(h)}}return{arrowStyle:w,popoverStyle:I,position:f,popoverWidth:d,fitToReference:O,followToReferencePosition:J,locateToReference:H}}function Ie(e,n,l,i,o,r,d){const s=t.ref(e.visible),y=t.computed(()=>s.value),{fitToReference:f,locateToReference:m}=d;let g;function v(){s.value=!1,document.body.removeEventListener("click",g),n.emit("hidden")}g=T=>{if(!o.value.contains(T.target)){const b=o.value.closest(".popover");b&&b.removeEventListener("click",g),v()}};async function C(T){if(i.value&&l.value&&T){s.value=!0,o.value=T,await t.nextTick(),m(T),r.value&&f(T),document.body.addEventListener("click",g);const b=T.closest(".popover");b&&b.addEventListener("click",g),n.emit("shown")}}return n.expose({hide:v,show:C,shown:y}),{showPopover:s,hidePopverOnClickBodyHandler:g}}function Oe(e,n,l,i,o){const{popoverWidth:r,fitToReference:d,followToReferencePosition:s}=o;function y(){if(l.value){s(l.value);const f=l.value.getBoundingClientRect();i.value&&f.width!==r.value&&d(l.value)}}return{onResize:y}}const Re=t.defineComponent({name:"FPopover",props:we,emits:["shown","hidden"],setup(e,n){const l=t.ref(),i=t.ref(),o=t.ref(e.reference),r=t.ref(e.keepWidthWithReference),d=t.computed(()=>!!e.title),s=ke(e),{host:y}=s,f=Pe(e,l,i,s),{position:m,arrowStyle:g,popoverStyle:v,fitToReference:C,locateToReference:T}=f,{showPopover:b,hidePopverOnClickBodyHandler:M}=Ie(e,n,l,i,o,r,f),{onResize:P}=Oe(e,n,o,r,f),I=t.computed(()=>{const O=`popover in popover-${m.value}`,L=`bs-popover-${m.value}`,R={"popover-fitcontent":e.fitContent};return R[O]=!0,R[L]=!0,(e.class||"").split(" ").reduce((S,p)=>(S[p]=!0,S),R),R}),w=t.computed(()=>({"popover-content":!0,"popover-body":!0}));return t.onMounted(()=>{e.reference&&T(o.value),r.value&&C(o.value),window.addEventListener("resize",P)}),t.onUnmounted(()=>{document.body.removeEventListener("click",M),window.removeEventListener("resize",P)}),()=>t.createVNode(t.Teleport,{to:y},{default:()=>{var O;return[t.withDirectives(t.createVNode("div",{ref:i,class:I.value,style:v.value,onClick:L=>{L.stopPropagation()}},[t.createVNode("div",{ref:l,class:"popover-arrow arrow",style:g.value},null),d.value&&t.createVNode("h3",{class:"popover-title popover-header"},[e.title]),t.createVNode("div",{class:w.value},[n.slots.default&&((O=n.slots)==null?void 0:O.default())])]),[[t.vShow,b.value]])]}})}});function Le(e,n,l){const i=t.ref(e.popupMinWidth),{hidePopup:o,popoverRef:r}=l;return()=>t.createVNode(Re,{ref:r,visible:!0,placement:"bottom-left",host:e.popupHost,"keep-width-with-reference":!0,fitContent:!0,"right-boundary":e.popupRightBoundary,minWidth:i.value,offsetX:e.popupOffsetX,onHidden:o},{default:()=>{var d,s;return[(s=(d=n.slots).default)==null?void 0:s.call(d)]}})}const Ye="",$=t.defineComponent({name:"FButtonEdit",props:G,emits:["updateExtendInfo","clear","change","click","clickButton","blur","focus","mouseEnterIcon","mouseLeaveIcon","keyup","keydown","inputClick","input","update:modelValue"],setup(e,n){const l=t.ref(),i=t.ref(e.customClass),o=t.ref(e.modelValue),r=ye(e,n,l),{shouldPopupContent:d,hidePopup:s}=r,y=ge(e,n,l,r),f=t.ref(""),m=he(e,n,o,f,r),{hasFocusedTextBox:g,commitValue:v,inputGroupClass:C}=m,T=me(e,n,o,g,f,m),{onMouseEnterTextBox:b,onMouseLeaveTextBox:M}=T,P=t.computed(()=>{const D={"f-button-edit":!0,"f-cmp-inputgroup":!0,"f-button-edit-nowrap":!e.wrapText};return i.value&&i.value.split(" ").reduce((S,p)=>(S[p]=!0,S),D),D});function I(){return e.multiSelect&&e.inputType==="tag"?Te(e,o,m):ve(e,o,m)}let w=I();t.watch([()=>e.multiSelect,()=>e.inputType],()=>{w=I()});const O=xe(e,y,T),L=Le(e,n,r),R={commitValue:v,elementRef:l,hidePopup:s};return t.onMounted(()=>{l.value.componentInstance=R}),n.expose(R),()=>t.createVNode(t.Fragment,null,[t.createVNode("div",t.mergeProps(n.attrs,{ref:l,class:P.value,id:e.id}),[t.createVNode("div",{class:C.value,onMouseenter:b,onMouseleave:M},[w(),O()])]),d.value&&L()])}}),Se={install(e){e.component($.name,$)},register(e,n){e["button-edit"]=$,n["button-eidt"]=U},registerDesigner(e,n){e["button-edit"]=$,n["button-eidt"]=U}};j.ButtonEdit=$,j.buttonEditProps=G,j.default=Se,j.propsResolver=U,Object.defineProperties(j,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,8 +0,0 @@
1
- {
2
- "name": "button-edit",
3
- "version": "1.0.3",
4
- "main": "index.umd.js",
5
- "module": "index.esm.js",
6
- "style": "style.css",
7
- "types": "../types/button-edit/index.d.ts"
8
- }
@@ -1 +0,0 @@
1
- .farris-tags .farris-tags-item-container{margin:0;padding:0}.farris-tags .farris-tags-item-container .farris-tag-item{display:inline-flex!important;padding:0 8px;margin:3px 6px 3px 0;line-height:24px;font-size:13px;color:#2d314e;background:#f6faff;border:1px solid #e6e6e6!important;white-space:nowrap;border-radius:3px;cursor:default;opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86);max-width:9rem}.farris-tags .farris-tags-item-container .farris-tag-item a,.farris-tags .farris-tags-item-container .farris-tag-item a:hover{color:#000000d9}.farris-tags .farris-tags-item-container .farris-tag-item>a:first-child:last-child{display:inline-flex;margin:0 -8px;padding:0 8px}.farris-tags .farris-tags-item-container .farris-tag-item .tag-box{text-overflow:ellipsis;overflow:hidden;word-break:break-all;white-space:nowrap;display:inline-flex;max-width:7rem;vertical-align:middle}.farris-tags .farris-tags-item-container .farris-tag-item .tag-delete{display:inline-block;margin-left:6px;color:#0003;cursor:pointer;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.farris-tags .farris-tags-item-container .farris-tag-item .tag-delete:hover{color:#000000d9}.farris-tags .farris-tags-item-container .farris-tag-item>.f-icon{font-size:12px}.farris-tags .farris-tags-item-container .farris-tag-item>.f-icon+span,.farris-tags .farris-tags-item-container .farris-tag-item>span+.f-icon{margin-left:7px}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-info{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-error{color:#f5222d;background:#fff1f0;border-color:#ffa39e}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-warning{color:#fa8c16;background:#fff7e6;border-color:#ffd591}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-default{color:#2d314e;background:#f6faff;border:1px solid #e6e6e6}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked){cursor:pointer}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked):active{color:#59a1ff}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked):hover{color:#59a1ff}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checkdisabled{background-color:transparent;border-color:transparent;cursor:not-allowed;color:#00000073}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checked{background-color:#fff;border-color:#2a87ff;color:#2a87ff}.farris-tags .farris-tags-item-container .farris-tag-item:last-child{margin-right:0}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-actived,.farris-tags .farris-tags-item-container .farris-tag-item:active{background-color:#2a87ff;color:#fff}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-actived .tag-delete,.farris-tags .farris-tags-item-container .farris-tag-item:active .tag-delete{color:#fff}.farris-tags .farris-tags-item-container .farris-tag-add-button{cursor:pointer;background:#f9f9f9;border:1px dashed #babdc9}.farris-tags .farris-tags-item-container .farris-tag-add-button .farris-tag-add-text{color:#00000073;line-height:24px}.farris-tags .farris-tags-item-container .farris-tag-add-button .f-icon{color:#0003;line-height:24px}.farris-tags .farris-tags-item-container .farris-tag-add-button:hover{background-color:#f9f9f9;border-color:#59a1ff}.farris-tags .farris-tags-item-container .farris-tag-add-button:hover .farris-tag-add-text,.farris-tags .farris-tags-item-container .farris-tag-add-button:hover .f-icon{color:#59a1ff}.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled{background-color:#f7f7f7;border-color:#dcdcdc;border-style:solid;cursor:not-allowed}.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled .farris-tag-add-text{color:#00000040}.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled:hover{background-color:#f7f7f7;border-color:#dcdcdc}.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled:hover .farris-tag-add-text,.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled:hover .f-icon{color:#00000040}.farris-tags .farris-tags-item-container .farris-tag-input-box{display:inline-flex!important;padding:0;margin:2px 3px 2px -3px;line-height:22px;font-size:13px}.farris-tags .farris-tags-item-container .farris-tag-input-box .form-control{padding:2px 0;min-width:2px;border:none;background:none;line-height:inherit;text-wrap:nowrap;width:100%!important;height:22px!important}.farris-tags .farris-tags-item-container .farris-tag-input-box .form-control:focus{box-shadow:none}.farris-tags .farris-tags-item-container .farris-tag-input-box .form-control:focus-visible{outline:none}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item{border-radius:24px}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked){background:#ffffff;border:1px solid #e6e6e6;cursor:pointer}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked):active{color:#59a1ff}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked):hover{color:#59a1ff}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item.farris-tag-item-checked{background-color:#2a87ff0f;border-color:#2a87ff29;color:#2a87ff}.farris-tags.farris-tags-checkable .farris-tag-item{line-height:22px}.farris-tags.farris-tags-nowrap{overflow:hidden}.farris-tags.farris-tags-nowrap .farris-tags-item-container{display:flex;flex-wrap:nowrap;overflow:hidden}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-warning{color:#f5a144;border-color:#fad0a1;background:#fef5ec}.bs3.popover-top{margin-bottom:10px}.bs3.popover.top>.arrow{margin-left:-2px}.bs3.popover.top{margin-bottom:10px}.popover.bottom>.arrow{margin-left:-4px}.bs3.bs-popover-left{margin-right:.5rem}.bs3.bs-popover-right .arrow,.bs3.bs-popover-left .arrow{margin:.3rem 0}.arrow-left .arrow{left:calc(50% - 10px)}.bs-popover-bottom-left .arrow{top:calc((.5rem + 1px)*-1)}.bs-popover-bottom-left .arrow:before{top:0;border-bottom-color:#fff6!important}.bs-popover-bottom-left .arrow:before,.bs-popover-bottom-left .arrow:after{border-width:0 .5rem .5rem}.bs-popover-bottom-left .arrow:after{top:1px;border-bottom-color:#fff!important}.popover.popover-fitcontent .popover-body{max-width:initial;padding:initial}.f-button-edit .farris-tags.form-control{padding:0}.f-button-edit .farris-tag-item,.f-button-edit .farris-tag-input-box{line-height:17px!important;margin:2px 6px 2px 0!important}.f-button-edit .farris-tag-input-box .form-control{height:inherit!important;padding:1px 0!important}.f-button-edit-nowrap .input-group{flex-wrap:nowrap!important}.f-button-edit-nowrap .farris-tags{overflow:hidden}.f-button-edit-nowrap .farris-tags-item-container{display:flex;flex-wrap:nowrap;overflow:hidden}
@@ -1,315 +0,0 @@
1
- import { defineComponent as j, ref as E, computed as z, onBeforeMount as J, onMounted as K, createVNode as c, Fragment as Q, withModifiers as I, createTextVNode as n } from "vue";
2
- const U = {
3
- /**
4
- * 组件标识
5
- */
6
- id: String
7
- };
8
- function Y() {
9
- function x(l, t = 12) {
10
- return +parseFloat(l.toPrecision(t));
11
- }
12
- function d(l) {
13
- const t = l.toString().split(/[eE]/), r = (t[0].split(".")[1] || "").length - +(t[1] || 0);
14
- return r > 0 ? r : 0;
15
- }
16
- function i(l) {
17
- if (l.toString().indexOf("e") === -1)
18
- return Number(l.toString().replace(".", ""));
19
- const t = d(l);
20
- return t > 0 ? x(l * 10 ** t) : l;
21
- }
22
- function h(l) {
23
- a && (l > Number.MAX_SAFE_INTEGER || l < Number.MIN_SAFE_INTEGER) && console.warn(
24
- `${l} is beyond boundary when transfer to integer, the results may not be accurate`
25
- );
26
- }
27
- function v(l, t, ...r) {
28
- if (r.length > 0)
29
- return v(v(l, t), r[0], ...r.slice(1));
30
- const f = i(l), C = i(t), M = d(l) + d(t), S = f * C;
31
- return h(S), S / 10 ** M;
32
- }
33
- function m(l, t, ...r) {
34
- if (r.length > 0)
35
- return m(m(l, t), r[0], ...r.slice(1));
36
- const f = 10 ** Math.max(d(l), d(t));
37
- return (v(l, f) + v(t, f)) / f;
38
- }
39
- function b(l, t, ...r) {
40
- if (r.length > 0)
41
- return b(b(l, t), r[0], ...r.slice(1));
42
- const f = 10 ** Math.max(d(l), d(t));
43
- return (v(l, f) - v(t, f)) / f;
44
- }
45
- function p(l, t, ...r) {
46
- if (r.length > 0)
47
- return p(p(l, t), r[0], ...r.slice(1));
48
- const f = i(l), C = i(t);
49
- return h(f), h(C), v(
50
- f / C,
51
- 10 ** (d(t) - d(l))
52
- );
53
- }
54
- function s(l, t) {
55
- const r = 10 ** t;
56
- return p(Math.round(v(l, r)), r);
57
- }
58
- let a = !1;
59
- function o(l = !0) {
60
- a = l;
61
- }
62
- return {
63
- strip: x,
64
- plus: m,
65
- minus: b,
66
- times: v,
67
- divide: p,
68
- round: s,
69
- digitLength: d,
70
- float2Fixed: i,
71
- enableBoundaryChecking: o
72
- };
73
- }
74
- const q = /* @__PURE__ */ j({
75
- name: "FCalculator",
76
- props: U,
77
- emits: [],
78
- setup(x, d) {
79
- const i = E(), h = E(), v = E(), m = E(), b = E(), p = E();
80
- let s = "", a = "0", o = [], l = [], t, r;
81
- const {
82
- plus: f,
83
- minus: C,
84
- times: M,
85
- divide: S
86
- } = Y();
87
- function F() {
88
- i.value && m.value && b.value && p.value && (i.value.scrollWidth > m.value.offsetWidth ? (b.value.style.display = "block", p.value.style.display = "block") : (b.value.style.display = "none", p.value.style.display = "none"));
89
- }
90
- function _(e) {
91
- i.value && (i.value.innerHTML = e);
92
- }
93
- function A(e) {
94
- h.value && (h.value.innerHTML = e);
95
- }
96
- function H() {
97
- return s.lastIndexOf("+") !== -1 || s.lastIndexOf("-") !== -1 || s.lastIndexOf("×") !== -1 || s.lastIndexOf("÷") !== -1;
98
- }
99
- function B(e, u, k) {
100
- let g = 0;
101
- switch (e = Number(e), u = Number(u), k) {
102
- case "+":
103
- g = f(e, u);
104
- break;
105
- case "-":
106
- g = C(e, u);
107
- break;
108
- case "×":
109
- g = M(e, u);
110
- break;
111
- case "÷":
112
- g = S(e, u);
113
- break;
114
- }
115
- return g;
116
- }
117
- function R(e) {
118
- a.indexOf("0") === 0 && a.indexOf(".") === -1 || t === !0 ? a = e : a += e, t = !1, r = !1;
119
- }
120
- function V(e) {
121
- t === !0 ? a = "0" + e : a.indexOf(".") === -1 && (a += e), t = !1, r = !1;
122
- }
123
- function W() {
124
- a.indexOf("-") === -1 && a !== "0" ? a = "-" + a : a.indexOf("-") > -1 && a !== "0" && (a = a.substring(1));
125
- }
126
- function $(e) {
127
- if (o.length < 2 && (t !== !0 || r === !0) ? (a = parseFloat(a) + "", s = s + " " + a + " " + e, o.push(a), l.push(e), t = !0) : o.length < 2 && H() && (s = s.substring(0, s.length - 1) + "" + e, l.push(e)), o.length === 2) {
128
- const u = l[l.length - 2];
129
- if (o[1] === "0" && u === "÷") {
130
- o = [], a = "除数不能为零", s = "", t = !0;
131
- return;
132
- }
133
- const k = B(o[0], o[1], u);
134
- o = [], o.push(k), a = k + "", t = !0;
135
- }
136
- }
137
- function D() {
138
- if (o.length > 0) {
139
- const e = l.pop();
140
- if (a === "0" && e === "÷") {
141
- o = [], a = "除数不能为零", s = "", t = !0, r = !0;
142
- return;
143
- }
144
- const u = B(o[0], a, e);
145
- o = [], a = u + "", s = "", t = !0, r = !0;
146
- }
147
- }
148
- function G() {
149
- a = "0";
150
- }
151
- function P() {
152
- a = "0", s = "", t = !0, o = [], l = [];
153
- }
154
- function X() {
155
- a = a.length > 1 ? a.substring(0, a.length - 1) : "0";
156
- }
157
- const y = z(() => `fv-calculator-main${Math.floor(Math.random() * 1e3).toString()}`);
158
- function N(e) {
159
- i.value && (i.value.scrollLeft += 50);
160
- }
161
- function O(e) {
162
- i.value && (i.value.scrollLeft -= 50);
163
- }
164
- function w(e) {
165
- if (v.value && !v.value.contains(e.target))
166
- return;
167
- const u = e.target.innerHTML;
168
- switch (u) {
169
- case "0":
170
- case "1":
171
- case "2":
172
- case "3":
173
- case "4":
174
- case "5":
175
- case "6":
176
- case "7":
177
- case "8":
178
- case "9":
179
- R(u);
180
- break;
181
- case ".":
182
- V(u);
183
- break;
184
- case "±":
185
- W();
186
- break;
187
- case "+":
188
- case "-":
189
- case "×":
190
- case "÷":
191
- $(u);
192
- break;
193
- case "=":
194
- D();
195
- break;
196
- case "CE":
197
- G();
198
- break;
199
- case "C":
200
- P();
201
- break;
202
- case "Back":
203
- X();
204
- break;
205
- }
206
- _(s), A(a);
207
- }
208
- return J(() => {
209
- }), K(() => {
210
- var e, u, k, g, T, L;
211
- i.value = (e = document.getElementById(y.value)) == null ? void 0 : e.querySelector("#fv-calculator-pre-step"), h.value = (u = document.getElementById(y.value)) == null ? void 0 : u.querySelector("#fv-calculator-show-input"), v.value = (k = document.getElementById(y.value)) == null ? void 0 : k.querySelector("#fv-calculator-num-symbol"), m.value = (g = document.getElementById(y.value)) == null ? void 0 : g.querySelector(".fv-calculator-pre"), b.value = (T = document.getElementById(y.value)) == null ? void 0 : T.querySelector(".fv-calculator-pre-left"), p.value = (L = document.getElementById(y.value)) == null ? void 0 : L.querySelector(".fv-calculator-pre-right"), F();
212
- }), () => c(Q, null, [c("div", {
213
- class: "fv-calculator-standard-main",
214
- id: y.value,
215
- onMousedown: I((e) => w(e), ["prevent"]),
216
- onTouchstart: I((e) => w(e), ["prevent"])
217
- }, [c("div", {
218
- class: "fv-calculator-title"
219
- }, [n("计算器")]), c("div", {
220
- class: "fv-calculator-result"
221
- }, [c("div", {
222
- class: "fv-calculator-type",
223
- id: "fv-calculator-show-bar"
224
- }, [n("Standard")]), c("div", {
225
- class: "fv-calculator-pre"
226
- }, [c("div", {
227
- class: "fv-calculator-pre-left",
228
- style: "display:none;",
229
- onMousedown: I((e) => O(), ["prevent"]),
230
- onTouchstart: I((e) => O(), ["prevent"])
231
- }, [n("<")]), c("div", {
232
- class: "fv-calculator-pre-content",
233
- id: "fv-calculator-pre-step"
234
- }, null), c("div", {
235
- class: "fv-calculator-pre-right",
236
- style: "display:none;",
237
- onMousedown: I((e) => N(), ["prevent"]),
238
- onTouchstart: I((e) => N(), ["prevent"])
239
- }, [n(">")])]), c("div", {
240
- class: "fv-calculator-result-out"
241
- }, [c("div", {
242
- class: "fv-calculator-second",
243
- id: "fv-calculator-show-input"
244
- }, [n("0")])])]), c("ul", {
245
- id: "fv-calculator-num-symbol"
246
- }, [c("li", {
247
- value: "37",
248
- class: "fv-calculator-letter"
249
- }, [n("CE")]), c("li", {
250
- value: "38",
251
- class: "fv-calculator-letter"
252
- }, [n("C")]), c("li", {
253
- value: "39",
254
- class: "fv-calculator-letter"
255
- }, [n("Back")]), c("li", {
256
- value: "16",
257
- class: "fv-calculator-operator"
258
- }, [n("÷")]), c("li", {
259
- class: "fv-calculator-number",
260
- value: "7"
261
- }, [n("7")]), c("li", {
262
- class: "fv-calculator-number",
263
- value: "8"
264
- }, [n("8")]), c("li", {
265
- class: "fv-calculator-number",
266
- value: "9"
267
- }, [n("9")]), c("li", {
268
- value: "15",
269
- class: "fv-calculator-operator"
270
- }, [n("×")]), c("li", {
271
- class: "fv-calculator-number",
272
- value: "4"
273
- }, [n("4")]), c("li", {
274
- class: "fv-calculator-number",
275
- value: "5"
276
- }, [n("5")]), c("li", {
277
- class: "fv-calculator-number",
278
- value: "6"
279
- }, [n("6")]), c("li", {
280
- value: "14",
281
- class: "fv-calculator-operator"
282
- }, [n("-")]), c("li", {
283
- class: "fv-calculator-number",
284
- value: "1"
285
- }, [n("1")]), c("li", {
286
- class: "fv-calculator-number",
287
- value: "2"
288
- }, [n("2")]), c("li", {
289
- class: "fv-calculator-number",
290
- value: "3"
291
- }, [n("3")]), c("li", {
292
- value: "13",
293
- class: "fv-calculator-operator"
294
- }, [n("+")]), c("li", {
295
- value: "11"
296
- }, [n("±")]), c("li", {
297
- class: "fv-calculator-number",
298
- value: "0"
299
- }, [n("0")]), c("li", {
300
- value: "10"
301
- }, [n(".")]), c("li", {
302
- value: "12",
303
- class: "fv-calculator-operator"
304
- }, [n("=")])])])]);
305
- }
306
- }), ee = {
307
- install(x) {
308
- x.component(q.name, q);
309
- }
310
- };
311
- export {
312
- q as calculator,
313
- U as calculatorProps,
314
- ee as default
315
- };
@@ -1 +0,0 @@
1
- (function(p,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(p=typeof globalThis<"u"?globalThis:p||self,e(p.calculator={},p.Vue))})(this,function(p,e){"use strict";const E={id:String};function q(){function v(a,l=12){return+parseFloat(a.toPrecision(l))}function f(a){const l=a.toString().split(/[eE]/),r=(l[0].split(".")[1]||"").length-+(l[1]||0);return r>0?r:0}function i(a){if(a.toString().indexOf("e")===-1)return Number(a.toString().replace(".",""));const l=f(a);return l>0?v(a*10**l):a}function h(a){c&&(a>Number.MAX_SAFE_INTEGER||a<Number.MIN_SAFE_INTEGER)&&console.warn(`${a} is beyond boundary when transfer to integer, the results may not be accurate`)}function d(a,l,...r){if(r.length>0)return d(d(a,l),r[0],...r.slice(1));const u=i(a),m=i(l),C=f(a)+f(l),T=u*m;return h(T),T/10**C}function g(a,l,...r){if(r.length>0)return g(g(a,l),r[0],...r.slice(1));const u=10**Math.max(f(a),f(l));return(d(a,u)+d(l,u))/u}function V(a,l,...r){if(r.length>0)return V(V(a,l),r[0],...r.slice(1));const u=10**Math.max(f(a),f(l));return(d(a,u)-d(l,u))/u}function N(a,l,...r){if(r.length>0)return N(N(a,l),r[0],...r.slice(1));const u=i(a),m=i(l);return h(u),h(m),d(u/m,10**(f(l)-f(a)))}function s(a,l){const r=10**l;return N(Math.round(d(a,r)),r)}let c=!1;function n(a=!0){c=a}return{strip:v,plus:g,minus:V,times:d,divide:N,round:s,digitLength:f,float2Fixed:i,enableBoundaryChecking:n}}const z="",k=e.defineComponent({name:"FCalculator",props:E,emits:[],setup(v,f){const i=e.ref(),h=e.ref(),d=e.ref(),g=e.ref(),V=e.ref(),N=e.ref();let s="",c="0",n=[],a=[],l,r;const{plus:u,minus:m,times:C,divide:T}=q();function F(){i.value&&g.value&&V.value&&N.value&&(i.value.scrollWidth>g.value.offsetWidth?(V.value.style.display="block",N.value.style.display="block"):(V.value.style.display="none",N.value.style.display="none"))}function _(t){i.value&&(i.value.innerHTML=t)}function A(t){h.value&&(h.value.innerHTML=t)}function P(){return s.lastIndexOf("+")!==-1||s.lastIndexOf("-")!==-1||s.lastIndexOf("×")!==-1||s.lastIndexOf("÷")!==-1}function M(t,o,y){let b=0;switch(t=Number(t),o=Number(o),y){case"+":b=u(t,o);break;case"-":b=m(t,o);break;case"×":b=C(t,o);break;case"÷":b=T(t,o);break}return b}function H(t){c.indexOf("0")===0&&c.indexOf(".")===-1||l===!0?c=t:c+=t,l=!1,r=!1}function R(t){l===!0?c="0"+t:c.indexOf(".")===-1&&(c+=t),l=!1,r=!1}function W(){c.indexOf("-")===-1&&c!=="0"?c="-"+c:c.indexOf("-")>-1&&c!=="0"&&(c=c.substring(1))}function $(t){if(n.length<2&&(l!==!0||r===!0)?(c=parseFloat(c)+"",s=s+" "+c+" "+t,n.push(c),a.push(t),l=!0):n.length<2&&P()&&(s=s.substring(0,s.length-1)+""+t,a.push(t)),n.length===2){const o=a[a.length-2];if(n[1]==="0"&&o==="÷"){n=[],c="除数不能为零",s="",l=!0;return}const y=M(n[0],n[1],o);n=[],n.push(y),c=y+"",l=!0}}function j(){if(n.length>0){const t=a.pop();if(c==="0"&&t==="÷"){n=[],c="除数不能为零",s="",l=!0,r=!0;return}const o=M(n[0],c,t);n=[],c=o+"",s="",l=!0,r=!0}}function D(){c="0"}function G(){c="0",s="",l=!0,n=[],a=[]}function X(){c=c.length>1?c.substring(0,c.length-1):"0"}const x=e.computed(()=>`fv-calculator-main${Math.floor(Math.random()*1e3).toString()}`);function I(t){i.value&&(i.value.scrollLeft+=50)}function S(t){i.value&&(i.value.scrollLeft-=50)}function w(t){if(d.value&&!d.value.contains(t.target))return;const o=t.target.innerHTML;switch(o){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":H(o);break;case".":R(o);break;case"±":W();break;case"+":case"-":case"×":case"÷":$(o);break;case"=":j();break;case"CE":D();break;case"C":G();break;case"Back":X();break}_(s),A(c)}return e.onBeforeMount(()=>{}),e.onMounted(()=>{var t,o,y,b,B,O;i.value=(t=document.getElementById(x.value))==null?void 0:t.querySelector("#fv-calculator-pre-step"),h.value=(o=document.getElementById(x.value))==null?void 0:o.querySelector("#fv-calculator-show-input"),d.value=(y=document.getElementById(x.value))==null?void 0:y.querySelector("#fv-calculator-num-symbol"),g.value=(b=document.getElementById(x.value))==null?void 0:b.querySelector(".fv-calculator-pre"),V.value=(B=document.getElementById(x.value))==null?void 0:B.querySelector(".fv-calculator-pre-left"),N.value=(O=document.getElementById(x.value))==null?void 0:O.querySelector(".fv-calculator-pre-right"),F()}),()=>e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"fv-calculator-standard-main",id:x.value,onMousedown:e.withModifiers(t=>w(t),["prevent"]),onTouchstart:e.withModifiers(t=>w(t),["prevent"])},[e.createVNode("div",{class:"fv-calculator-title"},[e.createTextVNode("计算器")]),e.createVNode("div",{class:"fv-calculator-result"},[e.createVNode("div",{class:"fv-calculator-type",id:"fv-calculator-show-bar"},[e.createTextVNode("Standard")]),e.createVNode("div",{class:"fv-calculator-pre"},[e.createVNode("div",{class:"fv-calculator-pre-left",style:"display:none;",onMousedown:e.withModifiers(t=>S(),["prevent"]),onTouchstart:e.withModifiers(t=>S(),["prevent"])},[e.createTextVNode("<")]),e.createVNode("div",{class:"fv-calculator-pre-content",id:"fv-calculator-pre-step"},null),e.createVNode("div",{class:"fv-calculator-pre-right",style:"display:none;",onMousedown:e.withModifiers(t=>I(),["prevent"]),onTouchstart:e.withModifiers(t=>I(),["prevent"])},[e.createTextVNode(">")])]),e.createVNode("div",{class:"fv-calculator-result-out"},[e.createVNode("div",{class:"fv-calculator-second",id:"fv-calculator-show-input"},[e.createTextVNode("0")])])]),e.createVNode("ul",{id:"fv-calculator-num-symbol"},[e.createVNode("li",{value:"37",class:"fv-calculator-letter"},[e.createTextVNode("CE")]),e.createVNode("li",{value:"38",class:"fv-calculator-letter"},[e.createTextVNode("C")]),e.createVNode("li",{value:"39",class:"fv-calculator-letter"},[e.createTextVNode("Back")]),e.createVNode("li",{value:"16",class:"fv-calculator-operator"},[e.createTextVNode("÷")]),e.createVNode("li",{class:"fv-calculator-number",value:"7"},[e.createTextVNode("7")]),e.createVNode("li",{class:"fv-calculator-number",value:"8"},[e.createTextVNode("8")]),e.createVNode("li",{class:"fv-calculator-number",value:"9"},[e.createTextVNode("9")]),e.createVNode("li",{value:"15",class:"fv-calculator-operator"},[e.createTextVNode("×")]),e.createVNode("li",{class:"fv-calculator-number",value:"4"},[e.createTextVNode("4")]),e.createVNode("li",{class:"fv-calculator-number",value:"5"},[e.createTextVNode("5")]),e.createVNode("li",{class:"fv-calculator-number",value:"6"},[e.createTextVNode("6")]),e.createVNode("li",{value:"14",class:"fv-calculator-operator"},[e.createTextVNode("-")]),e.createVNode("li",{class:"fv-calculator-number",value:"1"},[e.createTextVNode("1")]),e.createVNode("li",{class:"fv-calculator-number",value:"2"},[e.createTextVNode("2")]),e.createVNode("li",{class:"fv-calculator-number",value:"3"},[e.createTextVNode("3")]),e.createVNode("li",{value:"13",class:"fv-calculator-operator"},[e.createTextVNode("+")]),e.createVNode("li",{value:"11"},[e.createTextVNode("±")]),e.createVNode("li",{class:"fv-calculator-number",value:"0"},[e.createTextVNode("0")]),e.createVNode("li",{value:"10"},[e.createTextVNode(".")]),e.createVNode("li",{value:"12",class:"fv-calculator-operator"},[e.createTextVNode("=")])])])])}}),L={install(v){v.component(k.name,k)}};p.calculator=k,p.calculatorProps=E,p.default=L,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,8 +0,0 @@
1
- {
2
- "name": "calculator",
3
- "version": "1.0.3",
4
- "main": "index.umd.js",
5
- "module": "index.esm.js",
6
- "style": "style.css",
7
- "types": "../types/calculator/index.d.ts"
8
- }
@@ -1 +0,0 @@
1
- .fv-calculator-standard-main{background-color:#f1f1f1;margin:0 auto;box-shadow:0 0 15px #4d4d4d}.fv-calculator-standard-main ul{list-style:none;margin:0;padding:0}.fv-calculator-standard-main li{float:left;text-align:center;cursor:pointer}.fv-calculator-standard-main li img{height:14px}.fv-calculator-standard-main .fv-calculator-title{padding:5px 0;height:30px;line-height:30px;font-size:18px;margin-left:10px}.fv-calculator-standard-main .fv-calculator-result{height:140px;text-align:right;width:100%}.fv-calculator-standard-main .fv-calculator-result-out{margin:0 5px;height:48px;overflow:hidden}.fv-calculator-standard-main .fv-calculator-second{font-size:42px;font-weight:700;overflow-y:auto;white-space:nowrap;text-align:right}.fv-calculator-standard-main .fv-calculator-pre{color:#a7a7a7;padding:0 20px;font-size:16px;height:24px;width:100%;overflow:hidden;position:relative;z-index:99}.fv-calculator-standard-main .fv-calculator-pre .fv-calculator-pre-left{width:16px;text-align:center;line-height:20px;height:24px;position:absolute;z-index:101;left:0;top:0;font-weight:600;cursor:pointer;background:#f1f1f1}.fv-calculator-standard-main .fv-calculator-pre .fv-calculator-pre-right{width:16px;text-align:center;line-height:20px;height:24px;position:absolute;z-index:101;right:0;top:0;font-weight:600;cursor:pointer;background:#f1f1f1}.fv-calculator-pre .fv-calculator-pre-content{text-align:right;height:24px;line-height:24px;white-space:nowrap;overflow-y:auto;overflow-x:hidden}.fv-calculator-pre-left:hover,.fv-calculator-pre-right:hover{color:#1853d1;background:#9b9b9b}.fv-calculator-standard-main .fv-calculator-type{height:auto;text-align:left;font-weight:700;margin:10px 0 20px 10px;font-size:22px}.fv-calculator-standard-main .fv-calculator-type-bar{height:90px;width:100px;position:absolute;top:110px;background-color:#e6e6e6}.fv-calculator-standard-main .fv-calculator-type-bar li{float:left;width:100px;text-align:center;line-height:30px}.fv-calculator-standard-main .active{background-color:#cfcfcf}.fv-calculator-standard-main .fv-calculator-number{font-weight:700;border:1px solid #fff!important;background:#fff!important}.fv-calculator-standard-main .fv-calculator-number:hover{border:1px solid #f1f1f1!important;background:#c6c6c6!important}.fv-calculator-standard-main .fv-calculator-operator:hover{border:1px solid #f1f1f1!important;background:#82bceb!important;color:#fff}.fv-calculator-standard-main .fv-calculator-letter{font-size:16px}.fv-calculator-standard-main{width:500px;height:460px}#fv-calculator-num-symbol{height:270px;font-size:20px;display:flex;flex-wrap:wrap;justify-content:center}#fv-calculator-num-symbol li{line-height:48px;width:23%;margin:5px 0 0 5px;background:#dedede;border:1px solid #dedede;list-style-type:none}#fv-calculator-num-symbol li:hover{background:#c6c6c6;border:1px solid #f1f1f1}