powell-react 0.0.7 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (341) hide show
  1. package/.storybook/main.ts +28 -0
  2. package/.storybook/preview.scss +13 -0
  3. package/.storybook/preview.tsx +24 -0
  4. package/README.md +0 -321
  5. package/dist/cjs/index.js +1 -72407
  6. package/dist/cjs/types/src/components/Button/Button.d.ts +6 -0
  7. package/dist/cjs/types/src/components/Button/index.d.ts +1 -0
  8. package/dist/cjs/types/src/components/index.d.ts +1 -0
  9. package/dist/cjs/types/src/index.d.ts +1 -0
  10. package/dist/cjs/types/{api → src/powell/api}/PowellProvider.d.ts +2 -2
  11. package/dist/cjs/types/src/powell/api/configService.d.ts +2 -0
  12. package/dist/cjs/types/{api → src/powell/api}/powellDefaults.d.ts +1 -1
  13. package/dist/cjs/types/{api → src/powell/api}/primereact.d.ts +0 -14
  14. package/dist/cjs/types/{components → src/powell/components}/AutoComplete/AutoComplete.d.ts +4 -4
  15. package/dist/{esm/types → cjs/types/src/powell}/components/Button/Button.d.ts +3 -3
  16. package/dist/{esm/types → cjs/types/src/powell}/components/CascadeSelect/CascadeSelect.d.ts +4 -4
  17. package/dist/{esm/types → cjs/types/src/powell}/components/Checkbox/Checkbox.d.ts +4 -4
  18. package/dist/cjs/types/{components → src/powell/components}/Chips/Chips.d.ts +3 -3
  19. package/dist/{esm/types → cjs/types/src/powell}/components/ColorPicker/ColorPicker.d.ts +4 -4
  20. package/dist/{esm/types → cjs/types/src/powell}/components/Dropdown/Dropdown.d.ts +4 -4
  21. package/dist/{esm/types → cjs/types/src/powell}/components/Editor/Editor.d.ts +4 -4
  22. package/dist/{esm/types → cjs/types/src/powell}/components/FormContainer/FormContainer.d.ts +1 -1
  23. package/dist/cjs/types/{components → src/powell/components}/FormContainer/FormContext.d.ts +2 -2
  24. package/dist/{esm/types → cjs/types/src/powell}/components/InputMask/InputMask.d.ts +4 -4
  25. package/dist/cjs/types/{components → src/powell/components}/InputNumber/InputNumber.d.ts +4 -4
  26. package/dist/cjs/types/{components → src/powell/components}/InputOtp/InputOtp.d.ts +4 -4
  27. package/dist/cjs/types/{components → src/powell/components}/InputPassword/InputPassword.d.ts +3 -3
  28. package/dist/{esm/types → cjs/types/src/powell}/components/InputSwitch/InputSwitch.d.ts +4 -4
  29. package/dist/{esm/types → cjs/types/src/powell}/components/InputText/InputText.d.ts +4 -4
  30. package/dist/cjs/types/{components → src/powell/components}/InputTextarea/InputTextarea.d.ts +4 -4
  31. package/dist/cjs/types/{components → src/powell/components}/Knob/Knob.d.ts +3 -3
  32. package/dist/cjs/types/{components → src/powell/components}/ListBox/ListBox.d.ts +3 -3
  33. package/dist/{esm/types → cjs/types/src/powell}/components/Mention/Mention.d.ts +4 -4
  34. package/dist/cjs/types/{components → src/powell/components}/MultiSelect/MultiSelect.d.ts +4 -4
  35. package/dist/cjs/types/{components → src/powell/components}/MultiStateCheckbox/MultiStateCheckbox.d.ts +3 -3
  36. package/dist/cjs/types/{components → src/powell/components}/RadioGroup/RadioGroup.d.ts +4 -4
  37. package/dist/{esm/types → cjs/types/src/powell}/components/Rating/Rating.d.ts +4 -4
  38. package/dist/cjs/types/{components → src/powell/components}/SelectButton/SelectButton.d.ts +4 -4
  39. package/dist/{esm/types → cjs/types/src/powell}/components/Slider/Slider.d.ts +4 -4
  40. package/dist/cjs/types/{components → src/powell/components}/ToggleButton/ToggleButton.d.ts +4 -4
  41. package/dist/cjs/types/{components → src/powell/components}/TreeSelect/TreeSelect.d.ts +4 -4
  42. package/dist/cjs/types/{components → src/powell/components}/TriStateCheckbox/TriStateCheckbox.d.ts +4 -4
  43. package/dist/{esm/types → cjs/types/src/powell}/hooks/useApplyConfig.d.ts +2 -2
  44. package/dist/cjs/types/{hooks → src/powell/hooks}/useFormContext.d.ts +1 -1
  45. package/dist/cjs/types/{hooks → src/powell/hooks}/usePowellConfig.d.ts +1 -1
  46. package/dist/cjs/types/{models → src/powell/models}/config.d.ts +2 -2
  47. package/dist/cjs/types/{models → src/powell/models}/forms.d.ts +2 -2
  48. package/dist/{esm/types → cjs/types/src/powell}/utils/utilsService.d.ts +3 -3
  49. package/dist/cjs/types/vite.config.d.ts +2 -0
  50. package/dist/esm/index.js +1 -72377
  51. package/dist/esm/types/src/components/Button/Button.d.ts +6 -0
  52. package/dist/esm/types/src/components/Button/index.d.ts +1 -0
  53. package/dist/esm/types/src/components/index.d.ts +1 -0
  54. package/dist/esm/types/src/index.d.ts +1 -0
  55. package/dist/esm/types/{api → src/powell/api}/PowellProvider.d.ts +2 -2
  56. package/dist/esm/types/src/powell/api/configService.d.ts +2 -0
  57. package/dist/esm/types/{api → src/powell/api}/powellDefaults.d.ts +1 -1
  58. package/dist/esm/types/{api → src/powell/api}/primereact.d.ts +0 -14
  59. package/dist/esm/types/{components → src/powell/components}/AutoComplete/AutoComplete.d.ts +4 -4
  60. package/dist/{cjs/types → esm/types/src/powell}/components/Button/Button.d.ts +3 -3
  61. package/dist/{cjs/types → esm/types/src/powell}/components/CascadeSelect/CascadeSelect.d.ts +4 -4
  62. package/dist/{cjs/types → esm/types/src/powell}/components/Checkbox/Checkbox.d.ts +4 -4
  63. package/dist/esm/types/{components → src/powell/components}/Chips/Chips.d.ts +3 -3
  64. package/dist/{cjs/types → esm/types/src/powell}/components/ColorPicker/ColorPicker.d.ts +4 -4
  65. package/dist/{cjs/types → esm/types/src/powell}/components/Dropdown/Dropdown.d.ts +4 -4
  66. package/dist/{cjs/types → esm/types/src/powell}/components/Editor/Editor.d.ts +4 -4
  67. package/dist/{cjs/types → esm/types/src/powell}/components/FormContainer/FormContainer.d.ts +1 -1
  68. package/dist/esm/types/{components → src/powell/components}/FormContainer/FormContext.d.ts +2 -2
  69. package/dist/{cjs/types → esm/types/src/powell}/components/InputMask/InputMask.d.ts +4 -4
  70. package/dist/esm/types/{components → src/powell/components}/InputNumber/InputNumber.d.ts +4 -4
  71. package/dist/esm/types/{components → src/powell/components}/InputOtp/InputOtp.d.ts +4 -4
  72. package/dist/esm/types/{components → src/powell/components}/InputPassword/InputPassword.d.ts +3 -3
  73. package/dist/{cjs/types → esm/types/src/powell}/components/InputSwitch/InputSwitch.d.ts +4 -4
  74. package/dist/{cjs/types → esm/types/src/powell}/components/InputText/InputText.d.ts +4 -4
  75. package/dist/esm/types/{components → src/powell/components}/InputTextarea/InputTextarea.d.ts +4 -4
  76. package/dist/esm/types/{components → src/powell/components}/Knob/Knob.d.ts +3 -3
  77. package/dist/esm/types/{components → src/powell/components}/ListBox/ListBox.d.ts +3 -3
  78. package/dist/{cjs/types → esm/types/src/powell}/components/Mention/Mention.d.ts +4 -4
  79. package/dist/esm/types/{components → src/powell/components}/MultiSelect/MultiSelect.d.ts +4 -4
  80. package/dist/esm/types/{components → src/powell/components}/MultiStateCheckbox/MultiStateCheckbox.d.ts +3 -3
  81. package/dist/esm/types/{components → src/powell/components}/RadioGroup/RadioGroup.d.ts +4 -4
  82. package/dist/{cjs/types → esm/types/src/powell}/components/Rating/Rating.d.ts +4 -4
  83. package/dist/esm/types/{components → src/powell/components}/SelectButton/SelectButton.d.ts +4 -4
  84. package/dist/{cjs/types → esm/types/src/powell}/components/Slider/Slider.d.ts +4 -4
  85. package/dist/esm/types/{components → src/powell/components}/ToggleButton/ToggleButton.d.ts +4 -4
  86. package/dist/esm/types/{components → src/powell/components}/TreeSelect/TreeSelect.d.ts +4 -4
  87. package/dist/esm/types/{components → src/powell/components}/TriStateCheckbox/TriStateCheckbox.d.ts +4 -4
  88. package/dist/{cjs/types → esm/types/src/powell}/hooks/useApplyConfig.d.ts +2 -2
  89. package/dist/esm/types/{hooks → src/powell/hooks}/useFormContext.d.ts +1 -1
  90. package/dist/esm/types/{hooks → src/powell/hooks}/usePowellConfig.d.ts +1 -1
  91. package/dist/esm/types/{models → src/powell/models}/config.d.ts +2 -2
  92. package/dist/esm/types/{models → src/powell/models}/forms.d.ts +2 -2
  93. package/dist/{cjs/types → esm/types/src/powell}/utils/utilsService.d.ts +3 -3
  94. package/dist/esm/types/vite.config.d.ts +2 -0
  95. package/package.json +46 -57
  96. package/rollup.config.mjs +95 -0
  97. package/src/components/Button/Button.scss +43 -0
  98. package/src/components/Button/Button.stories.tsx +13 -0
  99. package/src/components/Button/Button.tsx +19 -0
  100. package/src/components/Button/index.ts +1 -0
  101. package/src/components/index.ts +1 -0
  102. package/src/index.ts +1 -0
  103. package/src/powell/api/PowellProvider.tsx +37 -0
  104. package/src/powell/api/configService.ts +4 -0
  105. package/src/powell/api/forms.ts +145 -0
  106. package/src/powell/api/index.ts +5 -0
  107. package/src/powell/api/powellDefaults.ts +11 -0
  108. package/src/powell/api/primereact.ts +1945 -0
  109. package/src/powell/components/AutoComplete/AutoComplete.scss +126 -0
  110. package/src/powell/components/AutoComplete/AutoComplete.tsx +190 -0
  111. package/src/powell/components/AutoComplete/index.ts +1 -0
  112. package/src/powell/components/Button/Button.tsx +90 -0
  113. package/src/powell/components/Button/index.ts +1 -0
  114. package/src/powell/components/CascadeSelect/CascadeSelect.scss +126 -0
  115. package/src/powell/components/CascadeSelect/CascadeSelect.tsx +190 -0
  116. package/src/powell/components/CascadeSelect/index.ts +1 -0
  117. package/src/powell/components/Checkbox/Checkbox.scss +32 -0
  118. package/src/powell/components/Checkbox/Checkbox.tsx +147 -0
  119. package/src/powell/components/Checkbox/index.ts +1 -0
  120. package/src/powell/components/Chips/Chips.scss +126 -0
  121. package/src/powell/components/Chips/Chips.tsx +190 -0
  122. package/src/powell/components/Chips/index.ts +1 -0
  123. package/src/powell/components/ColorPicker/ColorPicker.scss +126 -0
  124. package/src/powell/components/ColorPicker/ColorPicker.tsx +186 -0
  125. package/src/powell/components/ColorPicker/index.ts +1 -0
  126. package/src/powell/components/Dropdown/Dropdown.scss +126 -0
  127. package/src/powell/components/Dropdown/Dropdown.tsx +190 -0
  128. package/src/powell/components/Dropdown/index.ts +1 -0
  129. package/src/powell/components/Editor/Editor.scss +126 -0
  130. package/src/powell/components/Editor/Editor.tsx +183 -0
  131. package/src/powell/components/Editor/index.ts +1 -0
  132. package/src/powell/components/FormContainer/FormContainer.tsx +49 -0
  133. package/src/powell/components/FormContainer/FormContext.tsx +18 -0
  134. package/src/powell/components/FormContainer/index.ts +2 -0
  135. package/src/powell/components/InputMask/InputMask.scss +126 -0
  136. package/src/powell/components/InputMask/InputMask.tsx +190 -0
  137. package/src/powell/components/InputMask/index.ts +1 -0
  138. package/src/powell/components/InputNumber/InputNumber.scss +126 -0
  139. package/src/powell/components/InputNumber/InputNumber.tsx +190 -0
  140. package/src/powell/components/InputNumber/index.ts +1 -0
  141. package/src/powell/components/InputOtp/InputOtp.scss +126 -0
  142. package/src/powell/components/InputOtp/InputOtp.tsx +154 -0
  143. package/src/powell/components/InputOtp/index.ts +1 -0
  144. package/src/powell/components/InputPassword/InputPassword.scss +126 -0
  145. package/src/powell/components/InputPassword/InputPassword.tsx +189 -0
  146. package/src/powell/components/InputPassword/index.ts +1 -0
  147. package/src/powell/components/InputSwitch/InputSwitch.scss +32 -0
  148. package/src/powell/components/InputSwitch/InputSwitch.tsx +144 -0
  149. package/src/powell/components/InputSwitch/index.ts +1 -0
  150. package/src/powell/components/InputText/InputText.scss +126 -0
  151. package/src/powell/components/InputText/InputText.tsx +190 -0
  152. package/src/powell/components/InputText/index.ts +1 -0
  153. package/src/powell/components/InputTextarea/InputTextarea.scss +126 -0
  154. package/src/powell/components/InputTextarea/InputTextarea.tsx +187 -0
  155. package/src/powell/components/InputTextarea/index.ts +1 -0
  156. package/src/powell/components/Knob/Knob.scss +32 -0
  157. package/src/powell/components/Knob/Knob.tsx +134 -0
  158. package/src/powell/components/Knob/index.ts +1 -0
  159. package/src/powell/components/ListBox/ListBox.scss +32 -0
  160. package/src/powell/components/ListBox/ListBox.tsx +135 -0
  161. package/src/powell/components/ListBox/index.ts +1 -0
  162. package/src/powell/components/Mention/Mention.scss +126 -0
  163. package/src/powell/components/Mention/Mention.tsx +186 -0
  164. package/src/powell/components/Mention/index.ts +1 -0
  165. package/src/powell/components/MultiSelect/MultiSelect.scss +126 -0
  166. package/src/powell/components/MultiSelect/MultiSelect.tsx +190 -0
  167. package/src/powell/components/MultiSelect/index.ts +1 -0
  168. package/src/powell/components/MultiStateCheckbox/MultiStateCheckbox.scss +32 -0
  169. package/src/powell/components/MultiStateCheckbox/MultiStateCheckbox.tsx +143 -0
  170. package/src/powell/components/MultiStateCheckbox/index.ts +1 -0
  171. package/src/powell/components/RadioGroup/RadioGroup.scss +32 -0
  172. package/src/powell/components/RadioGroup/RadioGroup.tsx +167 -0
  173. package/src/powell/components/RadioGroup/index.ts +1 -0
  174. package/src/powell/components/Rating/Rating.scss +32 -0
  175. package/src/powell/components/Rating/Rating.tsx +135 -0
  176. package/src/powell/components/Rating/index.ts +1 -0
  177. package/src/powell/components/SelectButton/SelectButton.scss +32 -0
  178. package/src/powell/components/SelectButton/SelectButton.tsx +144 -0
  179. package/src/powell/components/SelectButton/index.ts +1 -0
  180. package/src/powell/components/Slider/Slider.scss +32 -0
  181. package/src/powell/components/Slider/Slider.tsx +135 -0
  182. package/src/powell/components/Slider/index.ts +1 -0
  183. package/src/powell/components/ToggleButton/ToggleButton.scss +32 -0
  184. package/src/powell/components/ToggleButton/ToggleButton.tsx +144 -0
  185. package/src/powell/components/ToggleButton/index.ts +1 -0
  186. package/src/powell/components/TreeSelect/TreeSelect.scss +126 -0
  187. package/src/powell/components/TreeSelect/TreeSelect.tsx +190 -0
  188. package/src/powell/components/TreeSelect/index.ts +1 -0
  189. package/src/powell/components/TriStateCheckbox/TriStateCheckbox.scss +32 -0
  190. package/src/powell/components/TriStateCheckbox/TriStateCheckbox.tsx +144 -0
  191. package/src/powell/components/TriStateCheckbox/index.ts +1 -0
  192. package/src/powell/hooks/index.ts +3 -0
  193. package/src/powell/hooks/useApplyConfig.ts +36 -0
  194. package/src/powell/hooks/useFormContext.ts +14 -0
  195. package/src/powell/hooks/usePowellConfig.ts +64 -0
  196. package/src/powell/index.ts +29 -0
  197. package/src/powell/models/common.ts +7 -0
  198. package/src/powell/models/config.ts +85 -0
  199. package/src/powell/models/forms.ts +33 -0
  200. package/src/powell/models/index.ts +3 -0
  201. package/src/powell/styles/common.scss +9 -0
  202. package/src/powell/styles/mixins.scss +0 -0
  203. package/src/powell/themes/arya-blue.css +1 -0
  204. package/src/powell/themes/arya-green.css +1 -0
  205. package/src/powell/themes/arya-orange.css +1 -0
  206. package/src/powell/themes/arya-purple.css +1 -0
  207. package/src/powell/themes/bootstrap4-dark-blue.css +1 -0
  208. package/src/powell/themes/bootstrap4-dark-purple.css +1 -0
  209. package/src/powell/themes/bootstrap4-light-blue.css +1 -0
  210. package/src/powell/themes/bootstrap4-light-purple.css +1 -0
  211. package/src/powell/themes/fluent-light.css +1 -0
  212. package/src/powell/themes/lara-dark-amber.css +1 -0
  213. package/src/powell/themes/lara-dark-blue.css +1 -0
  214. package/src/powell/themes/lara-dark-cyan.css +1 -0
  215. package/src/powell/themes/lara-dark-green.css +1 -0
  216. package/src/powell/themes/lara-dark-indigo.css +1 -0
  217. package/src/powell/themes/lara-dark-pink.css +1 -0
  218. package/src/powell/themes/lara-dark-purple.css +1 -0
  219. package/src/powell/themes/lara-dark-teal.css +1 -0
  220. package/src/powell/themes/lara-light-amber.css +1 -0
  221. package/src/powell/themes/lara-light-blue.css +1 -0
  222. package/src/powell/themes/lara-light-cyan.css +1 -0
  223. package/src/powell/themes/lara-light-green.css +1 -0
  224. package/src/powell/themes/lara-light-indigo.css +1 -0
  225. package/src/powell/themes/lara-light-pink.css +1 -0
  226. package/src/powell/themes/lara-light-purple.css +1 -0
  227. package/src/powell/themes/lara-light-teal.css +1 -0
  228. package/src/powell/themes/luna-amber.css +1 -0
  229. package/src/powell/themes/luna-blue.css +1 -0
  230. package/src/powell/themes/luna-green.css +1 -0
  231. package/src/powell/themes/luna-pink.css +1 -0
  232. package/src/powell/themes/md-dark-deeppurple.css +1 -0
  233. package/src/powell/themes/md-dark-indigo.css +1 -0
  234. package/src/powell/themes/md-light-deeppurple.css +1 -0
  235. package/src/powell/themes/md-light-indigo.css +1 -0
  236. package/src/powell/themes/mdc-dark-deeppurple.css +1 -0
  237. package/src/powell/themes/mdc-dark-indigo.css +1 -0
  238. package/src/powell/themes/mdc-light-deeppurple.css +1 -0
  239. package/src/powell/themes/mdc-light-indigo.css +1 -0
  240. package/src/powell/themes/mira.css +1 -0
  241. package/src/powell/themes/nano.css +1 -0
  242. package/src/powell/themes/nova-accent.css +1 -0
  243. package/src/powell/themes/nova-alt.css +1 -0
  244. package/src/powell/themes/nova.css +1 -0
  245. package/src/powell/themes/rhea.css +1 -0
  246. package/src/powell/themes/saga-blue.css +1 -0
  247. package/src/powell/themes/saga-green.css +1 -0
  248. package/src/powell/themes/saga-orange.css +1 -0
  249. package/src/powell/themes/saga-purple.css +1 -0
  250. package/src/powell/themes/soho-dark.css +1 -0
  251. package/src/powell/themes/soho-light.css +1 -0
  252. package/src/powell/themes/tailwind-light.css +1 -0
  253. package/src/powell/themes/vela-blue.css +1 -0
  254. package/src/powell/themes/vela-green.css +1 -0
  255. package/src/powell/themes/vela-orange.css +1 -0
  256. package/src/powell/themes/vela-purple.css +1 -0
  257. package/src/powell/themes/viva-dark.css +1 -0
  258. package/src/powell/themes/viva-light.css +1 -0
  259. package/src/powell/utils/globalState.ts +96 -0
  260. package/src/powell/utils/index.ts +2 -0
  261. package/src/powell/utils/utilsService.tsx +55 -0
  262. package/src/stories/Button.stories.tsx +16 -0
  263. package/tsconfig.json +55 -0
  264. package/vite.config.ts +14 -0
  265. package/dist/cjs/index.js.map +0 -1
  266. package/dist/cjs/types/api/configService.d.ts +0 -2
  267. package/dist/esm/index.js.map +0 -1
  268. package/dist/esm/types/api/configService.d.ts +0 -2
  269. package/dist/index.d.ts +0 -495
  270. /package/dist/cjs/types/{api → src/powell/api}/forms.d.ts +0 -0
  271. /package/dist/cjs/types/{api → src/powell/api}/index.d.ts +0 -0
  272. /package/dist/cjs/types/{components → src/powell/components}/AutoComplete/index.d.ts +0 -0
  273. /package/dist/cjs/types/{components → src/powell/components}/Button/index.d.ts +0 -0
  274. /package/dist/cjs/types/{components → src/powell/components}/CascadeSelect/index.d.ts +0 -0
  275. /package/dist/cjs/types/{components → src/powell/components}/Checkbox/index.d.ts +0 -0
  276. /package/dist/cjs/types/{components → src/powell/components}/Chips/index.d.ts +0 -0
  277. /package/dist/cjs/types/{components → src/powell/components}/ColorPicker/index.d.ts +0 -0
  278. /package/dist/cjs/types/{components → src/powell/components}/Dropdown/index.d.ts +0 -0
  279. /package/dist/cjs/types/{components → src/powell/components}/Editor/index.d.ts +0 -0
  280. /package/dist/cjs/types/{components → src/powell/components}/FormContainer/index.d.ts +0 -0
  281. /package/dist/cjs/types/{components → src/powell/components}/InputMask/index.d.ts +0 -0
  282. /package/dist/cjs/types/{components → src/powell/components}/InputNumber/index.d.ts +0 -0
  283. /package/dist/cjs/types/{components → src/powell/components}/InputOtp/index.d.ts +0 -0
  284. /package/dist/cjs/types/{components → src/powell/components}/InputPassword/index.d.ts +0 -0
  285. /package/dist/cjs/types/{components → src/powell/components}/InputSwitch/index.d.ts +0 -0
  286. /package/dist/cjs/types/{components → src/powell/components}/InputText/index.d.ts +0 -0
  287. /package/dist/cjs/types/{components → src/powell/components}/InputTextarea/index.d.ts +0 -0
  288. /package/dist/cjs/types/{components → src/powell/components}/Knob/index.d.ts +0 -0
  289. /package/dist/cjs/types/{components → src/powell/components}/ListBox/index.d.ts +0 -0
  290. /package/dist/cjs/types/{components → src/powell/components}/Mention/index.d.ts +0 -0
  291. /package/dist/cjs/types/{components → src/powell/components}/MultiSelect/index.d.ts +0 -0
  292. /package/dist/cjs/types/{components → src/powell/components}/MultiStateCheckbox/index.d.ts +0 -0
  293. /package/dist/cjs/types/{components → src/powell/components}/RadioGroup/index.d.ts +0 -0
  294. /package/dist/cjs/types/{components → src/powell/components}/Rating/index.d.ts +0 -0
  295. /package/dist/cjs/types/{components → src/powell/components}/SelectButton/index.d.ts +0 -0
  296. /package/dist/cjs/types/{components → src/powell/components}/Slider/index.d.ts +0 -0
  297. /package/dist/cjs/types/{components → src/powell/components}/ToggleButton/index.d.ts +0 -0
  298. /package/dist/cjs/types/{components → src/powell/components}/TreeSelect/index.d.ts +0 -0
  299. /package/dist/cjs/types/{components → src/powell/components}/TriStateCheckbox/index.d.ts +0 -0
  300. /package/dist/cjs/types/{hooks → src/powell/hooks}/index.d.ts +0 -0
  301. /package/dist/cjs/types/{index.d.ts → src/powell/index.d.ts} +0 -0
  302. /package/dist/cjs/types/{models → src/powell/models}/common.d.ts +0 -0
  303. /package/dist/cjs/types/{models → src/powell/models}/index.d.ts +0 -0
  304. /package/dist/cjs/types/{utils → src/powell/utils}/globalState.d.ts +0 -0
  305. /package/dist/cjs/types/{utils → src/powell/utils}/index.d.ts +0 -0
  306. /package/dist/esm/types/{api → src/powell/api}/forms.d.ts +0 -0
  307. /package/dist/esm/types/{api → src/powell/api}/index.d.ts +0 -0
  308. /package/dist/esm/types/{components → src/powell/components}/AutoComplete/index.d.ts +0 -0
  309. /package/dist/esm/types/{components → src/powell/components}/Button/index.d.ts +0 -0
  310. /package/dist/esm/types/{components → src/powell/components}/CascadeSelect/index.d.ts +0 -0
  311. /package/dist/esm/types/{components → src/powell/components}/Checkbox/index.d.ts +0 -0
  312. /package/dist/esm/types/{components → src/powell/components}/Chips/index.d.ts +0 -0
  313. /package/dist/esm/types/{components → src/powell/components}/ColorPicker/index.d.ts +0 -0
  314. /package/dist/esm/types/{components → src/powell/components}/Dropdown/index.d.ts +0 -0
  315. /package/dist/esm/types/{components → src/powell/components}/Editor/index.d.ts +0 -0
  316. /package/dist/esm/types/{components → src/powell/components}/FormContainer/index.d.ts +0 -0
  317. /package/dist/esm/types/{components → src/powell/components}/InputMask/index.d.ts +0 -0
  318. /package/dist/esm/types/{components → src/powell/components}/InputNumber/index.d.ts +0 -0
  319. /package/dist/esm/types/{components → src/powell/components}/InputOtp/index.d.ts +0 -0
  320. /package/dist/esm/types/{components → src/powell/components}/InputPassword/index.d.ts +0 -0
  321. /package/dist/esm/types/{components → src/powell/components}/InputSwitch/index.d.ts +0 -0
  322. /package/dist/esm/types/{components → src/powell/components}/InputText/index.d.ts +0 -0
  323. /package/dist/esm/types/{components → src/powell/components}/InputTextarea/index.d.ts +0 -0
  324. /package/dist/esm/types/{components → src/powell/components}/Knob/index.d.ts +0 -0
  325. /package/dist/esm/types/{components → src/powell/components}/ListBox/index.d.ts +0 -0
  326. /package/dist/esm/types/{components → src/powell/components}/Mention/index.d.ts +0 -0
  327. /package/dist/esm/types/{components → src/powell/components}/MultiSelect/index.d.ts +0 -0
  328. /package/dist/esm/types/{components → src/powell/components}/MultiStateCheckbox/index.d.ts +0 -0
  329. /package/dist/esm/types/{components → src/powell/components}/RadioGroup/index.d.ts +0 -0
  330. /package/dist/esm/types/{components → src/powell/components}/Rating/index.d.ts +0 -0
  331. /package/dist/esm/types/{components → src/powell/components}/SelectButton/index.d.ts +0 -0
  332. /package/dist/esm/types/{components → src/powell/components}/Slider/index.d.ts +0 -0
  333. /package/dist/esm/types/{components → src/powell/components}/ToggleButton/index.d.ts +0 -0
  334. /package/dist/esm/types/{components → src/powell/components}/TreeSelect/index.d.ts +0 -0
  335. /package/dist/esm/types/{components → src/powell/components}/TriStateCheckbox/index.d.ts +0 -0
  336. /package/dist/esm/types/{hooks → src/powell/hooks}/index.d.ts +0 -0
  337. /package/dist/esm/types/{index.d.ts → src/powell/index.d.ts} +0 -0
  338. /package/dist/esm/types/{models → src/powell/models}/common.d.ts +0 -0
  339. /package/dist/esm/types/{models → src/powell/models}/index.d.ts +0 -0
  340. /package/dist/esm/types/{utils → src/powell/utils}/globalState.d.ts +0 -0
  341. /package/dist/esm/types/{utils → src/powell/utils}/index.d.ts +0 -0
