@ram_28/kf-ai-sdk 1.0.10 → 1.0.12

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 (193) hide show
  1. package/README.md +55 -48
  2. package/dist/api/client.d.ts +23 -13
  3. package/dist/api/client.d.ts.map +1 -1
  4. package/dist/api/datetime.d.ts +5 -5
  5. package/dist/api/datetime.d.ts.map +1 -1
  6. package/dist/api/index.d.ts +1 -1
  7. package/dist/api/index.d.ts.map +1 -1
  8. package/dist/api/metadata.d.ts +2 -2
  9. package/dist/api/metadata.d.ts.map +1 -1
  10. package/dist/api.cjs +1 -0
  11. package/dist/api.d.ts +4 -0
  12. package/dist/api.d.ts.map +1 -0
  13. package/dist/api.mjs +27 -0
  14. package/dist/api.types.cjs +1 -0
  15. package/dist/api.types.d.ts +4 -0
  16. package/dist/api.types.d.ts.map +1 -0
  17. package/dist/api.types.mjs +1 -0
  18. package/dist/auth/AuthProvider.d.ts +3 -3
  19. package/dist/auth/AuthProvider.d.ts.map +1 -1
  20. package/dist/auth/authClient.d.ts +4 -4
  21. package/dist/auth/authClient.d.ts.map +1 -1
  22. package/dist/auth/authConfig.d.ts +5 -5
  23. package/dist/auth/authConfig.d.ts.map +1 -1
  24. package/dist/auth/index.d.ts +1 -1
  25. package/dist/auth/index.d.ts.map +1 -1
  26. package/dist/auth/types.d.ts +21 -21
  27. package/dist/auth/types.d.ts.map +1 -1
  28. package/dist/auth/useAuth.d.ts +2 -2
  29. package/dist/auth/useAuth.d.ts.map +1 -1
  30. package/dist/auth.cjs +1 -0
  31. package/dist/auth.d.ts +5 -0
  32. package/dist/auth.d.ts.map +1 -0
  33. package/dist/auth.mjs +280 -0
  34. package/dist/auth.types.cjs +1 -0
  35. package/dist/auth.types.d.ts +2 -0
  36. package/dist/auth.types.d.ts.map +1 -0
  37. package/dist/auth.types.mjs +1 -0
  38. package/dist/base-types.d.ts +2 -0
  39. package/dist/base-types.d.ts.map +1 -0
  40. package/dist/client-C15j4O5B.cjs +1 -0
  41. package/dist/client-CfvLiGfP.js +233 -0
  42. package/dist/cn-Dr87sK3i.js +2775 -0
  43. package/dist/cn-mXUIg4vp.cjs +1 -0
  44. package/dist/components/hooks/index.d.ts +3 -3
  45. package/dist/components/hooks/index.d.ts.map +1 -1
  46. package/dist/components/hooks/useFilter/index.d.ts +2 -2
  47. package/dist/components/hooks/useFilter/index.d.ts.map +1 -1
  48. package/dist/components/hooks/useFilter/types.d.ts +19 -31
  49. package/dist/components/hooks/useFilter/types.d.ts.map +1 -1
  50. package/dist/components/hooks/useFilter/useFilter.d.ts +2 -2
  51. package/dist/components/hooks/useFilter/useFilter.d.ts.map +1 -1
  52. package/dist/components/hooks/useForm/apiClient.d.ts +6 -6
  53. package/dist/components/hooks/useForm/apiClient.d.ts.map +1 -1
  54. package/dist/components/hooks/useForm/expressionValidator.utils.d.ts +7 -7
  55. package/dist/components/hooks/useForm/expressionValidator.utils.d.ts.map +1 -1
  56. package/dist/components/hooks/useForm/index.d.ts +5 -5
  57. package/dist/components/hooks/useForm/index.d.ts.map +1 -1
  58. package/dist/components/hooks/useForm/optimizedExpressionValidator.utils.d.ts +10 -10
  59. package/dist/components/hooks/useForm/optimizedExpressionValidator.utils.d.ts.map +1 -1
  60. package/dist/components/hooks/useForm/ruleClassifier.utils.d.ts +7 -12
  61. package/dist/components/hooks/useForm/ruleClassifier.utils.d.ts.map +1 -1
  62. package/dist/components/hooks/useForm/schemaParser.utils.d.ts +7 -7
  63. package/dist/components/hooks/useForm/schemaParser.utils.d.ts.map +1 -1
  64. package/dist/components/hooks/useForm/types.d.ts +79 -70
  65. package/dist/components/hooks/useForm/types.d.ts.map +1 -1
  66. package/dist/components/hooks/useForm/useForm.d.ts +2 -2
  67. package/dist/components/hooks/useForm/useForm.d.ts.map +1 -1
  68. package/dist/components/hooks/useKanban/apiClient.d.ts +16 -16
  69. package/dist/components/hooks/useKanban/apiClient.d.ts.map +1 -1
  70. package/dist/components/hooks/useKanban/context.d.ts +3 -3
  71. package/dist/components/hooks/useKanban/context.d.ts.map +1 -1
  72. package/dist/components/hooks/useKanban/dragDropManager.d.ts +7 -7
  73. package/dist/components/hooks/useKanban/dragDropManager.d.ts.map +1 -1
  74. package/dist/components/hooks/useKanban/index.d.ts +1 -1
  75. package/dist/components/hooks/useKanban/index.d.ts.map +1 -1
  76. package/dist/components/hooks/useKanban/types.d.ts +65 -67
  77. package/dist/components/hooks/useKanban/types.d.ts.map +1 -1
  78. package/dist/components/hooks/useKanban/useKanban.d.ts +2 -2
  79. package/dist/components/hooks/useKanban/useKanban.d.ts.map +1 -1
  80. package/dist/components/hooks/useTable/index.d.ts +1 -1
  81. package/dist/components/hooks/useTable/index.d.ts.map +1 -1
  82. package/dist/components/hooks/useTable/types.d.ts +10 -10
  83. package/dist/components/hooks/useTable/types.d.ts.map +1 -1
  84. package/dist/components/hooks/useTable/useTable.d.ts +2 -2
  85. package/dist/components/hooks/useTable/useTable.d.ts.map +1 -1
  86. package/dist/filter.cjs +1 -0
  87. package/dist/filter.d.ts +3 -0
  88. package/dist/filter.d.ts.map +1 -0
  89. package/dist/filter.mjs +6 -0
  90. package/dist/filter.types.cjs +1 -0
  91. package/dist/filter.types.d.ts +2 -0
  92. package/dist/filter.types.d.ts.map +1 -0
  93. package/dist/filter.types.mjs +1 -0
  94. package/dist/form.cjs +1 -0
  95. package/dist/form.d.ts +3 -0
  96. package/dist/form.d.ts.map +1 -0
  97. package/dist/form.mjs +1346 -0
  98. package/dist/form.types.cjs +1 -0
  99. package/dist/form.types.d.ts +2 -0
  100. package/dist/form.types.d.ts.map +1 -0
  101. package/dist/form.types.mjs +1 -0
  102. package/dist/jsx-runtime-BYECrxsp.cjs +30 -0
  103. package/dist/jsx-runtime-DGlMoOmv.js +630 -0
  104. package/dist/kanban.cjs +13 -0
  105. package/dist/kanban.d.ts +5 -0
  106. package/dist/kanban.d.ts.map +1 -0
  107. package/dist/kanban.mjs +694 -0
  108. package/dist/kanban.types.cjs +1 -0
  109. package/dist/kanban.types.d.ts +2 -0
  110. package/dist/kanban.types.d.ts.map +1 -0
  111. package/dist/kanban.types.mjs +1 -0
  112. package/dist/kanban.ui.cjs +1 -0
  113. package/dist/kanban.ui.d.ts +2 -0
  114. package/dist/kanban.ui.d.ts.map +1 -0
  115. package/dist/kanban.ui.mjs +104 -0
  116. package/dist/metadata-2FLBsFcf.cjs +1 -0
  117. package/dist/metadata-DBcoDth-.js +43 -0
  118. package/dist/table.cjs +1 -0
  119. package/dist/table.d.ts +2 -0
  120. package/dist/table.d.ts.map +1 -0
  121. package/dist/table.mjs +148 -0
  122. package/dist/table.types.cjs +1 -0
  123. package/dist/table.types.d.ts +2 -0
  124. package/dist/table.types.d.ts.map +1 -0
  125. package/dist/table.types.mjs +1 -0
  126. package/dist/types/base-fields.d.ts +45 -45
  127. package/dist/types/base-fields.d.ts.map +1 -1
  128. package/dist/types/common.d.ts +45 -61
  129. package/dist/types/common.d.ts.map +1 -1
  130. package/dist/types.cjs +1 -0
  131. package/dist/types.mjs +1 -0
  132. package/dist/useFilter-CXFqEHyI.js +129 -0
  133. package/dist/useFilter-D-bCDo6Z.cjs +1 -0
  134. package/dist/utils/formatting.d.ts +4 -4
  135. package/dist/utils/formatting.d.ts.map +1 -1
  136. package/dist/utils.cjs +4 -0
  137. package/dist/utils.d.ts +3 -0
  138. package/dist/utils.d.ts.map +1 -0
  139. package/dist/utils.mjs +105 -0
  140. package/package.json +147 -9
  141. package/sdk/api/client.ts +76 -49
  142. package/sdk/api/datetime.ts +5 -5
  143. package/sdk/api/index.ts +28 -33
  144. package/sdk/api/metadata.ts +4 -4
  145. package/sdk/api.ts +24 -0
  146. package/sdk/api.types.ts +58 -0
  147. package/sdk/auth/AuthProvider.tsx +18 -18
  148. package/sdk/auth/authClient.ts +9 -9
  149. package/sdk/auth/authConfig.ts +9 -9
  150. package/sdk/auth/index.ts +5 -5
  151. package/sdk/auth/types.ts +21 -21
  152. package/sdk/auth/useAuth.ts +2 -2
  153. package/sdk/auth.ts +22 -0
  154. package/sdk/auth.types.ts +28 -0
  155. package/sdk/base-types.ts +45 -0
  156. package/sdk/components/hooks/index.ts +22 -22
  157. package/sdk/components/hooks/useFilter/index.ts +8 -14
  158. package/sdk/components/hooks/useFilter/types.ts +29 -58
  159. package/sdk/components/hooks/useFilter/useFilter.ts +41 -44
  160. package/sdk/components/hooks/useForm/apiClient.ts +8 -8
  161. package/sdk/components/hooks/useForm/expressionValidator.utils.ts +18 -18
  162. package/sdk/components/hooks/useForm/index.ts +24 -24
  163. package/sdk/components/hooks/useForm/optimizedExpressionValidator.utils.ts +22 -22
  164. package/sdk/components/hooks/useForm/ruleClassifier.utils.ts +26 -62
  165. package/sdk/components/hooks/useForm/schemaParser.utils.ts +24 -24
  166. package/sdk/components/hooks/useForm/types.ts +85 -75
  167. package/sdk/components/hooks/useForm/useForm.ts +160 -40
  168. package/sdk/components/hooks/useKanban/apiClient.ts +54 -54
  169. package/sdk/components/hooks/useKanban/context.ts +3 -3
  170. package/sdk/components/hooks/useKanban/dragDropManager.ts +19 -19
  171. package/sdk/components/hooks/useKanban/index.ts +26 -26
  172. package/sdk/components/hooks/useKanban/types.ts +69 -71
  173. package/sdk/components/hooks/useKanban/useKanban.ts +43 -51
  174. package/sdk/components/hooks/useKanban/useKanbanSimple.ts +4 -4
  175. package/sdk/components/hooks/useTable/index.ts +5 -1
  176. package/sdk/components/hooks/useTable/types.ts +10 -10
  177. package/sdk/components/hooks/useTable/useTable.ts +10 -10
  178. package/sdk/filter.ts +13 -0
  179. package/sdk/filter.types.ts +17 -0
  180. package/sdk/form.ts +15 -0
  181. package/sdk/form.types.ts +46 -0
  182. package/sdk/kanban.ts +23 -0
  183. package/sdk/kanban.types.ts +50 -0
  184. package/sdk/kanban.ui.ts +16 -0
  185. package/sdk/table.ts +7 -0
  186. package/sdk/table.types.ts +13 -0
  187. package/sdk/types/base-fields.ts +47 -47
  188. package/sdk/types/common.ts +47 -71
  189. package/sdk/types/index.ts +1 -1
  190. package/sdk/utils/formatting.ts +4 -4
  191. package/sdk/utils.ts +10 -0
  192. package/dist/index.cjs +0 -45
  193. package/dist/index.mjs +0 -6327
