@farris/ui-vue 1.1.0 → 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 (1087) hide show
  1. package/farris.all.esm.js +36212 -34520
  2. package/farris.all.umd.cjs +26 -0
  3. package/package.json +2 -3
  4. package/style.css +1 -1
  5. package/accordion/index.esm.js +0 -530
  6. package/accordion/index.umd.js +0 -1
  7. package/accordion/package.json +0 -8
  8. package/avatar/index.esm.js +0 -478
  9. package/avatar/index.umd.js +0 -1
  10. package/avatar/package.json +0 -8
  11. package/border-editor/index.esm.js +0 -5223
  12. package/border-editor/index.umd.js +0 -3
  13. package/border-editor/package.json +0 -8
  14. package/border-editor/style.css +0 -1
  15. package/button/index.esm.js +0 -825
  16. package/button/index.umd.js +0 -1
  17. package/button/package.json +0 -8
  18. package/button-edit/index.esm.js +0 -1807
  19. package/button-edit/index.umd.js +0 -1
  20. package/button-edit/package.json +0 -8
  21. package/calculator/index.esm.js +0 -315
  22. package/calculator/index.umd.js +0 -1
  23. package/calculator/package.json +0 -8
  24. package/calendar/index.esm.js +0 -1110
  25. package/calendar/index.umd.js +0 -1
  26. package/calendar/package.json +0 -8
  27. package/capsule/index.esm.js +0 -518
  28. package/capsule/index.umd.js +0 -1
  29. package/capsule/package.json +0 -8
  30. package/checkbox/index.esm.js +0 -489
  31. package/checkbox/index.umd.js +0 -1
  32. package/checkbox/package.json +0 -8
  33. package/color-picker/index.esm.js +0 -2081
  34. package/color-picker/index.umd.js +0 -3
  35. package/color-picker/package.json +0 -8
  36. package/combo-list/index.esm.js +0 -2931
  37. package/combo-list/index.umd.js +0 -1
  38. package/combo-list/package.json +0 -8
  39. package/combo-tree/index.esm.js +0 -20799
  40. package/combo-tree/index.umd.js +0 -16
  41. package/combo-tree/package.json +0 -8
  42. package/combo-tree/style.css +0 -1
  43. package/common/index.esm.js +0 -1656
  44. package/common/index.umd.js +0 -1
  45. package/common/package.json +0 -8
  46. package/component/index.esm.js +0 -1022
  47. package/component/index.umd.js +0 -1
  48. package/component/package.json +0 -8
  49. package/condition/index.esm.js +0 -43141
  50. package/condition/index.umd.js +0 -19
  51. package/condition/package.json +0 -8
  52. package/condition/style.css +0 -1
  53. package/content-container/index.esm.js +0 -1139
  54. package/content-container/index.umd.js +0 -1
  55. package/content-container/package.json +0 -8
  56. package/data-grid/index.esm.js +0 -43296
  57. package/data-grid/index.umd.js +0 -19
  58. package/data-grid/package.json +0 -8
  59. package/data-grid/style.css +0 -1
  60. package/data-view/index.esm.js +0 -43195
  61. package/data-view/index.umd.js +0 -19
  62. package/data-view/package.json +0 -8
  63. package/data-view/style.css +0 -1
  64. package/date-picker/index.esm.js +0 -4865
  65. package/date-picker/index.umd.js +0 -1
  66. package/date-picker/package.json +0 -8
  67. package/designer/src/composition/dom-entity.d.ts +0 -545
  68. package/discussion-editor/index.esm.js +0 -3788
  69. package/discussion-editor/index.umd.js +0 -3
  70. package/discussion-editor/package.json +0 -8
  71. package/discussion-editor/style.css +0 -1
  72. package/discussion-list/index.esm.js +0 -111
  73. package/discussion-list/index.umd.js +0 -1
  74. package/discussion-list/package.json +0 -8
  75. package/discussion-list/style.css +0 -1
  76. package/dropdown/index.esm.js +0 -645
  77. package/dropdown/index.umd.js +0 -1
  78. package/dropdown/package.json +0 -8
  79. package/dynamic-form/index.esm.js +0 -43136
  80. package/dynamic-form/index.umd.js +0 -19
  81. package/dynamic-form/package.json +0 -8
  82. package/dynamic-form/style.css +0 -1
  83. package/dynamic-resolver/index.esm.js +0 -103
  84. package/dynamic-resolver/index.umd.js +0 -1
  85. package/dynamic-resolver/package.json +0 -8
  86. package/dynamic-view/index.esm.js +0 -43176
  87. package/dynamic-view/index.umd.js +0 -19
  88. package/dynamic-view/package.json +0 -8
  89. package/dynamic-view/style.css +0 -1
  90. package/enum-editor/index.esm.js +0 -2612
  91. package/enum-editor/index.umd.js +0 -1
  92. package/enum-editor/package.json +0 -8
  93. package/events-editor/index.esm.js +0 -1600
  94. package/events-editor/index.umd.js +0 -1
  95. package/events-editor/package.json +0 -8
  96. package/events-editor/style.css +0 -1
  97. package/farris.all.umd.js +0 -26
  98. package/field-selector/index.esm.js +0 -44391
  99. package/field-selector/index.umd.js +0 -19
  100. package/field-selector/package.json +0 -8
  101. package/field-selector/style.css +0 -1
  102. package/filter-bar/index.esm.js +0 -926
  103. package/filter-bar/index.umd.js +0 -1
  104. package/filter-bar/package.json +0 -8
  105. package/image-cropper/index.esm.js +0 -1121
  106. package/image-cropper/index.umd.js +0 -1
  107. package/image-cropper/package.json +0 -8
  108. package/input-group/index.esm.js +0 -831
  109. package/input-group/index.umd.js +0 -1
  110. package/input-group/package.json +0 -8
  111. package/layout/index.esm.js +0 -834
  112. package/layout/index.umd.js +0 -1
  113. package/layout/package.json +0 -8
  114. package/list-nav/index.esm.js +0 -1145
  115. package/list-nav/index.umd.js +0 -1
  116. package/list-nav/package.json +0 -8
  117. package/list-view/index.esm.js +0 -1191
  118. package/list-view/index.umd.js +0 -1
  119. package/list-view/package.json +0 -8
  120. package/loading/index.esm.js +0 -142
  121. package/loading/index.umd.js +0 -8
  122. package/loading/package.json +0 -8
  123. package/locale/index.esm.js +0 -1868
  124. package/locale/index.umd.js +0 -1
  125. package/locale/package.json +0 -8
  126. package/message-box/index.esm.js +0 -578
  127. package/message-box/index.umd.js +0 -1
  128. package/message-box/package.json +0 -8
  129. package/modal/index.esm.js +0 -218
  130. package/modal/index.umd.js +0 -1
  131. package/modal/package.json +0 -8
  132. package/nav/index.esm.js +0 -1728
  133. package/nav/index.umd.js +0 -3
  134. package/nav/package.json +0 -8
  135. package/notify/index.esm.js +0 -258
  136. package/notify/index.umd.js +0 -1
  137. package/notify/package.json +0 -8
  138. package/order/index.esm.js +0 -4151
  139. package/order/index.umd.js +0 -1
  140. package/order/package.json +0 -8
  141. package/page-footer/index.esm.js +0 -1356
  142. package/page-footer/index.umd.js +0 -1
  143. package/page-footer/package.json +0 -8
  144. package/page-header/index.esm.js +0 -2141
  145. package/page-header/index.umd.js +0 -1
  146. package/page-header/package.json +0 -8
  147. package/pagination/index.esm.js +0 -1565
  148. package/pagination/index.umd.js +0 -1
  149. package/pagination/package.json +0 -8
  150. package/popover/index.esm.js +0 -224
  151. package/popover/index.umd.js +0 -1
  152. package/popover/package.json +0 -8
  153. package/progress/index.esm.js +0 -668
  154. package/progress/index.umd.js +0 -3
  155. package/progress/package.json +0 -8
  156. package/property-panel/index.esm.js +0 -43139
  157. package/property-panel/index.umd.js +0 -19
  158. package/property-panel/package.json +0 -8
  159. package/property-panel/style.css +0 -1
  160. package/radio-group/index.esm.js +0 -448
  161. package/radio-group/index.umd.js +0 -1
  162. package/radio-group/package.json +0 -8
  163. package/rate/index.esm.js +0 -612
  164. package/rate/index.umd.js +0 -1
  165. package/rate/package.json +0 -8
  166. package/response-layout/index.esm.js +0 -483
  167. package/response-layout/index.umd.js +0 -1
  168. package/response-layout/package.json +0 -8
  169. package/response-layout-editor/index.esm.js +0 -3780
  170. package/response-layout-editor/index.umd.js +0 -1
  171. package/response-layout-editor/package.json +0 -8
  172. package/response-layout-editor/style.css +0 -1
  173. package/response-toolbar/index.esm.js +0 -1526
  174. package/response-toolbar/index.umd.js +0 -1
  175. package/response-toolbar/package.json +0 -8
  176. package/search-box/index.esm.js +0 -456
  177. package/search-box/index.umd.js +0 -1
  178. package/search-box/package.json +0 -8
  179. package/section/index.esm.js +0 -2201
  180. package/section/index.umd.js +0 -1
  181. package/section/package.json +0 -8
  182. package/smoke-detector/index.esm.js +0 -383
  183. package/smoke-detector/index.umd.js +0 -1
  184. package/smoke-detector/package.json +0 -8
  185. package/smoke-detector/style.css +0 -1
  186. package/spacing-editor/index.esm.js +0 -3484
  187. package/spacing-editor/index.umd.js +0 -1
  188. package/spacing-editor/package.json +0 -8
  189. package/spacing-editor/style.css +0 -1
  190. package/splitter/index.esm.js +0 -842
  191. package/splitter/index.umd.js +0 -1
  192. package/splitter/package.json +0 -8
  193. package/splitter/style.css +0 -1
  194. package/step/index.esm.js +0 -553
  195. package/step/index.umd.js +0 -1
  196. package/step/package.json +0 -8
  197. package/switch/index.esm.js +0 -447
  198. package/switch/index.umd.js +0 -1
  199. package/switch/package.json +0 -8
  200. package/tabs/index.esm.js +0 -4688
  201. package/tabs/index.umd.js +0 -1
  202. package/tabs/package.json +0 -8
  203. package/tags/index.esm.js +0 -810
  204. package/tags/index.umd.js +0 -1
  205. package/tags/package.json +0 -8
  206. package/text/index.esm.js +0 -366
  207. package/text/index.umd.js +0 -1
  208. package/text/package.json +0 -8
  209. package/time-picker/index.esm.js +0 -2147
  210. package/time-picker/index.umd.js +0 -1
  211. package/time-picker/package.json +0 -8
  212. package/tooltip/index.esm.js +0 -260
  213. package/tooltip/index.umd.js +0 -1
  214. package/tooltip/package.json +0 -8
  215. package/transfer/index.esm.js +0 -1180
  216. package/transfer/index.umd.js +0 -1
  217. package/transfer/package.json +0 -8
  218. package/tree-grid/index.esm.js +0 -44354
  219. package/tree-grid/index.umd.js +0 -19
  220. package/tree-grid/package.json +0 -8
  221. package/tree-grid/style.css +0 -1
  222. package/tree-view/index.esm.js +0 -19597
  223. package/tree-view/index.umd.js +0 -16
  224. package/tree-view/package.json +0 -8
  225. package/tree-view/style.css +0 -1
  226. package/types/accordion/index.d.ts +0 -27
  227. package/types/accordion/src/accordion.component.d.ts +0 -6
  228. package/types/accordion/src/accordion.props.d.ts +0 -19
  229. package/types/accordion/src/components/accordion-item.component.d.ts +0 -6
  230. package/types/accordion/src/components/accordion-item.props.d.ts +0 -19
  231. package/types/accordion/src/designer/accordion-item.design.component.d.ts +0 -6
  232. package/types/accordion/src/designer/accordion.design.component.d.ts +0 -6
  233. package/types/accordion/src/schema/schema-mapper.d.ts +0 -2
  234. package/types/accordion/src/schema/schema-resolver.d.ts +0 -2
  235. package/types/avatar/index.d.ts +0 -25
  236. package/types/avatar/src/avatar.component.d.ts +0 -6
  237. package/types/avatar/src/avatar.props.d.ts +0 -19
  238. package/types/avatar/src/composition/types.d.ts +0 -31
  239. package/types/avatar/src/composition/use-image.d.ts +0 -19
  240. package/types/avatar/src/designer/avatar.design.component.d.ts +0 -6
  241. package/types/avatar/src/schema/schema-mapper.d.ts +0 -2
  242. package/types/avatar/src/schema/schema-resolver.d.ts +0 -2
  243. package/types/border-editor/index.d.ts +0 -23
  244. package/types/border-editor/src/border-editor.component.d.ts +0 -6
  245. package/types/border-editor/src/border-editor.props.d.ts +0 -3
  246. package/types/border-editor/src/components/border-editor-basic.component.d.ts +0 -5
  247. package/types/border-editor/src/components/border-editor-radius.component.d.ts +0 -5
  248. package/types/button/index.d.ts +0 -27
  249. package/types/button/src/button-group.component.d.ts +0 -6
  250. package/types/button/src/button-group.props.d.ts +0 -20
  251. package/types/button/src/button.component.d.ts +0 -42
  252. package/types/button/src/button.props.d.ts +0 -53
  253. package/types/button/src/components/button-group-dropdown-menu.component.d.ts +0 -6
  254. package/types/button/src/components/button-group-dropdown.component.d.ts +0 -5
  255. package/types/button/src/composition/types.d.ts +0 -35
  256. package/types/button/src/composition/use-button.d.ts +0 -19
  257. package/types/button/src/composition/use-icon.d.ts +0 -3
  258. package/types/button/src/composition/use-popup.d.ts +0 -19
  259. package/types/button/src/designer/button-group.design.component.d.ts +0 -6
  260. package/types/button/src/schema/schema-mapper.d.ts +0 -2
  261. package/types/button/src/schema/schema-resolver.d.ts +0 -2
  262. package/types/button-edit/index.d.ts +0 -25
  263. package/types/button-edit/src/button-edit.component.d.ts +0 -6
  264. package/types/button-edit/src/button-edit.props.d.ts +0 -21
  265. package/types/button-edit/src/components/button-group.component.d.ts +0 -3
  266. package/types/button-edit/src/components/popup-container.component.d.ts +0 -4
  267. package/types/button-edit/src/components/text-edit.component.d.ts +0 -4
  268. package/types/button-edit/src/composition/types.d.ts +0 -128
  269. package/types/button-edit/src/composition/use-button.d.ts +0 -19
  270. package/types/button-edit/src/composition/use-clear.d.ts +0 -19
  271. package/types/button-edit/src/composition/use-popup.d.ts +0 -4
  272. package/types/button-edit/src/composition/use-text-box.d.ts +0 -19
  273. package/types/button-edit/src/designer/button-edit.design.component.d.ts +0 -6
  274. package/types/button-edit/src/schema/schema-mapper.d.ts +0 -2
  275. package/types/button-edit/src/schema/schema-resolver.d.ts +0 -2
  276. package/types/calculator/index.d.ts +0 -23
  277. package/types/calculator/src/calculator.component.d.ts +0 -8
  278. package/types/calculator/src/calculator.props.d.ts +0 -23
  279. package/types/calculator/src/composition/use-calculator.d.ts +0 -26
  280. package/types/calendar/index.d.ts +0 -23
  281. package/types/calendar/src/calendar.props.d.ts +0 -4
  282. package/types/calendar/src/components/day/day-view.props.d.ts +0 -34
  283. package/types/calendar/src/components/header/header.props.d.ts +0 -24
  284. package/types/calendar/src/components/month/month-view.props.d.ts +0 -69
  285. package/types/calendar/src/components/week/week-view.component.d.ts +0 -106
  286. package/types/calendar/src/components/week/week-view.props.d.ts +0 -51
  287. package/types/calendar/src/composition/types.d.ts +0 -57
  288. package/types/calendar/src/composition/use-calendar.d.ts +0 -2
  289. package/types/calendar/src/composition/use-compare.d.ts +0 -2
  290. package/types/calendar/src/composition/use-date.d.ts +0 -2
  291. package/types/calendar/src/composition/use-event.d.ts +0 -30
  292. package/types/calendar/src/composition/use-month.d.ts +0 -2
  293. package/types/calendar/src/schema/schema-mapper.d.ts +0 -2
  294. package/types/calendar/src/schema/schema-resolver.d.ts +0 -2
  295. package/types/calendar/src/types/calendar.d.ts +0 -13
  296. package/types/calendar/src/types/common.d.ts +0 -32
  297. package/types/calendar/src/types/month-view.d.ts +0 -23
  298. package/types/calendar/src/types/month.d.ts +0 -20
  299. package/types/calendar/src/types/schedule.d.ts +0 -35
  300. package/types/capsule/index.d.ts +0 -10
  301. package/types/capsule/src/capsule.props.d.ts +0 -39
  302. package/types/capsule/src/schema/schema-mapper.d.ts +0 -2
  303. package/types/capsule/src/schema/schema-resolver.d.ts +0 -2
  304. package/types/checkbox/index.d.ts +0 -25
  305. package/types/checkbox/src/checkbox-group.component.d.ts +0 -6
  306. package/types/checkbox/src/checkbox-group.props.d.ts +0 -19
  307. package/types/checkbox/src/checkbox.props.d.ts +0 -44
  308. package/types/checkbox/src/composition/types.d.ts +0 -46
  309. package/types/checkbox/src/composition/use-checkbox-group.d.ts +0 -19
  310. package/types/checkbox/src/designer/checkbox-group.design.component.d.ts +0 -6
  311. package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
  312. package/types/checkbox/src/schema/schema-resolver.d.ts +0 -2
  313. package/types/color-picker/index.d.ts +0 -24
  314. package/types/color-picker/src/color-picker.component.d.ts +0 -6
  315. package/types/color-picker/src/color-picker.props.d.ts +0 -22
  316. package/types/color-picker/src/composition/class/base-color.class.d.ts +0 -3
  317. package/types/color-picker/src/composition/class/cmyk.class.d.ts +0 -21
  318. package/types/color-picker/src/composition/class/colors-table.class.d.ts +0 -154
  319. package/types/color-picker/src/composition/class/control.class.d.ts +0 -47
  320. package/types/color-picker/src/composition/class/helper.functions.d.ts +0 -4
  321. package/types/color-picker/src/composition/class/hsla.class.d.ts +0 -20
  322. package/types/color-picker/src/composition/class/hsva.class.d.ts +0 -21
  323. package/types/color-picker/src/composition/class/rgba.class.d.ts +0 -21
  324. package/types/color-picker/src/composition/component/alpha.d.ts +0 -34
  325. package/types/color-picker/src/composition/component/hue.d.ts +0 -40
  326. package/types/color-picker/src/composition/component/preset.d.ts +0 -43
  327. package/types/color-picker/src/composition/component/props/alpha.props.d.ts +0 -16
  328. package/types/color-picker/src/composition/component/props/hue.props.d.ts +0 -19
  329. package/types/color-picker/src/composition/component/props/preset.props.d.ts +0 -20
  330. package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +0 -20
  331. package/types/color-picker/src/composition/component/sv-panel.d.ts +0 -43
  332. package/types/color-picker/src/designer/color-picker.design.component.d.ts +0 -6
  333. package/types/color-picker/src/schema/schema-mapper.d.ts +0 -2
  334. package/types/color-picker/src/schema/schema-resolver.d.ts +0 -2
  335. package/types/combo-list/index.d.ts +0 -25
  336. package/types/combo-list/src/combo-list.props.d.ts +0 -59
  337. package/types/combo-list/src/components/list-container.props.d.ts +0 -65
  338. package/types/combo-list/src/composition/types.d.ts +0 -11
  339. package/types/combo-list/src/composition/use-data-source.d.ts +0 -3
  340. package/types/combo-list/src/designer/combo-list.design.component.d.ts +0 -6
  341. package/types/combo-list/src/schema/schema-mapper.d.ts +0 -2
  342. package/types/combo-list/src/schema/schema-resolver.d.ts +0 -2
  343. package/types/combo-tree/index.d.ts +0 -23
  344. package/types/combo-tree/src/combo-tree.props.d.ts +0 -58
  345. package/types/combo-tree/src/components/tree-container.props.d.ts +0 -60
  346. package/types/combo-tree/src/composition/types.d.ts +0 -11
  347. package/types/combo-tree/src/composition/use-data-source.d.ts +0 -3
  348. package/types/common/date/date-converter.d.ts +0 -9
  349. package/types/common/index.d.ts +0 -5
  350. package/types/common/text-box/composition/use-clear.d.ts +0 -3
  351. package/types/common/text-box/composition/use-text-box.d.ts +0 -18
  352. package/types/common/types.d.ts +0 -50
  353. package/types/component/index.d.ts +0 -26
  354. package/types/component/src/component.props.d.ts +0 -4
  355. package/types/component/src/designer/use-designer-rules.d.ts +0 -3
  356. package/types/component/src/schema/schema-mapper.d.ts +0 -2
  357. package/types/component/src/schema/schema-resolver.d.ts +0 -2
  358. package/types/condition/index.d.ts +0 -28
  359. package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -14
  360. package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -20
  361. package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -26
  362. package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -19
  363. package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -14
  364. package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -19
  365. package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -22
  366. package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -22
  367. package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -16
  368. package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -19
  369. package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -22
  370. package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -14
  371. package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -14
  372. package/types/condition/src/composition/condition-value/text-value.d.ts +0 -14
  373. package/types/condition/src/composition/condition-value/types.d.ts +0 -10
  374. package/types/condition/src/composition/types.d.ts +0 -45
  375. package/types/condition/src/composition/use-compare.d.ts +0 -40
  376. package/types/condition/src/composition/use-condition-value.d.ts +0 -2
  377. package/types/condition/src/composition/use-field-config.d.ts +0 -4
  378. package/types/condition/src/composition/use-selection.d.ts +0 -4
  379. package/types/condition/src/composition/use-size.d.ts +0 -4
  380. package/types/condition/src/condition-fields.component.d.ts +0 -96
  381. package/types/condition/src/condition-list.component.d.ts +0 -96
  382. package/types/condition/src/condition.props.d.ts +0 -65
  383. package/types/condition/src/types.d.ts +0 -153
  384. package/types/content-container/index.d.ts +0 -26
  385. package/types/content-container/src/content-container.props.d.ts +0 -4
  386. package/types/content-container/src/designer/use-designer-rules.d.ts +0 -3
  387. package/types/content-container/src/schema/schema-mapper.d.ts +0 -2
  388. package/types/content-container/src/schema/schema-resolver.d.ts +0 -2
  389. package/types/data-grid/index.d.ts +0 -26
  390. package/types/data-grid/src/composition/types.d.ts +0 -301
  391. package/types/data-grid/src/composition/use-column.d.ts +0 -20
  392. package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
  393. package/types/data-grid/src/data-grid.props.d.ts +0 -517
  394. package/types/data-grid/src/designer/use-designer-rules.d.ts +0 -3
  395. package/types/data-grid/src/schema/column-resolver.d.ts +0 -3
  396. package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
  397. package/types/data-grid/src/schema/schema-resolver.d.ts +0 -2
  398. package/types/data-view/components/column-filter/boolean-filter-editor.component.d.ts +0 -2
  399. package/types/data-view/components/column-filter/column-filter-container.component.d.ts +0 -19
  400. package/types/data-view/components/column-filter/date-filter-editor.component.d.ts +0 -2
  401. package/types/data-view/components/column-filter/enum-filter-editor.component.d.ts +0 -3
  402. package/types/data-view/components/column-filter/list-filter-editor.component.d.ts +0 -2
  403. package/types/data-view/components/column-filter/numeric-filter-editor.component.d.ts +0 -2
  404. package/types/data-view/components/column-filter/text-filter-editor.component.d.ts +0 -3
  405. package/types/data-view/components/column-header/column-header-handler.component.d.ts +0 -20
  406. package/types/data-view/components/column-setting/column-setting-icon.component.d.ts +0 -20
  407. package/types/data-view/components/editors/commands.component.d.ts +0 -17
  408. package/types/data-view/components/editors/date-picker.component.d.ts +0 -17
  409. package/types/data-view/components/editors/text-area-editor.component.d.ts +0 -2
  410. package/types/data-view/components/editors/text-editor.component.d.ts +0 -17
  411. package/types/data-view/components/filter-panel/filter-panel.component.d.ts +0 -4
  412. package/types/data-view/components/group-panel/group-panel.component.d.ts +0 -4
  413. package/types/data-view/components/mask/grid-mask.component.d.ts +0 -3
  414. package/types/data-view/components/pagination/data-grid-pagination.component.d.ts +0 -4
  415. package/types/data-view/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -20
  416. package/types/data-view/components/scrollbar/vertical-scrollbar.component.d.ts +0 -20
  417. package/types/data-view/components/sidebar/data-grid-sidebar.component.d.ts +0 -20
  418. package/types/data-view/components/summary/data-grid-summary.component.d.ts +0 -4
  419. package/types/data-view/composition/appearance/use-cell-position.d.ts +0 -18
  420. package/types/data-view/composition/appearance/use-data-view-conainer-style.d.ts +0 -2
  421. package/types/data-view/composition/appearance/use-hierarchy-style.d.ts +0 -6
  422. package/types/data-view/composition/column/use-column-filter.d.ts +0 -3
  423. package/types/data-view/composition/column/use-column.d.ts +0 -2
  424. package/types/data-view/composition/column/use-command-column.d.ts +0 -2
  425. package/types/data-view/composition/column/use-drag-column.d.ts +0 -3
  426. package/types/data-view/composition/column/use-fit-column.d.ts +0 -18
  427. package/types/data-view/composition/column/use-group-column.d.ts +0 -20
  428. package/types/data-view/composition/column/use-resize.d.ts +0 -18
  429. package/types/data-view/composition/data/use-data-view.d.ts +0 -2
  430. package/types/data-view/composition/data/use-group-data.d.ts +0 -2
  431. package/types/data-view/composition/data/use-hierarchy-data.d.ts +0 -3
  432. package/types/data-view/composition/filter/use-filter-history.d.ts +0 -2
  433. package/types/data-view/composition/filter/use-filter.d.ts +0 -2
  434. package/types/data-view/composition/hierarchy/use-cascade.d.ts +0 -3
  435. package/types/data-view/composition/hierarchy/use-hierarchy.d.ts +0 -2
  436. package/types/data-view/composition/hierarchy/use-select-hierarchy-item.d.ts +0 -4
  437. package/types/data-view/composition/hierarchy/use-toggle-hierarchy-item.d.ts +0 -3
  438. package/types/data-view/composition/hierarchy/use-tree-node-icon.d.ts +0 -4
  439. package/types/data-view/composition/types.d.ts +0 -732
  440. package/types/data-view/composition/use-edit.d.ts +0 -17
  441. package/types/data-view/composition/use-row.d.ts +0 -18
  442. package/types/data-view/composition/use-selection.d.ts +0 -18
  443. package/types/data-view/composition/use-sidebar.d.ts +0 -2
  444. package/types/data-view/composition/use-sort.d.ts +0 -2
  445. package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -18
  446. package/types/data-view/composition/visualization/use-visual-data-bound.d.ts +0 -2
  447. package/types/data-view/composition/visualization/use-visual-data-cell.d.ts +0 -2
  448. package/types/data-view/composition/visualization/use-visual-data.d.ts +0 -18
  449. package/types/data-view/composition/visualization/use-visual-group-row.d.ts +0 -2
  450. package/types/data-view/composition/visualization/use-visual-summary-row.d.ts +0 -2
  451. package/types/data-view/index.d.ts +0 -39
  452. package/types/date-picker/index.d.ts +0 -31
  453. package/types/date-picker/src/components/calendar/calendar.component.d.ts +0 -168
  454. package/types/date-picker/src/components/calendar/calendar.props.d.ts +0 -94
  455. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +0 -140
  456. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.props.d.ts +0 -81
  457. package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +0 -6
  458. package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -20
  459. package/types/date-picker/src/components/month/month.component.d.ts +0 -88
  460. package/types/date-picker/src/components/month/month.props.d.ts +0 -57
  461. package/types/date-picker/src/components/year/year.component.d.ts +0 -88
  462. package/types/date-picker/src/components/year/year.props.d.ts +0 -57
  463. package/types/date-picker/src/composition/types.d.ts +0 -103
  464. package/types/date-picker/src/composition/use-calendar.d.ts +0 -2
  465. package/types/date-picker/src/composition/use-compare.d.ts +0 -2
  466. package/types/date-picker/src/composition/use-date.d.ts +0 -17
  467. package/types/date-picker/src/composition/use-disable-date.d.ts +0 -18
  468. package/types/date-picker/src/composition/use-disable-month.d.ts +0 -2
  469. package/types/date-picker/src/composition/use-event.d.ts +0 -45
  470. package/types/date-picker/src/composition/use-mark.d.ts +0 -2
  471. package/types/date-picker/src/composition/use-month.d.ts +0 -2
  472. package/types/date-picker/src/composition/use-number.d.ts +0 -2
  473. package/types/date-picker/src/composition/use-year.d.ts +0 -2
  474. package/types/date-picker/src/date-picker.component.d.ts +0 -6
  475. package/types/date-picker/src/date-picker.props.d.ts +0 -19
  476. package/types/date-picker/src/designer/date-picker.design.component.d.ts +0 -6
  477. package/types/date-picker/src/schema/schema-mapper.d.ts +0 -2
  478. package/types/date-picker/src/schema/schema-resolver.d.ts +0 -2
  479. package/types/date-picker/src/types/calendar.d.ts +0 -30
  480. package/types/date-picker/src/types/common.d.ts +0 -42
  481. package/types/date-picker/src/types/date-model.d.ts +0 -38
  482. package/types/date-picker/src/types/month.d.ts +0 -48
  483. package/types/date-picker/src/types/year.d.ts +0 -24
  484. package/types/designer-canvas/index.d.ts +0 -8
  485. package/types/designer-canvas/src/components/control-tree-view.component.d.ts +0 -88
  486. package/types/designer-canvas/src/components/maps.d.ts +0 -4
  487. package/types/designer-canvas/src/composition/designer-canvas-changed.d.ts +0 -7
  488. package/types/designer-canvas/src/composition/entity/property-entity.d.ts +0 -167
  489. package/types/designer-canvas/src/composition/function/control-tree-view/change-control-tree-node.d.ts +0 -6
  490. package/types/designer-canvas/src/composition/function/control-tree-view/control-tree-builder.d.ts +0 -8
  491. package/types/designer-canvas/src/composition/function/control-tree-view/control-tree-node-builder.d.ts +0 -9
  492. package/types/designer-canvas/src/composition/function/use-designer-component.d.ts +0 -4
  493. package/types/designer-canvas/src/composition/props/control-tree-view.props.d.ts +0 -49
  494. package/types/designer-canvas/src/composition/props/designer-canvas.props.d.ts +0 -3
  495. package/types/designer-canvas/src/composition/props/designer-inner-item.props.d.ts +0 -3
  496. package/types/designer-canvas/src/composition/props/designer-item.props.d.ts +0 -3
  497. package/types/designer-canvas/src/composition/props/designer-placeholder.props.d.ts +0 -7
  498. package/types/designer-canvas/src/composition/props/toolbox.props.d.ts +0 -11
  499. package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
  500. package/types/designer-canvas/src/composition/types.d.ts +0 -101
  501. package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
  502. package/types/designer-canvas/src/types.d.ts +0 -79
  503. package/types/discussion-editor/discussion-editor.component.d.ts +0 -121
  504. package/types/discussion-editor/discussion-editor.props.d.ts +0 -69
  505. package/types/discussion-editor/index.d.ts +0 -23
  506. package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +0 -15
  507. package/types/discussion-editor/src/types/interface.d.ts +0 -22
  508. package/types/discussion-list/discussion-list.component.d.ts +0 -70
  509. package/types/discussion-list/discussion-list.props.d.ts +0 -52
  510. package/types/discussion-list/index.d.ts +0 -23
  511. package/types/dropdown/index.d.ts +0 -11
  512. package/types/dropdown/src/components/dropdown.item.props.d.ts +0 -46
  513. package/types/dropdown/src/composition/use-dropdown.d.ts +0 -26
  514. package/types/dropdown/src/designer/dropdown.design.component.d.ts +0 -21
  515. package/types/dropdown/src/dropdown.component.d.ts +0 -21
  516. package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
  517. package/types/dropdown/src/dropdown.props.d.ts +0 -19
  518. package/types/dropdown/src/schema/schema-mapper.d.ts +0 -2
  519. package/types/dropdown/src/schema/schema-resolver.d.ts +0 -2
  520. package/types/dropdown/src/types/types.d.ts +0 -23
  521. package/types/dynamic-form/index.d.ts +0 -14
  522. package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.component.d.ts +0 -6
  523. package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +0 -4
  524. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +0 -37
  525. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +0 -18
  526. package/types/dynamic-form/src/composition/types.d.ts +0 -6
  527. package/types/dynamic-form/src/composition/use-type-resolver.d.ts +0 -2
  528. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +0 -3
  529. package/types/dynamic-form/src/response-form.props.d.ts +0 -4
  530. package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
  531. package/types/dynamic-form/src/schema/schema-resolver.d.ts +0 -2
  532. package/types/dynamic-form/src/types.d.ts +0 -17
  533. package/types/dynamic-resolver/index.d.ts +0 -4
  534. package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
  535. package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +0 -5
  536. package/types/dynamic-resolver/src/converter/buttons.converter.d.ts +0 -3
  537. package/types/dynamic-resolver/src/converter/property-editor.converter.d.ts +0 -3
  538. package/types/dynamic-resolver/src/object-expression.d.ts +0 -66
  539. package/types/dynamic-resolver/src/property-config-resolver.d.ts +0 -9
  540. package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
  541. package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -7
  542. package/types/dynamic-resolver/src/types.d.ts +0 -11
  543. package/types/dynamic-view/index.d.ts +0 -8
  544. package/types/dynamic-view/src/components/maps.d.ts +0 -4
  545. package/types/dynamic-view/src/dynamic-view.props.d.ts +0 -15
  546. package/types/enum-editor/index.d.ts +0 -23
  547. package/types/enum-editor/src/components/enum-editor-buttons.props.d.ts +0 -13
  548. package/types/enum-editor/src/components/enum-editor-table.props.d.ts +0 -29
  549. package/types/enum-editor/src/composition/types.d.ts +0 -4
  550. package/types/enum-editor/src/composition/use-move-data.d.ts +0 -7
  551. package/types/enum-editor/src/enum-editor.props.d.ts +0 -41
  552. package/types/events-editor/index.d.ts +0 -8
  553. package/types/events-editor/src/components/command-list/command-list.props.d.ts +0 -3
  554. package/types/events-editor/src/components/command-source/command-source.props.d.ts +0 -3
  555. package/types/events-editor/src/components/event-list/event-list.props.d.ts +0 -3
  556. package/types/events-editor/src/components/interaction-button/interaction-button.props.d.ts +0 -3
  557. package/types/events-editor/src/components/interaction-item/interaction-item.props.d.ts +0 -3
  558. package/types/events-editor/src/components/parameter-editor/parameter-editor.props.d.ts +0 -3
  559. package/types/events-editor/src/composition/types.d.ts +0 -37
  560. package/types/events-editor/src/composition/use-events-editor-util.d.ts +0 -5
  561. package/types/events-editor/src/composition/use-events.d.ts +0 -4
  562. package/types/events-editor/src/composition/use-interaction.d.ts +0 -4
  563. package/types/events-editor/src/composition/use-methods.d.ts +0 -4
  564. package/types/events-editor/src/events-editor.props.d.ts +0 -3
  565. package/types/events-editor/src/types.d.ts +0 -179
  566. package/types/field-selector/index.d.ts +0 -23
  567. package/types/field-selector/src/field-selector.props.d.ts +0 -121
  568. package/types/filter-bar/index.d.ts +0 -9
  569. package/types/filter-bar/src/components/ellipsis-button.component.d.ts +0 -3
  570. package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
  571. package/types/filter-bar/src/components/toolbar-component.d.ts +0 -4
  572. package/types/filter-bar/src/composition/types.d.ts +0 -14
  573. package/types/filter-bar/src/filter-bar.props.d.ts +0 -5
  574. package/types/filter-bar/src/schema/schema-mapper.d.ts +0 -2
  575. package/types/filter-bar/src/schema/schema-resolver.d.ts +0 -2
  576. package/types/filter-bar/src/types.d.ts +0 -12
  577. package/types/image-cropper/index.d.ts +0 -25
  578. package/types/image-cropper/src/composition/type.d.ts +0 -44
  579. package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +0 -2
  580. package/types/image-cropper/src/composition/use-image-cropper.d.ts +0 -20
  581. package/types/image-cropper/src/composition/use-image-info.d.ts +0 -38
  582. package/types/image-cropper/src/designer/image-cropper.design.component.d.ts +0 -6
  583. package/types/image-cropper/src/image-cropper.component.d.ts +0 -6
  584. package/types/image-cropper/src/image-cropper.props.d.ts +0 -19
  585. package/types/image-cropper/src/schema/schema-mapper.d.ts +0 -2
  586. package/types/image-cropper/src/schema/schema-resolver.d.ts +0 -2
  587. package/types/index.d.ts +0 -20
  588. package/types/input-group/index.d.ts +0 -25
  589. package/types/input-group/src/components/appended-button.component.d.ts +0 -4
  590. package/types/input-group/src/components/extend.component.d.ts +0 -3
  591. package/types/input-group/src/components/text-edit.component.d.ts +0 -5
  592. package/types/input-group/src/composition/types.d.ts +0 -38
  593. package/types/input-group/src/composition/use-appended-button.d.ts +0 -4
  594. package/types/input-group/src/composition/use-clear.d.ts +0 -4
  595. package/types/input-group/src/composition/use-text-box.d.ts +0 -4
  596. package/types/input-group/src/input-group.component.d.ts +0 -6
  597. package/types/input-group/src/input-group.props.d.ts +0 -4
  598. package/types/input-group/src/schema/schema-mapper.d.ts +0 -2
  599. package/types/input-group/src/schema/schema-resolver.d.ts +0 -2
  600. package/types/layout/index.d.ts +0 -11
  601. package/types/layout/src/components/layout-panel.props.d.ts +0 -5
  602. package/types/layout/src/composition/types.d.ts +0 -23
  603. package/types/layout/src/composition/use-resize-handle.d.ts +0 -3
  604. package/types/layout/src/designer/layout-panel-use-designer-rules.d.ts +0 -3
  605. package/types/layout/src/designer/layout-use-designer-rules.d.ts +0 -3
  606. package/types/layout/src/layout.props.d.ts +0 -4
  607. package/types/layout/src/schema/schema-mapper.d.ts +0 -2
  608. package/types/layout/src/schema/schema-resolver.d.ts +0 -2
  609. package/types/list-nav/index.d.ts +0 -25
  610. package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
  611. package/types/list-nav/src/designer/list-nav.design.component.d.ts +0 -6
  612. package/types/list-nav/src/list-nav.component.d.ts +0 -6
  613. package/types/list-nav/src/list-nav.props.d.ts +0 -19
  614. package/types/list-nav/src/schema/schema-mapper.d.ts +0 -2
  615. package/types/list-nav/src/schema/schema-resolver.d.ts +0 -2
  616. package/types/list-view/index.d.ts +0 -25
  617. package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
  618. package/types/list-view/src/composition/types.d.ts +0 -40
  619. package/types/list-view/src/composition/use-draggable.d.ts +0 -4
  620. package/types/list-view/src/composition/use-hover.d.ts +0 -2
  621. package/types/list-view/src/composition/use-remove.d.ts +0 -4
  622. package/types/list-view/src/composition/use-search.d.ts +0 -5
  623. package/types/list-view/src/composition/use-selection.d.ts +0 -4
  624. package/types/list-view/src/designer/list-view-table.design.component.d.ts +0 -6
  625. package/types/list-view/src/designer/list-view.design.component.d.ts +0 -6
  626. package/types/list-view/src/list-view-table.component.d.ts +0 -6
  627. package/types/list-view/src/list-view-table.props.d.ts +0 -19
  628. package/types/list-view/src/list-view.component.d.ts +0 -6
  629. package/types/list-view/src/list-view.props.d.ts +0 -23
  630. package/types/list-view/src/schema/schema-mapper.d.ts +0 -2
  631. package/types/list-view/src/schema/schema-resolver.d.ts +0 -2
  632. package/types/loading/index.d.ts +0 -23
  633. package/types/loading/src/composition/types.d.ts +0 -24
  634. package/types/loading/src/loading.component.d.ts +0 -61
  635. package/types/loading/src/loading.props.d.ts +0 -49
  636. package/types/loading/src/loading.service.d.ts +0 -4
  637. package/types/locale/src/lib/locale.service.d.ts +0 -26
  638. package/types/locale/src/lib/locales/en-us/avatar.d.ts +0 -7
  639. package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +0 -15
  640. package/types/locale/src/lib/locales/en-us/collapse.d.ts +0 -4
  641. package/types/locale/src/lib/locales/en-us/combo.d.ts +0 -4
  642. package/types/locale/src/lib/locales/en-us/datagrid.d.ts +0 -103
  643. package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +0 -25
  644. package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +0 -50
  645. package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +0 -25
  646. package/types/locale/src/lib/locales/en-us/footer.d.ts +0 -4
  647. package/types/locale/src/lib/locales/en-us/index.d.ts +0 -568
  648. package/types/locale/src/lib/locales/en-us/language-label.d.ts +0 -8
  649. package/types/locale/src/lib/locales/en-us/list-filter.d.ts +0 -6
  650. package/types/locale/src/lib/locales/en-us/list-view.d.ts +0 -3
  651. package/types/locale/src/lib/locales/en-us/loading.d.ts +0 -3
  652. package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +0 -38
  653. package/types/locale/src/lib/locales/en-us/lookup.d.ts +0 -48
  654. package/types/locale/src/lib/locales/en-us/messager.d.ts +0 -28
  655. package/types/locale/src/lib/locales/en-us/multi-select.d.ts +0 -15
  656. package/types/locale/src/lib/locales/en-us/notify.d.ts +0 -3
  657. package/types/locale/src/lib/locales/en-us/numeric.d.ts +0 -7
  658. package/types/locale/src/lib/locales/en-us/page-walker.d.ts +0 -6
  659. package/types/locale/src/lib/locales/en-us/pagination.d.ts +0 -17
  660. package/types/locale/src/lib/locales/en-us/progress-step.d.ts +0 -3
  661. package/types/locale/src/lib/locales/en-us/query-condition.d.ts +0 -33
  662. package/types/locale/src/lib/locales/en-us/query-solution.d.ts +0 -41
  663. package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +0 -3
  664. package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +0 -3
  665. package/types/locale/src/lib/locales/en-us/section.d.ts +0 -4
  666. package/types/locale/src/lib/locales/en-us/sidebar.d.ts +0 -3
  667. package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +0 -15
  668. package/types/locale/src/lib/locales/en-us/tabs.d.ts +0 -3
  669. package/types/locale/src/lib/locales/en-us/tag.d.ts +0 -4
  670. package/types/locale/src/lib/locales/en-us/text.d.ts +0 -10
  671. package/types/locale/src/lib/locales/en-us/treetable.d.ts +0 -8
  672. package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +0 -5
  673. package/types/locale/src/lib/locales/index.d.ts +0 -1712
  674. package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +0 -7
  675. package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +0 -15
  676. package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +0 -4
  677. package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +0 -4
  678. package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +0 -103
  679. package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +0 -25
  680. package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +0 -50
  681. package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +0 -25
  682. package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +0 -4
  683. package/types/locale/src/lib/locales/zh-CHT/index.d.ts +0 -568
  684. package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +0 -8
  685. package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +0 -6
  686. package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +0 -3
  687. package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +0 -3
  688. package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +0 -38
  689. package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +0 -48
  690. package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +0 -28
  691. package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +0 -15
  692. package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +0 -3
  693. package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +0 -7
  694. package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +0 -6
  695. package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +0 -17
  696. package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +0 -3
  697. package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +0 -33
  698. package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +0 -41
  699. package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +0 -3
  700. package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +0 -3
  701. package/types/locale/src/lib/locales/zh-CHT/section.d.ts +0 -4
  702. package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +0 -3
  703. package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +0 -15
  704. package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +0 -3
  705. package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +0 -4
  706. package/types/locale/src/lib/locales/zh-CHT/text.d.ts +0 -10
  707. package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +0 -8
  708. package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +0 -5
  709. package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +0 -7
  710. package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +0 -15
  711. package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +0 -4
  712. package/types/locale/src/lib/locales/zh-cn/combo.d.ts +0 -4
  713. package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +0 -105
  714. package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +0 -25
  715. package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +0 -50
  716. package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +0 -25
  717. package/types/locale/src/lib/locales/zh-cn/footer.d.ts +0 -4
  718. package/types/locale/src/lib/locales/zh-cn/index.d.ts +0 -574
  719. package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +0 -8
  720. package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +0 -6
  721. package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +0 -3
  722. package/types/locale/src/lib/locales/zh-cn/loading.d.ts +0 -3
  723. package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +0 -38
  724. package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +0 -48
  725. package/types/locale/src/lib/locales/zh-cn/messager.d.ts +0 -32
  726. package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +0 -15
  727. package/types/locale/src/lib/locales/zh-cn/notify.d.ts +0 -3
  728. package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +0 -7
  729. package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +0 -6
  730. package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +0 -17
  731. package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +0 -3
  732. package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +0 -33
  733. package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +0 -41
  734. package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +0 -3
  735. package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +0 -3
  736. package/types/locale/src/lib/locales/zh-cn/section.d.ts +0 -4
  737. package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +0 -3
  738. package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +0 -15
  739. package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +0 -3
  740. package/types/locale/src/lib/locales/zh-cn/tag.d.ts +0 -4
  741. package/types/locale/src/lib/locales/zh-cn/text.d.ts +0 -10
  742. package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +0 -8
  743. package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +0 -5
  744. package/types/message-box/index.d.ts +0 -24
  745. package/types/message-box/src/components/message-content/reactive-content.component.d.ts +0 -3
  746. package/types/message-box/src/components/message-content/static-content.component.d.ts +0 -3
  747. package/types/message-box/src/components/message-detail/static-message.component.d.ts +0 -2
  748. package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +0 -3
  749. package/types/message-box/src/composition/types.d.ts +0 -27
  750. package/types/message-box/src/composition/use-copy.d.ts +0 -2
  751. package/types/message-box/src/composition/use-editor.d.ts +0 -4
  752. package/types/message-box/src/composition/use-feedback.d.ts +0 -2
  753. package/types/message-box/src/message-box.component.d.ts +0 -70
  754. package/types/message-box/src/message-box.props.d.ts +0 -54
  755. package/types/modal/index.d.ts +0 -24
  756. package/types/modal/src/modal.props.d.ts +0 -76
  757. package/types/modal/src/modal.service.d.ts +0 -21
  758. package/types/nav/index.d.ts +0 -25
  759. package/types/nav/src/composition/types.d.ts +0 -6
  760. package/types/nav/src/designer/nav.design.component.d.ts +0 -6
  761. package/types/nav/src/nav.component.d.ts +0 -6
  762. package/types/nav/src/nav.props.d.ts +0 -19
  763. package/types/nav/src/schema/schema-mapper.d.ts +0 -2
  764. package/types/nav/src/schema/schema-resolver.d.ts +0 -2
  765. package/types/notify/index.d.ts +0 -26
  766. package/types/notify/src/components/toast.component.d.ts +0 -32
  767. package/types/notify/src/components/toast.props.d.ts +0 -31
  768. package/types/notify/src/notify.component.d.ts +0 -89
  769. package/types/notify/src/notify.props.d.ts +0 -97
  770. package/types/notify/src/notify.service.d.ts +0 -19
  771. package/types/number-range/index.d.ts +0 -25
  772. package/types/number-range/src/components/spinner.component.d.ts +0 -4
  773. package/types/number-range/src/components/text-box.component.d.ts +0 -4
  774. package/types/number-range/src/composition/types.d.ts +0 -56
  775. package/types/number-range/src/composition/use-format.d.ts +0 -4
  776. package/types/number-range/src/composition/use-number.d.ts +0 -4
  777. package/types/number-range/src/composition/use-spinner.d.ts +0 -4
  778. package/types/number-range/src/composition/use-text-box.d.ts +0 -4
  779. package/types/number-range/src/number-range.component.d.ts +0 -6
  780. package/types/number-range/src/number-range.props.d.ts +0 -19
  781. package/types/number-range/src/schema/schema-mapper.d.ts +0 -2
  782. package/types/number-range/src/schema/schema-resolver.d.ts +0 -2
  783. package/types/number-spinner/index.d.ts +0 -25
  784. package/types/number-spinner/src/components/spinner.component.d.ts +0 -4
  785. package/types/number-spinner/src/components/text-box.component.d.ts +0 -4
  786. package/types/number-spinner/src/composition/types.d.ts +0 -58
  787. package/types/number-spinner/src/composition/use-format.d.ts +0 -4
  788. package/types/number-spinner/src/composition/use-number.d.ts +0 -4
  789. package/types/number-spinner/src/composition/use-spinner.d.ts +0 -4
  790. package/types/number-spinner/src/composition/use-text-box.d.ts +0 -4
  791. package/types/number-spinner/src/designer/number-spinner.component.d.ts +0 -6
  792. package/types/number-spinner/src/number-spinner.component.d.ts +0 -6
  793. package/types/number-spinner/src/number-spinner.props.d.ts +0 -19
  794. package/types/number-spinner/src/schema/schema-mapper.d.ts +0 -2
  795. package/types/number-spinner/src/schema/schema-resolver.d.ts +0 -2
  796. package/types/order/index.d.ts +0 -10
  797. package/types/order/src/order.props.d.ts +0 -10
  798. package/types/order/src/schema/schema-mapper.d.ts +0 -2
  799. package/types/order/src/schema/schema-resolver.d.ts +0 -2
  800. package/types/overlay/src/overlay.props.d.ts +0 -33
  801. package/types/overlay/src/overlay.service.d.ts +0 -17
  802. package/types/page-footer/index.d.ts +0 -10
  803. package/types/page-footer/src/page-footer.props.d.ts +0 -4
  804. package/types/page-footer/src/schema/schema-mapper.d.ts +0 -2
  805. package/types/page-footer/src/schema/schema-resolver.d.ts +0 -2
  806. package/types/page-header/index.d.ts +0 -10
  807. package/types/page-header/src/designer/use-designer-rules.d.ts +0 -3
  808. package/types/page-header/src/page-header.props.d.ts +0 -4
  809. package/types/page-header/src/schema/schema-mapper.d.ts +0 -2
  810. package/types/page-header/src/schema/schema-resolver.d.ts +0 -2
  811. package/types/pagination/index.d.ts +0 -25
  812. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +0 -19
  813. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +0 -20
  814. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +0 -20
  815. package/types/pagination/src/components/pages/page-info.component.d.ts +0 -19
  816. package/types/pagination/src/components/pages/page-list.component.d.ts +0 -19
  817. package/types/pagination/src/components/pages/page-number.component.d.ts +0 -20
  818. package/types/pagination/src/composition/types.d.ts +0 -24
  819. package/types/pagination/src/composition/use-pages.d.ts +0 -18
  820. package/types/pagination/src/designer/pagination.design.components.d.ts +0 -6
  821. package/types/pagination/src/pagination.components.d.ts +0 -6
  822. package/types/pagination/src/pagination.props.d.ts +0 -20
  823. package/types/pagination/src/schema/schema-mapper.d.ts +0 -2
  824. package/types/pagination/src/schema/schema-resolver.d.ts +0 -2
  825. package/types/popover/index.d.ts +0 -24
  826. package/types/popover/src/composition/types.d.ts +0 -25
  827. package/types/popover/src/composition/use-host.d.ts +0 -3
  828. package/types/popover/src/composition/use-popup.d.ts +0 -4
  829. package/types/popover/src/composition/use-position.d.ts +0 -4
  830. package/types/popover/src/composition/use-resize.d.ts +0 -4
  831. package/types/popover/src/popover.component.d.ts +0 -112
  832. package/types/popover/src/popover.directive.d.ts +0 -5
  833. package/types/popover/src/popover.props.d.ts +0 -69
  834. package/types/progress/index.d.ts +0 -10
  835. package/types/progress/src/composition/types.d.ts +0 -65
  836. package/types/progress/src/composition/use-format.d.ts +0 -3
  837. package/types/progress/src/composition/use-gradient.d.ts +0 -3
  838. package/types/progress/src/composition/use-progress-status.d.ts +0 -3
  839. package/types/progress/src/composition/use-progress-type.d.ts +0 -3
  840. package/types/progress/src/composition/use-progress.d.ts +0 -3
  841. package/types/progress/src/composition/use-stroke-width.d.ts +0 -3
  842. package/types/progress/src/composition/use-success-percent.d.ts +0 -3
  843. package/types/progress/src/progress.props.d.ts +0 -13
  844. package/types/progress/src/schema/schema-mapper.d.ts +0 -2
  845. package/types/progress/src/schema/schema-resolver.d.ts +0 -2
  846. package/types/property-panel/index.d.ts +0 -24
  847. package/types/property-panel/src/component/property-panel-item-list.component.d.ts +0 -43
  848. package/types/property-panel/src/component/property-panel-item.component.d.ts +0 -25
  849. package/types/property-panel/src/composition/entity/property-entity.d.ts +0 -165
  850. package/types/property-panel/src/composition/props/property-panel-item-list.props.d.ts +0 -38
  851. package/types/property-panel/src/composition/props/property-panel-item.props.d.ts +0 -27
  852. package/types/property-panel/src/composition/props/property-panel.props.d.ts +0 -100
  853. package/types/property-panel/src/composition/type.d.ts +0 -45
  854. package/types/property-panel/src/property-panel.component.d.ts +0 -156
  855. package/types/query-solution/index.d.ts +0 -25
  856. package/types/query-solution/src/composition/types.d.ts +0 -8
  857. package/types/query-solution/src/composition/use-filter.d.ts +0 -19
  858. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +0 -26
  859. package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +0 -19
  860. package/types/query-solution/src/designer/query-solution-config/query-solution-config.component.d.ts +0 -6
  861. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +0 -23
  862. package/types/query-solution/src/designer/query-solution-config/schema/schema-mapper.d.ts +0 -2
  863. package/types/query-solution/src/designer/query-solution-config/schema/schema-resolver.d.ts +0 -2
  864. package/types/query-solution/src/designer/query-solution.design.component.d.ts +0 -6
  865. package/types/query-solution/src/query-solution.component.d.ts +0 -6
  866. package/types/query-solution/src/query-solution.d.ts +0 -40
  867. package/types/query-solution/src/query-solution.props.d.ts +0 -19
  868. package/types/query-solution/src/schema/schema-mapper.d.ts +0 -2
  869. package/types/query-solution/src/schema/schema-resolver.d.ts +0 -2
  870. package/types/query-solution/src/solutions.d.ts +0 -1238
  871. package/types/radio-group/index.d.ts +0 -25
  872. package/types/radio-group/src/composition/change-radio.d.ts +0 -19
  873. package/types/radio-group/src/composition/types.d.ts +0 -42
  874. package/types/radio-group/src/designer/radio-group.design.component.d.ts +0 -6
  875. package/types/radio-group/src/radio-group.component.d.ts +0 -6
  876. package/types/radio-group/src/radio-group.props.d.ts +0 -19
  877. package/types/radio-group/src/schema/schema-mapper.d.ts +0 -2
  878. package/types/radio-group/src/schema/schema-resolver.d.ts +0 -2
  879. package/types/rate/index.d.ts +0 -25
  880. package/types/rate/src/designer/rate.design.component.d.ts +0 -6
  881. package/types/rate/src/rate.component.d.ts +0 -6
  882. package/types/rate/src/rate.props.d.ts +0 -19
  883. package/types/rate/src/schema/schema-mapper.d.ts +0 -2
  884. package/types/rate/src/schema/schema-resolver.d.ts +0 -2
  885. package/types/response-layout/index.d.ts +0 -26
  886. package/types/response-layout/src/component/response-layout-item.props.d.ts +0 -4
  887. package/types/response-layout/src/response-layout.props.d.ts +0 -4
  888. package/types/response-layout/src/schema/schema-mapper.d.ts +0 -2
  889. package/types/response-layout/src/schema/schema-resolver.d.ts +0 -2
  890. package/types/response-layout-editor/index.d.ts +0 -23
  891. package/types/response-layout-editor/src/components/field-list/column-width-editor/column-width-editor.props.d.ts +0 -3
  892. package/types/response-layout-editor/src/components/field-list/field-list.props.d.ts +0 -3
  893. package/types/response-layout-editor/src/components/preview/column-width-view/column-width-view.component.d.ts +0 -6
  894. package/types/response-layout-editor/src/components/preview/column-width-view/column-width-view.props.d.ts +0 -3
  895. package/types/response-layout-editor/src/components/preview/preview.component.d.ts +0 -6
  896. package/types/response-layout-editor/src/components/preview/preview.props.d.ts +0 -3
  897. package/types/response-layout-editor/src/components/screen-resolution-selector/screen-resolution-selector.component.d.ts +0 -6
  898. package/types/response-layout-editor/src/components/screen-resolution-selector/screen-resolution-selector.props.d.ts +0 -3
  899. package/types/response-layout-editor/src/response-layout-editor.component.d.ts +0 -6
  900. package/types/response-layout-editor/src/response-layout-editor.props.d.ts +0 -3
  901. package/types/response-layout-editor/src/type.d.ts +0 -4
  902. package/types/response-toolbar/index.d.ts +0 -13
  903. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -6
  904. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +0 -7
  905. package/types/response-toolbar/src/composition/types.d.ts +0 -9
  906. package/types/response-toolbar/src/composition/use-icon.d.ts +0 -2
  907. package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +0 -2
  908. package/types/response-toolbar/src/response-toolbar.props.d.ts +0 -5
  909. package/types/response-toolbar/src/schema/schema-mapper.d.ts +0 -2
  910. package/types/response-toolbar/src/schema/schema-resolver.d.ts +0 -2
  911. package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +0 -13
  912. package/types/response-toolbar/src/types/response-toolbar-group.d.ts +0 -19
  913. package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +0 -36
  914. package/types/response-toolbar/src/types/response-toolbar-item.d.ts +0 -4
  915. package/types/search-box/index.d.ts +0 -25
  916. package/types/search-box/src/components/search-box-container.props.d.ts +0 -31
  917. package/types/search-box/src/schema/schema-mapper.d.ts +0 -2
  918. package/types/search-box/src/schema/schema-resolver.d.ts +0 -2
  919. package/types/search-box/src/search-box.props.d.ts +0 -4
  920. package/types/section/index.d.ts +0 -25
  921. package/types/section/src/components/toolbar.component.d.ts +0 -3
  922. package/types/section/src/composition/types.d.ts +0 -18
  923. package/types/section/src/composition/use-max-min.d.ts +0 -3
  924. package/types/section/src/designer/section.design.component.d.ts +0 -6
  925. package/types/section/src/designer/use-designer-rules.d.ts +0 -3
  926. package/types/section/src/schema/accordion-resolver.d.ts +0 -3
  927. package/types/section/src/schema/schema-mapper.d.ts +0 -2
  928. package/types/section/src/schema/schema-resolver.d.ts +0 -2
  929. package/types/section/src/schema/toolbar-resolver.d.ts +0 -7
  930. package/types/section/src/section.component.d.ts +0 -6
  931. package/types/section/src/section.props.d.ts +0 -31
  932. package/types/smoke-detector/index.d.ts +0 -10
  933. package/types/smoke-detector/src/schema/schema-mapper.d.ts +0 -2
  934. package/types/smoke-detector/src/schema/schema-resolver.d.ts +0 -2
  935. package/types/smoke-detector/src/smoke-detector.props.d.ts +0 -4
  936. package/types/spacing-editor/index.d.ts +0 -23
  937. package/types/spacing-editor/src/components/spacing-editor-margin.component.d.ts +0 -5
  938. package/types/spacing-editor/src/components/spacing-editor-padding.component.d.ts +0 -5
  939. package/types/spacing-editor/src/spacing-editor.component.d.ts +0 -6
  940. package/types/spacing-editor/src/spacing-editor.props.d.ts +0 -3
  941. package/types/splitter/index.d.ts +0 -10
  942. package/types/splitter/src/components/splitter-pane.props.d.ts +0 -5
  943. package/types/splitter/src/composition/types.d.ts +0 -23
  944. package/types/splitter/src/composition/use-resize-handle.d.ts +0 -3
  945. package/types/splitter/src/composition/use-resize-pane.d.ts +0 -3
  946. package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +0 -3
  947. package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +0 -3
  948. package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +0 -2
  949. package/types/splitter/src/schema/splitter-schema-mapper.d.ts +0 -2
  950. package/types/splitter/src/schema/splitter-schema-resolver.d.ts +0 -2
  951. package/types/splitter/src/splitter.props.d.ts +0 -5
  952. package/types/step/index.d.ts +0 -10
  953. package/types/step/src/schema/schema-mapper.d.ts +0 -2
  954. package/types/step/src/schema/schema-resolver.d.ts +0 -2
  955. package/types/step/src/step.props.d.ts +0 -11
  956. package/types/switch/index.d.ts +0 -25
  957. package/types/switch/src/designer/switch.design.component.d.ts +0 -6
  958. package/types/switch/src/schema/schema-mapper.d.ts +0 -2
  959. package/types/switch/src/schema/schema-resolver.d.ts +0 -2
  960. package/types/switch/src/switch.component.d.ts +0 -6
  961. package/types/switch/src/switch.props.d.ts +0 -20
  962. package/types/tabs/index.d.ts +0 -27
  963. package/types/tabs/src/components/more-pages-button.component.d.ts +0 -5
  964. package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +0 -5
  965. package/types/tabs/src/components/tab-header-item.component.d.ts +0 -4
  966. package/types/tabs/src/components/tab-header.component.d.ts +0 -4
  967. package/types/tabs/src/components/tab-page.props.d.ts +0 -19
  968. package/types/tabs/src/composition/types.d.ts +0 -83
  969. package/types/tabs/src/composition/use-dropdown.d.ts +0 -3
  970. package/types/tabs/src/composition/use-nav.d.ts +0 -4
  971. package/types/tabs/src/composition/use-one-page.d.ts +0 -4
  972. package/types/tabs/src/composition/use-tabs.d.ts +0 -19
  973. package/types/tabs/src/designer/tab-header.design.component.d.ts +0 -6
  974. package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +0 -3
  975. package/types/tabs/src/designer/tab-page.design.component.d.ts +0 -6
  976. package/types/tabs/src/designer/tab-use-designer-rules.d.ts +0 -3
  977. package/types/tabs/src/designer/tabs-use-design.d.ts +0 -20
  978. package/types/tabs/src/designer/tabs.design.component.d.ts +0 -6
  979. package/types/tabs/src/schema/schema-mapper.d.ts +0 -2
  980. package/types/tabs/src/schema/schema-resolver.d.ts +0 -2
  981. package/types/tabs/src/schema/tab-page-schema-mapper.d.ts +0 -2
  982. package/types/tabs/src/tabs.component.d.ts +0 -6
  983. package/types/tabs/src/tabs.props.d.ts +0 -22
  984. package/types/tags/index.d.ts +0 -10
  985. package/types/tags/src/composition/types.d.ts +0 -13
  986. package/types/tags/src/composition/use-draggable.d.ts +0 -4
  987. package/types/tags/src/schema/schema-mapper.d.ts +0 -2
  988. package/types/tags/src/schema/schema-resolver.d.ts +0 -2
  989. package/types/tags/src/tags.props.d.ts +0 -15
  990. package/types/text/index.d.ts +0 -25
  991. package/types/text/src/designer/text.design.component.d.ts +0 -6
  992. package/types/text/src/schema/schema-mapper.d.ts +0 -2
  993. package/types/text/src/schema/schema-resolver.d.ts +0 -2
  994. package/types/text/src/text.component.d.ts +0 -6
  995. package/types/text/src/text.props.d.ts +0 -19
  996. package/types/time-picker/index.d.ts +0 -12
  997. package/types/time-picker/src/components/time-holder.d.ts +0 -82
  998. package/types/time-picker/src/components/time.props.d.ts +0 -48
  999. package/types/time-picker/src/components/utils/check.d.ts +0 -1
  1000. package/types/time-picker/src/schema/schema-mapper.d.ts +0 -2
  1001. package/types/time-picker/src/schema/schema-resolver.d.ts +0 -2
  1002. package/types/time-picker/src/time-picker.props.d.ts +0 -4
  1003. package/types/tooltip/index.d.ts +0 -24
  1004. package/types/tooltip/src/composition/types.d.ts +0 -45
  1005. package/types/tooltip/src/composition/use-adjust-placement.d.ts +0 -20
  1006. package/types/tooltip/src/composition/use-adjust-position.d.ts +0 -21
  1007. package/types/tooltip/src/composition/use-calculate-position.d.ts +0 -21
  1008. package/types/tooltip/src/composition/use-relative.d.ts +0 -19
  1009. package/types/tooltip/src/composition/use-tooltip-position.d.ts +0 -22
  1010. package/types/tooltip/src/tooltip.component.d.ts +0 -78
  1011. package/types/tooltip/src/tooltip.directive.d.ts +0 -6
  1012. package/types/tooltip/src/tooltip.props.d.ts +0 -60
  1013. package/types/transfer/index.d.ts +0 -10
  1014. package/types/transfer/src/schema/schema-mapper.d.ts +0 -2
  1015. package/types/transfer/src/schema/schema-resolver.d.ts +0 -2
  1016. package/types/transfer/src/transfer.component.d.ts +0 -6
  1017. package/types/transfer/src/transfer.props.d.ts +0 -4
  1018. package/types/tree-grid/index.d.ts +0 -24
  1019. package/types/tree-grid/src/components/data/data-area.component.d.ts +0 -21
  1020. package/types/tree-grid/src/schema/schema-mapper.d.ts +0 -2
  1021. package/types/tree-grid/src/schema/schema-resolver.d.ts +0 -2
  1022. package/types/tree-grid/src/tree-grid.props.d.ts +0 -431
  1023. package/types/tree-view/index.d.ts +0 -10
  1024. package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -7
  1025. package/types/tree-view/src/schema/schema-mapper.d.ts +0 -2
  1026. package/types/tree-view/src/schema/schema-resolver.d.ts +0 -2
  1027. package/types/tree-view/src/tree-view.component.d.ts +0 -6
  1028. package/types/tree-view/src/tree-view.props.d.ts +0 -4
  1029. package/types/uploader/index.d.ts +0 -27
  1030. package/types/uploader/src/components/file-select.component.d.ts +0 -99
  1031. package/types/uploader/src/components/sub-component.props.d.ts +0 -102
  1032. package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
  1033. package/types/uploader/src/composition/type.d.ts +0 -129
  1034. package/types/uploader/src/composition/use-service.d.ts +0 -5
  1035. package/types/uploader/src/schema/schema-mapper.d.ts +0 -2
  1036. package/types/uploader/src/schema/schema-resolver.d.ts +0 -2
  1037. package/types/uploader/src/uploader.props.d.ts +0 -4
  1038. package/types/verify-detail/index.d.ts +0 -28
  1039. package/types/verify-detail/src/composition/type.d.ts +0 -25
  1040. package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +0 -6
  1041. package/types/verify-detail/src/schema/schema-mapper.d.ts +0 -2
  1042. package/types/verify-detail/src/schema/schema-resolver.d.ts +0 -2
  1043. package/types/verify-detail/src/verify-detail.component.d.ts +0 -6
  1044. package/types/verify-detail/src/verify-detail.props.d.ts +0 -4
  1045. package/types/verify-detail/src/verify-detail.service.d.ts +0 -7
  1046. package/types/video/index.d.ts +0 -25
  1047. package/types/video/src/composition/types.d.ts +0 -38
  1048. package/types/video/src/composition/use-video.d.ts +0 -20
  1049. package/types/video/src/composition/use-viewport.d.ts +0 -20
  1050. package/types/video/src/designer/video.design.component.d.ts +0 -4
  1051. package/types/video/src/schema/schema-mapper.d.ts +0 -2
  1052. package/types/video/src/schema/schema-resolver.d.ts +0 -2
  1053. package/types/video/src/video.component.d.ts +0 -6
  1054. package/types/video/src/video.props.d.ts +0 -19
  1055. package/types/weather/index.d.ts +0 -25
  1056. package/types/weather/src/components/weather-city.component.d.ts +0 -6
  1057. package/types/weather/src/components/weather-detail.component.d.ts +0 -6
  1058. package/types/weather/src/components/weather-home.component.d.ts +0 -6
  1059. package/types/weather/src/components/weather-information.component.d.ts +0 -6
  1060. package/types/weather/src/components/weather-proindex.component.d.ts +0 -6
  1061. package/types/weather/src/components/weather-report.component.d.ts +0 -6
  1062. package/types/weather/src/components/weather-sunset.component.d.ts +0 -6
  1063. package/types/weather/src/composition/types.d.ts +0 -2
  1064. package/types/weather/src/composition/use-weather-charts.d.ts +0 -3
  1065. package/types/weather/src/composition/use-weather-color.d.ts +0 -3
  1066. package/types/weather/src/composition/use-weather-data.d.ts +0 -3
  1067. package/types/weather/src/composition/use-weather-format-number.d.ts +0 -3
  1068. package/types/weather/src/demo-data.d.ts +0 -181
  1069. package/types/weather/src/designer/weather.design.component.d.ts +0 -6
  1070. package/types/weather/src/schema/schema-mapper.d.ts +0 -2
  1071. package/types/weather/src/schema/schema-resolver.d.ts +0 -2
  1072. package/types/weather/src/weather.component.d.ts +0 -6
  1073. package/types/weather/src/weather.props.d.ts +0 -19
  1074. package/uploader/index.esm.js +0 -3187
  1075. package/uploader/index.umd.js +0 -2
  1076. package/uploader/package.json +0 -8
  1077. package/uploader/style.css +0 -1
  1078. package/verify-detail/index.esm.js +0 -648
  1079. package/verify-detail/index.umd.js +0 -1
  1080. package/verify-detail/package.json +0 -8
  1081. package/video/index.esm.js +0 -1178
  1082. package/video/index.umd.js +0 -1
  1083. package/video/package.json +0 -8
  1084. package/weather/index.esm.js +0 -6816
  1085. package/weather/index.umd.js +0 -16
  1086. package/weather/package.json +0 -8
  1087. package/weather/style.css +0 -1
