@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,1551 +0,0 @@
1
- var qt = Object.defineProperty;
2
- var Xt = (i, t, e) => t in i ? qt(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
- var s = (i, t, e) => (Xt(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { defineComponent as q, ref as k, onMounted as Z, watch as $, createVNode as b, withModifiers as U, createTextVNode as Pt, computed as L, onBeforeMount as zt, withDirectives as G, vShow as nt, vModelText as Gt } from "vue";
5
- const Wt = {
6
- color: { type: String, default: "#e1e2e3" },
7
- disabled: { type: Boolean, default: !1 },
8
- size: { type: String, default: "" },
9
- presets: { type: Array, default: [] },
10
- selectOnly: { type: Boolean },
11
- editable: { type: Boolean, default: !1 },
12
- allowColorNull: { type: Boolean, default: !1 }
13
- };
14
- class C {
15
- }
16
- class it extends C {
17
- constructor(t, e, n, r) {
18
- super(), this.cyan = t, this.magenta = e, this.yellow = n, this.black = r;
19
- }
20
- toString() {
21
- return `cmyk(${this.getCyan()}%, ${this.getMagenta()}%, ${this.getYellow()}%, ${this.getBlack()}%)`;
22
- }
23
- getCyan() {
24
- return Math.round(this.cyan);
25
- }
26
- getMagenta() {
27
- return Math.round(this.magenta);
28
- }
29
- getYellow() {
30
- return Math.round(this.yellow);
31
- }
32
- getBlack() {
33
- return Math.round(this.black);
34
- }
35
- }
36
- class Y extends C {
37
- constructor(t, e, n, r) {
38
- super(), this.hue = t, this.saturation = e, this.lightness = n, this.alpha = r;
39
- }
40
- toString(t = !0) {
41
- return t ? `hsla(${this.getHue()}, ${this.getSaturation()}%, ${this.getLightness()}%, ${this.getAlpha()})` : `hsl(${this.getHue()}, ${this.getSaturation()}%, ${this.getLightness()}%)`;
42
- }
43
- getHue() {
44
- return Math.round(this.hue);
45
- }
46
- getSaturation() {
47
- return Math.round(this.saturation);
48
- }
49
- getLightness() {
50
- return Math.round(this.lightness);
51
- }
52
- getAlpha() {
53
- return Math.round(this.alpha * 100) / 100;
54
- }
55
- }
56
- class D extends C {
57
- constructor(t, e, n, r) {
58
- super(), this.hue = t, this.saturation = e, this.value = n, this.alpha = r;
59
- }
60
- toString(t = !0) {
61
- return t ? `hsva(${this.getHue()}, ${this.getSaturation()}%, ${this.getValue()}%, ${this.getAlpha()})` : `hsv(${this.getHue()}, ${this.getSaturation()}%, ${this.getValue()}%)`;
62
- }
63
- getHue() {
64
- return Math.round(this.hue);
65
- }
66
- getSaturation() {
67
- return Math.round(this.saturation);
68
- }
69
- getValue() {
70
- return Math.round(this.value);
71
- }
72
- getAlpha() {
73
- return Math.round(this.alpha * 100) / 100;
74
- }
75
- }
76
- class u extends C {
77
- constructor(t, e, n, r) {
78
- super(), this.red = t, this.green = e, this.blue = n, this.alpha = r;
79
- }
80
- toString(t = !0) {
81
- return t ? `rgba(${this.getRed()}, ${this.getGreen()}, ${this.getBlue()}, ${this.getAlpha()})` : `rgb(${this.getRed()}, ${this.getGreen()}, ${this.getBlue()})`;
82
- }
83
- getRed() {
84
- return Math.round(this.red);
85
- }
86
- getGreen() {
87
- return Math.round(this.green);
88
- }
89
- getBlue() {
90
- return Math.round(this.blue);
91
- }
92
- getAlpha() {
93
- return Math.round(this.alpha * 100) / 100;
94
- }
95
- }
96
- const a = class a {
97
- };
98
- s(a, "transparent", new u(0, 0, 0, 0)), s(a, "aliceblue", new u(240, 248, 255, 1)), s(a, "antiquewhite", new u(250, 235, 215, 1)), s(a, "aqua", new u(0, 255, 255, 1)), s(a, "aquamarine", new u(127, 255, 212, 1)), s(a, "azure", new u(240, 255, 255, 1)), s(a, "beige", new u(245, 245, 220, 1)), s(a, "bisque", new u(255, 228, 196, 1)), s(a, "black", new u(0, 0, 0, 1)), s(a, "blanchedalmond", new u(255, 235, 205, 1)), s(a, "blue", new u(0, 0, 255, 1)), s(a, "blueviolet", new u(138, 43, 226, 1)), s(a, "brown", new u(165, 42, 42, 1)), s(a, "burlywood", new u(222, 184, 135, 1)), s(a, "cadetblue", new u(95, 158, 160, 1)), s(a, "chartreuse", new u(127, 255, 0, 1)), s(a, "chocolate", new u(210, 105, 30, 1)), s(a, "coral", new u(255, 127, 80, 1)), s(a, "cornflowerblue", new u(100, 149, 237, 1)), s(a, "cornsilk", new u(255, 248, 220, 1)), s(a, "crimson", new u(220, 20, 60, 1)), s(a, "cyan", new u(0, 255, 255, 1)), s(a, "darkblue", new u(0, 0, 139, 1)), s(a, "darkcyan", new u(0, 139, 139, 1)), s(a, "darkgoldenrod", new u(184, 134, 11, 1)), s(a, "darkgray", new u(169, 169, 169, 1)), s(a, "darkgreen", new u(0, 100, 0, 1)), s(a, "darkgrey", a.darkgray), s(a, "darkkhaki", new u(189, 183, 107, 1)), s(a, "darkmagenta", new u(139, 0, 139, 1)), s(a, "darkolivegreen", new u(85, 107, 47, 1)), s(a, "darkorange", new u(255, 140, 0, 1)), s(a, "darkorchid", new u(153, 50, 204, 1)), s(a, "darkred", new u(139, 0, 0, 1)), s(a, "darksalmon", new u(233, 150, 122, 1)), s(a, "darkseagreen", new u(143, 188, 143, 1)), s(a, "darkslateblue", new u(72, 61, 139, 1)), s(a, "darkslategray", new u(47, 79, 79, 1)), s(a, "darkslategrey", a.darkslategray), s(a, "darkturquoise", new u(0, 206, 209, 1)), s(a, "darkviolet", new u(148, 0, 211, 1)), s(a, "deeppink", new u(255, 20, 147, 1)), s(a, "deepskyblue", new u(0, 191, 255, 1)), s(a, "dimgray", new u(105, 105, 105, 1)), s(a, "dimgrey", a.dimgray), s(a, "dodgerblue", new u(30, 144, 255, 1)), s(a, "firebrick", new u(178, 34, 34, 1)), s(a, "floralwhite", new u(255, 250, 240, 1)), s(a, "forestgreen", new u(34, 139, 34, 1)), s(a, "fuchsia", new u(255, 0, 255, 1)), s(a, "gainsboro", new u(220, 220, 220, 1)), s(a, "ghostwhite", new u(248, 248, 255, 1)), s(a, "gold", new u(255, 215, 0, 1)), s(a, "goldenrod", new u(218, 165, 32, 1)), s(a, "gray", new u(128, 128, 128, 1)), s(a, "grey", a.gray), s(a, "green", new u(0, 128, 0, 1)), s(a, "greenyellow", new u(173, 255, 47, 1)), s(a, "honeydew", new u(240, 255, 240, 1)), s(a, "hotpink", new u(255, 105, 180, 1)), s(a, "indianred", new u(205, 92, 92, 1)), s(a, "indigo", new u(75, 0, 130, 1)), s(a, "ivory", new u(255, 255, 240, 1)), s(a, "khaki", new u(240, 230, 140, 1)), s(a, "lavender", new u(230, 230, 250, 1)), s(a, "lavenderblush", new u(255, 240, 245, 1)), s(a, "lawngreen", new u(124, 252, 0, 1)), s(a, "lemonchiffon", new u(255, 250, 205, 1)), s(a, "lightblue", new u(173, 216, 230, 1)), s(a, "lightcoral", new u(240, 128, 128, 1)), s(a, "lightcyan", new u(224, 255, 255, 1)), s(a, "lightgoldenrodyellow", new u(250, 250, 210, 1)), s(a, "lightgray", new u(211, 211, 211, 1)), s(a, "lightgreen", new u(144, 238, 144, 1)), s(a, "lightgrey", a.lightgray), s(a, "lightpink", new u(255, 182, 193, 1)), s(a, "lightsalmon", new u(255, 160, 122, 1)), s(a, "lightseagreen", new u(32, 178, 170, 1)), s(a, "lightskyblue", new u(135, 206, 250, 1)), s(a, "lightslategray", new u(119, 136, 153, 1)), s(a, "lightslategrey", a.lightslategray), s(a, "lightsteelblue", new u(176, 196, 222, 1)), s(a, "lightyellow", new u(255, 255, 224, 1)), s(a, "lime", new u(0, 255, 0, 1)), s(a, "limegreen", new u(50, 205, 50, 1)), s(a, "linen", new u(250, 240, 230, 1)), s(a, "magenta", new u(255, 0, 255, 1)), s(a, "maroon", new u(128, 0, 0, 1)), s(a, "mediumaquamarine", new u(102, 205, 170, 1)), s(a, "mediumblue", new u(0, 0, 205, 1)), s(a, "mediumorchid", new u(186, 85, 211, 1)), s(a, "mediumpurple", new u(147, 112, 219, 1)), s(a, "mediumseagreen", new u(60, 179, 113, 1)), s(a, "mediumslateblue", new u(123, 104, 238, 1)), s(a, "mediumspringgreen", new u(0, 250, 154, 1)), s(a, "mediumturquoise", new u(72, 209, 204, 1)), s(a, "mediumvioletred", new u(199, 21, 133, 1)), s(a, "midnightblue", new u(25, 25, 112, 1)), s(a, "mintcream", new u(245, 255, 250, 1)), s(a, "mistyrose", new u(255, 228, 225, 1)), s(a, "moccasin", new u(255, 228, 181, 1)), s(a, "navajowhite", new u(255, 222, 173, 1)), s(a, "navy", new u(0, 0, 128, 1)), s(a, "oldlace", new u(253, 245, 230, 1)), s(a, "olive", new u(128, 128, 0, 1)), s(a, "olivedrab", new u(107, 142, 35, 1)), s(a, "orange", new u(255, 165, 0, 1)), s(a, "orangered", new u(255, 69, 0, 1)), s(a, "orchid", new u(218, 112, 214, 1)), s(a, "palegoldenrod", new u(238, 232, 170, 1)), s(a, "palegreen", new u(152, 251, 152, 1)), s(a, "paleturquoise", new u(175, 238, 238, 1)), s(a, "palevioletred", new u(219, 112, 147, 1)), s(a, "papayawhip", new u(255, 239, 213, 1)), s(a, "peachpuff", new u(255, 218, 185, 1)), s(a, "peru", new u(205, 133, 63, 1)), s(a, "pink", new u(255, 192, 203, 1)), s(a, "plum", new u(221, 160, 221, 1)), s(a, "powderblue", new u(176, 224, 230, 1)), s(a, "purple", new u(128, 0, 128, 1)), s(a, "red", new u(255, 0, 0, 1)), s(a, "rosybrown", new u(188, 143, 143, 1)), s(a, "royalblue", new u(65, 105, 225, 1)), s(a, "saddlebrown", new u(139, 69, 19, 1)), s(a, "salmon", new u(250, 128, 114, 1)), s(a, "sandybrown", new u(244, 164, 96, 1)), s(a, "seagreen", new u(46, 139, 87, 1)), s(a, "seashell", new u(255, 245, 238, 1)), s(a, "sienna", new u(160, 82, 45, 1)), s(a, "silver", new u(192, 192, 192, 1)), s(a, "skyblue", new u(135, 206, 235, 1)), s(a, "slateblue", new u(106, 90, 205, 1)), s(a, "slategray", new u(112, 128, 144, 1)), s(a, "slategrey", a.slategray), s(a, "snow", new u(255, 250, 250, 1)), s(a, "springgreen", new u(0, 255, 127, 1)), s(a, "steelblue", new u(70, 130, 180, 1)), s(a, "tan", new u(210, 180, 140, 1)), s(a, "teal", new u(0, 128, 128, 1)), s(a, "thistle", new u(216, 191, 216, 1)), s(a, "tomato", new u(255, 99, 71, 1)), s(a, "turquoise", new u(64, 224, 208, 1)), s(a, "violet", new u(238, 130, 238, 1)), s(a, "wheat", new u(245, 222, 179, 1)), s(a, "white", new u(255, 255, 255, 1)), s(a, "whitesmoke", new u(245, 245, 245, 1)), s(a, "yellow", new u(255, 255, 0, 1)), s(a, "yellowgreen", new u(154, 205, 50, 1));
99
- let at = a;
100
- class S {
101
- constructor(t) {
102
- /**
103
- * base color used to calculate other
104
- * default color
105
- * rgb(255, 0, 0)
106
- * hsl(0, 100%, 50%)
107
- * #ff0000
108
- */
109
- s(this, "hsva", new D(0, 1, 1, 1));
110
- s(this, "rgba", new u(255, 0, 0, 1));
111
- t && this.stringToColor(t);
112
- }
113
- static from(t) {
114
- return typeof t == "string" ? new S(t) : t instanceof S ? t.clone() : t instanceof u ? new S().setRgba(t.red, t.green, t.blue, t.alpha) : t instanceof D ? new S().setHsva(t.hue, t.saturation, t.value, t.alpha) : t instanceof Y ? new S().setHsla(t.hue, t.saturation, t.lightness, t.alpha) : null;
115
- }
116
- /**
117
- * make from existing color new color object
118
- */
119
- clone() {
120
- return S.from(this.getRgba());
121
- }
122
- /**
123
- * define Color from hex, rgb, rgba, hsl, hsla or cmyk string
124
- */
125
- setFromString(t) {
126
- return this.stringToColor(t);
127
- }
128
- /**
129
- * define Color from HSV values
130
- */
131
- setHsva(t, e = 100, n = 100, r = 1) {
132
- return t != null && (this.hsva.hue = t), e != null && (this.hsva.saturation = e), n != null && (this.hsva.value = n), r != null && (r = r > 1 ? 1 : r < 0 ? 0 : r, this.hsva.alpha = r), this.rgba = this.hsvaToRgba(this.hsva), this;
133
- }
134
- /**
135
- * define Color from RGBa
136
- */
137
- setRgba(t, e, n, r = 1) {
138
- return t != null && (this.rgba.red = t), e != null && (this.rgba.green = e), n != null && (this.rgba.blue = n), r != null && (r = r > 1 ? 1 : r < 0 ? 0 : r, this.rgba.alpha = r), this.hsva = this.rgbaToHsva(this.rgba), this;
139
- }
140
- /**
141
- * define Color from HSLa
142
- */
143
- setHsla(t, e, n, r = 1) {
144
- r != null && (r = r > 1 ? 1 : r < 0 ? 0 : r, this.rgba.alpha = r);
145
- const c = new Y(t, e, n, r);
146
- return this.rgba = this.hslaToRgba(c), this.hsva = this.rgbaToHsva(this.rgba), this;
147
- }
148
- /**
149
- * return hexadecimal value formatted as '#341d2a' or '#341d2aFF' if alhpa channel is enabled
150
- */
151
- toHexString(t = !1) {
152
- let e = "#" + (16777216 | this.rgba.getRed() << 16 | this.rgba.getGreen() << 8 | this.rgba.getBlue()).toString(16).substr(1);
153
- return t && (e += (256 | Math.round(this.rgba.alpha * 255)).toString(16).substr(1)), e.toUpperCase();
154
- }
155
- /**
156
- * return rgba string formatted as rgba(52, 29, 42, 1)
157
- */
158
- toRgbaString() {
159
- return this.rgba.toString();
160
- }
161
- /**
162
- * return rgb string formatted as rgb(52, 29, 42)
163
- */
164
- toRgbString() {
165
- return this.rgba.toString(!1);
166
- }
167
- /**
168
- * return hsla string formatted as hsla(327, 29%, 16%, 1)
169
- */
170
- toHslaString() {
171
- return this.getHsla().toString();
172
- }
173
- /**
174
- * return hsl string formatted as hsl(327, 29%, 16%)
175
- */
176
- toHslString() {
177
- return this.getHsla().toString(!1);
178
- }
179
- /**
180
- * return hsva string formatted as hsva(327, 29%, 16%, 100%)
181
- */
182
- toHsvaString() {
183
- return this.hsva.toString();
184
- }
185
- /**
186
- * return hsv string formatted as hsv(327, 29%, 16%)
187
- */
188
- toHsvString() {
189
- return this.hsva.toString(!1);
190
- }
191
- /**
192
- * return Cmyk string formatted as cmyk(100%, 100%, 100%, 100%)
193
- */
194
- toCmykString() {
195
- return this.getCmyk().toString();
196
- }
197
- getHsva() {
198
- return new D(this.hsva.hue, this.hsva.saturation, this.hsva.value, this.hsva.alpha);
199
- }
200
- getRgba() {
201
- return new u(this.rgba.red, this.rgba.green, this.rgba.blue, this.rgba.alpha);
202
- }
203
- getHsla() {
204
- return this.rgbaToHsla(this.rgba);
205
- }
206
- getCmyk() {
207
- return this.rgbaToCmyk(this.rgba);
208
- }
209
- hsvaToHsla(t) {
210
- const { hue: e } = t, n = t.saturation / 100, r = t.value / 100, c = (2 - n) * t.value / 2, o = n * r / (c <= 1 ? c : 2 - c) || 0;
211
- return new Y(e, c * 100, o * 100, t.alpha);
212
- }
213
- hslaToHsva(t) {
214
- const { hue: e } = t, n = t.lightness / 100 * 2, r = t.saturation / 100 * (n <= 1 ? n : 2 - n), c = (n + r) / 2, o = 2 * r / (n + r) || 0;
215
- return new D(e, o, c, t.alpha);
216
- }
217
- rgbaToHsva(t) {
218
- const e = t.red / 255, n = t.green / 255, r = t.blue / 255, { alpha: c } = t, o = Math.max(e, n, r), l = Math.min(e, n, r), h = o - l;
219
- let p = 0, d = o === 0 ? 0 : h / o, f = o;
220
- if (o !== l) {
221
- switch (o) {
222
- case e:
223
- p = (n - r) / h + (n < r ? 6 : 0);
224
- break;
225
- case n:
226
- p = 2 + (r - e) / h;
227
- break;
228
- case r:
229
- p = 4 + (e - n) / h;
230
- break;
231
- }
232
- p /= 6;
233
- }
234
- return p *= 360, d *= 100, f *= 100, new D(p, d, f, c);
235
- }
236
- hsvaToRgba(t) {
237
- let e = 1, n = 0, r = 0;
238
- const c = t.saturation / 100, o = t.value / 100, { alpha: l } = t, h = t.hue / 60, p = Math.floor(h), d = h - p, f = (1 - c) * o, w = (1 - c * d) * o, m = (1 - c * (1 - d)) * o;
239
- switch (p) {
240
- case 6:
241
- case 0:
242
- e = o, n = m, r = f;
243
- break;
244
- case 1:
245
- e = w, n = o, r = f;
246
- break;
247
- case 2:
248
- e = f, n = o, r = m;
249
- break;
250
- case 3:
251
- e = f, n = w, r = o;
252
- break;
253
- case 4:
254
- e = m, n = f, r = o;
255
- break;
256
- case 5:
257
- e = o, n = f, r = w;
258
- break;
259
- }
260
- return e *= 255, n *= 255, r *= 255, new u(e, n, r, l);
261
- }
262
- rgbaToHsla(t) {
263
- const e = t.red / 255, n = t.green / 255, r = t.blue / 255, { alpha: c } = t, o = Math.max(e, n, r), l = Math.min(e, n, r);
264
- let h = 0, p = 0, d = (o + l) / 2;
265
- const f = o - l;
266
- if (o !== l) {
267
- switch (p = d > 0.5 ? f / (2 - o - l) : f / (o + l), o) {
268
- case e:
269
- h = (n - r) / f + (n < r ? 6 : 0);
270
- break;
271
- case n:
272
- h = (r - e) / f + 2;
273
- break;
274
- case r:
275
- h = (e - n) / f + 4;
276
- break;
277
- }
278
- h /= 6;
279
- }
280
- return h *= 360, p *= 100, d *= 100, new Y(h, p, d, c);
281
- }
282
- /**
283
- * convert rgb color from HSLa
284
- *
285
- * hue = 0 => 360
286
- * saturation = 0 => 1
287
- * lightness = 0 => 1
288
- */
289
- hslaToRgba(t) {
290
- const e = t.hue / 360, n = t.saturation / 100, r = t.lightness / 100, { alpha: c } = t;
291
- let o = r, l = r, h = r;
292
- if (n !== 0) {
293
- const p = r < 0.5 ? r * (1 + n) : r + n - r * n, d = 2 * r - p;
294
- o = this.hueToRgb(d, p, e + 1 / 3), l = this.hueToRgb(d, p, e), h = this.hueToRgb(d, p, e - 1 / 3);
295
- }
296
- return o *= 255, l *= 255, h *= 255, new u(o, l, h, c);
297
- }
298
- hueToRgb(t, e, n) {
299
- return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t;
300
- }
301
- /**
302
- * The Red, Green, Blue values are given in the range of 0..255,
303
- *
304
- * the red color(R) is calculated from the cyan(C) and black(K) colors,
305
- * the green color(G) is calculated from the magenta(M) and black(K) colors,
306
- * The blue color(B) is calculated from the yellow(Y) and black(K) colors.
307
- *
308
- * Below is the formula of CMYK to RGB convertion
309
- *
310
- * Red = 255 × 1 - min( (1 - Cyan ÷ 100) × (1 - Black) )
311
- * Green = 255 × 1 - min(1 - Magenta ÷ 100) × (1 - Black)
312
- * Blue = 255 × 1 - min(1 - Yellow ÷ 100) × (1 - Black)
313
- */
314
- cmykToRgba(t) {
315
- const e = t.black / 100, n = t.cyan / 100, r = t.magenta / 100, c = t.yellow / 100;
316
- let o = Math.min(1, (1 - n) * (1 - e)), l = Math.min(1, (1 - r) * (1 - e)), h = Math.min(1, (1 - c) * (1 - e));
317
- return o *= 255, l *= 255, h *= 255, new u(o, l, h, 1);
318
- }
319
- /**
320
- * The max number of R, G, B values are 255, first of all, we divided them by 255 to become the number
321
- * of 0~1, this ratio will be used in the calculation.
322
- * Rc = R ÷ 255
323
- * Gc = G ÷ 255
324
- * Bc = B ÷ 255
325
- * The black key(K) color could be many result, when we assume a black key value,
326
- * the other three colors(cyan, magenta, yellow) can be calculated.
327
- * we can calculate it from the red, green and blue colors, the max number of black key should be :
328
- * K = 1 - min(Rc, Gc, Bc);
329
- *
330
- * or we can assume we run out of the black ink, need use the remaining other three color inks to finish the printing job.
331
- * K = 0;
332
- *
333
- * The cyan color(C) is calculated from the red and black colors:
334
- * C = (1 - Rc - K) ÷ (1 - K)
335
- *
336
- * The magenta color (M) is calculated from the green and black colors:
337
- * M = (1 - Gr - K) ÷ (1 - K)
338
- *
339
- * The yellow color(Y) is calculated from the blue and black colors:
340
- * Y = (1 - Bc - K) ÷ ( 1 - K)
341
- */
342
- rgbaToCmyk(t) {
343
- const e = t.red / 255, n = t.green / 255, r = t.blue / 255;
344
- let c = 1 - e, o = 1 - n, l = 1 - r, h = Math.min(c, o, l);
345
- return h === 1 ? new it(0, 0, 0, 1) : (c = (c - h) / (1 - h), o = (o - h) / (1 - h), l = (l - h) / (1 - h), h *= 100, c *= 100, o *= 100, l *= 100, new it(c, o, l, h));
346
- }
347
- roundNumber(t) {
348
- return Math.round(t * 100) / 100;
349
- }
350
- stringToColor(t) {
351
- const e = t.replace(/ /g, "").toLowerCase();
352
- let n = at[t] || null;
353
- if (e[0] === "#") {
354
- let o = e.substr(1);
355
- const { length: l } = o;
356
- let h = 1, p;
357
- if (l === 3)
358
- p = o.split("").map((d) => d + d);
359
- else if (l === 6)
360
- p = o.match(/.{2}/g);
361
- else if (l === 8) {
362
- const d = o.substr(-2);
363
- o = o.substr(0, l - 2), h = this.roundNumber(parseInt(d || "FF", 16) / 255), p = o.match(/.{2}/g);
364
- }
365
- p && p.length === 3 && (n = new u(parseInt(p[0], 16), parseInt(p[1], 16), parseInt(p[2], 16), h));
366
- }
367
- const r = e.indexOf("("), c = e.indexOf(")");
368
- if (r !== -1 && c + 1 === e.length) {
369
- const o = e.substr(0, r), l = e.substr(r + 1, c - (r + 1)).split(",");
370
- let h = 1, p, d;
371
- switch (o) {
372
- case "rgba":
373
- h = parseFloat(l.pop());
374
- case "rgb":
375
- n = new u(parseInt(l[0], 10), parseInt(l[1], 10), parseInt(l[2], 10), h);
376
- break;
377
- case "hsla":
378
- h = parseFloat(l.pop());
379
- break;
380
- case "hsl":
381
- p = new Y(
382
- parseInt(l[0], 10),
383
- parseInt(l[1], 10),
384
- parseInt(l[2], 10),
385
- h
386
- ), n = this.hslaToRgba(p);
387
- break;
388
- case "cmyk":
389
- d = new it(
390
- parseInt(l[0], 10),
391
- parseInt(l[1], 10),
392
- parseInt(l[2], 10),
393
- parseInt(l[3], 10)
394
- ), n = this.cmykToRgba(d);
395
- break;
396
- }
397
- }
398
- return n && (this.rgba = n, this.hsva = this.rgbaToHsva(n)), this;
399
- }
400
- }
401
- /*! *****************************************************************************
402
- Copyright (c) Microsoft Corporation.
403
-
404
- Permission to use, copy, modify, and/or distribute this software for any
405
- purpose with or without fee is hereby granted.
406
-
407
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
408
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
409
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
410
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
411
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
412
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
413
- PERFORMANCE OF THIS SOFTWARE.
414
- ***************************************************************************** */
415
- var ut = function(i, t) {
416
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
417
- e.__proto__ = n;
418
- } || function(e, n) {
419
- for (var r in n)
420
- Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
421
- }, ut(i, t);
422
- };
423
- function F(i, t) {
424
- if (typeof t != "function" && t !== null)
425
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
426
- ut(i, t);
427
- function e() {
428
- this.constructor = i;
429
- }
430
- i.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
431
- }
432
- function ot(i) {
433
- var t = typeof Symbol == "function" && Symbol.iterator, e = t && i[t], n = 0;
434
- if (e)
435
- return e.call(i);
436
- if (i && typeof i.length == "number")
437
- return {
438
- next: function() {
439
- return i && n >= i.length && (i = void 0), { value: i && i[n++], done: !i };
440
- }
441
- };
442
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
443
- }
444
- function K(i, t) {
445
- var e = typeof Symbol == "function" && i[Symbol.iterator];
446
- if (!e)
447
- return i;
448
- var n = e.call(i), r, c = [], o;
449
- try {
450
- for (; (t === void 0 || t-- > 0) && !(r = n.next()).done; )
451
- c.push(r.value);
452
- } catch (l) {
453
- o = { error: l };
454
- } finally {
455
- try {
456
- r && !r.done && (e = n.return) && e.call(n);
457
- } finally {
458
- if (o)
459
- throw o.error;
460
- }
461
- }
462
- return c;
463
- }
464
- function J(i, t) {
465
- for (var e = 0, n = t.length, r = i.length; e < n; e++, r++)
466
- i[r] = t[e];
467
- return i;
468
- }
469
- function R(i) {
470
- return typeof i == "function";
471
- }
472
- function Ht(i) {
473
- var t = function(n) {
474
- Error.call(n), n.stack = new Error().stack;
475
- }, e = i(t);
476
- return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
477
- }
478
- var rt = Ht(function(i) {
479
- return function(e) {
480
- i(this), this.message = e ? e.length + ` errors occurred during unsubscription:
481
- ` + e.map(function(n, r) {
482
- return r + 1 + ") " + n.toString();
483
- }).join(`
484
- `) : "", this.name = "UnsubscriptionError", this.errors = e;
485
- };
486
- });
487
- function ct(i, t) {
488
- if (i) {
489
- var e = i.indexOf(t);
490
- 0 <= e && i.splice(e, 1);
491
- }
492
- }
493
- var T = function() {
494
- function i(t) {
495
- this.initialTeardown = t, this.closed = !1, this._parentage = null, this._teardowns = null;
496
- }
497
- return i.prototype.unsubscribe = function() {
498
- var t, e, n, r, c;
499
- if (!this.closed) {
500
- this.closed = !0;
501
- var o = this._parentage;
502
- if (o)
503
- if (this._parentage = null, Array.isArray(o))
504
- try {
505
- for (var l = ot(o), h = l.next(); !h.done; h = l.next()) {
506
- var p = h.value;
507
- p.remove(this);
508
- }
509
- } catch (g) {
510
- t = { error: g };
511
- } finally {
512
- try {
513
- h && !h.done && (e = l.return) && e.call(l);
514
- } finally {
515
- if (t)
516
- throw t.error;
517
- }
518
- }
519
- else
520
- o.remove(this);
521
- var d = this.initialTeardown;
522
- if (R(d))
523
- try {
524
- d();
525
- } catch (g) {
526
- c = g instanceof rt ? g.errors : [g];
527
- }
528
- var f = this._teardowns;
529
- if (f) {
530
- this._teardowns = null;
531
- try {
532
- for (var w = ot(f), m = w.next(); !m.done; m = w.next()) {
533
- var y = m.value;
534
- try {
535
- wt(y);
536
- } catch (g) {
537
- c = c ?? [], g instanceof rt ? c = J(J([], K(c)), K(g.errors)) : c.push(g);
538
- }
539
- }
540
- } catch (g) {
541
- n = { error: g };
542
- } finally {
543
- try {
544
- m && !m.done && (r = w.return) && r.call(w);
545
- } finally {
546
- if (n)
547
- throw n.error;
548
- }
549
- }
550
- }
551
- if (c)
552
- throw new rt(c);
553
- }
554
- }, i.prototype.add = function(t) {
555
- var e;
556
- if (t && t !== this)
557
- if (this.closed)
558
- wt(t);
559
- else {
560
- if (t instanceof i) {
561
- if (t.closed || t._hasParent(this))
562
- return;
563
- t._addParent(this);
564
- }
565
- (this._teardowns = (e = this._teardowns) !== null && e !== void 0 ? e : []).push(t);
566
- }
567
- }, i.prototype._hasParent = function(t) {
568
- var e = this._parentage;
569
- return e === t || Array.isArray(e) && e.includes(t);
570
- }, i.prototype._addParent = function(t) {
571
- var e = this._parentage;
572
- this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
573
- }, i.prototype._removeParent = function(t) {
574
- var e = this._parentage;
575
- e === t ? this._parentage = null : Array.isArray(e) && ct(e, t);
576
- }, i.prototype.remove = function(t) {
577
- var e = this._teardowns;
578
- e && ct(e, t), t instanceof i && t._removeParent(this);
579
- }, i.EMPTY = function() {
580
- var t = new i();
581
- return t.closed = !0, t;
582
- }(), i;
583
- }(), xt = T.EMPTY;
584
- function It(i) {
585
- return i instanceof T || i && "closed" in i && R(i.remove) && R(i.add) && R(i.unsubscribe);
586
- }
587
- function wt(i) {
588
- R(i) ? i() : i.unsubscribe();
589
- }
590
- var Et = {
591
- onUnhandledError: null,
592
- onStoppedNotification: null,
593
- Promise: void 0,
594
- useDeprecatedSynchronousErrorHandling: !1,
595
- useDeprecatedNextContext: !1
596
- }, lt = {
597
- setTimeout: function() {
598
- for (var i = [], t = 0; t < arguments.length; t++)
599
- i[t] = arguments[t];
600
- var e = lt.delegate;
601
- return ((e == null ? void 0 : e.setTimeout) || setTimeout).apply(void 0, J([], K(i)));
602
- },
603
- clearTimeout: function(i) {
604
- var t = lt.delegate;
605
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(i);
606
- },
607
- delegate: void 0
608
- };
609
- function Kt(i) {
610
- lt.setTimeout(function() {
611
- throw i;
612
- });
613
- }
614
- function Q() {
615
- }
616
- function W(i) {
617
- i();
618
- }
619
- var ht = function(i) {
620
- F(t, i);
621
- function t(e) {
622
- var n = i.call(this) || this;
623
- return n.isStopped = !1, e ? (n.destination = e, It(e) && e.add(n)) : n.destination = Jt, n;
624
- }
625
- return t.create = function(e, n, r) {
626
- return new Mt(e, n, r);
627
- }, t.prototype.next = function(e) {
628
- this.isStopped || this._next(e);
629
- }, t.prototype.error = function(e) {
630
- this.isStopped || (this.isStopped = !0, this._error(e));
631
- }, t.prototype.complete = function() {
632
- this.isStopped || (this.isStopped = !0, this._complete());
633
- }, t.prototype.unsubscribe = function() {
634
- this.closed || (this.isStopped = !0, i.prototype.unsubscribe.call(this), this.destination = null);
635
- }, t.prototype._next = function(e) {
636
- this.destination.next(e);
637
- }, t.prototype._error = function(e) {
638
- try {
639
- this.destination.error(e);
640
- } finally {
641
- this.unsubscribe();
642
- }
643
- }, t.prototype._complete = function() {
644
- try {
645
- this.destination.complete();
646
- } finally {
647
- this.unsubscribe();
648
- }
649
- }, t;
650
- }(T), Mt = function(i) {
651
- F(t, i);
652
- function t(e, n, r) {
653
- var c = i.call(this) || this, o;
654
- if (R(e))
655
- o = e;
656
- else if (e) {
657
- o = e.next, n = e.error, r = e.complete;
658
- var l;
659
- c && Et.useDeprecatedNextContext ? (l = Object.create(e), l.unsubscribe = function() {
660
- return c.unsubscribe();
661
- }) : l = e, o = o == null ? void 0 : o.bind(l), n = n == null ? void 0 : n.bind(l), r = r == null ? void 0 : r.bind(l);
662
- }
663
- return c.destination = {
664
- next: o ? st(o) : Q,
665
- error: st(n ?? Bt),
666
- complete: r ? st(r) : Q
667
- }, c;
668
- }
669
- return t;
670
- }(ht);
671
- function st(i, t) {
672
- return function() {
673
- for (var e = [], n = 0; n < arguments.length; n++)
674
- e[n] = arguments[n];
675
- try {
676
- i.apply(void 0, J([], K(e)));
677
- } catch (r) {
678
- Kt(r);
679
- }
680
- };
681
- }
682
- function Bt(i) {
683
- throw i;
684
- }
685
- var Jt = {
686
- closed: !0,
687
- next: Q,
688
- error: Bt,
689
- complete: Q
690
- }, Qt = function() {
691
- return typeof Symbol == "function" && Symbol.observable || "@@observable";
692
- }();
693
- function Rt(i) {
694
- return i;
695
- }
696
- function Zt(i) {
697
- return i.length === 0 ? Rt : i.length === 1 ? i[0] : function(e) {
698
- return i.reduce(function(n, r) {
699
- return r(n);
700
- }, e);
701
- };
702
- }
703
- var yt = function() {
704
- function i(t) {
705
- t && (this._subscribe = t);
706
- }
707
- return i.prototype.lift = function(t) {
708
- var e = new i();
709
- return e.source = this, e.operator = t, e;
710
- }, i.prototype.subscribe = function(t, e, n) {
711
- var r = this, c = Tt(t) ? t : new Mt(t, e, n);
712
- return W(function() {
713
- var o = r, l = o.operator, h = o.source;
714
- c.add(l ? l.call(c, h) : h ? r._subscribe(c) : r._trySubscribe(c));
715
- }), c;
716
- }, i.prototype._trySubscribe = function(t) {
717
- try {
718
- return this._subscribe(t);
719
- } catch (e) {
720
- t.error(e);
721
- }
722
- }, i.prototype.forEach = function(t, e) {
723
- var n = this;
724
- return e = mt(e), new e(function(r, c) {
725
- var o;
726
- o = n.subscribe(function(l) {
727
- try {
728
- t(l);
729
- } catch (h) {
730
- c(h), o == null || o.unsubscribe();
731
- }
732
- }, c, r);
733
- });
734
- }, i.prototype._subscribe = function(t) {
735
- var e;
736
- return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
737
- }, i.prototype[Qt] = function() {
738
- return this;
739
- }, i.prototype.pipe = function() {
740
- for (var t = [], e = 0; e < arguments.length; e++)
741
- t[e] = arguments[e];
742
- return Zt(t)(this);
743
- }, i.prototype.toPromise = function(t) {
744
- var e = this;
745
- return t = mt(t), new t(function(n, r) {
746
- var c;
747
- e.subscribe(function(o) {
748
- return c = o;
749
- }, function(o) {
750
- return r(o);
751
- }, function() {
752
- return n(c);
753
- });
754
- });
755
- }, i.create = function(t) {
756
- return new i(t);
757
- }, i;
758
- }();
759
- function mt(i) {
760
- var t;
761
- return (t = i ?? Et.Promise) !== null && t !== void 0 ? t : Promise;
762
- }
763
- function Ct(i) {
764
- return i && R(i.next) && R(i.error) && R(i.complete);
765
- }
766
- function Tt(i) {
767
- return i && i instanceof ht || Ct(i) && It(i);
768
- }
769
- function _t(i) {
770
- return R(i == null ? void 0 : i.lift);
771
- }
772
- function te(i) {
773
- return function(t) {
774
- if (_t(t))
775
- return t.lift(function(e) {
776
- try {
777
- return i(e, this);
778
- } catch (n) {
779
- this.error(n);
780
- }
781
- });
782
- throw new TypeError("Unable to lift unknown Observable type");
783
- };
784
- }
785
- var ee = function(i) {
786
- F(t, i);
787
- function t(e, n, r, c, o) {
788
- var l = i.call(this, e) || this;
789
- return l.onFinalize = o, l._next = n ? function(h) {
790
- try {
791
- n(h);
792
- } catch (p) {
793
- e.error(p);
794
- }
795
- } : i.prototype._next, l._error = c ? function(h) {
796
- try {
797
- c(h);
798
- } catch (p) {
799
- e.error(p);
800
- } finally {
801
- this.unsubscribe();
802
- }
803
- } : i.prototype._error, l._complete = r ? function() {
804
- try {
805
- r();
806
- } catch (h) {
807
- e.error(h);
808
- } finally {
809
- this.unsubscribe();
810
- }
811
- } : i.prototype._complete, l;
812
- }
813
- return t.prototype.unsubscribe = function() {
814
- var e, n = this.closed;
815
- i.prototype.unsubscribe.call(this), !n && ((e = this.onFinalize) === null || e === void 0 || e.call(this));
816
- }, t;
817
- }(ht), ne = Ht(function(i) {
818
- return function() {
819
- i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
820
- };
821
- }), dt = function(i) {
822
- F(t, i);
823
- function t() {
824
- var e = i.call(this) || this;
825
- return e.closed = !1, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
826
- }
827
- return t.prototype.lift = function(e) {
828
- var n = new bt(this, this);
829
- return n.operator = e, n;
830
- }, t.prototype._throwIfClosed = function() {
831
- if (this.closed)
832
- throw new ne();
833
- }, t.prototype.next = function(e) {
834
- var n = this;
835
- W(function() {
836
- var r, c;
837
- if (n._throwIfClosed(), !n.isStopped) {
838
- var o = n.observers.slice();
839
- try {
840
- for (var l = ot(o), h = l.next(); !h.done; h = l.next()) {
841
- var p = h.value;
842
- p.next(e);
843
- }
844
- } catch (d) {
845
- r = { error: d };
846
- } finally {
847
- try {
848
- h && !h.done && (c = l.return) && c.call(l);
849
- } finally {
850
- if (r)
851
- throw r.error;
852
- }
853
- }
854
- }
855
- });
856
- }, t.prototype.error = function(e) {
857
- var n = this;
858
- W(function() {
859
- if (n._throwIfClosed(), !n.isStopped) {
860
- n.hasError = n.isStopped = !0, n.thrownError = e;
861
- for (var r = n.observers; r.length; )
862
- r.shift().error(e);
863
- }
864
- });
865
- }, t.prototype.complete = function() {
866
- var e = this;
867
- W(function() {
868
- if (e._throwIfClosed(), !e.isStopped) {
869
- e.isStopped = !0;
870
- for (var n = e.observers; n.length; )
871
- n.shift().complete();
872
- }
873
- });
874
- }, t.prototype.unsubscribe = function() {
875
- this.isStopped = this.closed = !0, this.observers = null;
876
- }, Object.defineProperty(t.prototype, "observed", {
877
- get: function() {
878
- var e;
879
- return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
880
- },
881
- enumerable: !1,
882
- configurable: !0
883
- }), t.prototype._trySubscribe = function(e) {
884
- return this._throwIfClosed(), i.prototype._trySubscribe.call(this, e);
885
- }, t.prototype._subscribe = function(e) {
886
- return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
887
- }, t.prototype._innerSubscribe = function(e) {
888
- var n = this, r = n.hasError, c = n.isStopped, o = n.observers;
889
- return r || c ? xt : (o.push(e), new T(function() {
890
- return ct(o, e);
891
- }));
892
- }, t.prototype._checkFinalizedStatuses = function(e) {
893
- var n = this, r = n.hasError, c = n.thrownError, o = n.isStopped;
894
- r ? e.error(c) : o && e.complete();
895
- }, t.prototype.asObservable = function() {
896
- var e = new yt();
897
- return e.source = this, e;
898
- }, t.create = function(e, n) {
899
- return new bt(e, n);
900
- }, t;
901
- }(yt), bt = function(i) {
902
- F(t, i);
903
- function t(e, n) {
904
- var r = i.call(this) || this;
905
- return r.destination = e, r.source = n, r;
906
- }
907
- return t.prototype.next = function(e) {
908
- var n, r;
909
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || r === void 0 || r.call(n, e);
910
- }, t.prototype.error = function(e) {
911
- var n, r;
912
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || r === void 0 || r.call(n, e);
913
- }, t.prototype.complete = function() {
914
- var e, n;
915
- (n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
916
- }, t.prototype._subscribe = function(e) {
917
- var n, r;
918
- return (r = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && r !== void 0 ? r : xt;
919
- }, t;
920
- }(dt), kt = function(i) {
921
- F(t, i);
922
- function t(e) {
923
- var n = i.call(this) || this;
924
- return n._value = e, n;
925
- }
926
- return Object.defineProperty(t.prototype, "value", {
927
- get: function() {
928
- return this.getValue();
929
- },
930
- enumerable: !1,
931
- configurable: !0
932
- }), t.prototype._subscribe = function(e) {
933
- var n = i.prototype._subscribe.call(this, e);
934
- return !n.closed && e.next(this._value), n;
935
- }, t.prototype.getValue = function() {
936
- var e = this, n = e.hasError, r = e.thrownError, c = e._value;
937
- if (n)
938
- throw r;
939
- return this._throwIfClosed(), c;
940
- }, t.prototype.next = function(e) {
941
- i.prototype.next.call(this, this._value = e);
942
- }, t;
943
- }(dt);
944
- function ie(i, t) {
945
- return t === void 0 && (t = Rt), i = i ?? re, te(function(e, n) {
946
- var r, c = !0;
947
- e.subscribe(new ee(n, function(o) {
948
- var l = t(o);
949
- (c || !i(r, l)) && (c = !1, r = l, n.next(o));
950
- }));
951
- });
952
- }
953
- function re(i, t) {
954
- return i === t;
955
- }
956
- var E = /* @__PURE__ */ ((i) => (i.hex = "hex", i.hexa = "hexa", i.rgba = "rgba", i.rgb = "rgb", i.hsla = "hsla", i.hsl = "hsl", i.cmyk = "cmyk", i))(E || {});
957
- class Vt {
958
- constructor(t) {
959
- /** 所选颜色值 */
960
- s(this, "modelValue", null);
961
- /** 色调颜色值 */
962
- s(this, "hueValue", null);
963
- /** 初始颜色值 */
964
- s(this, "initValue", null);
965
- s(this, "valueChanged", new dt());
966
- s(this, "presetsVisibilityChanges", new kt(!0));
967
- s(this, "initType", null);
968
- s(this, "alphaChannelVisibilityChanges", new kt(!0));
969
- s(this, "valueChanges", this.valueChanged.asObservable().pipe(ie(
970
- (t, e) => t.toRgbaString() === e.toRgbaString()
971
- )));
972
- s(this, "colorPresets", []);
973
- const e = t[0], n = S.from(e);
974
- this.setValue(n), this.setHueColor(n);
975
- }
976
- /** 设置值 */
977
- setValueFrom(t, e, n) {
978
- const r = S.from(t);
979
- return this.initValue || (this.initValue = S.from(t)), typeof t == "string" && this.finOutInputType(t), this.setHueColor(r), this.setValue(r), this;
980
- }
981
- setHueColor(t) {
982
- (this.hueValue && t.getHsva().hue > 0 || !this.hueValue) && (this.hueValue = new S().setHsva(t.getHsva().hue));
983
- }
984
- get hue() {
985
- return this.hueValue;
986
- }
987
- set hue(t) {
988
- this.hueValue = t;
989
- }
990
- setValue(t) {
991
- return this.modelValue = t, this.valueChanged.next(t), this;
992
- }
993
- get value() {
994
- return this.modelValue;
995
- }
996
- set value(t) {
997
- this.setValue(t);
998
- }
999
- reset() {
1000
- let t;
1001
- return this.initValue ? (t = this.initValue.clone(), this.setHueColor(t)) : (t = S.from(new u(255, 0, 0, 1)), this.hueValue = new S().setHsva(t.getHsva().hue)), this.setValue(t), this;
1002
- }
1003
- showAlphaChannel() {
1004
- return this.alphaChannelVisibilityChanges.next(!0), this;
1005
- }
1006
- finOutInputType(t) {
1007
- const e = t.replace(/ /g, "").toLowerCase();
1008
- e[0] === "#" && (this.initType = "hex", e.length > 7 && (this.initType = "hexa"));
1009
- const n = e.indexOf("(");
1010
- switch (e.substr(0, n)) {
1011
- case "rgba":
1012
- this.initType = "rgba";
1013
- break;
1014
- case "rgb":
1015
- this.initType = "rgb";
1016
- break;
1017
- case "hsla":
1018
- this.initType = "hsla";
1019
- break;
1020
- case "hsl":
1021
- this.initType = "hsl";
1022
- break;
1023
- case "cmyk":
1024
- this.initType = "cmyk";
1025
- break;
1026
- }
1027
- }
1028
- /** 设置预定义颜色 */
1029
- setColorPresets(t) {
1030
- return this.colorPresets = this.setPresets(t), this;
1031
- }
1032
- setPresets(t) {
1033
- const e = [];
1034
- return t.map((n) => {
1035
- Array.isArray(n) ? e.push(this.setPresets(n)) : e.push(new S(n));
1036
- }), e;
1037
- }
1038
- get presets() {
1039
- return this.colorPresets;
1040
- }
1041
- hasPresets() {
1042
- return this.colorPresets.length > 0;
1043
- }
1044
- }
1045
- /** 确定输入颜色类型 */
1046
- s(Vt, "finOutInputType");
1047
- function N(i, t) {
1048
- switch (t) {
1049
- case E.hex:
1050
- return i.toHexString();
1051
- case E.hexa:
1052
- return i.toHexString(!0);
1053
- case E.rgb:
1054
- return i.toRgbString();
1055
- case E.rgba:
1056
- return i.toRgbaString();
1057
- case E.hsl:
1058
- return i.toHslString();
1059
- case E.hsla:
1060
- return i.toHslaString();
1061
- default:
1062
- return i.toRgbaString();
1063
- }
1064
- }
1065
- const se = {
1066
- color: { type: Object, default: "" },
1067
- hue: { type: Object, default: "" },
1068
- randomId: { type: String, default: "" },
1069
- allowColorNull: { type: Boolean, default: !1 }
1070
- }, ae = /* @__PURE__ */ q({
1071
- name: "SvPanel",
1072
- props: se,
1073
- emits: ["update:color"],
1074
- setup(i, t) {
1075
- const e = k(null), n = k(null), r = k(i.randomId), c = k(i.allowColorNull);
1076
- function o() {
1077
- return i.hue ? i.hue.toRgbaString() : "#3f51b5";
1078
- }
1079
- function l(f, w) {
1080
- var m, y;
1081
- f = Math.max(0, Math.min(f, 100)), w = Math.max(0, Math.min(w, 100)), e.value && ((m = e.value.style) == null || m.setProperty("top", `${100 - w}%`), (y = e.value.style) == null || y.setProperty("left", `${f}%`));
1082
- }
1083
- function h() {
1084
- const f = document.getElementById(`farris-color-picker-plus-sure-${r.value}`);
1085
- f.className = "btn btn-secondary";
1086
- const w = document.getElementById(`farris-color-picker-plus-input-${r.value}`);
1087
- w.style.borderColor = "#dcdfe6";
1088
- }
1089
- function p({
1090
- x: f,
1091
- y: w,
1092
- height: m,
1093
- width: y
1094
- }) {
1095
- const g = f * 100 / y, H = -(w * 100 / m) + 100;
1096
- l(g, H);
1097
- const x = i.color == null ? "transparent" : i.color, P = S.from(x);
1098
- if (h(), P != null) {
1099
- const M = i.hue.getHsva(), V = P.getHsva(), O = new S().setHsva(M.hue, g, H, V.alpha);
1100
- t.emit("update:color", O);
1101
- }
1102
- !P && c.value && t.emit("update:color", null);
1103
- }
1104
- function d(f) {
1105
- if (n.value) {
1106
- const {
1107
- width: w,
1108
- height: m,
1109
- top: y,
1110
- left: g
1111
- } = n.value.getBoundingClientRect(), {
1112
- pageX: H,
1113
- pageY: x
1114
- } = "touches" in f ? f.touches[0] : f, P = Math.max(0, Math.min(H - (g + window.pageXOffset), w)), M = Math.max(0, Math.min(x - (y + window.pageYOffset), m));
1115
- p({
1116
- x: P,
1117
- y: M,
1118
- height: m,
1119
- width: w
1120
- });
1121
- }
1122
- }
1123
- return Z(() => {
1124
- const f = i.color.getHsva();
1125
- l(f.saturation, f.value);
1126
- }), $(() => i.color, (f) => {
1127
- f.getHsva();
1128
- }), $(() => i.color, (f) => {
1129
- const w = f.getHsva();
1130
- l(w.saturation, w.value);
1131
- }), () => b("div", {
1132
- class: "f-sv-panel-component",
1133
- ref: n,
1134
- style: {
1135
- backgroundColor: o()
1136
- },
1137
- onMousedown: U((f) => d(f), ["prevent"]),
1138
- onTouchstart: U((f) => d(f), ["prevent"])
1139
- }, [b("div", {
1140
- class: "color-svpanel__white"
1141
- }, null), b("div", {
1142
- class: "color-svpanel__black"
1143
- }, null), b("div", {
1144
- class: "color-svpanel__cursor",
1145
- ref: e
1146
- }, [b("div", null, null)])]);
1147
- }
1148
- });
1149
- const ue = {
1150
- color: { type: Object, default: "" },
1151
- hue: { type: Object, default: "" },
1152
- allowColorNull: { type: Boolean, default: !1 },
1153
- onChange: { type: Function }
1154
- }, oe = /* @__PURE__ */ q({
1155
- name: "Hue",
1156
- props: ue,
1157
- emits: ["update:color", "update:hue"],
1158
- setup(i, t) {
1159
- const e = k(i.hue), n = k(i.allowColorNull), r = [];
1160
- function c(y) {
1161
- y.preventDefault(), l(y);
1162
- }
1163
- const o = k(null);
1164
- function l(y) {
1165
- if (o.value) {
1166
- const {
1167
- width: g,
1168
- height: H,
1169
- top: x,
1170
- left: P
1171
- } = o.value.getBoundingClientRect(), {
1172
- pageX: M,
1173
- pageY: V
1174
- } = "touches" in y ? y.touches[0] : y, O = Math.max(0, Math.min(M - (P + window.pageXOffset), g)), X = Math.max(0, Math.min(V - (x + window.pageYOffset), H));
1175
- m({
1176
- x: O,
1177
- y: X,
1178
- height: H,
1179
- width: g
1180
- });
1181
- }
1182
- }
1183
- function h() {
1184
- r.forEach((y) => y()), r.length = 0;
1185
- }
1186
- function p(y) {
1187
- c(y), document.addEventListener("mouseup", h), document.addEventListener("touchend", h), document.addEventListener("touchmove", c);
1188
- }
1189
- const d = (y) => {
1190
- p(y);
1191
- };
1192
- Z(() => {
1193
- document.querySelectorAll(".f-hue-component").forEach((H) => {
1194
- H.addEventListener("mousedown", d), H.addEventListener("touchstart", d);
1195
- });
1196
- const g = i.color.getHsva();
1197
- w(g.hue);
1198
- });
1199
- const f = k(null);
1200
- function w(y) {
1201
- var x;
1202
- const g = Math.max(0, Math.min(y / 360 * 100, 100)), H = "top";
1203
- f.value && ((x = f.value.style) == null || x.setProperty(H, `${g}%`));
1204
- }
1205
- function m({
1206
- x: y,
1207
- y: g,
1208
- height: H,
1209
- width: x
1210
- }) {
1211
- const P = g / H * 360;
1212
- w(P);
1213
- const M = i.color.getHsva(), V = new S().setHsva(P, M.saturation, M.value, M.alpha), O = new S().setHsva(P, 100, 100, M.alpha);
1214
- (i.color != null || i.color == null && n.value) && (t.emit("update:hue", O), t.emit("update:color", V));
1215
- }
1216
- return $(e, (y) => {
1217
- const g = y.getHsva();
1218
- w(g.hue);
1219
- }), $(() => i.color, (y) => {
1220
- const g = y.getHsva();
1221
- w(g.hue);
1222
- }), () => b("div", {
1223
- class: "f-hue-component",
1224
- ref: o,
1225
- onMousedown: U((y) => l(y), ["prevent"]),
1226
- onTouchstart: U((y) => l(y), ["prevent"])
1227
- }, [b("div", {
1228
- class: "color-hue-slider__bar"
1229
- }, null), b("div", {
1230
- class: "color-hue-slider__thumb",
1231
- ref: f
1232
- }, null)]);
1233
- }
1234
- });
1235
- const ce = {
1236
- color: { type: Object, default: "" },
1237
- randomId: { type: String, default: "" },
1238
- allowColorNull: { type: Boolean, default: !1 }
1239
- }, le = /* @__PURE__ */ q({
1240
- name: "Alpha",
1241
- props: ce,
1242
- emits: ["update:color"],
1243
- setup(i, t) {
1244
- const e = k(null), n = k(null), r = k(i.randomId), c = k(i.allowColorNull), o = (d) => {
1245
- var m;
1246
- const f = Math.max(0, Math.min(d * 100, 100)), w = "left";
1247
- n.value && ((m = n.value.style) == null || m.setProperty(w, `${f}%`));
1248
- };
1249
- function l(d) {
1250
- if (e.value) {
1251
- const {
1252
- width: f,
1253
- height: w,
1254
- top: m,
1255
- left: y
1256
- } = e.value.getBoundingClientRect(), {
1257
- pageX: g,
1258
- pageY: H
1259
- } = "touches" in d ? d.touches[0] : d, x = Math.max(0, Math.min(g - (y + window.pageXOffset), f)), P = Math.max(0, Math.min(H - (m + window.pageYOffset), w));
1260
- p({
1261
- x,
1262
- y: P,
1263
- height: w,
1264
- width: f
1265
- });
1266
- }
1267
- }
1268
- function h() {
1269
- const d = document.getElementById(`farris-color-picker-plus-sure-${r.value}`);
1270
- d.className = "btn btn-secondary";
1271
- const f = document.getElementById(`farris-color-picker-plus-input-${r.value}`);
1272
- f.style.borderColor = "#dcdfe6";
1273
- }
1274
- const p = ({
1275
- x: d,
1276
- width: f
1277
- }) => {
1278
- const w = d / f;
1279
- o(w), h();
1280
- const m = i.color.getHsva(), y = new S().setHsva(m.hue, m.saturation, m.value, w);
1281
- i.color != null ? t.emit("update:color", y) : i.color == null && c.value && t.emit("update:color", null);
1282
- };
1283
- return Z(() => {
1284
- const d = i.color.getHsva();
1285
- o(d.alpha);
1286
- }), $(() => i.color, (d) => {
1287
- const f = d.getHsva();
1288
- o(f.alpha);
1289
- }), () => b("div", {
1290
- class: "f-alpha-component",
1291
- ref: e,
1292
- onMousedown: U((d) => l(d), ["prevent"]),
1293
- onTouchstart: U((d) => l(d), ["prevent"])
1294
- }, [b("div", {
1295
- class: "color-alpha-slider__bar"
1296
- }, [Pt(" ")]), b("div", {
1297
- class: "color-alpha-slider__thumb",
1298
- ref: n
1299
- }, null)]);
1300
- }
1301
- });
1302
- const he = {
1303
- color: { type: Object, default: "" },
1304
- hue: { type: Object, default: "" },
1305
- colorPresets: { type: Object, default: "" },
1306
- randomId: { type: String, default: "" }
1307
- }, de = /* @__PURE__ */ q({
1308
- name: "Preset",
1309
- props: he,
1310
- emits: ["update:hue", "update:color"],
1311
- setup(i, t) {
1312
- const e = k(new S()), n = k(i.colorPresets), r = k(i.randomId);
1313
- function c() {
1314
- const p = document.getElementById(`farris-color-picker-plus-sure-${r.value}`);
1315
- p.className = "btn btn-secondary";
1316
- const d = document.getElementById(`farris-color-picker-plus-input-${r.value}`);
1317
- d.style.borderColor = "#dcdfe6";
1318
- }
1319
- function o(p) {
1320
- c();
1321
- const d = p.getRgba(), f = p.getHsva(), w = new S().setRgba(d.red, d.green, d.blue, d.alpha), m = new S().setHsva(f.hue);
1322
- e.value = p, t.emit("update:hue", m), t.emit("update:color", w);
1323
- }
1324
- function l(p) {
1325
- const d = e.value.getRgba().toString(), f = e.value.getHsva().toString(), w = p.getRgba().toString() === d && p.getHsva().toString() === f;
1326
- return {
1327
- "color-preset__color-selector": w,
1328
- selected: w
1329
- };
1330
- }
1331
- function h(p, d) {
1332
- return b("div", {
1333
- class: "color-preset__color-selector"
1334
- }, [b("div", {
1335
- key: d,
1336
- class: l(p),
1337
- style: {
1338
- backgroundColor: p.toRgbString()
1339
- },
1340
- onClick: () => o(p)
1341
- }, null)]);
1342
- }
1343
- return () => b("div", {
1344
- class: "f-preset-component"
1345
- }, [b("div", {
1346
- class: "color-preset__colors"
1347
- }, [n.value.map((p, d) => h(p, d))])]);
1348
- }
1349
- });
1350
- const St = /* @__PURE__ */ q({
1351
- name: "FColorPicker",
1352
- props: Wt,
1353
- emits: ["valueChanged", "activeChange", "update:color", "update:hue"],
1354
- setup(i, t) {
1355
- const e = k(new S(i.color)), n = k(i.color), r = k(i.disabled), c = k(i.color);
1356
- k(i.editable);
1357
- const o = k(i.allowColorNull), l = k(i.presets), h = k(!1), p = k(!1), d = k(!1), f = k("HEX"), w = Math.floor(Math.random() * 1e3).toString();
1358
- let m = -1, y, g = new Vt("#000000");
1359
- const H = k(i.color);
1360
- let x, P;
1361
- const M = k(null), V = k(null), O = k(null);
1362
- let X = L(() => !y && g && g.initType ? g.initType : y);
1363
- const B = L({
1364
- get() {
1365
- return y && n.value !== null ? (et(y), N(new S(n.value), E[y])) : n.value;
1366
- },
1367
- set(v) {
1368
- v !== null && (A(v), gt(v));
1369
- }
1370
- }), _ = k(B.value), Ot = L(() => m > -1), ft = L(() => l.value.length > 0), $t = L(() => ({
1371
- "background-color": c.value
1372
- })), At = L(() => p.value && h.value ? "visibility:visible" : "visibility:hidden"), z = [{
1373
- text: "HEX",
1374
- type: E.hex
1375
- }, {
1376
- text: "RGBA",
1377
- type: E.rgba
1378
- }];
1379
- function jt() {
1380
- const v = document.getElementById("farris-color-picker-panel");
1381
- v.id = `farris-color-picker-panel-${w}`;
1382
- const I = document.getElementById("farris-color-picker-plus-sure");
1383
- I.id = `farris-color-picker-plus-sure-${w}`;
1384
- const j = document.getElementById("farris-color-picker-plus-input");
1385
- j.id = `farris-color-picker-plus-input-${w}`, P = document.getElementById(`farris-color-picker-plus-sure-${w}`), x = document.getElementById(`farris-color-picker-panel-${w}`), x.className = "color-picker-panel disabled";
1386
- }
1387
- function pt() {
1388
- if (!o.value && !n.value) {
1389
- document.getElementById(`farris-color-picker-plus-sure-${w}`).classList.toggle("disabled");
1390
- const I = document.getElementById(`farris-color-picker-plus-input-${w}`);
1391
- I.style.borderColor = "red";
1392
- }
1393
- }
1394
- function Nt() {
1395
- n.value && (A(n.value), !n.value && o.value || (n.value = N(new S(n.value), E[X.value])), _.value = B.value), tt(et(g.initType));
1396
- }
1397
- function Lt() {
1398
- n.value && A(n.value), g.hasPresets() || g.setColorPresets(l.value), n.value ? c.value = N(new S(n.value), E[X.value]) : !n.value && o.value && (c.value = null);
1399
- }
1400
- function Ut() {
1401
- g.valueChanges.subscribe((v) => {
1402
- const I = N(v, E[y || g.initType]);
1403
- n.value = I;
1404
- });
1405
- }
1406
- function tt(v) {
1407
- f.value = z[v].text;
1408
- }
1409
- function Ft() {
1410
- var v;
1411
- p.value = !!(y != null && y.includes("a") || (v = g.initType) != null && v.includes("a"));
1412
- }
1413
- zt(() => {
1414
- g.setColorPresets(l.value || ["#eaecf3"]);
1415
- }), Z(() => {
1416
- jt(), pt(), Nt(), Lt();
1417
- }), $(f, () => {
1418
- Ut(), B.value = N(new S(n.value), E[y || g.initType]), e.value = new S(B.value), Ft();
1419
- }), $(n, (v) => {
1420
- N(g.value, g.initType) !== v && v !== null && A(v), tt(et(g.initType));
1421
- }), $(e, (v) => {
1422
- n.value = N(v, E[y || g.initType]), A(n.value), B.value = n.value;
1423
- });
1424
- function gt(v) {
1425
- const I = document.getElementById(`farris-color-picker-plus-input-${w}`);
1426
- (v == "" || v == null || v == null) && !o.value ? (n.value = null, I.style.borderColor = "red", P.className = "btn btn-secondary disabled") : (I.style.borderColor = "#dcdfe6", P.className = "btn btn-secondary");
1427
- }
1428
- function Yt() {
1429
- var v, I;
1430
- if (o.value) {
1431
- c.value = (n == null ? void 0 : n.value) ?? null;
1432
- const j = {
1433
- elementValue: c
1434
- };
1435
- t.emit("valueChanged", j), x.classList.toggle("disabled");
1436
- }
1437
- if (!o.value && !(B.value == null || B.value == null || B.value == "")) {
1438
- (I = (v = M.value) == null ? void 0 : v.style) == null || I.setProperty("background", n.value), d.value = !0, c.value = n.value;
1439
- const j = {
1440
- elementValue: c
1441
- };
1442
- t.emit("valueChanged", j), x.classList.toggle("disabled");
1443
- }
1444
- !H.value && !n.value && !d.value && o && x.classList.toggle("disabled"), gt(n.value), B.value = n.value, P.classList.contains("disabled") || (_.value = n.value, h.value = !1);
1445
- }
1446
- function A(v) {
1447
- g == null || g.setValueFrom(v, w, o.value);
1448
- }
1449
- function Dt(v) {
1450
- r.value || (h.value = !0, x.classList.toggle("disabled"), pt(), A(n.value));
1451
- }
1452
- function et(v) {
1453
- const I = z.findIndex((j) => j.type === v);
1454
- return m = I, I;
1455
- }
1456
- function vt(v) {
1457
- if (!P.classList.contains("disabled")) {
1458
- const I = z.length;
1459
- m = (I + m + (v === "up" ? 1 : -1)) % I, y = z[m].type, tt(m), A(n.value);
1460
- }
1461
- }
1462
- return () => b("div", {
1463
- class: "f-color-picker-component",
1464
- ref: V
1465
- }, [b("div", {
1466
- class: ["color-picker-panel", {
1467
- disabled: r.value
1468
- }],
1469
- id: "farris-color-picker-panel",
1470
- ref: O,
1471
- onClick: (v) => v.stopPropagation,
1472
- style: "top:30px"
1473
- }, [b("div", {
1474
- class: "color-picker-main"
1475
- }, [b(oe, {
1476
- hue: g.hue,
1477
- "onUpdate:hue": (v) => g.hue = v,
1478
- allowColorNull: o.value,
1479
- color: e.value,
1480
- "onUpdate:color": (v) => e.value = v
1481
- }, null), b(ae, {
1482
- randomId: w,
1483
- hue: g.hue,
1484
- "onUpdate:hue": (v) => g.hue = v,
1485
- allowColorNull: o.value,
1486
- color: e.value,
1487
- "onUpdate:color": (v) => e.value = v
1488
- }, null)]), b(le, {
1489
- style: At.value,
1490
- randomId: w,
1491
- allowColorNull: o.value,
1492
- color: e.value,
1493
- "onUpdate:color": (v) => e.value = v
1494
- }, null), b("div", {
1495
- class: "input-btn",
1496
- style: "display:flex;align-items: center;"
1497
- }, [G(b("span", {
1498
- style: "width:40px;margin-right:10px;"
1499
- }, [f.value]), [[nt, ft]]), G(b("input", {
1500
- type: "text",
1501
- id: "farris-color-picker-plus-input",
1502
- "onUpdate:modelValue": (v) => B.value = v,
1503
- style: "float:none"
1504
- }, null), [[Gt, B.value]]), G(b("div", {
1505
- class: "type-icon-btn-wrapper",
1506
- style: "cursor:pointer"
1507
- }, [b("span", {
1508
- class: "f-icon f-icon-arrow-60-up type-icon-btn",
1509
- onClick: () => vt("up")
1510
- }, null), b("span", {
1511
- class: "f-icon f-icon-arrow-60-down type-icon-btn",
1512
- onClick: () => vt("down")
1513
- }, null)]), [[nt, ft]]), b("div", {
1514
- class: "input-btn"
1515
- }, [b("button", {
1516
- id: "farris-color-picker-plus-sure",
1517
- class: "btn btn-secondary",
1518
- onClick: Yt
1519
- }, [Pt("确定")])])]), G(b(de, {
1520
- color: e.value,
1521
- "onUpdate:color": (v) => e.value = v,
1522
- colorPresets: g.presets,
1523
- hue: g.hue,
1524
- "onUpdate:hue": (v) => g.hue = v,
1525
- randomId: w
1526
- }, null), [[nt, Ot]])]), b("div", {
1527
- class: "color-picker-wrapper"
1528
- }, [b("input", {
1529
- type: "text",
1530
- class: "color-picker-input form-control",
1531
- value: _.value,
1532
- readonly: i.editable || i.disabled,
1533
- onClick: (v) => v.stopPropagation()
1534
- }, null), b("div", {
1535
- class: "color-picker-trigger",
1536
- onClick: Dt
1537
- }, [b("div", {
1538
- class: "color-picker-trigger-inner"
1539
- }, [b("div", {
1540
- style: $t.value
1541
- }, null)])])])]);
1542
- }
1543
- }), ge = {
1544
- install(i) {
1545
- i.component(St.name, St);
1546
- }
1547
- };
1548
- export {
1549
- St as ColorPicker,
1550
- ge as default
1551
- };