@@ -1,2 +0,0 @@
1
- import { PowellConfig } from "@models";
2
- export declare const configService: import("@utils").StateWithValue<PowellConfig>;
package/dist/index.d.ts DELETED
@@ -1,495 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as react from 'react';
3
- import { PropsWithChildren, ReactNode, ChangeEvent, MouseEvent } from 'react';
4
- import { PowellConfig, SafeAny, Addon, Size, LabelPosition, ButtonAppearance, FixLabelPosition } from '@models';
5
- import { $AutoCompleteProps, $IconFieldProps, $ButtonProps, $CascadeSelectProps, $CheckboxProps, $ChipsProps, $ChipsChangeEvent, $ColorPickerProps, $DropdownProps, $EditorProps, $FormikValues, $FormikConfig, $FormikContextType, $InputMaskProps, $InputNumberProps, $InputOtpProps, $PasswordProps, $InputSwitchProps, $InputTextProps, $InputTextareaProps, $KnobProps, $ListBoxProps, $MentionProps, $MultiSelectProps, $MultiStateCheckboxProps, $RadioButtonProps, $RatingProps, $SelectButtonProps, $SliderProps, $ToggleButtonProps, $TreeSelectProps, $TriStateCheckboxProps } from '@api';
6
-
7
- declare const PowellProvider: (props: PropsWithChildren<{
8
- config?: PowellConfig;
9
- }>) => react_jsx_runtime.JSX.Element;
10
-
11
- interface AutoCompleteProps extends $AutoCompleteProps {
12
- name?: string;
13
- parseError?: (error: string) => ReactNode;
14
- transform?: {
15
- input?: (value: SafeAny) => string;
16
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
17
- };
18
- showRequiredStar?: boolean;
19
- rtl?: boolean;
20
- label?: string;
21
- icon?: string | ReactNode;
22
- hint?: string;
23
- addon?: Addon;
24
- inputSize?: Size;
25
- iconPosition?: $IconFieldProps["iconPosition"];
26
- labelPosition?: LabelPosition;
27
- }
28
- declare const AutoComplete: (props: AutoCompleteProps) => react_jsx_runtime.JSX.Element;
29
-
30
- type ButtonState = 'default' | 'loading' | 'next';
31
- interface ButtonOnClickAsyncEvent {
32
- loadingCallback: (ok?: boolean) => void;
33
- event: MouseEvent<HTMLButtonElement>;
34
- }
35
- interface ButtonProps extends Omit<$ButtonProps, "loading" | "link" | "text" | "outlined"> {
36
- async?: boolean;
37
- onClickAsync?: (event: ButtonOnClickAsyncEvent) => void;
38
- appearance?: ButtonAppearance;
39
- nextLabel?: string;
40
- nextIcon?: string;
41
- nextRaised?: boolean;
42
- nextAppearance?: ButtonAppearance;
43
- nextSeverity?: ButtonProps['severity'];
44
- state?: ButtonState;
45
- onStateChange?: (state: ButtonState) => void;
46
- }
47
- declare const Button: react.MemoExoticComponent<(props: ButtonProps) => react_jsx_runtime.JSX.Element>;
48
-
49
- interface CascadeSelectProps extends $CascadeSelectProps {
50
- name?: string;
51
- parseError?: (error: string) => ReactNode;
52
- transform?: {
53
- input?: (value: SafeAny) => string;
54
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
55
- };
56
- showRequiredStar?: boolean;
57
- rtl?: boolean;
58
- label?: string;
59
- icon?: string | ReactNode;
60
- hint?: string;
61
- addon?: Addon;
62
- inputSize?: Size;
63
- iconPosition?: $IconFieldProps["iconPosition"];
64
- labelPosition?: LabelPosition;
65
- }
66
- declare const CascadeSelect: (props: CascadeSelectProps) => react_jsx_runtime.JSX.Element;
67
-
68
- interface CheckboxProps extends Omit<$CheckboxProps, 'checked'> {
69
- checked?: boolean;
70
- name?: string;
71
- parseError?: (error: string) => ReactNode;
72
- transform?: {
73
- input?: (value: SafeAny) => string;
74
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
75
- };
76
- showRequiredStar?: boolean;
77
- rtl?: boolean;
78
- label?: string;
79
- hint?: string;
80
- labelPosition?: FixLabelPosition;
81
- }
82
- declare const Checkbox: (props: CheckboxProps) => react_jsx_runtime.JSX.Element;
83
-
84
- interface ChipsProps extends $ChipsProps {
85
- name?: string;
86
- parseError?: (error: string) => ReactNode;
87
- transform?: {
88
- input?: (value: SafeAny) => string;
89
- output?: (event: $ChipsChangeEvent) => SafeAny;
90
- };
91
- showRequiredStar?: boolean;
92
- rtl?: boolean;
93
- label?: string;
94
- icon?: string | ReactNode;
95
- hint?: string;
96
- inputSize?: Size;
97
- addon?: Addon;
98
- iconPosition?: $IconFieldProps["iconPosition"];
99
- labelPosition?: LabelPosition;
100
- }
101
- declare const Chips: (props: ChipsProps) => react_jsx_runtime.JSX.Element;
102
-
103
- interface ColorPickerProps extends $ColorPickerProps {
104
- name?: string;
105
- parseError?: (error: string) => ReactNode;
106
- transform?: {
107
- input?: (value: SafeAny) => string;
108
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
109
- };
110
- showRequiredStar?: boolean;
111
- rtl?: boolean;
112
- label?: string;
113
- icon?: string | ReactNode;
114
- hint?: string;
115
- inputSize?: Size;
116
- addon?: Addon;
117
- iconPosition?: $IconFieldProps["iconPosition"];
118
- labelPosition?: LabelPosition;
119
- }
120
- declare const ColorPicker: (props: ColorPickerProps) => react_jsx_runtime.JSX.Element;
121
-
122
- interface DropdownProps extends $DropdownProps {
123
- name?: string;
124
- parseError?: (error: string) => ReactNode;
125
- transform?: {
126
- input?: (value: SafeAny) => string;
127
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
128
- };
129
- showRequiredStar?: boolean;
130
- rtl?: boolean;
131
- label?: string;
132
- icon?: string | ReactNode;
133
- hint?: string;
134
- inputSize?: Size;
135
- addon?: Addon;
136
- iconPosition?: $IconFieldProps["iconPosition"];
137
- labelPosition?: LabelPosition;
138
- }
139
- declare const Dropdown: (props: DropdownProps) => react_jsx_runtime.JSX.Element;
140
-
141
- interface EditorProps extends $EditorProps {
142
- name?: string;
143
- parseError?: (error: string) => ReactNode;
144
- transform?: {
145
- input?: (value: SafeAny) => string;
146
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
147
- };
148
- showRequiredStar?: boolean;
149
- rtl?: boolean;
150
- label?: string;
151
- icon?: string | ReactNode;
152
- hint?: string;
153
- addon?: Addon;
154
- iconPosition?: $IconFieldProps["iconPosition"];
155
- labelPosition?: LabelPosition;
156
- }
157
- declare const Editor: (props: EditorProps) => react_jsx_runtime.JSX.Element;
158
-
159
- interface FormContainerProps<T extends $FormikValues> extends $FormikConfig<T> {
160
- onInit?: (context: $FormikContextType<T>) => void;
161
- className?: string;
162
- }
163
- declare const FormContainer: react.ForwardRefExoticComponent<FormContainerProps<$FormikValues> & react.RefAttributes<HTMLFormElement>>;
164
-
165
- interface InputMaskProps extends $InputMaskProps {
166
- name?: string;
167
- parseError?: (error: string) => ReactNode;
168
- transform?: {
169
- input?: (value: SafeAny) => string;
170
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
171
- };
172
- showRequiredStar?: boolean;
173
- rtl?: boolean;
174
- label?: string;
175
- icon?: string | ReactNode;
176
- hint?: string;
177
- inputSize?: Size;
178
- addon?: Addon;
179
- iconPosition?: $IconFieldProps["iconPosition"];
180
- labelPosition?: LabelPosition;
181
- }
182
- declare const InputMask: (props: InputMaskProps) => react_jsx_runtime.JSX.Element;
183
-
184
- interface InputNumberProps extends $InputNumberProps {
185
- name?: string;
186
- parseError?: (error: string) => ReactNode;
187
- transform?: {
188
- input?: (value: SafeAny) => string;
189
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
190
- };
191
- showRequiredStar?: boolean;
192
- rtl?: boolean;
193
- label?: string;
194
- icon?: string | ReactNode;
195
- hint?: string;
196
- inputSize?: Size;
197
- addon?: Addon;
198
- iconPosition?: $IconFieldProps["iconPosition"];
199
- labelPosition?: LabelPosition;
200
- }
201
- declare const InputNumber: (props: InputNumberProps) => react_jsx_runtime.JSX.Element;
202
-
203
- interface InputOtpProps extends $InputOtpProps {
204
- name?: string;
205
- parseError?: (error: string) => ReactNode;
206
- transform?: {
207
- input?: (value: SafeAny) => string;
208
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
209
- };
210
- showRequiredStar?: boolean;
211
- rtl?: boolean;
212
- label?: string;
213
- hint?: string;
214
- inputSize?: Size;
215
- labelPosition?: FixLabelPosition;
216
- }
217
- declare const InputOtp: (props: InputOtpProps) => react_jsx_runtime.JSX.Element;
218
-
219
- interface InputPasswordProps extends $PasswordProps {
220
- name?: string;
221
- parseError?: (error: string) => ReactNode;
222
- transform?: {
223
- input?: (value: SafeAny) => string;
224
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
225
- };
226
- showRequiredStar?: boolean;
227
- rtl?: boolean;
228
- label?: string;
229
- icon?: string | ReactNode;
230
- hint?: string;
231
- inputSize?: Size;
232
- addon?: Addon;
233
- iconPosition?: $IconFieldProps["iconPosition"];
234
- labelPosition?: LabelPosition;
235
- }
236
- declare const InputPassword: (props: InputPasswordProps) => react_jsx_runtime.JSX.Element;
237
-
238
- interface InputSwitchProps extends Omit<$InputSwitchProps, 'checked'> {
239
- checked?: boolean;
240
- name?: string;
241
- parseError?: (error: string) => ReactNode;
242
- transform?: {
243
- input?: (value: SafeAny) => string;
244
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
245
- };
246
- showRequiredStar?: boolean;
247
- rtl?: boolean;
248
- label?: string;
249
- hint?: string;
250
- labelPosition?: FixLabelPosition;
251
- }
252
- declare const InputSwitch: (props: InputSwitchProps) => react_jsx_runtime.JSX.Element;
253
-
254
- interface InputTextProps extends $InputTextProps {
255
- name?: string;
256
- parseError?: (error: string) => ReactNode;
257
- transform?: {
258
- input?: (value: SafeAny) => string;
259
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
260
- };
261
- showRequiredStar?: boolean;
262
- rtl?: boolean;
263
- label?: string;
264
- icon?: string | ReactNode;
265
- hint?: string;
266
- inputSize?: Size;
267
- addon?: Addon;
268
- iconPosition?: $IconFieldProps["iconPosition"];
269
- labelPosition?: LabelPosition;
270
- }
271
- declare const InputText: (props: InputTextProps) => react_jsx_runtime.JSX.Element;
272
-
273
- interface InputTextareaProps extends $InputTextareaProps {
274
- name?: string;
275
- parseError?: (error: string) => ReactNode;
276
- transform?: {
277
- input?: (value: SafeAny) => string;
278
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
279
- };
280
- showRequiredStar?: boolean;
281
- rtl?: boolean;
282
- label?: string;
283
- icon?: string | ReactNode;
284
- hint?: string;
285
- addon?: Addon;
286
- iconPosition?: $IconFieldProps["iconPosition"];
287
- labelPosition?: LabelPosition;
288
- }
289
- declare const InputTextarea: (props: InputTextareaProps) => react_jsx_runtime.JSX.Element;
290
-
291
- interface KnobProps extends Omit<$KnobProps, 'checked'> {
292
- checked?: boolean;
293
- name?: string;
294
- parseError?: (error: string) => ReactNode;
295
- transform?: {
296
- input?: (value: SafeAny) => string;
297
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
298
- };
299
- showRequiredStar?: boolean;
300
- rtl?: boolean;
301
- label?: string;
302
- hint?: string;
303
- labelPosition?: FixLabelPosition;
304
- }
305
- declare const Knob: (props: KnobProps) => react_jsx_runtime.JSX.Element;
306
-
307
- interface ListBoxProps extends Omit<$ListBoxProps, 'checked'> {
308
- checked?: boolean;
309
- name?: string;
310
- parseError?: (error: string) => ReactNode;
311
- transform?: {
312
- input?: (value: SafeAny) => string;
313
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
314
- };
315
- showRequiredStar?: boolean;
316
- rtl?: boolean;
317
- label?: string;
318
- hint?: string;
319
- labelPosition?: FixLabelPosition;
320
- }
321
- declare const ListBox: (props: ListBoxProps) => react_jsx_runtime.JSX.Element;
322
-
323
- interface MentionProps extends $MentionProps {
324
- name?: string;
325
- parseError?: (error: string) => ReactNode;
326
- transform?: {
327
- input?: (value: SafeAny) => string;
328
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
329
- };
330
- showRequiredStar?: boolean;
331
- rtl?: boolean;
332
- label?: string;
333
- icon?: string | ReactNode;
334
- hint?: string;
335
- inputSize?: Size;
336
- addon?: Addon;
337
- iconPosition?: $IconFieldProps["iconPosition"];
338
- labelPosition?: LabelPosition;
339
- }
340
- declare const Mention: (props: MentionProps) => react_jsx_runtime.JSX.Element;
341
-
342
- interface MultiSelectProps extends $MultiSelectProps {
343
- name?: string;
344
- parseError?: (error: string) => ReactNode;
345
- transform?: {
346
- input?: (value: SafeAny) => string;
347
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
348
- };
349
- showRequiredStar?: boolean;
350
- rtl?: boolean;
351
- label?: string;
352
- icon?: string | ReactNode;
353
- hint?: string;
354
- inputSize?: Size;
355
- addon?: Addon;
356
- iconPosition?: $IconFieldProps["iconPosition"];
357
- labelPosition?: LabelPosition;
358
- }
359
- declare const MultiSelect: (props: MultiSelectProps) => react_jsx_runtime.JSX.Element;
360
-
361
- interface MultiStateCheckboxProps extends Omit<$MultiStateCheckboxProps, 'checked'> {
362
- checked?: boolean;
363
- name?: string;
364
- parseError?: (error: string) => ReactNode;
365
- transform?: {
366
- input?: (value: SafeAny) => string;
367
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
368
- };
369
- showRequiredStar?: boolean;
370
- rtl?: boolean;
371
- label?: string;
372
- hint?: string;
373
- labelPosition?: FixLabelPosition;
374
- }
375
- declare const MultiStateCheckbox: (props: MultiStateCheckboxProps) => react_jsx_runtime.JSX.Element;
376
-
377
- interface RadioGroupProps extends Omit<$RadioButtonProps, 'checked'> {
378
- checked?: boolean;
379
- name: string;
380
- parseError?: (error: string) => ReactNode;
381
- transform?: {
382
- input?: (value: SafeAny) => string;
383
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
384
- };
385
- showRequiredStar?: boolean;
386
- rtl?: boolean;
387
- label?: string;
388
- hint?: string;
389
- labelPosition?: FixLabelPosition;
390
- options: SafeAny[];
391
- optionLabel?: string;
392
- optionValue?: string;
393
- }
394
- declare const RadioGroup: (props: RadioGroupProps) => react_jsx_runtime.JSX.Element;
395
-
396
- interface RatingProps extends Omit<$RatingProps, 'checked'> {
397
- checked?: boolean;
398
- name?: string;
399
- parseError?: (error: string) => ReactNode;
400
- transform?: {
401
- input?: (value: SafeAny) => string;
402
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
403
- };
404
- showRequiredStar?: boolean;
405
- rtl?: boolean;
406
- label?: string;
407
- hint?: string;
408
- labelPosition?: FixLabelPosition;
409
- }
410
- declare const Rating: (props: RatingProps) => react_jsx_runtime.JSX.Element;
411
-
412
- interface SelectButtonProps extends Omit<$SelectButtonProps, 'checked'> {
413
- checked?: boolean;
414
- name?: string;
415
- parseError?: (error: string) => ReactNode;
416
- transform?: {
417
- input?: (value: SafeAny) => string;
418
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
419
- };
420
- showRequiredStar?: boolean;
421
- rtl?: boolean;
422
- label?: string;
423
- hint?: string;
424
- labelPosition?: FixLabelPosition;
425
- }
426
- declare const SelectButton: (props: SelectButtonProps) => react_jsx_runtime.JSX.Element;
427
-
428
- interface SliderProps extends Omit<$SliderProps, 'checked'> {
429
- checked?: boolean;
430
- name?: string;
431
- parseError?: (error: string) => ReactNode;
432
- transform?: {
433
- input?: (value: SafeAny) => string;
434
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
435
- };
436
- showRequiredStar?: boolean;
437
- rtl?: boolean;
438
- label?: string;
439
- hint?: string;
440
- labelPosition?: FixLabelPosition;
441
- }
442
- declare const Slider: (props: SliderProps) => react_jsx_runtime.JSX.Element;
443
-
444
- interface ToggleButtonProps extends Omit<$ToggleButtonProps, 'checked'> {
445
- checked?: boolean;
446
- name?: string;
447
- parseError?: (error: string) => ReactNode;
448
- transform?: {
449
- input?: (value: SafeAny) => string;
450
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
451
- };
452
- showRequiredStar?: boolean;
453
- rtl?: boolean;
454
- label?: string;
455
- hint?: string;
456
- labelPosition?: FixLabelPosition;
457
- }
458
- declare const ToggleButton: (props: ToggleButtonProps) => react_jsx_runtime.JSX.Element;
459
-
460
- interface TreeSelectProps extends $TreeSelectProps {
461
- name?: string;
462
- parseError?: (error: string) => ReactNode;
463
- transform?: {
464
- input?: (value: SafeAny) => string;
465
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
466
- };
467
- showRequiredStar?: boolean;
468
- rtl?: boolean;
469
- label?: string;
470
- icon?: string | ReactNode;
471
- hint?: string;
472
- inputSize?: Size;
473
- addon?: Addon;
474
- iconPosition?: $IconFieldProps["iconPosition"];
475
- labelPosition?: LabelPosition;
476
- }
477
- declare const TreeSelect: (props: TreeSelectProps) => react_jsx_runtime.JSX.Element;
478
-
479
- interface TriStateCheckboxProps extends Omit<$TriStateCheckboxProps, 'checked'> {
480
- checked?: boolean;
481
- name?: string;
482
- parseError?: (error: string) => ReactNode;
483
- transform?: {
484
- input?: (value: SafeAny) => string;
485
- output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
486
- };
487
- showRequiredStar?: boolean;
488
- rtl?: boolean;
489
- label?: string;
490
- hint?: string;
491
- labelPosition?: FixLabelPosition;
492
- }
493
- declare const TriStateCheckbox: (props: TriStateCheckboxProps) => react_jsx_runtime.JSX.Element;
494
-
495
- export { AutoComplete, Button, CascadeSelect, Checkbox, Chips, ColorPicker, Dropdown, Editor, FormContainer, InputMask, InputNumber, InputOtp, InputPassword, InputSwitch, InputText, InputTextarea, Knob, ListBox, Mention, MultiSelect, MultiStateCheckbox, PowellProvider, RadioGroup, Rating, SelectButton, Slider, ToggleButton, TreeSelect, TriStateCheckbox };