@@ -1,2081 +0,0 @@
1
- var nt = Object.defineProperty;
2
- var rt = (r, e, t) => e in r ? nt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
- var a = (r, e, t) => (rt(r, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { defineComponent as ee, ref as S, onMounted as T, watch as C, createVNode as k, withModifiers as _, createTextVNode as $e, computed as U, onBeforeMount as Ye, withDirectives as W, vShow as K, vModelText as Xe, inject as it } from "vue";
5
- import { cloneDeep as at } from "lodash-es";
6
- const We = {}, Ge = {};
7
- function Ae(r) {
8
- const { properties: e, title: t } = r, n = Object.keys(e).reduce((i, u) => (i[u] = e[u].type === "object" && e[u].properties ? Ae(e[u]) : at(e[u].default), i), {});
9
- return n.id = `${t}-${Date.now()}`, n;
10
- }
11
- function Pe(r, e = {}) {
12
- const t = We[r];
13
- if (t) {
14
- let n = Ae(t);
15
- const i = Ge[r];
16
- return n = i ? i({ getSchemaByType: Pe }, n, e) : n, n;
17
- }
18
- return null;
19
- }
20
- function st(r, e) {
21
- const t = Ae(e);
22
- return Object.keys(r).reduce((n, i) => (n[i] = r[i], n), t), t;
23
- }
24
- function ot(r, e) {
25
- return Object.keys(r).filter((n) => r[n] != null).reduce((n, i) => {
26
- if (e.has(i)) {
27
- const u = e.get(i);
28
- if (typeof u == "string")
29
- n[u] = r[i];
30
- else {
31
- const l = u(i, r[i], r);
32
- Object.assign(n, l);
33
- }
34
- } else
35
- n[i] = r[i];
36
- return n;
37
- }, {});
38
- }
39
- function lt(r, e, t = /* @__PURE__ */ new Map()) {
40
- const n = st(r, e);
41
- return ot(n, t);
42
- }
43
- function ut(r = {}) {
44
- function e(h, p, f, d) {
45
- if (typeof f == "number")
46
- return d[h].length === f;
47
- if (typeof f == "object") {
48
- const b = Object.keys(f)[0], y = f[b];
49
- if (b === "not")
50
- return Number(d[h].length) !== Number(y);
51
- if (b === "moreThan")
52
- return Number(d[h].length) >= Number(y);
53
- if (b === "lessThan")
54
- return Number(d[h].length) <= Number(y);
55
- }
56
- return !1;
57
- }
58
- function t(h, p, f, d) {
59
- return d[p] && d[p].propertyValue && String(d[p].propertyValue.value) === String(f);
60
- }
61
- const n = /* @__PURE__ */ new Map([
62
- ["length", e],
63
- ["getProperty", t]
64
- ]);
65
- Object.keys(r).reduce((h, p) => (h.set(p, r[p]), h), n);
66
- function i(h, p) {
67
- const f = h;
68
- return typeof p == "number" ? [{ target: f, operator: "length", param: null, value: Number(p) }] : typeof p == "boolean" ? [{ target: f, operator: "getProperty", param: h, value: !!p }] : typeof p == "object" ? Object.keys(p).map((d) => {
69
- if (d === "length")
70
- return { target: f, operator: "length", param: null, value: p[d] };
71
- const b = d, y = p[d];
72
- return { target: f, operator: h, param: b, value: y };
73
- }) : [];
74
- }
75
- function u(h) {
76
- return Object.keys(h).reduce((f, d) => {
77
- const b = i(d, h[d]);
78
- return f.push(...b), f;
79
- }, []);
80
- }
81
- function l(h, p) {
82
- if (n.has(h.operator)) {
83
- const f = n.get(h.operator);
84
- return f && f(h.target, h.param, h.value, p) || !1;
85
- }
86
- return !1;
87
- }
88
- function c(h, p) {
89
- return u(h).reduce((b, y) => b && l(y, p), !0);
90
- }
91
- function g(h, p) {
92
- const f = Object.keys(h), d = f.includes("allOf"), b = f.includes("anyOf"), y = d || b, E = (y ? h[y ? d ? "allOf" : "anyOf" : "allOf"] : [h]).map((x) => c(x, p));
93
- return d ? !E.includes(!1) : E.includes(!0);
94
- }
95
- return { parseValueSchema: g };
96
- }
97
- const ct = {}, ht = {};
98
- ut();
99
- function pt(r, e, t = /* @__PURE__ */ new Map(), n = (l, c, g) => c, i = {}, u = (l) => l) {
100
- return We[e.title] = e, Ge[e.title] = n, ct[e.title] = i, ht[e.title] = u, (l = {}) => {
101
- const c = lt(l, e, t), g = Object.keys(r).reduce((h, p) => (h[p] = r[p].default, h), {});
102
- return Object.assign(g, c);
103
- };
104
- }
105
- const ft = "https://json-schema.org/draft/2020-12/schema", dt = "https://farris-design.gitee.io/color-picker.schema.json", vt = "color-picker", gt = "A Farris Component", yt = "object", mt = {
106
- id: {
107
- description: "The unique identifier for color picker",
108
- type: "string"
109
- },
110
- type: {
111
- description: "The type string of color picker",
112
- type: "string",
113
- default: "color-picker"
114
- },
115
- appearance: {
116
- description: "",
117
- type: "object",
118
- properties: {
119
- class: {
120
- type: "string"
121
- },
122
- style: {
123
- type: "string"
124
- }
125
- },
126
- default: {}
127
- },
128
- binding: {
129
- description: "",
130
- type: "object",
131
- default: {}
132
- },
133
- disable: {
134
- type: "string",
135
- default: !1
136
- },
137
- editable: {
138
- description: "",
139
- type: "boolean",
140
- default: !0
141
- },
142
- placeHolder: {
143
- description: "",
144
- type: "string",
145
- default: ""
146
- },
147
- readonly: {
148
- description: "",
149
- type: "boolean",
150
- default: !1
151
- },
152
- require: {
153
- description: "",
154
- type: "boolean",
155
- default: !1
156
- },
157
- tabindex: {
158
- description: "",
159
- type: "number",
160
- default: -1
161
- },
162
- visible: {
163
- description: "",
164
- type: "boolean",
165
- default: !0
166
- }
167
- }, wt = [
168
- "id",
169
- "type"
170
- ], bt = {
171
- $schema: ft,
172
- $id: dt,
173
- title: vt,
174
- description: gt,
175
- type: yt,
176
- properties: mt,
177
- required: wt
178
- };
179
- function kt(r, e, t) {
180
- return e;
181
- }
182
- function St(r, e) {
183
- return { customClass: e.class };
184
- }
185
- const Pt = /* @__PURE__ */ new Map([
186
- ["appearance", St]
187
- ]), Et = "color-picker", Mt = "A Farris Component", Ht = "object", Bt = {
188
- basic: {
189
- description: "Basic Infomation",
190
- title: "基本信息",
191
- properties: {
192
- id: {
193
- description: "组件标识",
194
- title: "标识",
195
- type: "string",
196
- readonly: !0
197
- },
198
- type: {
199
- description: "组件类型",
200
- title: "控件类型",
201
- type: "select",
202
- editor: {
203
- type: "waiting for modification",
204
- enum: []
205
- }
206
- }
207
- }
208
- }
209
- }, Ot = {
210
- title: Et,
211
- description: Mt,
212
- type: Ht,
213
- categories: Bt
214
- }, xe = {
215
- /** 初始颜色 */
216
- color: { type: String, default: "#e1e2e3" },
217
- /** 禁用 */
218
- disabled: { type: Boolean, default: !1 },
219
- /** 预置颜色 */
220
- presets: { type: Array, default: [] },
221
- /** 允许颜色为空 */
222
- allowColorNull: { type: Boolean, default: !1 },
223
- /** 颜色值变化事件 */
224
- onValueChanged: { type: Function, default: () => {
225
- } }
226
- }, De = pt(xe, bt, Pt, kt, Ot);
227
- class he {
228
- }
229
- class we extends he {
230
- constructor(e, t, n, i) {
231
- super(), this.cyan = e, this.magenta = t, this.yellow = n, this.black = i;
232
- }
233
- toString() {
234
- return `cmyk(${this.getCyan()}%, ${this.getMagenta()}%, ${this.getYellow()}%, ${this.getBlack()}%)`;
235
- }
236
- getCyan() {
237
- return Math.round(this.cyan);
238
- }
239
- getMagenta() {
240
- return Math.round(this.magenta);
241
- }
242
- getYellow() {
243
- return Math.round(this.yellow);
244
- }
245
- getBlack() {
246
- return Math.round(this.black);
247
- }
248
- }
249
- class ie extends he {
250
- constructor(e, t, n, i) {
251
- super(), this.hue = e, this.saturation = t, this.lightness = n, this.alpha = i;
252
- }
253
- toString(e = !0) {
254
- return e ? `hsla(${this.getHue()}, ${this.getSaturation()}%, ${this.getLightness()}%, ${this.getAlpha()})` : `hsl(${this.getHue()}, ${this.getSaturation()}%, ${this.getLightness()}%)`;
255
- }
256
- getHue() {
257
- return Math.round(this.hue);
258
- }
259
- getSaturation() {
260
- return Math.round(this.saturation);
261
- }
262
- getLightness() {
263
- return Math.round(this.lightness);
264
- }
265
- getAlpha() {
266
- return Math.round(this.alpha * 100) / 100;
267
- }
268
- }
269
- class ae extends he {
270
- constructor(e, t, n, i) {
271
- super(), this.hue = e, this.saturation = t, this.value = n, this.alpha = i;
272
- }
273
- toString(e = !0) {
274
- return e ? `hsva(${this.getHue()}, ${this.getSaturation()}%, ${this.getValue()}%, ${this.getAlpha()})` : `hsv(${this.getHue()}, ${this.getSaturation()}%, ${this.getValue()}%)`;
275
- }
276
- getHue() {
277
- return Math.round(this.hue);
278
- }
279
- getSaturation() {
280
- return Math.round(this.saturation);
281
- }
282
- getValue() {
283
- return Math.round(this.value);
284
- }
285
- getAlpha() {
286
- return Math.round(this.alpha * 100) / 100;
287
- }
288
- }
289
- class o extends he {
290
- constructor(e, t, n, i) {
291
- super(), this.red = e, this.green = t, this.blue = n, this.alpha = i;
292
- }
293
- toString(e = !0) {
294
- return e ? `rgba(${this.getRed()}, ${this.getGreen()}, ${this.getBlue()}, ${this.getAlpha()})` : `rgb(${this.getRed()}, ${this.getGreen()}, ${this.getBlue()})`;
295
- }
296
- getRed() {
297
- return Math.round(this.red);
298
- }
299
- getGreen() {
300
- return Math.round(this.green);
301
- }
302
- getBlue() {
303
- return Math.round(this.blue);
304
- }
305
- getAlpha() {
306
- return Math.round(this.alpha * 100) / 100;
307
- }
308
- }
309
- const s = class s {
310
- };
311
- a(s, "transparent", new o(0, 0, 0, 0)), a(s, "aliceblue", new o(240, 248, 255, 1)), a(s, "antiquewhite", new o(250, 235, 215, 1)), a(s, "aqua", new o(0, 255, 255, 1)), a(s, "aquamarine", new o(127, 255, 212, 1)), a(s, "azure", new o(240, 255, 255, 1)), a(s, "beige", new o(245, 245, 220, 1)), a(s, "bisque", new o(255, 228, 196, 1)), a(s, "black", new o(0, 0, 0, 1)), a(s, "blanchedalmond", new o(255, 235, 205, 1)), a(s, "blue", new o(0, 0, 255, 1)), a(s, "blueviolet", new o(138, 43, 226, 1)), a(s, "brown", new o(165, 42, 42, 1)), a(s, "burlywood", new o(222, 184, 135, 1)), a(s, "cadetblue", new o(95, 158, 160, 1)), a(s, "chartreuse", new o(127, 255, 0, 1)), a(s, "chocolate", new o(210, 105, 30, 1)), a(s, "coral", new o(255, 127, 80, 1)), a(s, "cornflowerblue", new o(100, 149, 237, 1)), a(s, "cornsilk", new o(255, 248, 220, 1)), a(s, "crimson", new o(220, 20, 60, 1)), a(s, "cyan", new o(0, 255, 255, 1)), a(s, "darkblue", new o(0, 0, 139, 1)), a(s, "darkcyan", new o(0, 139, 139, 1)), a(s, "darkgoldenrod", new o(184, 134, 11, 1)), a(s, "darkgray", new o(169, 169, 169, 1)), a(s, "darkgreen", new o(0, 100, 0, 1)), a(s, "darkgrey", s.darkgray), a(s, "darkkhaki", new o(189, 183, 107, 1)), a(s, "darkmagenta", new o(139, 0, 139, 1)), a(s, "darkolivegreen", new o(85, 107, 47, 1)), a(s, "darkorange", new o(255, 140, 0, 1)), a(s, "darkorchid", new o(153, 50, 204, 1)), a(s, "darkred", new o(139, 0, 0, 1)), a(s, "darksalmon", new o(233, 150, 122, 1)), a(s, "darkseagreen", new o(143, 188, 143, 1)), a(s, "darkslateblue", new o(72, 61, 139, 1)), a(s, "darkslategray", new o(47, 79, 79, 1)), a(s, "darkslategrey", s.darkslategray), a(s, "darkturquoise", new o(0, 206, 209, 1)), a(s, "darkviolet", new o(148, 0, 211, 1)), a(s, "deeppink", new o(255, 20, 147, 1)), a(s, "deepskyblue", new o(0, 191, 255, 1)), a(s, "dimgray", new o(105, 105, 105, 1)), a(s, "dimgrey", s.dimgray), a(s, "dodgerblue", new o(30, 144, 255, 1)), a(s, "firebrick", new o(178, 34, 34, 1)), a(s, "floralwhite", new o(255, 250, 240, 1)), a(s, "forestgreen", new o(34, 139, 34, 1)), a(s, "fuchsia", new o(255, 0, 255, 1)), a(s, "gainsboro", new o(220, 220, 220, 1)), a(s, "ghostwhite", new o(248, 248, 255, 1)), a(s, "gold", new o(255, 215, 0, 1)), a(s, "goldenrod", new o(218, 165, 32, 1)), a(s, "gray", new o(128, 128, 128, 1)), a(s, "grey", s.gray), a(s, "green", new o(0, 128, 0, 1)), a(s, "greenyellow", new o(173, 255, 47, 1)), a(s, "honeydew", new o(240, 255, 240, 1)), a(s, "hotpink", new o(255, 105, 180, 1)), a(s, "indianred", new o(205, 92, 92, 1)), a(s, "indigo", new o(75, 0, 130, 1)), a(s, "ivory", new o(255, 255, 240, 1)), a(s, "khaki", new o(240, 230, 140, 1)), a(s, "lavender", new o(230, 230, 250, 1)), a(s, "lavenderblush", new o(255, 240, 245, 1)), a(s, "lawngreen", new o(124, 252, 0, 1)), a(s, "lemonchiffon", new o(255, 250, 205, 1)), a(s, "lightblue", new o(173, 216, 230, 1)), a(s, "lightcoral", new o(240, 128, 128, 1)), a(s, "lightcyan", new o(224, 255, 255, 1)), a(s, "lightgoldenrodyellow", new o(250, 250, 210, 1)), a(s, "lightgray", new o(211, 211, 211, 1)), a(s, "lightgreen", new o(144, 238, 144, 1)), a(s, "lightgrey", s.lightgray), a(s, "lightpink", new o(255, 182, 193, 1)), a(s, "lightsalmon", new o(255, 160, 122, 1)), a(s, "lightseagreen", new o(32, 178, 170, 1)), a(s, "lightskyblue", new o(135, 206, 250, 1)), a(s, "lightslategray", new o(119, 136, 153, 1)), a(s, "lightslategrey", s.lightslategray), a(s, "lightsteelblue", new o(176, 196, 222, 1)), a(s, "lightyellow", new o(255, 255, 224, 1)), a(s, "lime", new o(0, 255, 0, 1)), a(s, "limegreen", new o(50, 205, 50, 1)), a(s, "linen", new o(250, 240, 230, 1)), a(s, "magenta", new o(255, 0, 255, 1)), a(s, "maroon", new o(128, 0, 0, 1)), a(s, "mediumaquamarine", new o(102, 205, 170, 1)), a(s, "mediumblue", new o(0, 0, 205, 1)), a(s, "mediumorchid", new o(186, 85, 211, 1)), a(s, "mediumpurple", new o(147, 112, 219, 1)), a(s, "mediumseagreen", new o(60, 179, 113, 1)), a(s, "mediumslateblue", new o(123, 104, 238, 1)), a(s, "mediumspringgreen", new o(0, 250, 154, 1)), a(s, "mediumturquoise", new o(72, 209, 204, 1)), a(s, "mediumvioletred", new o(199, 21, 133, 1)), a(s, "midnightblue", new o(25, 25, 112, 1)), a(s, "mintcream", new o(245, 255, 250, 1)), a(s, "mistyrose", new o(255, 228, 225, 1)), a(s, "moccasin", new o(255, 228, 181, 1)), a(s, "navajowhite", new o(255, 222, 173, 1)), a(s, "navy", new o(0, 0, 128, 1)), a(s, "oldlace", new o(253, 245, 230, 1)), a(s, "olive", new o(128, 128, 0, 1)), a(s, "olivedrab", new o(107, 142, 35, 1)), a(s, "orange", new o(255, 165, 0, 1)), a(s, "orangered", new o(255, 69, 0, 1)), a(s, "orchid", new o(218, 112, 214, 1)), a(s, "palegoldenrod", new o(238, 232, 170, 1)), a(s, "palegreen", new o(152, 251, 152, 1)), a(s, "paleturquoise", new o(175, 238, 238, 1)), a(s, "palevioletred", new o(219, 112, 147, 1)), a(s, "papayawhip", new o(255, 239, 213, 1)), a(s, "peachpuff", new o(255, 218, 185, 1)), a(s, "peru", new o(205, 133, 63, 1)), a(s, "pink", new o(255, 192, 203, 1)), a(s, "plum", new o(221, 160, 221, 1)), a(s, "powderblue", new o(176, 224, 230, 1)), a(s, "purple", new o(128, 0, 128, 1)), a(s, "red", new o(255, 0, 0, 1)), a(s, "rosybrown", new o(188, 143, 143, 1)), a(s, "royalblue", new o(65, 105, 225, 1)), a(s, "saddlebrown", new o(139, 69, 19, 1)), a(s, "salmon", new o(250, 128, 114, 1)), a(s, "sandybrown", new o(244, 164, 96, 1)), a(s, "seagreen", new o(46, 139, 87, 1)), a(s, "seashell", new o(255, 245, 238, 1)), a(s, "sienna", new o(160, 82, 45, 1)), a(s, "silver", new o(192, 192, 192, 1)), a(s, "skyblue", new o(135, 206, 235, 1)), a(s, "slateblue", new o(106, 90, 205, 1)), a(s, "slategray", new o(112, 128, 144, 1)), a(s, "slategrey", s.slategray), a(s, "snow", new o(255, 250, 250, 1)), a(s, "springgreen", new o(0, 255, 127, 1)), a(s, "steelblue", new o(70, 130, 180, 1)), a(s, "tan", new o(210, 180, 140, 1)), a(s, "teal", new o(0, 128, 128, 1)), a(s, "thistle", new o(216, 191, 216, 1)), a(s, "tomato", new o(255, 99, 71, 1)), a(s, "turquoise", new o(64, 224, 208, 1)), a(s, "violet", new o(238, 130, 238, 1)), a(s, "wheat", new o(245, 222, 179, 1)), a(s, "white", new o(255, 255, 255, 1)), a(s, "whitesmoke", new o(245, 245, 245, 1)), a(s, "yellow", new o(255, 255, 0, 1)), a(s, "yellowgreen", new o(154, 205, 50, 1));
312
- let Ee = s;
313
- class P {
314
- constructor(e) {
315
- /**
316
- * base color used to calculate other
317
- * default color
318
- * rgb(255, 0, 0)
319
- * hsl(0, 100%, 50%)
320
- * 初始色#ff0000
321
- */
322
- a(this, "hsva", new ae(0, 1, 1, 1));
323
- a(this, "rgba", new o(255, 0, 0, 1));
324
- e && this.stringToColor(e);
325
- }
326
- static from(e) {
327
- return typeof e == "string" ? new P(e) : e instanceof P ? e.clone() : e instanceof o ? new P().setRgba(e.red, e.green, e.blue, e.alpha) : e instanceof ae ? new P().setHsva(e.hue, e.saturation, e.value, e.alpha) : e instanceof ie ? new P().setHsla(e.hue, e.saturation, e.lightness, e.alpha) : null;
328
- }
329
- /**
330
- * make from existing color new color object
331
- */
332
- clone() {
333
- return P.from(this.getRgba());
334
- }
335
- /**
336
- * define Color from hex, rgb, rgba, hsl, hsla or cmyk string
337
- */
338
- setFromString(e) {
339
- return this.stringToColor(e);
340
- }
341
- /**
342
- * define Color from HSV values
343
- */
344
- setHsva(e, t = 100, n = 100, i = 1) {
345
- return e != null && (this.hsva.hue = e), t != null && (this.hsva.saturation = t), n != null && (this.hsva.value = n), i != null && (i = i > 1 ? 1 : i < 0 ? 0 : i, this.hsva.alpha = i), this.rgba = this.hsvaToRgba(this.hsva), this;
346
- }
347
- /**
348
- * define Color from RGBa
349
- */
350
- setRgba(e, t, n, i = 1) {
351
- return e != null && (this.rgba.red = e), t != null && (this.rgba.green = t), n != null && (this.rgba.blue = n), i != null && (i = i > 1 ? 1 : i < 0 ? 0 : i, this.rgba.alpha = i), this.hsva = this.rgbaToHsva(this.rgba), this;
352
- }
353
- /**
354
- * define Color from HSLa
355
- */
356
- setHsla(e, t, n, i = 1) {
357
- i != null && (i = i > 1 ? 1 : i < 0 ? 0 : i, this.rgba.alpha = i);
358
- const u = new ie(e, t, n, i);
359
- return this.rgba = this.hslaToRgba(u), this.hsva = this.rgbaToHsva(this.rgba), this;
360
- }
361
- /**
362
- * return hexadecimal value formatted as '#341d2a' or '#341d2aFF' if alhpa channel is enabled
363
- */
364
- toHexString(e = !1) {
365
- let t = "#" + (16777216 | this.rgba.getRed() << 16 | this.rgba.getGreen() << 8 | this.rgba.getBlue()).toString(16).substr(1);
366
- return e && (t += (256 | Math.round(this.rgba.alpha * 255)).toString(16).substr(1)), t.toUpperCase();
367
- }
368
- /**
369
- * return rgba string formatted as rgba(52, 29, 42, 1)
370
- */
371
- toRgbaString() {
372
- return this.rgba.toString();
373
- }
374
- /**
375
- * return rgb string formatted as rgb(52, 29, 42)
376
- */
377
- toRgbString() {
378
- return this.rgba.toString(!1);
379
- }
380
- /**
381
- * return hsla string formatted as hsla(327, 29%, 16%, 1)
382
- */
383
- toHslaString() {
384
- return this.getHsla().toString();
385
- }
386
- /**
387
- * return hsl string formatted as hsl(327, 29%, 16%)
388
- */
389
- toHslString() {
390
- return this.getHsla().toString(!1);
391
- }
392
- /**
393
- * return hsva string formatted as hsva(327, 29%, 16%, 100%)
394
- */
395
- toHsvaString() {
396
- return this.hsva.toString();
397
- }
398
- /**
399
- * return hsv string formatted as hsv(327, 29%, 16%)
400
- */
401
- toHsvString() {
402
- return this.hsva.toString(!1);
403
- }
404
- /**
405
- * return Cmyk string formatted as cmyk(100%, 100%, 100%, 100%)
406
- */
407
- toCmykString() {
408
- return this.getCmyk().toString();
409
- }
410
- getHsva() {
411
- return new ae(this.hsva.hue, this.hsva.saturation, this.hsva.value, this.hsva.alpha);
412
- }
413
- getRgba() {
414
- return new o(this.rgba.red, this.rgba.green, this.rgba.blue, this.rgba.alpha);
415
- }
416
- getHsla() {
417
- return this.rgbaToHsla(this.rgba);
418
- }
419
- getCmyk() {
420
- return this.rgbaToCmyk(this.rgba);
421
- }
422
- hsvaToHsla(e) {
423
- const { hue: t } = e, n = e.saturation / 100, i = e.value / 100, u = (2 - n) * e.value / 2, l = n * i / (u <= 1 ? u : 2 - u) || 0;
424
- return new ie(t, u * 100, l * 100, e.alpha);
425
- }
426
- hslaToHsva(e) {
427
- const { hue: t } = e, n = e.lightness / 100 * 2, i = e.saturation / 100 * (n <= 1 ? n : 2 - n), u = (n + i) / 2, l = 2 * i / (n + i) || 0;
428
- return new ae(t, l, u, e.alpha);
429
- }
430
- rgbaToHsva(e) {
431
- const t = e.red / 255, n = e.green / 255, i = e.blue / 255, { alpha: u } = e, l = Math.max(t, n, i), c = Math.min(t, n, i), g = l - c;
432
- let h = 0, p = l === 0 ? 0 : g / l, f = l;
433
- if (l !== c) {
434
- switch (l) {
435
- case t:
436
- h = (n - i) / g + (n < i ? 6 : 0);
437
- break;
438
- case n:
439
- h = 2 + (i - t) / g;
440
- break;
441
- case i:
442
- h = 4 + (t - n) / g;
443
- break;
444
- }
445
- h /= 6;
446
- }
447
- return h *= 360, p *= 100, f *= 100, new ae(h, p, f, u);
448
- }
449
- hsvaToRgba(e) {
450
- let t = 1, n = 0, i = 0;
451
- const u = e.saturation / 100, l = e.value / 100, { alpha: c } = e, g = e.hue / 60, h = Math.floor(g), p = g - h, f = (1 - u) * l, d = (1 - u * p) * l, b = (1 - u * (1 - p)) * l;
452
- switch (h) {
453
- case 6:
454
- case 0:
455
- t = l, n = b, i = f;
456
- break;
457
- case 1:
458
- t = d, n = l, i = f;
459
- break;
460
- case 2:
461
- t = f, n = l, i = b;
462
- break;
463
- case 3:
464
- t = f, n = d, i = l;
465
- break;
466
- case 4:
467
- t = b, n = f, i = l;
468
- break;
469
- case 5:
470
- t = l, n = f, i = d;
471
- break;
472
- }
473
- return t *= 255, n *= 255, i *= 255, new o(t, n, i, c);
474
- }
475
- rgbaToHsla(e) {
476
- const t = e.red / 255, n = e.green / 255, i = e.blue / 255, { alpha: u } = e, l = Math.max(t, n, i), c = Math.min(t, n, i);
477
- let g = 0, h = 0, p = (l + c) / 2;
478
- const f = l - c;
479
- if (l !== c) {
480
- switch (h = p > 0.5 ? f / (2 - l - c) : f / (l + c), l) {
481
- case t:
482
- g = (n - i) / f + (n < i ? 6 : 0);
483
- break;
484
- case n:
485
- g = (i - t) / f + 2;
486
- break;
487
- case i:
488
- g = (t - n) / f + 4;
489
- break;
490
- }
491
- g /= 6;
492
- }
493
- return g *= 360, h *= 100, p *= 100, new ie(g, h, p, u);
494
- }
495
- /**
496
- * convert rgb color from HSLa
497
- *
498
- * hue = 0 => 360
499
- * saturation = 0 => 1
500
- * lightness = 0 => 1
501
- */
502
- hslaToRgba(e) {
503
- const t = e.hue / 360, n = e.saturation / 100, i = e.lightness / 100, { alpha: u } = e;
504
- let l = i, c = i, g = i;
505
- if (n !== 0) {
506
- const h = i < 0.5 ? i * (1 + n) : i + n - i * n, p = 2 * i - h;
507
- l = this.hueToRgb(p, h, t + 1 / 3), c = this.hueToRgb(p, h, t), g = this.hueToRgb(p, h, t - 1 / 3);
508
- }
509
- return l *= 255, c *= 255, g *= 255, new o(l, c, g, u);
510
- }
511
- hueToRgb(e, t, n) {
512
- return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
513
- }
514
- /**
515
- * The Red, Green, Blue values are given in the range of 0..255,
516
- *
517
- * the red color(R) is calculated from the cyan(C) and black(K) colors,
518
- * the green color(G) is calculated from the magenta(M) and black(K) colors,
519
- * The blue color(B) is calculated from the yellow(Y) and black(K) colors.
520
- *
521
- * Below is the formula of CMYK to RGB convertion
522
- *
523
- * Red = 255 × 1 - min( (1 - Cyan ÷ 100) × (1 - Black) )
524
- * Green = 255 × 1 - min(1 - Magenta ÷ 100) × (1 - Black)
525
- * Blue = 255 × 1 - min(1 - Yellow ÷ 100) × (1 - Black)
526
- */
527
- cmykToRgba(e) {
528
- const t = e.black / 100, n = e.cyan / 100, i = e.magenta / 100, u = e.yellow / 100;
529
- let l = Math.min(1, (1 - n) * (1 - t)), c = Math.min(1, (1 - i) * (1 - t)), g = Math.min(1, (1 - u) * (1 - t));
530
- return l *= 255, c *= 255, g *= 255, new o(l, c, g, 1);
531
- }
532
- /**
533
- * The max number of R, G, B values are 255, first of all, we divided them by 255 to become the number
534
- * of 0~1, this ratio will be used in the calculation.
535
- * Rc = R ÷ 255
536
- * Gc = G ÷ 255
537
- * Bc = B ÷ 255
538
- * The black key(K) color could be many result, when we assume a black key value,
539
- * the other three colors(cyan, magenta, yellow) can be calculated.
540
- * we can calculate it from the red, green and blue colors, the max number of black key should be :
541
- * K = 1 - min(Rc, Gc, Bc);
542
- *
543
- * or we can assume we run out of the black ink, need use the remaining other three color inks to finish the printing job.
544
- * K = 0;
545
- *
546
- * The cyan color(C) is calculated from the red and black colors:
547
- * C = (1 - Rc - K) ÷ (1 - K)
548
- *
549
- * The magenta color (M) is calculated from the green and black colors:
550
- * M = (1 - Gr - K) ÷ (1 - K)
551
- *
552
- * The yellow color(Y) is calculated from the blue and black colors:
553
- * Y = (1 - Bc - K) ÷ ( 1 - K)
554
- */
555
- rgbaToCmyk(e) {
556
- const t = e.red / 255, n = e.green / 255, i = e.blue / 255;
557
- let u = 1 - t, l = 1 - n, c = 1 - i, g = Math.min(u, l, c);
558
- return g === 1 ? new we(0, 0, 0, 1) : (u = (u - g) / (1 - g), l = (l - g) / (1 - g), c = (c - g) / (1 - g), g *= 100, u *= 100, l *= 100, c *= 100, new we(u, l, c, g));
559
- }
560
- roundNumber(e) {
561
- return Math.round(e * 100) / 100;
562
- }
563
- stringToColor(e) {
564
- const t = e.replace(/ /g, "").toLowerCase();
565
- let n = Ee[e] || null;
566
- if (t[0] === "#") {
567
- let l = t.substr(1);
568
- const { length: c } = l;
569
- let g = 1, h;
570
- if (c === 3)
571
- h = l.split("").map((p) => p + p);
572
- else if (c === 6)
573
- h = l.match(/.{2}/g);
574
- else if (c === 8) {
575
- const p = l.substr(-2);
576
- l = l.substr(0, c - 2), g = this.roundNumber(parseInt(p || "FF", 16) / 255), h = l.match(/.{2}/g);
577
- }
578
- h && h.length === 3 && (n = new o(parseInt(h[0], 16), parseInt(h[1], 16), parseInt(h[2], 16), g));
579
- }
580
- const i = t.indexOf("("), u = t.indexOf(")");
581
- if (i !== -1 && u + 1 === t.length) {
582
- const l = t.substr(0, i), c = t.substr(i + 1, u - (i + 1)).split(",");
583
- let g = 1, h, p;
584
- switch (l) {
585
- case "rgba":
586
- g = parseFloat(c.pop());
587
- case "rgb":
588
- n = new o(parseInt(c[0], 10), parseInt(c[1], 10), parseInt(c[2], 10), g);
589
- break;
590
- case "hsla":
591
- g = parseFloat(c.pop());
592
- break;
593
- case "hsl":
594
- h = new ie(
595
- parseInt(c[0], 10),
596
- parseInt(c[1], 10),
597
- parseInt(c[2], 10),
598
- g
599
- ), n = this.hslaToRgba(h);
600
- break;
601
- case "cmyk":
602
- p = new we(
603
- parseInt(c[0], 10),
604
- parseInt(c[1], 10),
605
- parseInt(c[2], 10),
606
- parseInt(c[3], 10)
607
- ), n = this.cmykToRgba(p);
608
- break;
609
- }
610
- }
611
- return n && (this.rgba = n, this.hsva = this.rgbaToHsva(n)), this;
612
- }
613
- }
614
- var Me = function(r, e) {
615
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) {
616
- t.__proto__ = n;
617
- } || function(t, n) {
618
- for (var i in n)
619
- Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
620
- }, Me(r, e);
621
- };
622
- function te(r, e) {
623
- if (typeof e != "function" && e !== null)
624
- throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
625
- Me(r, e);
626
- function t() {
627
- this.constructor = r;
628
- }
629
- r.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
630
- }
631
- function He(r) {
632
- var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], n = 0;
633
- if (t)
634
- return t.call(r);
635
- if (r && typeof r.length == "number")
636
- return {
637
- next: function() {
638
- return r && n >= r.length && (r = void 0), { value: r && r[n++], done: !r };
639
- }
640
- };
641
- throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
642
- }
643
- function ue(r, e) {
644
- var t = typeof Symbol == "function" && r[Symbol.iterator];
645
- if (!t)
646
- return r;
647
- var n = t.call(r), i, u = [], l;
648
- try {
649
- for (; (e === void 0 || e-- > 0) && !(i = n.next()).done; )
650
- u.push(i.value);
651
- } catch (c) {
652
- l = { error: c };
653
- } finally {
654
- try {
655
- i && !i.done && (t = n.return) && t.call(n);
656
- } finally {
657
- if (l)
658
- throw l.error;
659
- }
660
- }
661
- return u;
662
- }
663
- function ce(r, e, t) {
664
- if (t || arguments.length === 2)
665
- for (var n = 0, i = e.length, u; n < i; n++)
666
- (u || !(n in e)) && (u || (u = Array.prototype.slice.call(e, 0, n)), u[n] = e[n]);
667
- return r.concat(u || Array.prototype.slice.call(e));
668
- }
669
- function Y(r) {
670
- return typeof r == "function";
671
- }
672
- function ze(r) {
673
- var e = function(n) {
674
- Error.call(n), n.stack = new Error().stack;
675
- }, t = r(e);
676
- return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
677
- }
678
- var be = ze(function(r) {
679
- return function(t) {
680
- r(this), this.message = t ? t.length + ` errors occurred during unsubscription:
681
- ` + t.map(function(n, i) {
682
- return i + 1 + ") " + n.toString();
683
- }).join(`
684
- `) : "", this.name = "UnsubscriptionError", this.errors = t;
685
- };
686
- });
687
- function Be(r, e) {
688
- if (r) {
689
- var t = r.indexOf(e);
690
- 0 <= t && r.splice(t, 1);
691
- }
692
- }
693
- var pe = function() {
694
- function r(e) {
695
- this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
696
- }
697
- return r.prototype.unsubscribe = function() {
698
- var e, t, n, i, u;
699
- if (!this.closed) {
700
- this.closed = !0;
701
- var l = this._parentage;
702
- if (l)
703
- if (this._parentage = null, Array.isArray(l))
704
- try {
705
- for (var c = He(l), g = c.next(); !g.done; g = c.next()) {
706
- var h = g.value;
707
- h.remove(this);
708
- }
709
- } catch (v) {
710
- e = { error: v };
711
- } finally {
712
- try {
713
- g && !g.done && (t = c.return) && t.call(c);
714
- } finally {
715
- if (e)
716
- throw e.error;
717
- }
718
- }
719
- else
720
- l.remove(this);
721
- var p = this.initialTeardown;
722
- if (Y(p))
723
- try {
724
- p();
725
- } catch (v) {
726
- u = v instanceof be ? v.errors : [v];
727
- }
728
- var f = this._finalizers;
729
- if (f) {
730
- this._finalizers = null;
731
- try {
732
- for (var d = He(f), b = d.next(); !b.done; b = d.next()) {
733
- var y = b.value;
734
- try {
735
- Ue(y);
736
- } catch (v) {
737
- u = u ?? [], v instanceof be ? u = ce(ce([], ue(u)), ue(v.errors)) : u.push(v);
738
- }
739
- }
740
- } catch (v) {
741
- n = { error: v };
742
- } finally {
743
- try {
744
- b && !b.done && (i = d.return) && i.call(d);
745
- } finally {
746
- if (n)
747
- throw n.error;
748
- }
749
- }
750
- }
751
- if (u)
752
- throw new be(u);
753
- }
754
- }, r.prototype.add = function(e) {
755
- var t;
756
- if (e && e !== this)
757
- if (this.closed)
758
- Ue(e);
759
- else {
760
- if (e instanceof r) {
761
- if (e.closed || e._hasParent(this))
762
- return;
763
- e._addParent(this);
764
- }
765
- (this._finalizers = (t = this._finalizers) !== null && t !== void 0 ? t : []).push(e);
766
- }
767
- }, r.prototype._hasParent = function(e) {
768
- var t = this._parentage;
769
- return t === e || Array.isArray(t) && t.includes(e);
770
- }, r.prototype._addParent = function(e) {
771
- var t = this._parentage;
772
- this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
773
- }, r.prototype._removeParent = function(e) {
774
- var t = this._parentage;
775
- t === e ? this._parentage = null : Array.isArray(t) && Be(t, e);
776
- }, r.prototype.remove = function(e) {
777
- var t = this._finalizers;
778
- t && Be(t, e), e instanceof r && e._removeParent(this);
779
- }, r.EMPTY = function() {
780
- var e = new r();
781
- return e.closed = !0, e;
782
- }(), r;
783
- }(), Je = pe.EMPTY;
784
- function Qe(r) {
785
- return r instanceof pe || r && "closed" in r && Y(r.remove) && Y(r.add) && Y(r.unsubscribe);
786
- }
787
- function Ue(r) {
788
- Y(r) ? r() : r.unsubscribe();
789
- }
790
- var Ze = {
791
- onUnhandledError: null,
792
- onStoppedNotification: null,
793
- Promise: void 0,
794
- useDeprecatedSynchronousErrorHandling: !1,
795
- useDeprecatedNextContext: !1
796
- }, Oe = {
797
- setTimeout: function(r, e) {
798
- for (var t = [], n = 2; n < arguments.length; n++)
799
- t[n - 2] = arguments[n];
800
- var i = Oe.delegate;
801
- return i != null && i.setTimeout ? i.setTimeout.apply(i, ce([r, e], ue(t))) : setTimeout.apply(void 0, ce([r, e], ue(t)));
802
- },
803
- clearTimeout: function(r) {
804
- var e = Oe.delegate;
805
- return ((e == null ? void 0 : e.clearTimeout) || clearTimeout)(r);
806
- },
807
- delegate: void 0
808
- };
809
- function Vt(r) {
810
- Oe.setTimeout(function() {
811
- throw r;
812
- });
813
- }
814
- function Le() {
815
- }
816
- function le(r) {
817
- r();
818
- }
819
- var Ie = function(r) {
820
- te(e, r);
821
- function e(t) {
822
- var n = r.call(this) || this;
823
- return n.isStopped = !1, t ? (n.destination = t, Qe(t) && t.add(n)) : n.destination = It, n;
824
- }
825
- return e.create = function(t, n, i) {
826
- return new Ve(t, n, i);
827
- }, e.prototype.next = function(t) {
828
- this.isStopped || this._next(t);
829
- }, e.prototype.error = function(t) {
830
- this.isStopped || (this.isStopped = !0, this._error(t));
831
- }, e.prototype.complete = function() {
832
- this.isStopped || (this.isStopped = !0, this._complete());
833
- }, e.prototype.unsubscribe = function() {
834
- this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
835
- }, e.prototype._next = function(t) {
836
- this.destination.next(t);
837
- }, e.prototype._error = function(t) {
838
- try {
839
- this.destination.error(t);
840
- } finally {
841
- this.unsubscribe();
842
- }
843
- }, e.prototype._complete = function() {
844
- try {
845
- this.destination.complete();
846
- } finally {
847
- this.unsubscribe();
848
- }
849
- }, e;
850
- }(pe), $t = Function.prototype.bind;
851
- function ke(r, e) {
852
- return $t.call(r, e);
853
- }
854
- var At = function() {
855
- function r(e) {
856
- this.partialObserver = e;
857
- }
858
- return r.prototype.next = function(e) {
859
- var t = this.partialObserver;
860
- if (t.next)
861
- try {
862
- t.next(e);
863
- } catch (n) {
864
- oe(n);
865
- }
866
- }, r.prototype.error = function(e) {
867
- var t = this.partialObserver;
868
- if (t.error)
869
- try {
870
- t.error(e);
871
- } catch (n) {
872
- oe(n);
873
- }
874
- else
875
- oe(e);
876
- }, r.prototype.complete = function() {
877
- var e = this.partialObserver;
878
- if (e.complete)
879
- try {
880
- e.complete();
881
- } catch (t) {
882
- oe(t);
883
- }
884
- }, r;
885
- }(), Ve = function(r) {
886
- te(e, r);
887
- function e(t, n, i) {
888
- var u = r.call(this) || this, l;
889
- if (Y(t) || !t)
890
- l = {
891
- next: t ?? void 0,
892
- error: n ?? void 0,
893
- complete: i ?? void 0
894
- };
895
- else {
896
- var c;
897
- u && Ze.useDeprecatedNextContext ? (c = Object.create(t), c.unsubscribe = function() {
898
- return u.unsubscribe();
899
- }, l = {
900
- next: t.next && ke(t.next, c),
901
- error: t.error && ke(t.error, c),
902
- complete: t.complete && ke(t.complete, c)
903
- }) : l = t;
904
- }
905
- return u.destination = new At(l), u;
906
- }
907
- return e;
908
- }(Ie);
909
- function oe(r) {
910
- Vt(r);
911
- }
912
- function xt(r) {
913
- throw r;
914
- }
915
- var It = {
916
- closed: !0,
917
- next: Le,
918
- error: xt,
919
- complete: Le
920
- }, Nt = function() {
921
- return typeof Symbol == "function" && Symbol.observable || "@@observable";
922
- }();
923
- function Ke(r) {
924
- return r;
925
- }
926
- function jt(r) {
927
- return r.length === 0 ? Ke : r.length === 1 ? r[0] : function(t) {
928
- return r.reduce(function(n, i) {
929
- return i(n);
930
- }, t);
931
- };
932
- }
933
- var Re = function() {
934
- function r(e) {
935
- e && (this._subscribe = e);
936
- }
937
- return r.prototype.lift = function(e) {
938
- var t = new r();
939
- return t.source = this, t.operator = e, t;
940
- }, r.prototype.subscribe = function(e, t, n) {
941
- var i = this, u = Ut(e) ? e : new Ve(e, t, n);
942
- return le(function() {
943
- var l = i, c = l.operator, g = l.source;
944
- u.add(c ? c.call(u, g) : g ? i._subscribe(u) : i._trySubscribe(u));
945
- }), u;
946
- }, r.prototype._trySubscribe = function(e) {
947
- try {
948
- return this._subscribe(e);
949
- } catch (t) {
950
- e.error(t);
951
- }
952
- }, r.prototype.forEach = function(e, t) {
953
- var n = this;
954
- return t = Fe(t), new t(function(i, u) {
955
- var l = new Ve({
956
- next: function(c) {
957
- try {
958
- e(c);
959
- } catch (g) {
960
- u(g), l.unsubscribe();
961
- }
962
- },
963
- error: u,
964
- complete: i
965
- });
966
- n.subscribe(l);
967
- });
968
- }, r.prototype._subscribe = function(e) {
969
- var t;
970
- return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e);
971
- }, r.prototype[Nt] = function() {
972
- return this;
973
- }, r.prototype.pipe = function() {
974
- for (var e = [], t = 0; t < arguments.length; t++)
975
- e[t] = arguments[t];
976
- return jt(e)(this);
977
- }, r.prototype.toPromise = function(e) {
978
- var t = this;
979
- return e = Fe(e), new e(function(n, i) {
980
- var u;
981
- t.subscribe(function(l) {
982
- return u = l;
983
- }, function(l) {
984
- return i(l);
985
- }, function() {
986
- return n(u);
987
- });
988
- });
989
- }, r.create = function(e) {
990
- return new r(e);
991
- }, r;
992
- }();
993
- function Fe(r) {
994
- var e;
995
- return (e = r ?? Ze.Promise) !== null && e !== void 0 ? e : Promise;
996
- }
997
- function Dt(r) {
998
- return r && Y(r.next) && Y(r.error) && Y(r.complete);
999
- }
1000
- function Ut(r) {
1001
- return r && r instanceof Ie || Dt(r) && Qe(r);
1002
- }
1003
- function Lt(r) {
1004
- return Y(r == null ? void 0 : r.lift);
1005
- }
1006
- function Rt(r) {
1007
- return function(e) {
1008
- if (Lt(e))
1009
- return e.lift(function(t) {
1010
- try {
1011
- return r(t, this);
1012
- } catch (n) {
1013
- this.error(n);
1014
- }
1015
- });
1016
- throw new TypeError("Unable to lift unknown Observable type");
1017
- };
1018
- }
1019
- function Ft(r, e, t, n, i) {
1020
- return new Ct(r, e, t, n, i);
1021
- }
1022
- var Ct = function(r) {
1023
- te(e, r);
1024
- function e(t, n, i, u, l, c) {
1025
- var g = r.call(this, t) || this;
1026
- return g.onFinalize = l, g.shouldUnsubscribe = c, g._next = n ? function(h) {
1027
- try {
1028
- n(h);
1029
- } catch (p) {
1030
- t.error(p);
1031
- }
1032
- } : r.prototype._next, g._error = u ? function(h) {
1033
- try {
1034
- u(h);
1035
- } catch (p) {
1036
- t.error(p);
1037
- } finally {
1038
- this.unsubscribe();
1039
- }
1040
- } : r.prototype._error, g._complete = i ? function() {
1041
- try {
1042
- i();
1043
- } catch (h) {
1044
- t.error(h);
1045
- } finally {
1046
- this.unsubscribe();
1047
- }
1048
- } : r.prototype._complete, g;
1049
- }
1050
- return e.prototype.unsubscribe = function() {
1051
- var t;
1052
- if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
1053
- var n = this.closed;
1054
- r.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
1055
- }
1056
- }, e;
1057
- }(Ie), qt = ze(function(r) {
1058
- return function() {
1059
- r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1060
- };
1061
- }), Ne = function(r) {
1062
- te(e, r);
1063
- function e() {
1064
- var t = r.call(this) || this;
1065
- return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
1066
- }
1067
- return e.prototype.lift = function(t) {
1068
- var n = new Ce(this, this);
1069
- return n.operator = t, n;
1070
- }, e.prototype._throwIfClosed = function() {
1071
- if (this.closed)
1072
- throw new qt();
1073
- }, e.prototype.next = function(t) {
1074
- var n = this;
1075
- le(function() {
1076
- var i, u;
1077
- if (n._throwIfClosed(), !n.isStopped) {
1078
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
1079
- try {
1080
- for (var l = He(n.currentObservers), c = l.next(); !c.done; c = l.next()) {
1081
- var g = c.value;
1082
- g.next(t);
1083
- }
1084
- } catch (h) {
1085
- i = { error: h };
1086
- } finally {
1087
- try {
1088
- c && !c.done && (u = l.return) && u.call(l);
1089
- } finally {
1090
- if (i)
1091
- throw i.error;
1092
- }
1093
- }
1094
- }
1095
- });
1096
- }, e.prototype.error = function(t) {
1097
- var n = this;
1098
- le(function() {
1099
- if (n._throwIfClosed(), !n.isStopped) {
1100
- n.hasError = n.isStopped = !0, n.thrownError = t;
1101
- for (var i = n.observers; i.length; )
1102
- i.shift().error(t);
1103
- }
1104
- });
1105
- }, e.prototype.complete = function() {
1106
- var t = this;
1107
- le(function() {
1108
- if (t._throwIfClosed(), !t.isStopped) {
1109
- t.isStopped = !0;
1110
- for (var n = t.observers; n.length; )
1111
- n.shift().complete();
1112
- }
1113
- });
1114
- }, e.prototype.unsubscribe = function() {
1115
- this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1116
- }, Object.defineProperty(e.prototype, "observed", {
1117
- get: function() {
1118
- var t;
1119
- return ((t = this.observers) === null || t === void 0 ? void 0 : t.length) > 0;
1120
- },
1121
- enumerable: !1,
1122
- configurable: !0
1123
- }), e.prototype._trySubscribe = function(t) {
1124
- return this._throwIfClosed(), r.prototype._trySubscribe.call(this, t);
1125
- }, e.prototype._subscribe = function(t) {
1126
- return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
1127
- }, e.prototype._innerSubscribe = function(t) {
1128
- var n = this, i = this, u = i.hasError, l = i.isStopped, c = i.observers;
1129
- return u || l ? Je : (this.currentObservers = null, c.push(t), new pe(function() {
1130
- n.currentObservers = null, Be(c, t);
1131
- }));
1132
- }, e.prototype._checkFinalizedStatuses = function(t) {
1133
- var n = this, i = n.hasError, u = n.thrownError, l = n.isStopped;
1134
- i ? t.error(u) : l && t.complete();
1135
- }, e.prototype.asObservable = function() {
1136
- var t = new Re();
1137
- return t.source = this, t;
1138
- }, e.create = function(t, n) {
1139
- return new Ce(t, n);
1140
- }, e;
1141
- }(Re), Ce = function(r) {
1142
- te(e, r);
1143
- function e(t, n) {
1144
- var i = r.call(this) || this;
1145
- return i.destination = t, i.source = n, i;
1146
- }
1147
- return e.prototype.next = function(t) {
1148
- var n, i;
1149
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, t);
1150
- }, e.prototype.error = function(t) {
1151
- var n, i;
1152
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, t);
1153
- }, e.prototype.complete = function() {
1154
- var t, n;
1155
- (n = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || n === void 0 || n.call(t);
1156
- }, e.prototype._subscribe = function(t) {
1157
- var n, i;
1158
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t)) !== null && i !== void 0 ? i : Je;
1159
- }, e;
1160
- }(Ne), qe = function(r) {
1161
- te(e, r);
1162
- function e(t) {
1163
- var n = r.call(this) || this;
1164
- return n._value = t, n;
1165
- }
1166
- return Object.defineProperty(e.prototype, "value", {
1167
- get: function() {
1168
- return this.getValue();
1169
- },
1170
- enumerable: !1,
1171
- configurable: !0
1172
- }), e.prototype._subscribe = function(t) {
1173
- var n = r.prototype._subscribe.call(this, t);
1174
- return !n.closed && t.next(this._value), n;
1175
- }, e.prototype.getValue = function() {
1176
- var t = this, n = t.hasError, i = t.thrownError, u = t._value;
1177
- if (n)
1178
- throw i;
1179
- return this._throwIfClosed(), u;
1180
- }, e.prototype.next = function(t) {
1181
- r.prototype.next.call(this, this._value = t);
1182
- }, e;
1183
- }(Ne);
1184
- function Yt(r, e) {
1185
- return e === void 0 && (e = Ke), r = r ?? Xt, Rt(function(t, n) {
1186
- var i, u = !0;
1187
- t.subscribe(Ft(n, function(l) {
1188
- var c = e(l);
1189
- (u || !r(i, c)) && (u = !1, i = c, n.next(l));
1190
- }));
1191
- });
1192
- }
1193
- function Xt(r, e) {
1194
- return r === e;
1195
- }
1196
- var A = /* @__PURE__ */ ((r) => (r.hex = "hex", r.hexa = "hexa", r.rgba = "rgba", r.rgb = "rgb", r.hsla = "hsla", r.hsl = "hsl", r.cmyk = "cmyk", r))(A || {});
1197
- class je {
1198
- constructor(e) {
1199
- /** 所选颜色值 */
1200
- a(this, "modelValue", null);
1201
- /** 色调颜色值 */
1202
- a(this, "hueValue", null);
1203
- /** 初始颜色值 */
1204
- a(this, "initValue", null);
1205
- a(this, "valueChanged", new Ne());
1206
- a(this, "presetsVisibilityChanges", new qe(!0));
1207
- a(this, "initType", null);
1208
- a(this, "alphaChannelVisibilityChanges", new qe(!0));
1209
- a(this, "valueChanges", this.valueChanged.asObservable().pipe(Yt(
1210
- (e, t) => e.toRgbaString() === t.toRgbaString()
1211
- )));
1212
- a(this, "colorPresets", []);
1213
- const t = e[0], n = P.from(t);
1214
- this.setValue(n), this.setHueColor(n);
1215
- }
1216
- /** 设置值 */
1217
- setValueFrom(e, t, n) {
1218
- const i = P.from(e);
1219
- return this.initValue || (this.initValue = P.from(e)), typeof e == "string" && this.finOutInputType(e), this.setHueColor(i), this.setValue(i), this;
1220
- }
1221
- setHueColor(e) {
1222
- (this.hueValue && e.getHsva().hue > 0 || !this.hueValue) && (this.hueValue = new P().setHsva(e.getHsva().hue));
1223
- }
1224
- get hue() {
1225
- return this.hueValue;
1226
- }
1227
- set hue(e) {
1228
- this.hueValue = e;
1229
- }
1230
- setValue(e) {
1231
- return this.modelValue = e, this.valueChanged.next(e), this;
1232
- }
1233
- get value() {
1234
- return this.modelValue;
1235
- }
1236
- set value(e) {
1237
- this.setValue(e);
1238
- }
1239
- reset() {
1240
- let e;
1241
- return this.initValue ? (e = this.initValue.clone(), this.setHueColor(e)) : (e = P.from(new o(255, 0, 0, 1)), this.hueValue = new P().setHsva(e.getHsva().hue)), this.setValue(e), this;
1242
- }
1243
- showAlphaChannel() {
1244
- return this.alphaChannelVisibilityChanges.next(!0), this;
1245
- }
1246
- finOutInputType(e) {
1247
- const t = e.replace(/ /g, "").toLowerCase();
1248
- t[0] === "#" && (this.initType = "hex", t.length > 7 && (this.initType = "hexa"));
1249
- const n = t.indexOf("(");
1250
- switch (t.substr(0, n)) {
1251
- case "rgba":
1252
- this.initType = "rgba";
1253
- break;
1254
- case "rgb":
1255
- this.initType = "rgb";
1256
- break;
1257
- case "hsla":
1258
- this.initType = "hsla";
1259
- break;
1260
- case "hsl":
1261
- this.initType = "hsl";
1262
- break;
1263
- case "cmyk":
1264
- this.initType = "cmyk";
1265
- break;
1266
- }
1267
- }
1268
- /** 设置预定义颜色 */
1269
- setColorPresets(e) {
1270
- return this.colorPresets = this.setPresets(e), this;
1271
- }
1272
- setPresets(e) {
1273
- const t = [];
1274
- return e.map((n) => {
1275
- Array.isArray(n) ? t.push(this.setPresets(n)) : t.push(new P(n));
1276
- }), t;
1277
- }
1278
- get presets() {
1279
- return this.colorPresets;
1280
- }
1281
- hasPresets() {
1282
- return this.colorPresets.length > 0;
1283
- }
1284
- }
1285
- /** 确定输入颜色类型 */
1286
- a(je, "finOutInputType");
1287
- function j(r, e) {
1288
- switch (e) {
1289
- case A.hex:
1290
- return r.toHexString();
1291
- case A.hexa:
1292
- return r.toHexString(!0);
1293
- case A.rgb:
1294
- return r.toRgbString();
1295
- case A.rgba:
1296
- return r.toRgbaString();
1297
- case A.hsl:
1298
- return r.toHslString();
1299
- case A.hsla:
1300
- return r.toHslaString();
1301
- default:
1302
- return r.toRgbaString();
1303
- }
1304
- }
1305
- const Wt = {
1306
- color: { type: Object, default: "" },
1307
- hue: { type: Object, default: "" },
1308
- randomId: { type: String, default: "" },
1309
- allowColorNull: { type: Boolean, default: !1 }
1310
- }, Te = /* @__PURE__ */ ee({
1311
- name: "SvPanel",
1312
- props: Wt,
1313
- emits: ["update:color"],
1314
- setup(r, e) {
1315
- const t = S(null), n = S(null), i = S(r.randomId), u = S(r.allowColorNull);
1316
- function l() {
1317
- return r.hue ? r.hue.toRgbaString() : "#3f51b5";
1318
- }
1319
- function c(f, d) {
1320
- var b, y;
1321
- f = Math.max(0, Math.min(f, 100)), d = Math.max(0, Math.min(d, 100)), t.value && ((b = t.value.style) == null || b.setProperty("top", `${100 - d}%`), (y = t.value.style) == null || y.setProperty("left", `${f}%`));
1322
- }
1323
- function g() {
1324
- const f = document.getElementById(`farris-color-picker-plus-sure-${i.value}`);
1325
- f.className = "btn btn-secondary";
1326
- const d = document.getElementById(`farris-color-picker-plus-input-${i.value}`);
1327
- d.style.borderColor = "#dcdfe6";
1328
- }
1329
- function h({
1330
- x: f,
1331
- y: d,
1332
- height: b,
1333
- width: y
1334
- }) {
1335
- const v = f * 100 / y, V = -(d * 100 / b) + 100;
1336
- c(v, V);
1337
- const E = r.color == null ? "transparent" : r.color, H = P.from(E);
1338
- if (g(), H != null) {
1339
- const x = r.hue.getHsva(), D = H.getHsva(), N = new P().setHsva(x.hue, v, V, D.alpha);
1340
- e.emit("update:color", N);
1341
- }
1342
- !H && u.value && e.emit("update:color", null);
1343
- }
1344
- function p(f) {
1345
- if (n.value) {
1346
- const {
1347
- width: d,
1348
- height: b,
1349
- top: y,
1350
- left: v
1351
- } = n.value.getBoundingClientRect(), {
1352
- pageX: V,
1353
- pageY: E
1354
- } = "touches" in f ? f.touches[0] : f, H = Math.max(0, Math.min(V - (v + window.pageXOffset), d)), x = Math.max(0, Math.min(E - (y + window.pageYOffset), b));
1355
- h({
1356
- x: H,
1357
- y: x,
1358
- height: b,
1359
- width: d
1360
- });
1361
- }
1362
- }
1363
- return T(() => {
1364
- const f = r.color.getHsva();
1365
- c(f.saturation, f.value);
1366
- }), C(() => r.color, (f) => {
1367
- f.getHsva();
1368
- }), C(() => r.color, (f) => {
1369
- const d = f.getHsva();
1370
- c(d.saturation, d.value);
1371
- }), () => k("div", {
1372
- class: "f-sv-panel-component",
1373
- ref: n,
1374
- style: {
1375
- backgroundColor: l()
1376
- },
1377
- onMousedown: _((f) => p(f), ["prevent"]),
1378
- onTouchstart: _((f) => p(f), ["prevent"])
1379
- }, [k("div", {
1380
- class: "color-svpanel__white"
1381
- }, null), k("div", {
1382
- class: "color-svpanel__black"
1383
- }, null), k("div", {
1384
- class: "color-svpanel__cursor",
1385
- ref: t
1386
- }, [k("div", null, null)])]);
1387
- }
1388
- }), Gt = {
1389
- color: { type: Object, default: "" },
1390
- hue: { type: Object, default: "" },
1391
- allowColorNull: { type: Boolean, default: !1 },
1392
- onChange: { type: Function }
1393
- }, _e = /* @__PURE__ */ ee({
1394
- name: "Hue",
1395
- props: Gt,
1396
- emits: ["update:color", "update:hue"],
1397
- setup(r, e) {
1398
- const t = S(r.hue), n = S(r.allowColorNull), i = [];
1399
- function u(y) {
1400
- y.preventDefault(), c(y);
1401
- }
1402
- const l = S(null);
1403
- function c(y) {
1404
- if (l.value) {
1405
- const {
1406
- width: v,
1407
- height: V,
1408
- top: E,
1409
- left: H
1410
- } = l.value.getBoundingClientRect(), {
1411
- pageX: x,
1412
- pageY: D
1413
- } = "touches" in y ? y.touches[0] : y, N = Math.max(0, Math.min(x - (H + window.pageXOffset), v)), M = Math.max(0, Math.min(D - (E + window.pageYOffset), V));
1414
- b({
1415
- x: N,
1416
- y: M,
1417
- height: V,
1418
- width: v
1419
- });
1420
- }
1421
- }
1422
- function g() {
1423
- i.forEach((y) => y()), i.length = 0;
1424
- }
1425
- function h(y) {
1426
- u(y), document.addEventListener("mouseup", g), document.addEventListener("touchend", g), document.addEventListener("touchmove", u);
1427
- }
1428
- const p = (y) => {
1429
- h(y), y.stopPropagation();
1430
- };
1431
- T(() => {
1432
- document.querySelectorAll(".f-hue-component").forEach((V) => {
1433
- V.addEventListener("mousedown", p), V.addEventListener("touchstart", p);
1434
- });
1435
- const v = r.color.getHsva();
1436
- d(v.hue);
1437
- });
1438
- const f = S(null);
1439
- function d(y) {
1440
- var E;
1441
- const v = Math.max(0, Math.min(y / 360 * 100, 100)), V = "top";
1442
- f.value && ((E = f.value.style) == null || E.setProperty(V, `${v}%`));
1443
- }
1444
- function b({
1445
- x: y,
1446
- y: v,
1447
- height: V,
1448
- width: E
1449
- }) {
1450
- const H = v / V * 360;
1451
- d(H);
1452
- const x = r.color.getHsva(), D = new P().setHsva(H, x.saturation, x.value, x.alpha), N = new P().setHsva(H, 100, 100, x.alpha);
1453
- (r.color != null || r.color == null && n.value) && (e.emit("update:hue", N), e.emit("update:color", D));
1454
- }
1455
- return C(t, (y) => {
1456
- const v = y.getHsva();
1457
- d(v.hue);
1458
- }), C(() => r.color, (y) => {
1459
- const v = y.getHsva();
1460
- d(v.hue);
1461
- }), () => k("div", {
1462
- class: "f-hue-component",
1463
- ref: l,
1464
- onMousedown: _((y) => c(y), ["prevent"]),
1465
- onTouchstart: _((y) => c(y), ["prevent"])
1466
- }, [k("div", {
1467
- class: "color-hue-slider__bar"
1468
- }, null), k("div", {
1469
- class: "color-hue-slider__thumb",
1470
- ref: f
1471
- }, null)]);
1472
- }
1473
- }), zt = {
1474
- color: { type: Object, default: "" },
1475
- randomId: { type: String, default: "" },
1476
- allowColorNull: { type: Boolean, default: !1 }
1477
- }, et = /* @__PURE__ */ ee({
1478
- name: "Alpha",
1479
- props: zt,
1480
- emits: ["update:color"],
1481
- setup(r, e) {
1482
- const t = S(null), n = S(null), i = S(r.randomId), u = S(r.allowColorNull), l = (p) => {
1483
- var b;
1484
- const f = Math.max(0, Math.min(p * 100, 100)), d = "left";
1485
- n.value && ((b = n.value.style) == null || b.setProperty(d, `${f}%`));
1486
- };
1487
- function c(p) {
1488
- if (t.value) {
1489
- const {
1490
- width: f,
1491
- height: d,
1492
- top: b,
1493
- left: y
1494
- } = t.value.getBoundingClientRect(), {
1495
- pageX: v,
1496
- pageY: V
1497
- } = "touches" in p ? p.touches[0] : p, E = Math.max(0, Math.min(v - (y + window.pageXOffset), f)), H = Math.max(0, Math.min(V - (b + window.pageYOffset), d));
1498
- h({
1499
- x: E,
1500
- y: H,
1501
- height: d,
1502
- width: f
1503
- });
1504
- }
1505
- }
1506
- function g() {
1507
- const p = document.getElementById(`farris-color-picker-plus-sure-${i.value}`);
1508
- p.className = "btn btn-secondary";
1509
- const f = document.getElementById(`farris-color-picker-plus-input-${i.value}`);
1510
- f.style.borderColor = "#dcdfe6";
1511
- }
1512
- const h = ({
1513
- x: p,
1514
- width: f
1515
- }) => {
1516
- const d = p / f;
1517
- l(d), g();
1518
- const b = r.color.getHsva(), y = new P().setHsva(b.hue, b.saturation, b.value, d);
1519
- r.color != null ? e.emit("update:color", y) : r.color == null && u.value && e.emit("update:color", null);
1520
- };
1521
- return T(() => {
1522
- const p = r.color.getHsva();
1523
- l(p.alpha);
1524
- }), C(() => r.color, (p) => {
1525
- const f = p.getHsva();
1526
- l(f.alpha);
1527
- }), () => k("div", {
1528
- class: "f-alpha-component",
1529
- ref: t,
1530
- onMousedown: _((p) => c(p), ["prevent"]),
1531
- onTouchstart: _((p) => c(p), ["prevent"])
1532
- }, [k("div", {
1533
- class: "color-alpha-slider__bar"
1534
- }, [$e(" ")]), k("div", {
1535
- class: "color-alpha-slider__thumb",
1536
- ref: n
1537
- }, null)]);
1538
- }
1539
- }), Jt = {
1540
- color: { type: Object, default: "" },
1541
- hue: { type: Object, default: "" },
1542
- colorPresets: { type: Object, default: "" },
1543
- randomId: { type: String, default: "" }
1544
- }, tt = /* @__PURE__ */ ee({
1545
- name: "Preset",
1546
- props: Jt,
1547
- emits: ["update:hue", "update:color"],
1548
- setup(r, e) {
1549
- const t = S(new P()), n = S(r.colorPresets), i = S(r.randomId);
1550
- function u() {
1551
- const h = document.getElementById(`farris-color-picker-plus-sure-${i.value}`);
1552
- h.className = "btn btn-secondary";
1553
- const p = document.getElementById(`farris-color-picker-plus-input-${i.value}`);
1554
- p.style.borderColor = "#dcdfe6";
1555
- }
1556
- function l(h) {
1557
- u();
1558
- const p = h.getRgba(), f = h.getHsva(), d = new P().setRgba(p.red, p.green, p.blue, p.alpha), b = new P().setHsva(f.hue);
1559
- t.value = h, e.emit("update:hue", b), e.emit("update:color", d);
1560
- }
1561
- function c(h) {
1562
- const p = t.value.getRgba().toString(), f = t.value.getHsva().toString(), d = h.getRgba().toString() === p && h.getHsva().toString() === f;
1563
- return {
1564
- "color-preset__color-selector": d,
1565
- selected: d
1566
- };
1567
- }
1568
- function g(h, p) {
1569
- return k("div", {
1570
- class: "color-preset__color-selector"
1571
- }, [k("div", {
1572
- key: p,
1573
- class: c(h),
1574
- style: {
1575
- backgroundColor: h.toRgbString()
1576
- },
1577
- onClick: () => l(h)
1578
- }, null)]);
1579
- }
1580
- return () => k("div", {
1581
- class: "f-preset-component"
1582
- }, [k("div", {
1583
- class: "color-preset__colors"
1584
- }, [n.value.map((h, p) => g(h, p))])]);
1585
- }
1586
- }), Se = /* @__PURE__ */ ee({
1587
- name: "FColorPicker",
1588
- props: xe,
1589
- emits: ["valueChanged", "activeChange", "update:color", "update:hue"],
1590
- setup(r, e) {
1591
- const t = S(new P(r.color)), n = S(r.color), i = S(r.disabled), u = S(r.color), l = S(r.allowColorNull), c = S(r.presets), g = S(!1), h = S(!1), p = S(!1), f = S("HEX"), d = Math.floor(Math.random() * 1e3).toString();
1592
- let b = -1, y, v = new je("#000000");
1593
- const V = S(r.color);
1594
- let E, H;
1595
- const x = S(null), D = S(null), N = S(null);
1596
- let M = U(() => !y && v && v.initType ? v.initType : y);
1597
- const B = U({
1598
- get() {
1599
- return y && n.value !== null ? (re(y), j(new P(n.value), A[y])) : n.value;
1600
- },
1601
- set(w) {
1602
- w !== null && (q(w), Q(w));
1603
- }
1604
- }), $ = S(B.value), I = U(() => b > -1), X = U(() => c.value.length > 0), L = U(() => ({
1605
- "background-color": u.value
1606
- })), z = U(() => h.value && g.value ? "display:flex" : "display:none"), J = [{
1607
- text: "HEX",
1608
- type: A.hex
1609
- }, {
1610
- text: "RGBA",
1611
- type: A.rgba
1612
- }];
1613
- function fe() {
1614
- const w = document.getElementById("farris-color-picker-panel");
1615
- w.id = `farris-color-picker-panel-${d}`;
1616
- const m = document.getElementById("farris-color-picker-plus-sure");
1617
- m.id = `farris-color-picker-plus-sure-${d}`;
1618
- const O = document.getElementById("farris-color-picker-plus-input");
1619
- O.id = `farris-color-picker-plus-input-${d}`, H = document.getElementById(`farris-color-picker-plus-sure-${d}`), E = document.getElementById(`farris-color-picker-panel-${d}`), E.className = "color-picker-panel disabled";
1620
- }
1621
- function G() {
1622
- if (!l.value && !n.value) {
1623
- document.getElementById(`farris-color-picker-plus-sure-${d}`).classList.toggle("disabled");
1624
- const m = document.getElementById(`farris-color-picker-plus-input-${d}`);
1625
- m.style.borderColor = "red";
1626
- }
1627
- }
1628
- function de() {
1629
- n.value && (q(n.value), !n.value && l.value || (n.value = j(new P(n.value), A[M.value])), $.value = B.value), ne(re(v.initType));
1630
- }
1631
- function se() {
1632
- n.value && q(n.value), v.hasPresets() || v.setColorPresets(c.value), n.value ? u.value = j(new P(n.value), A[M.value]) : !n.value && l.value && (u.value = null);
1633
- }
1634
- function ve() {
1635
- v.valueChanges.subscribe((w) => {
1636
- const m = j(w, A[y || v.initType]);
1637
- n.value = m;
1638
- });
1639
- }
1640
- function ne(w) {
1641
- f.value = J[w].text;
1642
- }
1643
- function ge() {
1644
- var w;
1645
- h.value = !!(y != null && y.includes("a") || (w = v.initType) != null && w.includes("a"));
1646
- }
1647
- Ye(() => {
1648
- v.setColorPresets(c.value || ["#eaecf3"]);
1649
- }), T(() => {
1650
- fe(), G(), de(), se();
1651
- }), C(f, () => {
1652
- ve(), B.value = j(new P(n.value), A[y || v.initType]), t.value = new P(B.value), ge();
1653
- }), C(n, (w) => {
1654
- j(v.value, v.initType) !== w && w !== null && q(w), ne(re(v.initType));
1655
- }), C(t, (w) => {
1656
- n.value = j(w, A[y || v.initType]), q(n.value), B.value = n.value;
1657
- });
1658
- function Q(w) {
1659
- const m = document.getElementById(`farris-color-picker-plus-input-${d}`);
1660
- (w == "" || w == null || w == null) && !l.value ? (n.value = null, m.style.borderColor = "red", H.className = "btn btn-secondary disabled") : (m.style.borderColor = "#dcdfe6", H.className = "btn btn-secondary");
1661
- }
1662
- function ye(w) {
1663
- var m, O;
1664
- if (w == null || w.stopPropagation(), l.value) {
1665
- u.value = (n == null ? void 0 : n.value) ?? null;
1666
- const F = {
1667
- elementValue: u
1668
- };
1669
- e.emit("valueChanged", F), R();
1670
- }
1671
- if (!l.value && !(B.value == null || B.value == null || B.value == "")) {
1672
- (O = (m = x.value) == null ? void 0 : m.style) == null || O.setProperty("background", n.value), p.value = !0, u.value = n.value;
1673
- const F = {
1674
- elementValue: u
1675
- };
1676
- e.emit("valueChanged", F), R();
1677
- }
1678
- !V.value && !n.value && !p.value && l && R(), Q(n.value), B.value = n.value, H.classList.contains("disabled") || ($.value = n.value, g.value = !1);
1679
- }
1680
- function q(w) {
1681
- v == null || v.setValueFrom(w, d, l.value);
1682
- }
1683
- function me(w) {
1684
- E = document.getElementById(`farris-color-picker-panel-${d}`);
1685
- const m = E.className == "color-picker-panel";
1686
- i.value || m || (g.value = !0, E.classList.toggle("disabled"), G(), q(n.value), w.stopPropagation());
1687
- }
1688
- function R() {
1689
- E = document.getElementById(`farris-color-picker-panel-${d}`), E.className = "color-picker-panel disabled";
1690
- }
1691
- function re(w) {
1692
- const m = J.findIndex((O) => O.type === w);
1693
- return b = m, m;
1694
- }
1695
- function Z(w) {
1696
- if (!H.classList.contains("disabled")) {
1697
- const m = J.length;
1698
- b = (m + b + (w === "up" ? 1 : -1)) % m, y = J[b].type, ne(b), q(n.value);
1699
- }
1700
- }
1701
- return () => k("div", {
1702
- class: "f-color-picker-component",
1703
- ref: D
1704
- }, [k("div", {
1705
- class: ["color-picker-panel", {
1706
- disabled: i.value
1707
- }],
1708
- id: "farris-color-picker-panel",
1709
- ref: N,
1710
- onClick: (w) => w.stopPropagation(),
1711
- style: "top:30px"
1712
- }, [k("div", {
1713
- class: "color-picker-main"
1714
- }, [k(_e, {
1715
- hue: v.hue,
1716
- "onUpdate:hue": (w) => v.hue = w,
1717
- allowColorNull: l.value,
1718
- color: t.value,
1719
- "onUpdate:color": (w) => t.value = w
1720
- }, null), k(Te, {
1721
- randomId: d,
1722
- hue: v.hue,
1723
- "onUpdate:hue": (w) => v.hue = w,
1724
- allowColorNull: l.value,
1725
- color: t.value,
1726
- "onUpdate:color": (w) => t.value = w
1727
- }, null)]), k(et, {
1728
- style: z.value,
1729
- randomId: d,
1730
- allowColorNull: l.value,
1731
- color: t.value,
1732
- "onUpdate:color": (w) => t.value = w
1733
- }, null), k("div", {
1734
- class: "input-btn",
1735
- style: "display:flex;align-items: center;"
1736
- }, [W(k("span", {
1737
- style: "width:40px;margin-right:10px;"
1738
- }, [f.value]), [[K, X]]), W(k("input", {
1739
- type: "text",
1740
- title: "color-picker-plus",
1741
- id: "farris-color-picker-plus-input",
1742
- "onUpdate:modelValue": (w) => B.value = w,
1743
- style: "float:none"
1744
- }, null), [[Xe, B.value]]), W(k("div", {
1745
- class: "type-icon-btn-wrapper",
1746
- style: "cursor:pointer"
1747
- }, [k("span", {
1748
- class: "f-icon f-icon-arrow-60-up type-icon-btn",
1749
- onClick: () => Z("up")
1750
- }, null), k("span", {
1751
- class: "f-icon f-icon-arrow-60-down type-icon-btn",
1752
- onClick: () => Z("down")
1753
- }, null)]), [[K, X]]), k("div", {
1754
- class: "input-btn"
1755
- }, [k("button", {
1756
- id: "farris-color-picker-plus-sure",
1757
- class: "btn btn-secondary",
1758
- onClick: (w) => ye(w)
1759
- }, [$e("确定")])])]), W(k(tt, {
1760
- color: t.value,
1761
- "onUpdate:color": (w) => t.value = w,
1762
- hue: v.hue,
1763
- "onUpdate:hue": (w) => v.hue = w,
1764
- randomId: d,
1765
- colorPresets: v.presets
1766
- }, null), [[K, I]])]), k("div", {
1767
- class: "color-picker-wrapper"
1768
- }, [k("input", {
1769
- title: "color-picker-input",
1770
- type: "text",
1771
- class: "color-picker-input form-control",
1772
- value: $.value,
1773
- readonly: i.value,
1774
- onClick: (w) => w.stopPropagation()
1775
- }, null), k("div", {
1776
- class: "color-picker-trigger",
1777
- onClick: me
1778
- }, [k("div", {
1779
- class: "color-picker-trigger-inner"
1780
- }, [k("div", {
1781
- style: L.value
1782
- }, null)])])])]);
1783
- }
1784
- });
1785
- function Qt(r, e, t) {
1786
- var N;
1787
- function n() {
1788
- t != null && t.resolveComponentContext && t.resolveComponentContext();
1789
- }
1790
- n();
1791
- const i = t && t.getStyles && t.getStyles() || "", u = t && t.getDesignerClass && t.getDesignerClass() || "", l = S();
1792
- function c() {
1793
- return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
1794
- }
1795
- function g() {
1796
- return !1;
1797
- }
1798
- function h() {
1799
- return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanDeleteComponent ? t.checkCanDeleteComponent() : !0;
1800
- }
1801
- function p() {
1802
- return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
1803
- }
1804
- function f(M) {
1805
- if (!M || !M.value)
1806
- return null;
1807
- if (M.value.schema && M.value.schema.type === "component")
1808
- return M.value;
1809
- const B = S(M == null ? void 0 : M.value.parent), $ = f(B);
1810
- return $ || null;
1811
- }
1812
- function d(M = e) {
1813
- const { componentInstance: B, designerItemElementRef: $ } = M;
1814
- return !B || !B.value ? null : B.value.canMove ? $ : d(M.parent);
1815
- }
1816
- function b(M) {
1817
- return !!t && t.canAccepts(M);
1818
- }
1819
- function y() {
1820
- return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
1821
- }
1822
- function v() {
1823
- }
1824
- function V(M, B) {
1825
- B && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(B);
1826
- }
1827
- function E(M) {
1828
- const { componentType: B } = M;
1829
- let $ = Pe(B, M);
1830
- t && t.onResolveNewComponentSchema && ($ = t.onResolveNewComponentSchema(M, $));
1831
- const I = B.toLowerCase().replace("-", "_");
1832
- return $ && !$.id && $.type === B && ($.id = `${I}_${Math.random().toString().slice(2, 6)}`), $;
1833
- }
1834
- function H(M, B) {
1835
- const $ = String(M.getAttribute("data-controltype")), I = M.getAttribute("data-feature"), X = I ? JSON.parse(I) : {};
1836
- X.parentComponentInstance = l.value;
1837
- let L = Pe($, X);
1838
- t && t.onAcceptNewChildElement && (L = t.onAcceptNewChildElement(M, B, L));
1839
- const z = $.toLowerCase().replace("-", "_");
1840
- return L && !L.id && L.type === $ && (L.id = `${z}_${Math.random().toString().slice(2, 6)}`), L;
1841
- }
1842
- function x(M) {
1843
- }
1844
- function D() {
1845
- return t && t.getPropsConfig ? t.getPropsConfig() : [];
1846
- }
1847
- return l.value = {
1848
- canMove: c(),
1849
- canSelectParent: g(),
1850
- canDelete: h(),
1851
- canNested: !p(),
1852
- contents: e == null ? void 0 : e.schema.contents,
1853
- elementRef: r,
1854
- parent: (N = e == null ? void 0 : e.parent) == null ? void 0 : N.componentInstance,
1855
- schema: e == null ? void 0 : e.schema,
1856
- styles: i,
1857
- designerClass: u,
1858
- canAccepts: b,
1859
- getBelongedComponentInstance: f,
1860
- getDraggableDesignItemElement: d,
1861
- getDraggingDisplayText: y,
1862
- getPropConfig: D,
1863
- getDragScopeElement: v,
1864
- onAcceptMovedChildElement: V,
1865
- onAcceptNewChildElement: H,
1866
- onChildElementMovedOut: x,
1867
- addNewChildComponentSchema: E,
1868
- updateDragAndDropRules: n,
1869
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || S(!1),
1870
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || S(!1)
1871
- }, l;
1872
- }
1873
- const Zt = /* @__PURE__ */ ee({
1874
- name: "FColorPickerDesign",
1875
- props: xe,
1876
- emits: ["valueChanged", "activeChange", "update:color", "update:hue"],
1877
- setup(r, e) {
1878
- const t = S(new P(r.color)), n = S(r.color), i = S(r.disabled), u = S(r.color), l = S(r.allowColorNull), c = S(r.presets), g = S(!1), h = S(!1), p = S(!1), f = S("HEX"), d = Math.floor(Math.random() * 1e3).toString();
1879
- let b = -1, y, v = new je("#000000");
1880
- const V = S(r.color);
1881
- let E, H;
1882
- const x = S(null), D = S(null), N = S(), M = it("design-item-context"), B = Qt(N, M);
1883
- T(() => {
1884
- N.value.componentInstance = B;
1885
- }), e.expose(B.value);
1886
- let $ = U(() => !y && v && v.initType ? v.initType : y);
1887
- const I = U({
1888
- get() {
1889
- return y && n.value !== null ? (Z(y), j(new P(n.value), A[y])) : n.value;
1890
- },
1891
- set(m) {
1892
- m !== null && (R(m), q(m));
1893
- }
1894
- }), X = S(I.value), L = U(() => b > -1), z = U(() => c.value.length > 0), J = U(() => ({
1895
- "background-color": u.value
1896
- })), fe = U(() => h.value && g.value ? "display:flex" : "display:none"), G = [{
1897
- text: "HEX",
1898
- type: A.hex
1899
- }, {
1900
- text: "RGBA",
1901
- type: A.rgba
1902
- }];
1903
- function de() {
1904
- const m = document.getElementById("farris-color-picker-panel");
1905
- m.id = `farris-color-picker-panel-${d}`;
1906
- const O = document.getElementById("farris-color-picker-plus-sure");
1907
- O.id = `farris-color-picker-plus-sure-${d}`;
1908
- const F = document.getElementById("farris-color-picker-plus-input");
1909
- F.id = `farris-color-picker-plus-input-${d}`, H = document.getElementById(`farris-color-picker-plus-sure-${d}`), E = document.getElementById(`farris-color-picker-panel-${d}`), E.className = "color-picker-panel disabled";
1910
- }
1911
- function se() {
1912
- if (!l.value && !n.value) {
1913
- document.getElementById(`farris-color-picker-plus-sure-${d}`).classList.toggle("disabled");
1914
- const O = document.getElementById(`farris-color-picker-plus-input-${d}`);
1915
- O.style.borderColor = "red";
1916
- }
1917
- }
1918
- function ve() {
1919
- n.value && (R(n.value), !n.value && l.value || (n.value = j(new P(n.value), A[$.value])), X.value = I.value), Q(Z(v.initType));
1920
- }
1921
- function ne() {
1922
- n.value && R(n.value), v.hasPresets() || v.setColorPresets(c.value), n.value ? u.value = j(new P(n.value), A[$.value]) : !n.value && l.value && (u.value = null);
1923
- }
1924
- function ge() {
1925
- v.valueChanges.subscribe((m) => {
1926
- const O = j(m, A[y || v.initType]);
1927
- n.value = O;
1928
- });
1929
- }
1930
- function Q(m) {
1931
- f.value = G[m].text;
1932
- }
1933
- function ye() {
1934
- var m;
1935
- h.value = !!(y != null && y.includes("a") || (m = v.initType) != null && m.includes("a"));
1936
- }
1937
- Ye(() => {
1938
- v.setColorPresets(c.value || ["#eaecf3"]);
1939
- }), T(() => {
1940
- de(), se(), ve(), ne();
1941
- }), C(f, () => {
1942
- ge(), I.value = j(new P(n.value), A[y || v.initType]), t.value = new P(I.value), ye();
1943
- }), C(n, (m) => {
1944
- j(v.value, v.initType) !== m && m !== null && R(m), Q(Z(v.initType));
1945
- }), C(t, (m) => {
1946
- n.value = j(m, A[y || v.initType]), R(n.value), I.value = n.value;
1947
- });
1948
- function q(m) {
1949
- const O = document.getElementById(`farris-color-picker-plus-input-${d}`);
1950
- (m == "" || m == null || m == null) && !l.value ? (n.value = null, O.style.borderColor = "red", H.className = "btn btn-secondary disabled") : (O.style.borderColor = "#dcdfe6", H.className = "btn btn-secondary");
1951
- }
1952
- function me() {
1953
- var m, O;
1954
- if (l.value) {
1955
- u.value = (n == null ? void 0 : n.value) ?? null;
1956
- const F = {
1957
- elementValue: u
1958
- };
1959
- e.emit("valueChanged", F), E.classList.toggle("disabled");
1960
- }
1961
- if (!l.value && !(I.value == null || I.value == null || I.value == "")) {
1962
- (O = (m = x.value) == null ? void 0 : m.style) == null || O.setProperty("background", n.value), p.value = !0, u.value = n.value;
1963
- const F = {
1964
- elementValue: u
1965
- };
1966
- e.emit("valueChanged", F), E.classList.toggle("disabled");
1967
- }
1968
- !V.value && !n.value && !p.value && l && E.classList.toggle("disabled"), q(n.value), I.value = n.value, H.classList.contains("disabled") || (X.value = n.value, g.value = !1);
1969
- }
1970
- function R(m) {
1971
- v == null || v.setValueFrom(m, d, l.value);
1972
- }
1973
- function re(m) {
1974
- i.value || (g.value = !0, E.classList.toggle("disabled"), se(), R(n.value));
1975
- }
1976
- function Z(m) {
1977
- const O = G.findIndex((F) => F.type === m);
1978
- return b = O, O;
1979
- }
1980
- function w(m) {
1981
- if (!H.classList.contains("disabled")) {
1982
- const O = G.length;
1983
- b = (O + b + (m === "up" ? 1 : -1)) % O, y = G[b].type, Q(b), R(n.value);
1984
- }
1985
- }
1986
- return () => k("div", {
1987
- class: "f-color-picker-component",
1988
- ref: N
1989
- }, [k("div", {
1990
- class: ["color-picker-panel", {
1991
- disabled: i.value
1992
- }],
1993
- id: "farris-color-picker-panel",
1994
- ref: D,
1995
- onClick: (m) => m.stopPropagation,
1996
- style: "top:30px"
1997
- }, [k("div", {
1998
- class: "color-picker-main"
1999
- }, [k(_e, {
2000
- hue: v.hue,
2001
- "onUpdate:hue": (m) => v.hue = m,
2002
- allowColorNull: l.value,
2003
- color: t.value,
2004
- "onUpdate:color": (m) => t.value = m
2005
- }, null), k(Te, {
2006
- randomId: d,
2007
- hue: v.hue,
2008
- "onUpdate:hue": (m) => v.hue = m,
2009
- allowColorNull: l.value,
2010
- color: t.value,
2011
- "onUpdate:color": (m) => t.value = m
2012
- }, null)]), k(et, {
2013
- style: fe.value,
2014
- randomId: d,
2015
- allowColorNull: l.value,
2016
- color: t.value,
2017
- "onUpdate:color": (m) => t.value = m
2018
- }, null), k("div", {
2019
- class: "input-btn",
2020
- style: "display:flex;align-items: center;"
2021
- }, [W(k("span", {
2022
- style: "width:40px;margin-right:10px;"
2023
- }, [f.value]), [[K, z]]), W(k("input", {
2024
- type: "text",
2025
- id: "farris-color-picker-plus-input",
2026
- "onUpdate:modelValue": (m) => I.value = m,
2027
- style: "float:none"
2028
- }, null), [[Xe, I.value]]), W(k("div", {
2029
- class: "type-icon-btn-wrapper",
2030
- style: "cursor:pointer"
2031
- }, [k("span", {
2032
- class: "f-icon f-icon-arrow-60-up type-icon-btn",
2033
- onClick: () => w("up")
2034
- }, null), k("span", {
2035
- class: "f-icon f-icon-arrow-60-down type-icon-btn",
2036
- onClick: () => w("down")
2037
- }, null)]), [[K, z]]), k("div", {
2038
- class: "input-btn"
2039
- }, [k("button", {
2040
- id: "farris-color-picker-plus-sure",
2041
- class: "btn btn-secondary",
2042
- onClick: me
2043
- }, [$e("确定")])])]), W(k(tt, {
2044
- color: t.value,
2045
- "onUpdate:color": (m) => t.value = m,
2046
- colorPresets: v.presets,
2047
- hue: v.hue,
2048
- "onUpdate:hue": (m) => v.hue = m,
2049
- randomId: d
2050
- }, null), [[K, L]])]), k("div", {
2051
- class: "color-picker-wrapper"
2052
- }, [k("input", {
2053
- type: "text",
2054
- class: "color-picker-input form-control",
2055
- value: X.value,
2056
- readonly: i.value,
2057
- onClick: (m) => m.stopPropagation()
2058
- }, null), k("div", {
2059
- class: "color-picker-trigger",
2060
- onClick: re
2061
- }, [k("div", {
2062
- class: "color-picker-trigger-inner"
2063
- }, [k("div", {
2064
- style: J.value
2065
- }, null)])])])]);
2066
- }
2067
- }), en = {
2068
- install(r) {
2069
- r.component(Se.name, Se);
2070
- },
2071
- register(r, e, t) {
2072
- r["color-picker"] = Se, e["color-picker"] = De;
2073
- },
2074
- registerDesigner(r, e, t) {
2075
- r["color-picker"] = Zt, e["color-picker"] = De;
2076
- }
2077
- };
2078
- export {
2079
- Se as ColorPicker,
2080
- en as default
2081
- };