@@ -0,0 +1 @@
1
+ "use strict";function we(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=we(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Ge(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=we(e))&&(o&&(o+=" "),o+=t);return o}const Te=(e,t)=>{const r=new Array(e.length+t.length);for(let o=0;o<e.length;o++)r[o]=e[o];for(let o=0;o<t.length;o++)r[e.length+o]=t[o];return r},Oe=(e,t)=>({classGroupId:e,validator:t}),xe=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),K="-",ue=[],je="arbitrary..",Le=e=>{const t=Ne(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Ee(a);const u=a.split(K),c=u[0]===""&&u.length>1?1:0;return ke(u,c,t)},getConflictingClassGroupIds:(a,u)=>{if(u){const c=o[a],f=r[a];return c?f?Te(f,c):c:f||ue}return r[a]||ue}}},ke=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const i=e[t],d=r.nextPart.get(i);if(d){const f=ke(e,t+1,d);if(f)return f}const a=r.validators;if(a===null)return;const u=t===0?e.join(K):e.slice(t).join(K),c=a.length;for(let f=0;f<c;f++){const h=a[f];if(h.validator(u))return h.classGroupId}},Ee=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),o=t.slice(0,r);return o?je+o:void 0})(),Ne=e=>{const{theme:t,classGroups:r}=e;return Ve(r,t)},Ve=(e,t)=>{const r=xe();for(const o in e){const i=e[o];se(i,r,o,t)}return r},se=(e,t,r,o)=>{const i=e.length;for(let d=0;d<i;d++){const a=e[d];Fe(a,t,r,o)}},Fe=(e,t,r,o)=>{if(typeof e=="string"){_e(e,t,r);return}if(typeof e=="function"){We(e,t,r,o);return}Be(e,t,r,o)},_e=(e,t,r)=>{const o=e===""?t:ye(t,e);o.classGroupId=r},We=(e,t,r,o)=>{if($e(e)){se(e(o),t,r,o);return}t.validators===null&&(t.validators=[]),t.validators.push(Oe(r,e))},Be=(e,t,r,o)=>{const i=Object.entries(e),d=i.length;for(let a=0;a<d;a++){const[u,c]=i[a];se(c,ye(t,u),r,o)}},ye=(e,t)=>{let r=e;const o=t.split(K),i=o.length;for(let d=0;d<i;d++){const a=o[d];let u=r.nextPart.get(a);u||(u=xe(),r.nextPart.set(a,u)),r=u}return r},$e=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Ue=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),o=Object.create(null);const i=(d,a)=>{r[d]=a,t++,t>e&&(t=0,o=r,r=Object.create(null))};return{get(d){let a=r[d];if(a!==void 0)return a;if((a=o[d])!==void 0)return i(d,a),a},set(d,a){d in r?r[d]=a:i(d,a)}}},te="!",fe=":",De=[],be=(e,t,r,o,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:o,isExternal:i}),Ye=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=i=>{const d=[];let a=0,u=0,c=0,f;const h=i.length;for(let v=0;v<h;v++){const x=i[v];if(a===0&&u===0){if(x===fe){d.push(i.slice(c,v)),c=v+1;continue}if(x==="/"){f=v;continue}}x==="["?a++:x==="]"?a--:x==="("?u++:x===")"&&u--}const y=d.length===0?i:i.slice(c);let z=y,I=!1;y.endsWith(te)?(z=y.slice(0,-1),I=!0):y.startsWith(te)&&(z=y.slice(1),I=!0);const M=f&&f>c?f-c:void 0;return be(d,I,z,M)};if(t){const i=t+fe,d=o;o=a=>a.startsWith(i)?d(a.slice(i.length)):be(De,!1,a,void 0,!0)}if(r){const i=o;o=d=>r({className:d,parseClassName:i})}return o},qe=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,o)=>{t.set(r,1e6+o)}),r=>{const o=[];let i=[];for(let d=0;d<r.length;d++){const a=r[d],u=a[0]==="[",c=t.has(a);u||c?(i.length>0&&(i.sort(),o.push(...i),i=[]),o.push(a)):i.push(a)}return i.length>0&&(i.sort(),o.push(...i)),o}},Xe=e=>({cache:Ue(e.cacheSize),parseClassName:Ye(e),sortModifiers:qe(e),...Le(e)}),Je=/\s+/,He=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:d}=t,a=[],u=e.trim().split(Je);let c="";for(let f=u.length-1;f>=0;f-=1){const h=u[f],{isExternal:y,modifiers:z,hasImportantModifier:I,baseClassName:M,maybePostfixModifierPosition:v}=r(h);if(y){c=h+(c.length>0?" "+c:c);continue}let x=!!v,P=o(x?M.substring(0,v):M);if(!P){if(!x){c=h+(c.length>0?" "+c:c);continue}if(P=o(M),!P){c=h+(c.length>0?" "+c:c);continue}x=!1}const $=z.length===0?"":z.length===1?z[0]:d(z).join(":"),_=I?$+te:$,j=_+P;if(a.indexOf(j)>-1)continue;a.push(j);const L=i(P,x);for(let G=0;G<L.length;++G){const W=L[G];a.push(_+W)}c=h+(c.length>0?" "+c:c)}return c},Ke=(...e)=>{let t=0,r,o,i="";for(;t<e.length;)(r=e[t++])&&(o=ve(r))&&(i&&(i+=" "),i+=o);return i},ve=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ve(e[o]))&&(r&&(r+=" "),r+=t);return r},Qe=(e,...t)=>{let r,o,i,d;const a=c=>{const f=t.reduce((h,y)=>y(h),e());return r=Xe(f),o=r.cache.get,i=r.cache.set,d=u,u(c)},u=c=>{const f=o(c);if(f)return f;const h=He(c,r);return i(c,h),h};return d=a,(...c)=>d(Ke(...c))},Ze=[],b=e=>{const t=r=>r[e]||Ze;return t.isThemeGetter=!0,t},ze=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ce=/^\((?:(\w[\w-]*):)?(.+)\)$/i,eo=/^\d+\/\d+$/,oo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ro=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,to=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,so=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,no=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>eo.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),oe=e=>e.endsWith("%")&&p(e.slice(0,-1)),S=e=>oo.test(e),ao=()=>!0,io=e=>ro.test(e)&&!to.test(e),Ae=()=>!1,lo=e=>so.test(e),co=e=>no.test(e),mo=e=>!s(e)&&!n(e),po=e=>V(e,Ie,Ae),s=e=>ze.test(e),O=e=>V(e,Me,io),re=e=>V(e,ho,p),ge=e=>V(e,Se,Ae),uo=e=>V(e,Re,co),J=e=>V(e,Pe,lo),n=e=>Ce.test(e),B=e=>F(e,Me),fo=e=>F(e,wo),he=e=>F(e,Se),bo=e=>F(e,Ie),go=e=>F(e,Re),H=e=>F(e,Pe,!0),V=(e,t,r)=>{const o=ze.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},F=(e,t,r=!1)=>{const o=Ce.exec(e);return o?o[1]?t(o[1]):r:!1},Se=e=>e==="position"||e==="percentage",Re=e=>e==="image"||e==="url",Ie=e=>e==="length"||e==="size"||e==="bg-size",Me=e=>e==="length",ho=e=>e==="number",wo=e=>e==="family-name",Pe=e=>e==="shadow",xo=()=>{const e=b("color"),t=b("font"),r=b("text"),o=b("font-weight"),i=b("tracking"),d=b("leading"),a=b("breakpoint"),u=b("container"),c=b("spacing"),f=b("radius"),h=b("shadow"),y=b("inset-shadow"),z=b("text-shadow"),I=b("drop-shadow"),M=b("blur"),v=b("perspective"),x=b("aspect"),P=b("ease"),$=b("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...j(),n,s],G=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],m=()=>[n,s,c],C=()=>[N,"full","auto",...m()],ne=()=>[R,"none","subgrid",n,s],ae=()=>["auto",{span:["full",R,n,s]},R,n,s],U=()=>[R,"auto",n,s],ie=()=>["auto","min","max","fr",n,s],Q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],E=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...m()],T=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],l=()=>[e,n,s],le=()=>[...j(),he,ge,{position:[n,s]}],ce=()=>["no-repeat",{repeat:["","x","y","space","round"]}],de=()=>["auto","cover","contain",bo,po,{size:[n,s]}],Z=()=>[oe,B,O],w=()=>["","none","full",f,n,s],k=()=>["",p,B,O],D=()=>["solid","dashed","dotted","double"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],g=()=>[p,oe,he,ge],pe=()=>["","none",M,n,s],Y=()=>["none",p,n,s],q=()=>["none",p,n,s],ee=()=>[p,n,s],X=()=>[N,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[S],breakpoint:[S],color:[ao],container:[S],"drop-shadow":[S],ease:["in","out","in-out"],font:[mo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[S],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[S],shadow:[S],spacing:["px",p],text:[S],"text-shadow":[S],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,s,n,x]}],container:["container"],columns:[{columns:[p,s,n,u]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:L()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",n,s]}],basis:[{basis:[N,"full","auto",u,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,N,"auto","initial","none",s]}],grow:[{grow:["",p,n,s]}],shrink:[{shrink:["",p,n,s]}],order:[{order:[R,"first","last","none",n,s]}],"grid-cols":[{"grid-cols":ne()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":ne()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...Q(),"normal"]}],"justify-items":[{"justify-items":[...E(),"normal"]}],"justify-self":[{"justify-self":["auto",...E()]}],"align-content":[{content:["normal",...Q()]}],"align-items":[{items:[...E(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...E(),{baseline:["","last"]}]}],"place-content":[{"place-content":Q()}],"place-items":[{"place-items":[...E(),"baseline"]}],"place-self":[{"place-self":["auto",...E()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:T()}],w:[{w:[u,"screen",...T()]}],"min-w":[{"min-w":[u,"screen","none",...T()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[a]},...T()]}],h:[{h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",r,B,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,n,re]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",oe,s]}],"font-family":[{font:[fo,s,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,n,s]}],"line-clamp":[{"line-clamp":[p,"none",n,re]}],leading:[{leading:[d,...m()]}],"list-image":[{"list-image":["none",n,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",n,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:l()}],"text-color":[{text:l()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",n,O]}],"text-decoration-color":[{decoration:l()}],"underline-offset":[{"underline-offset":[p,"auto",n,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",n,s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",n,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:ce()}],"bg-size":[{bg:de()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,n,s],radial:["",n,s],conic:[R,n,s]},go,uo]}],"bg-color":[{bg:l()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:l()}],"gradient-via":[{via:l()}],"gradient-to":[{to:l()}],rounded:[{rounded:w()}],"rounded-s":[{"rounded-s":w()}],"rounded-e":[{"rounded-e":w()}],"rounded-t":[{"rounded-t":w()}],"rounded-r":[{"rounded-r":w()}],"rounded-b":[{"rounded-b":w()}],"rounded-l":[{"rounded-l":w()}],"rounded-ss":[{"rounded-ss":w()}],"rounded-se":[{"rounded-se":w()}],"rounded-ee":[{"rounded-ee":w()}],"rounded-es":[{"rounded-es":w()}],"rounded-tl":[{"rounded-tl":w()}],"rounded-tr":[{"rounded-tr":w()}],"rounded-br":[{"rounded-br":w()}],"rounded-bl":[{"rounded-bl":w()}],"border-w":[{border:k()}],"border-w-x":[{"border-x":k()}],"border-w-y":[{"border-y":k()}],"border-w-s":[{"border-s":k()}],"border-w-e":[{"border-e":k()}],"border-w-t":[{"border-t":k()}],"border-w-r":[{"border-r":k()}],"border-w-b":[{"border-b":k()}],"border-w-l":[{"border-l":k()}],"divide-x":[{"divide-x":k()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":k()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...D(),"hidden","none"]}],"divide-style":[{divide:[...D(),"hidden","none"]}],"border-color":[{border:l()}],"border-color-x":[{"border-x":l()}],"border-color-y":[{"border-y":l()}],"border-color-s":[{"border-s":l()}],"border-color-e":[{"border-e":l()}],"border-color-t":[{"border-t":l()}],"border-color-r":[{"border-r":l()}],"border-color-b":[{"border-b":l()}],"border-color-l":[{"border-l":l()}],"divide-color":[{divide:l()}],"outline-style":[{outline:[...D(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,n,s]}],"outline-w":[{outline:["",p,B,O]}],"outline-color":[{outline:l()}],shadow:[{shadow:["","none",h,H,J]}],"shadow-color":[{shadow:l()}],"inset-shadow":[{"inset-shadow":["none",y,H,J]}],"inset-shadow-color":[{"inset-shadow":l()}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:l()}],"ring-offset-w":[{"ring-offset":[p,O]}],"ring-offset-color":[{"ring-offset":l()}],"inset-ring-w":[{"inset-ring":k()}],"inset-ring-color":[{"inset-ring":l()}],"text-shadow":[{"text-shadow":["none",z,H,J]}],"text-shadow-color":[{"text-shadow":l()}],opacity:[{opacity:[p,n,s]}],"mix-blend":[{"mix-blend":[...me(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":me()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":g()}],"mask-image-linear-to-pos":[{"mask-linear-to":g()}],"mask-image-linear-from-color":[{"mask-linear-from":l()}],"mask-image-linear-to-color":[{"mask-linear-to":l()}],"mask-image-t-from-pos":[{"mask-t-from":g()}],"mask-image-t-to-pos":[{"mask-t-to":g()}],"mask-image-t-from-color":[{"mask-t-from":l()}],"mask-image-t-to-color":[{"mask-t-to":l()}],"mask-image-r-from-pos":[{"mask-r-from":g()}],"mask-image-r-to-pos":[{"mask-r-to":g()}],"mask-image-r-from-color":[{"mask-r-from":l()}],"mask-image-r-to-color":[{"mask-r-to":l()}],"mask-image-b-from-pos":[{"mask-b-from":g()}],"mask-image-b-to-pos":[{"mask-b-to":g()}],"mask-image-b-from-color":[{"mask-b-from":l()}],"mask-image-b-to-color":[{"mask-b-to":l()}],"mask-image-l-from-pos":[{"mask-l-from":g()}],"mask-image-l-to-pos":[{"mask-l-to":g()}],"mask-image-l-from-color":[{"mask-l-from":l()}],"mask-image-l-to-color":[{"mask-l-to":l()}],"mask-image-x-from-pos":[{"mask-x-from":g()}],"mask-image-x-to-pos":[{"mask-x-to":g()}],"mask-image-x-from-color":[{"mask-x-from":l()}],"mask-image-x-to-color":[{"mask-x-to":l()}],"mask-image-y-from-pos":[{"mask-y-from":g()}],"mask-image-y-to-pos":[{"mask-y-to":g()}],"mask-image-y-from-color":[{"mask-y-from":l()}],"mask-image-y-to-color":[{"mask-y-to":l()}],"mask-image-radial":[{"mask-radial":[n,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":g()}],"mask-image-radial-to-pos":[{"mask-radial-to":g()}],"mask-image-radial-from-color":[{"mask-radial-from":l()}],"mask-image-radial-to-color":[{"mask-radial-to":l()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":j()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":g()}],"mask-image-conic-to-pos":[{"mask-conic-to":g()}],"mask-image-conic-from-color":[{"mask-conic-from":l()}],"mask-image-conic-to-color":[{"mask-conic-to":l()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:le()}],"mask-repeat":[{mask:ce()}],"mask-size":[{mask:de()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",n,s]}],filter:[{filter:["","none",n,s]}],blur:[{blur:pe()}],brightness:[{brightness:[p,n,s]}],contrast:[{contrast:[p,n,s]}],"drop-shadow":[{"drop-shadow":["","none",I,H,J]}],"drop-shadow-color":[{"drop-shadow":l()}],grayscale:[{grayscale:["",p,n,s]}],"hue-rotate":[{"hue-rotate":[p,n,s]}],invert:[{invert:["",p,n,s]}],saturate:[{saturate:[p,n,s]}],sepia:[{sepia:["",p,n,s]}],"backdrop-filter":[{"backdrop-filter":["","none",n,s]}],"backdrop-blur":[{"backdrop-blur":pe()}],"backdrop-brightness":[{"backdrop-brightness":[p,n,s]}],"backdrop-contrast":[{"backdrop-contrast":[p,n,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,n,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,n,s]}],"backdrop-invert":[{"backdrop-invert":["",p,n,s]}],"backdrop-opacity":[{"backdrop-opacity":[p,n,s]}],"backdrop-saturate":[{"backdrop-saturate":[p,n,s]}],"backdrop-sepia":[{"backdrop-sepia":["",p,n,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",n,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",n,s]}],ease:[{ease:["linear","initial",P,n,s]}],delay:[{delay:[p,n,s]}],animate:[{animate:["none",$,n,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,n,s]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:q()}],"scale-x":[{"scale-x":q()}],"scale-y":[{"scale-y":q()}],"scale-z":[{"scale-z":q()}],"scale-3d":["scale-3d"],skew:[{skew:ee()}],"skew-x":[{"skew-x":ee()}],"skew-y":[{"skew-y":ee()}],transform:[{transform:[n,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:X()}],"translate-x":[{"translate-x":X()}],"translate-y":[{"translate-y":X()}],"translate-z":[{"translate-z":X()}],"translate-none":["translate-none"],accent:[{accent:l()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:l()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",n,s]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",n,s]}],fill:[{fill:["none",...l()]}],"stroke-w":[{stroke:[p,B,O,re]}],stroke:[{stroke:["none",...l()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ko=Qe(xo);function yo(...e){return ko(Ge(e))}exports.cn=yo;
@@ -1,9 +1,9 @@
1
1
  export { useTable } from "./useTable";
2
- export type { UseTableOptions, UseTableReturn, ColumnDefinition, } from "./useTable";
2
+ export type { UseTableOptionsType, UseTableReturnType, ColumnDefinitionType, } from "./useTable";
3
3
  export { useForm } from "./useForm";
4
- export type { UseFormOptions, UseFormReturn, FormOperation, FormMode, FormFieldConfig, FormSchemaConfig, FormFieldType, SelectOption, FieldPermission, FieldValidationResult, SubmissionResult, BDOSchema, BDOFieldDefinition, SchemaValidationRule, } from "./useForm";
4
+ export type { UseFormOptionsType, UseFormReturnType, FormOperationType, FormModeType, FormFieldConfigType, FormSchemaConfigType, FormFieldTypeType, SelectOptionType, FieldPermissionType, FieldValidationResultType, SubmissionResultType, BDOSchemaType, BDOFieldDefinitionType, SchemaValidationRuleType, } from "./useForm";
5
5
  export { parseApiError, isNetworkError, isValidationError, clearFormCache, } from "./useForm";
6
6
  export { useKanban } from "./useKanban";
7
- export type { UseKanbanOptions, UseKanbanReturn, KanbanCard, KanbanColumn, ColumnDefinition as KanbanColumnDefinition, } from "./useKanban";
7
+ export type { UseKanbanOptionsType, UseKanbanReturnType, KanbanCardType, KanbanColumnType, ColumnConfigType, } from "./useKanban";
8
8
  export * from "./useFilter";
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../sdk/components/hooks/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,eAAe,EACf,cAAc,EACd,gBAAgB,GACjB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAEV,cAAc,EACd,aAAa,EACb,aAAa,EACb,QAAQ,EAGR,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,eAAe,EAGf,qBAAqB,EACrB,gBAAgB,EAGhB,SAAS,EACT,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,cAAc,GACf,MAAM,WAAW,CAAC;AAGnB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,YAAY,EACZ,gBAAgB,IAAI,sBAAsB,GAC3C,MAAM,aAAa,CAAC;AAGrB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../sdk/components/hooks/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAEV,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EAGZ,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EAGnB,yBAAyB,EACzB,oBAAoB,EAGpB,aAAa,EACb,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,cAAc,GACf,MAAM,WAAW,CAAC;AAGnB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AAGrB,cAAc,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export { useFilter } from "./useFilter";
2
- export type { Condition, ConditionGroup, ConditionGroupOperator, Filter, FilterRHSType, UseFilterOptions, UseFilterReturn, FilterCondition, FilterOperator, } from "./types";
3
- export { isCondition, isConditionGroup, isFilterCondition, isFilterLogical, } from "./types";
2
+ export type { ConditionType, ConditionGroupType, ConditionGroupOperatorType, FilterType, FilterRHSTypeType, UseFilterOptionsType, UseFilterReturnType, } from "./types";
3
+ export { isCondition, isConditionGroup, } from "./types";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useFilter/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,YAAY,EACV,SAAS,EACT,cAAc,EACd,sBAAsB,EACtB,MAAM,EACN,aAAa,EACb,gBAAgB,EAChB,eAAe,EAEf,eAAe,EACf,cAAc,GACf,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,WAAW,EACX,gBAAgB,EAEhB,iBAAiB,EACjB,eAAe,GAChB,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useFilter/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,0BAA0B,EAC1B,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,WAAW,EACX,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
@@ -1,76 +1,68 @@
1
- import type { Condition, ConditionGroup, ConditionGroupOperator, Filter, FilterRHSType, FilterCondition, FilterOperator } from "../../../types/common";
2
- export type { Condition, ConditionGroup, ConditionGroupOperator, Filter, FilterRHSType, FilterCondition, FilterOperator, };
1
+ import type { ConditionType, ConditionGroupType, ConditionGroupOperatorType, FilterType, FilterRHSTypeType } from "../../../types/common";
2
+ export type { ConditionType, ConditionGroupType, ConditionGroupOperatorType, FilterType, FilterRHSTypeType, };
3
3
  /**
4
4
  * Type guard to check if an item is a ConditionGroup (has nested Condition array)
5
5
  */
6
- export declare const isConditionGroup: (item: Condition | ConditionGroup) => item is ConditionGroup;
6
+ export declare const isConditionGroup: (item: ConditionType | ConditionGroupType) => item is ConditionGroupType;
7
7
  /**
8
8
  * Type guard to check if an item is a leaf Condition (has LHSField)
9
9
  */
10
- export declare const isCondition: (item: Condition | ConditionGroup) => item is Condition;
11
- /**
12
- * @deprecated Use `isConditionGroup` instead
13
- */
14
- export declare const isFilterLogical: (item: Condition | ConditionGroup) => item is ConditionGroup;
15
- /**
16
- * @deprecated Use `isCondition` instead
17
- */
18
- export declare const isFilterCondition: (item: Condition | ConditionGroup) => item is Condition;
10
+ export declare const isCondition: (item: ConditionType | ConditionGroupType) => item is ConditionType;
19
11
  /**
20
12
  * Hook options (minimal configuration)
21
13
  */
22
- export interface UseFilterOptions {
14
+ export interface UseFilterOptionsType {
23
15
  /** Initial filter conditions */
24
- initialConditions?: Array<Condition | ConditionGroup>;
16
+ initialConditions?: Array<ConditionType | ConditionGroupType>;
25
17
  /** Initial operator for combining conditions (defaults to "And") */
26
- initialOperator?: ConditionGroupOperator;
18
+ initialOperator?: ConditionGroupOperatorType;
27
19
  }
28
20
  /**
29
21
  * Hook return interface with nested filter support
30
22
  */
31
- export interface UseFilterReturn {
23
+ export interface UseFilterReturnType {
32
24
  /** Current operator for combining root-level conditions ("And" | "Or" | "Not") */
33
- operator: ConditionGroupOperator;
25
+ operator: ConditionGroupOperatorType;
34
26
  /** Current filter items (with id populated) */
35
- items: Array<Condition | ConditionGroup>;
27
+ items: Array<ConditionType | ConditionGroupType>;
36
28
  /** Ready-to-use API payload (id stripped, undefined if no conditions) */
37
- payload: Filter | undefined;
29
+ payload: FilterType | undefined;
38
30
  /** Whether any conditions exist */
39
31
  hasConditions: boolean;
40
32
  /**
41
33
  * Add a leaf condition at root level
42
34
  * @returns The id of the created condition
43
35
  */
44
- add: (condition: Omit<Condition, "id">) => string;
36
+ add: (condition: Omit<ConditionType, "id">) => string;
45
37
  /**
46
38
  * Add a condition group at root level
47
39
  * @returns The id of the created group
48
40
  */
49
- addGroup: (operator: ConditionGroupOperator) => string;
41
+ addGroup: (operator: ConditionGroupOperatorType) => string;
50
42
  /**
51
43
  * Add a leaf condition to a specific parent group
52
44
  * @param parentId - The id of the parent ConditionGroup
53
45
  * @returns The id of the created condition
54
46
  */
55
- addTo: (parentId: string, condition: Omit<Condition, "id">) => string;
47
+ addTo: (parentId: string, condition: Omit<ConditionType, "id">) => string;
56
48
  /**
57
49
  * Add a condition group to a specific parent group
58
50
  * @param parentId - The id of the parent ConditionGroup
59
51
  * @returns The id of the created group
60
52
  */
61
- addGroupTo: (parentId: string, operator: ConditionGroupOperator) => string;
53
+ addGroupTo: (parentId: string, operator: ConditionGroupOperatorType) => string;
62
54
  /**
63
55
  * Update a leaf condition by id
64
56
  * @param id - The id of the condition to update
65
57
  * @param updates - Partial updates to apply
66
58
  */
67
- update: (id: string, updates: Partial<Omit<Condition, "id">>) => void;
59
+ update: (id: string, updates: Partial<Omit<ConditionType, "id">>) => void;
68
60
  /**
69
61
  * Update a condition group's operator by id
70
62
  * @param id - The id of the group to update
71
63
  * @param operator - The new operator
72
64
  */
73
- updateOperator: (id: string, operator: ConditionGroupOperator) => void;
65
+ updateOperator: (id: string, operator: ConditionGroupOperatorType) => void;
74
66
  /**
75
67
  * Remove a condition or group by id
76
68
  * @param id - The id of the item to remove
@@ -81,14 +73,10 @@ export interface UseFilterReturn {
81
73
  * @param id - The id to look up
82
74
  * @returns The item or undefined if not found
83
75
  */
84
- get: (id: string) => Condition | ConditionGroup | undefined;
76
+ get: (id: string) => ConditionType | ConditionGroupType | undefined;
85
77
  /** Clear all conditions */
86
78
  clear: () => void;
87
79
  /** Set the root operator for combining conditions */
88
- setOperator: (op: ConditionGroupOperator) => void;
89
- /**
90
- * @deprecated Use `items` instead
91
- */
92
- conditions: Array<Condition | ConditionGroup>;
80
+ setOperator: (op: ConditionGroupOperatorType) => void;
93
81
  }
94
82
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useFilter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,sBAAsB,EACtB,MAAM,EACN,aAAa,EAEb,eAAe,EACf,cAAc,EACf,MAAM,uBAAuB,CAAC;AAG/B,YAAY,EACV,SAAS,EACT,cAAc,EACd,sBAAsB,EACtB,MAAM,EACN,aAAa,EAEb,eAAe,EACf,cAAc,GACf,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,MAAM,SAAS,GAAG,cAAc,KAC/B,IAAI,IAAI,cAEV,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,GACtB,MAAM,SAAS,GAAG,cAAc,KAC/B,IAAI,IAAI,SAEV,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,eAAe,SArBpB,SAAS,GAAG,cAAc,KAC/B,IAAI,IAAI,cAoBoC,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,iBAAiB,SAjBtB,SAAS,GAAG,cAAc,KAC/B,IAAI,IAAI,SAgBiC,CAAC;AAM7C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gCAAgC;IAChC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,cAAc,CAAC,CAAC;IACtD,oEAAoE;IACpE,eAAe,CAAC,EAAE,sBAAsB,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAK9B,kFAAkF;IAClF,QAAQ,EAAE,sBAAsB,CAAC;IAEjC,+CAA+C;IAC/C,KAAK,EAAE,KAAK,CAAC,SAAS,GAAG,cAAc,CAAC,CAAC;IAEzC,yEAAyE;IACzE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAE5B,mCAAmC;IACnC,aAAa,EAAE,OAAO,CAAC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EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC;IAE1E;;;;OAIG;IACH,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,0BAA0B,KAAK,IAAI,CAAC;IAM3E;;;OAGG;IACH,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAE7B;;;;OAIG;IACH,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,aAAa,GAAG,kBAAkB,GAAG,SAAS,CAAC;IAMpE,2BAA2B;IAC3B,KAAK,EAAE,MAAM,IAAI,CAAC;IAElB,qDAAqD;IACrD,WAAW,EAAE,CAAC,EAAE,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACvD"}
@@ -1,3 +1,3 @@
1
- import type { UseFilterOptions, UseFilterReturn } from "./types";
2
- export declare function useFilter(options?: UseFilterOptions): UseFilterReturn;
1
+ import type { UseFilterOptionsType, UseFilterReturnType } from "./types";
2
+ export declare function useFilter(options?: UseFilterOptionsType): UseFilterReturnType;
3
3
  //# sourceMappingURL=useFilter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFilter.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useFilter/useFilter.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA6KjE,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB,GAAG,eAAe,CA8JzE"}
1
+ {"version":3,"file":"useFilter.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useFilter/useFilter.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA6KzE,wBAAgB,SAAS,CAAC,OAAO,GAAE,oBAAyB,GAAG,mBAAmB,CA2JjF"}
@@ -1,12 +1,12 @@
1
- import type { BDOSchema, FormOperation, SubmissionResult } from "./types";
1
+ import type { BDOSchemaType, FormOperationType, SubmissionResultType } from "./types";
2
2
  /**
3
3
  * Fetch BDO schema from backend metadata endpoint
4
4
  */
5
- export declare function fetchFormSchema(source: string): Promise<BDOSchema>;
5
+ export declare function fetchFormSchema(source: string): Promise<BDOSchemaType>;
6
6
  /**
7
7
  * Fetch form schema with retry logic
8
8
  */
9
- export declare function fetchFormSchemaWithRetry(source: string, maxRetries?: number): Promise<BDOSchema>;
9
+ export declare function fetchFormSchemaWithRetry(source: string, maxRetries?: number): Promise<BDOSchemaType>;
10
10
  /**
11
11
  * Fetch existing record for update operations
12
12
  */
@@ -14,7 +14,7 @@ export declare function fetchRecord<T = any>(source: string, recordId: string):
14
14
  /**
15
15
  * Submit form data (create or update)
16
16
  */
17
- export declare function submitFormData<T = any>(source: string, operation: FormOperation, data: Partial<T>, recordId?: string): Promise<SubmissionResult>;
17
+ export declare function submitFormData<T = any>(source: string, operation: FormOperationType, data: Partial<T>, recordId?: string): Promise<SubmissionResultType>;
18
18
  /**
19
19
  * Fetch reference field data
20
20
  */
@@ -35,7 +35,7 @@ export declare function validateFormData<T>(data: Partial<T>, requiredFields: st
35
35
  * - For create: returns all non-computed, non-undefined fields
36
36
  * - For update: returns only fields that changed from originalData
37
37
  */
38
- export declare function cleanFormData<T>(data: Partial<T>, computedFields: string[], operation?: FormOperation, originalData?: Partial<T>): Partial<T>;
38
+ export declare function cleanFormData<T>(data: Partial<T>, computedFields: string[], operation?: FormOperationType, originalData?: Partial<T>): Partial<T>;
39
39
  /**
40
40
  * Parse API error response
41
41
  */
@@ -63,7 +63,7 @@ export declare function clearCache(keyPrefix?: string): void;
63
63
  /**
64
64
  * Fetch schema with caching
65
65
  */
66
- export declare function fetchFormSchemaWithCache(source: string): Promise<BDOSchema>;
66
+ export declare function fetchFormSchemaWithCache(source: string): Promise<BDOSchemaType>;
67
67
  /**
68
68
  * Fetch reference data with caching
69
69
  */
@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CAAC,CAAC,EAC7B,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,EAChB,cAAc,EAAE,MAAM,EAAE,EACxB,SAAS,GAAE,iBAA4B,EACvC,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,GACxB,OAAO,CAAC,CAAC,CAAC,CA0CZ;AAMD;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,MAAM,CAkBhD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAOlD;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAOrD;AAWD;;GAEG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,GAAG,EACT,UAAU,GAAE,MAAW,GACtB,IAAI,CAMN;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,CAapD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CASnD;AAMD;;GAEG;AACH,wBAAsB,wBAAwB,CAC5C,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,aAAa,CAAC,CAYxB;AAED;;GAEG;AACH,wBAAsB,2BAA2B,CAC/C,cAAc,EAAE,MAAM,EACtB,MAAM,GAAE,MAAM,EAAY,EAC1B,OAAO,CAAC,EAAE,GAAG,EACb,IAAI,CAAC,EAAE,GAAG,GACT,OAAO,CAAC,GAAG,EAAE,CAAC,CAYhB"}
@@ -1,28 +1,28 @@
1
- import type { ExpressionTree, FieldValidationResult, SchemaValidationRule } from "./types";
1
+ import type { ExpressionTreeType, FieldValidationResultType, SchemaValidationRuleType } from "./types";
2
2
  /**
3
3
  * Evaluate a complete expression tree
4
4
  */
5
- export declare function evaluateExpression(expressionTree: ExpressionTree, formValues: Record<string, any>, referenceData?: Record<string, any>): any;
5
+ export declare function evaluateExpression(expressionTree: ExpressionTreeType, formValues: Record<string, any>, referenceData?: Record<string, any>): any;
6
6
  /**
7
7
  * Validate a field using backend validation rules
8
8
  */
9
- export declare function validateField<T = Record<string, any>>(fieldName: string, fieldValue: any, validationRules: SchemaValidationRule[], formValues: T, referenceData?: Record<string, any>): FieldValidationResult<T>;
9
+ export declare function validateField<T = Record<string, any>>(fieldName: string, fieldValue: any, validationRules: SchemaValidationRuleType[], formValues: T, referenceData?: Record<string, any>): FieldValidationResultType<T>;
10
10
  /**
11
11
  * Validate all cross-field validation rules
12
12
  */
13
13
  export declare function validateCrossField<T = Record<string, any>>(validationRules: Array<{
14
14
  Id: string;
15
15
  Condition: {
16
- ExpressionTree: ExpressionTree;
16
+ ExpressionTree: ExpressionTreeType;
17
17
  };
18
18
  Message: string;
19
- }>, formValues: T, referenceData?: Record<string, any>): FieldValidationResult<T>[];
19
+ }>, formValues: T, referenceData?: Record<string, any>): FieldValidationResultType<T>[];
20
20
  /**
21
21
  * Calculate computed field value
22
22
  */
23
- export declare function calculateComputedValue(expressionTree: ExpressionTree, formValues: Record<string, any>, referenceData?: Record<string, any>): any;
23
+ export declare function calculateComputedValue(expressionTree: ExpressionTreeType, formValues: Record<string, any>, referenceData?: Record<string, any>): any;
24
24
  /**
25
25
  * Calculate default field value
26
26
  */
27
- export declare function calculateDefaultValue(expressionTree: ExpressionTree, formValues?: Record<string, any>, referenceData?: Record<string, any>): any;
27
+ export declare function calculateDefaultValue(expressionTree: ExpressionTreeType, formValues?: Record<string, any>, referenceData?: Record<string, any>): any;
28
28
  //# sourceMappingURL=expressionValidator.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expressionValidator.utils.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useForm/expressionValidator.utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,cAAc,EAEd,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AA6SjB;;GAEG;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nC,cAAc,EAAE,kBAAkB,EAClC,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EACpC,aAAa,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,GACtC,GAAG,CAOL"}
@@ -1,9 +1,9 @@
1
1
  export { useForm } from './useForm';
2
- export type { UseFormOptions, UseFormReturn, FormOperation, FormMode, } from './types';
3
- export type { FormFieldConfig, FormSchemaConfig, FormFieldType, SelectOption, FieldPermission, FieldRuleIds, } from './types';
4
- export type { FieldValidationResult, SubmissionResult, } from './types';
5
- export type { BDOSchema, BDOFieldDefinition, SchemaValidationRule, ComputedFieldFormula, DefaultValueExpression, ReferenceFieldConfig, FieldOptionsConfig, ExpressionTree, BusinessObjectRules, RolePermission, RuleType, } from './types';
6
- export type { ExpressionContext, } from './types';
2
+ export type { UseFormOptionsType, UseFormReturnType, FormOperationType, FormModeType, } from './types';
3
+ export type { FormFieldConfigType, FormSchemaConfigType, FormFieldTypeType, SelectOptionType, FieldPermissionType, FieldRuleIdsType, } from './types';
4
+ export type { FieldValidationResultType, SubmissionResultType, } from './types';
5
+ export type { BDOSchemaType, BDOFieldDefinitionType, SchemaValidationRuleType, ComputedFieldFormulaType, DefaultValueExpressionType, ReferenceFieldConfigType, FieldOptionsConfigType, ExpressionTreeType, BusinessObjectRulesType, RolePermissionType, RuleTypeType, } from './types';
6
+ export type { ExpressionContextType, } from './types';
7
7
  export { parseApiError, isNetworkError, isValidationError, } from './apiClient';
8
8
  export { clearCache as clearFormCache } from './apiClient';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useForm/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,YAAY,EACV,cAAc,EACd,aAAa,EACb,aAAa,EACb,QAAQ,GACT,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,eAAe,EACf,YAAY,GACb,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,QAAQ,GACT,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,aAAa,EACb,cAAc,EACd,iBAAiB,GAClB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useForm/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,GACb,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,GACb,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,qBAAqB,GACtB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,aAAa,EACb,cAAc,EACd,iBAAiB,GAClB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -1,12 +1,12 @@
1
- import type { ExpressionTree, FieldValidationResult, SchemaValidationRule } from "./types";
1
+ import type { ExpressionTreeType, FieldValidationResultType, SchemaValidationRuleType } from "./types";
2
2
  /**
3
3
  * Analyze expression dependencies for optimized watching
4
4
  */
5
- export declare function analyzeExpressionDependencies(expression: ExpressionTree): Set<string>;
5
+ export declare function analyzeExpressionDependencies(expression: ExpressionTreeType): Set<string>;
6
6
  /**
7
7
  * Build dependency graph for multiple expressions
8
8
  */
9
- export declare function buildDependencyGraph(rules: Record<string, SchemaValidationRule>): Map<string, Set<string>>;
9
+ export declare function buildDependencyGraph(rules: Record<string, SchemaValidationRuleType>): Map<string, Set<string>>;
10
10
  /**
11
11
  * Optimized expression evaluator with caching and memoization
12
12
  */
@@ -21,7 +21,7 @@ export declare class OptimizedExpressionEvaluator {
21
21
  /**
22
22
  * Get expression dependencies (cached)
23
23
  */
24
- getDependencies(expression: ExpressionTree): Set<string>;
24
+ getDependencies(expression: ExpressionTreeType): Set<string>;
25
25
  /**
26
26
  * Check if expression result is cached and context hasn't changed
27
27
  */
@@ -29,7 +29,7 @@ export declare class OptimizedExpressionEvaluator {
29
29
  /**
30
30
  * Evaluate expression with caching
31
31
  */
32
- evaluate(expression: ExpressionTree, context: Record<string, any>, lastContext?: Record<string, any>): any;
32
+ evaluate(expression: ExpressionTreeType, context: Record<string, any>, lastContext?: Record<string, any>): any;
33
33
  /**
34
34
  * Core expression evaluation logic
35
35
  */
@@ -63,23 +63,23 @@ declare const globalEvaluator: OptimizedExpressionEvaluator;
63
63
  /**
64
64
  * Optimized field validation with caching
65
65
  */
66
- export declare function validateFieldOptimized<T = Record<string, any>>(fieldName: string, fieldValue: any, validationRules: SchemaValidationRule[], formValues: T, lastFormValues?: T): FieldValidationResult<T>;
66
+ export declare function validateFieldOptimized<T = Record<string, any>>(fieldName: string, fieldValue: any, validationRules: SchemaValidationRuleType[], formValues: T, lastFormValues?: T): FieldValidationResultType<T>;
67
67
  /**
68
68
  * Optimized computed value calculation
69
69
  */
70
- export declare function calculateComputedValueOptimized(expression: ExpressionTree, formValues: Record<string, any>, lastFormValues?: Record<string, any>): any;
70
+ export declare function calculateComputedValueOptimized(expression: ExpressionTreeType, formValues: Record<string, any>, lastFormValues?: Record<string, any>): any;
71
71
  /**
72
72
  * Get field dependencies for optimized watching
73
73
  */
74
- export declare function getFieldDependencies(expression: ExpressionTree): string[];
74
+ export declare function getFieldDependencies(expression: ExpressionTreeType): string[];
75
75
  /**
76
76
  * Batch validate multiple fields efficiently
77
77
  */
78
78
  export declare function batchValidateFields<T = Record<string, any>>(validations: Array<{
79
79
  fieldName: string;
80
80
  fieldValue: any;
81
- rules: SchemaValidationRule[];
82
- }>, formValues: T, lastFormValues?: T): Array<FieldValidationResult<T>>;
81
+ rules: SchemaValidationRuleType[];
82
+ }>, formValues: T, lastFormValues?: T): Array<FieldValidationResultType<T>>;
83
83
  /**
84
84
  * Clear global expression cache
85
85
  */
@@ -1 +1 @@
1
- {"version":3,"file":"optimizedExpressionValidator.utils.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useForm/optimizedExpressionValidator.utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AA+CjB;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,cAAc,GACzB,GAAG,CAAC,MAAM,CAAC,CA6Bb;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAC1C,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAS1B;AAMD;;GAEG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,WAAW,CAA0B;IAC7C,OAAO,CAAC,eAAe,CAAkC;IACzD,OAA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AACH,wBAAgB,mBAAmB,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzD,WAAW,EAAE,KAAK,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,GAAG,CAAC;IAChB,KAAK,EAAE,oBAAoB,EAAE,CAAC;CAC/B,CAAC,EACF,UAAU,EAAE,CAAC,EACb,cAAc,CAAC,EAAE,CAAC,GACjB,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAIjC;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAGD,OAAO,EAAE,eAAe,IAAI,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"optimizedExpressionValidator.utils.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useForm/optimizedExpressionValidator.utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AA+CjB;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,kBAAkB,GAC7B,GAAG,CAAC,MAAM,CAAC,CA6Bb;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,GAC9C,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAS1B;AAMD;;GAEG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,WAAW,CAA0B;IAC7C,OAAO,CAAC,eAAe,CAAkC;IACzD,OAAO,CAAC,mBAAmB,CAA+B;IAE1D;;OAEG;IACH,OAAO,CAAC,cAAc;IAStB;;OAEG;IACH,eAAe,CAAC,UAAU,EAAE,kBAAkB,GAAG,GAAG,CAAC,MAAM,CAAC;IAY5D;;OAEG;IACH,OAAO,CAAC,eAAe;IAqBvB;;OAEG;IACH,QAAQ,CACN,UAAU,EAAE,kBAAk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F,UAAU,EAAE,CAAC,EACb,cAAc,CAAC,EAAE,CAAC,GACjB,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAIrC;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAGD,OAAO,EAAE,eAAe,IAAI,mBAAmB,EAAE,CAAC"}
@@ -1,29 +1,24 @@
1
- import type { BDOSchema, BDOFieldDefinition, FormSchemaConfig, SchemaValidationRule, RuleType, FieldPermission } from "./types";
1
+ import type { BDOSchemaType, FormSchemaConfigType, SchemaValidationRuleType, RuleTypeType, FieldPermissionType } from "./types";
2
2
  /**
3
3
  * Normalize BDO schema to ensure validation rules are in centralized format
4
4
  * Extracts inline validation rules from fields and adds them to Rules.Validation
5
5
  */
6
- export declare function normalizeBDOSchema(schema: BDOSchema): BDOSchema;
6
+ export declare function normalizeBDOSchema(schema: BDOSchemaType): BDOSchemaType;
7
7
  /**
8
8
  * Classify rules by type from BDO schema
9
9
  */
10
- export declare function classifyRules(schema: BDOSchema): FormSchemaConfig["rules"];
11
- export declare function createFieldRuleMapping(schema: BDOSchema, classifiedRules: FormSchemaConfig["rules"]): FormSchemaConfig["fieldRules"];
10
+ export declare function classifyRules(schema: BDOSchemaType): FormSchemaConfigType["rules"];
11
+ export declare function createFieldRuleMapping(schema: BDOSchemaType, classifiedRules: FormSchemaConfigType["rules"]): FormSchemaConfigType["fieldRules"];
12
12
  /**
13
13
  * Calculate field permissions based on user role
14
14
  */
15
- export declare function calculateFieldPermissions(schema: BDOSchema, userRole?: string): Record<string, FieldPermission>;
15
+ export declare function calculateFieldPermissions(schema: BDOSchemaType, userRole?: string): Record<string, FieldPermissionType>;
16
16
  /**
17
17
  * Determine if rule should execute client-side or server-side
18
18
  */
19
- export declare function getRuleExecutionStrategy(ruleType: RuleType): "client" | "server";
19
+ export declare function getRuleExecutionStrategy(ruleType: RuleTypeType): "client" | "server";
20
20
  /**
21
21
  * Get rules that should execute for a specific trigger
22
22
  */
23
- export declare function getRulesForField(fieldName: string, fieldRules: FormSchemaConfig["fieldRules"], classifiedRules: FormSchemaConfig["rules"], executionType: "client" | "server"): SchemaValidationRule[];
24
- /**
25
- * Convert legacy schema format to BDO format
26
- * @deprecated Legacy schema format is no longer supported
27
- */
28
- export declare function convertLegacySchema(legacySchema: Record<string, BDOFieldDefinition>): BDOSchema;
23
+ export declare function getRulesForField(fieldName: string, fieldRules: FormSchemaConfigType["fieldRules"], classifiedRules: FormSchemaConfigType["rules"], executionType: "client" | "server"): SchemaValidationRuleType[];
29
24
  //# sourceMappingURL=ruleClassifier.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ruleClassifier.utils.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useForm/ruleClassifier.utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,QAAQ,EACR,eAAe,EAChB,MAAM,SAAS,CAAC;AAkCjB;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,CAyF/D;AAMD;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAqB1E;AAsDD,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,SAAS,EACjB,eAAe,EAAE,gBAAgB,CAAC,OAAO,CAAC,GACzC,gBAAgB,CAAC,YAAY,CAAC,CAsDhC;AAMD;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,SAAS,EACjB,QAAQ,CAAC,EAAE,MAAM,GAChB,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAsCjC;AAMD;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,QAAQ,GACjB,QAAQ,GAAG,QAAQ,CAUrB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,EACjB,UAAU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AAE,CA4B5B"}
@@ -1,29 +1,29 @@
1
- import type { BDOSchema, FormFieldConfig, FormSchemaConfig } from "./types";
1
+ import type { BDOSchemaType, FormFieldConfigType, FormSchemaConfigType } from "./types";
2
2
  /**
3
3
  * Process complete BDO schema
4
4
  */
5
- export declare function processSchema(schema: BDOSchema, formValues?: Record<string, any>, userRole?: string): FormSchemaConfig;
5
+ export declare function processSchema(schema: BDOSchemaType, formValues?: Record<string, any>, userRole?: string): FormSchemaConfigType;
6
6
  /**
7
7
  * Update computed field values based on current form values
8
8
  */
9
- export declare function updateComputedFields(processedSchema: FormSchemaConfig, currentValues: Record<string, any>): Record<string, any>;
9
+ export declare function updateComputedFields(processedSchema: FormSchemaConfigType, currentValues: Record<string, any>): Record<string, any>;
10
10
  /**
11
11
  * Build field dependency map
12
12
  */
13
- export declare function buildDependencyMap(processedSchema: FormSchemaConfig): Record<string, string[]>;
13
+ export declare function buildDependencyMap(processedSchema: FormSchemaConfigType): Record<string, string[]>;
14
14
  /**
15
15
  * Validate processed schema
16
16
  */
17
- export declare function validateSchema(processedSchema: FormSchemaConfig): {
17
+ export declare function validateSchema(processedSchema: FormSchemaConfigType): {
18
18
  isValid: boolean;
19
19
  errors: string[];
20
20
  };
21
21
  /**
22
22
  * Build reference field configuration for API calls
23
23
  */
24
- export declare function buildReferenceFieldConfig(field: FormFieldConfig): any;
24
+ export declare function buildReferenceFieldConfig(field: FormFieldConfigType): any;
25
25
  /**
26
26
  * Extract all reference field configurations from schema
27
27
  */
28
- export declare function extractReferenceFields(processedSchema: FormSchemaConfig): Record<string, any>;
28
+ export declare function extractReferenceFields(processedSchema: FormSchemaConfigType): Record<string, any>;
29
29
  //# sourceMappingURL=schemaParser.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemaParser.utils.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useForm/schemaParser.utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,SAAS,EAET,eAAe,EACf,gBAAgB,EAGjB,MAAM,SAAS,CAAC;AAkPjB;;GAEG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,SAAS,EACjB,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EACpC,QAAQ,CAAC,EAAE,MAAM,GAChB,gBAAgB,CAsElB;AAMD;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,eAAe,EAAE,gBAAgB,EACjC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACjC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAsBrB;AAkCD;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,gBAAgB,GAChC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAkC1B;AAMD;;GAEG;AACH,wBAAgB,cAAc,CAAC,eAAe,EAAE,gBAAgB,GAAG;IACjE,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAqBA;AAMD;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAarE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,gBAAgB,GAChC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAarB"}
1
+ {"version":3,"file":"schemaParser.utils.d.ts","sourceRoot":"","sources":["../../../../sdk/components/hooks/useForm/schemaParser.utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,aAAa,EAEb,mBAAmB,EACnB,oBAAoB,EAGrB,MAAM,SAAS,CAAC;AAkPjB;;GAEG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,aAAa,EACrB,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EACpC,QAAQ,CAAC,EAAE,MAAM,GAChB,oBAAoB,CAsEtB;AAMD;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,eAAe,EAAE,oBAAoB,EACrC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACjC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAsBrB;AAkCD;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,oBAAoB,GACpC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAkC1B;AAMD;;GAEG;AACH,wBAAgB,cAAc,CAAC,eAAe,EAAE,oBAAoB,GAAG;IACrE,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAqBA;AAMD;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,mBAAmB,GAAG,GAAG,CAazE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,oBAAoB,GACpC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAarB"}