dgz-ui-shared 1.1.37 → 1.1.38

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.
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./jsx-runtime-h4oGeKUK.cjs"),b=require("./input-mask-O5j6MoYe-BMb0Vm87.cjs"),L=require("react-i18next"),i=require("./button-CdZDBhmr-3yMPCRDo.cjs"),$=require("./utils-B6fNqzRf-BNysSCt9.cjs"),u=require("./createLucideIcon-BnAj0RnC.cjs"),c=require("react"),F=require("./lodash-C5w_OPmE.cjs"),j=require("./popover-OZcfKDD9-KUWOsIOs.cjs"),O=require("./MyInput-DhWYlLTG.cjs"),C=require("./MySelect-BlpCLeiP.cjs"),A=require("./useFilter-Cwz8oftI.cjs");/**
1
+ "use strict";const e=require("./jsx-runtime-h4oGeKUK.cjs"),k=require("./input-mask-O5j6MoYe-BMb0Vm87.cjs"),L=require("react-i18next"),i=require("./button-CdZDBhmr-3yMPCRDo.cjs"),$=require("./utils-B6fNqzRf-BNysSCt9.cjs"),u=require("./createLucideIcon-BnAj0RnC.cjs"),c=require("react"),F=require("./lodash-C5w_OPmE.cjs"),j=require("./popover-OZcfKDD9-KUWOsIOs.cjs"),O=require("./MyInput-DhWYlLTG.cjs"),C=require("./MySelect-BlpCLeiP.cjs"),A=require("./useFilter-Cwz8oftI.cjs");/**
2
2
  * @license lucide-react v0.511.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -18,4 +18,4 @@
18
18
  *
19
19
  * This source code is licensed under the ISC license.
20
20
  * See the LICENSE file in the root directory of this source tree.
21
- */const G=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],H=u.createLucideIcon("search",G),K=({name:l="search",defaultValue:n,onSearchChange:r,placeholder:t,className:o,...y})=>{const{t:x}=L.useTranslation(),p=a=>{const d=new FormData(a.currentTarget);r(d.get(l)||void 0),a.preventDefault(),a.stopPropagation()};return e.jsxRuntimeExports.jsxs("form",{className:$.mo("relative w-full max-w-64 min-w-40",o),onSubmit:p,children:[e.jsxRuntimeExports.jsx(b.yp,{...y,className:"h-8 rounded-lg",name:l,placeholder:t||x("Search..."),defaultValue:n?`${n}`:""}),e.jsxRuntimeExports.jsx(i.u,{type:"submit",variant:"ghost",className:"text-foreground absolute top-0 right-0 cursor-pointer rounded-md !bg-transparent",size:"sm",children:e.jsxRuntimeExports.jsx(H,{})})]})},Y=c.memo(function({filters:n,params:r,onFilter:t,onChange:o,onCancel:y,triggerProps:x,contentProps:p,title:a,resetText:d,applyText:q,...v}){const[M,N]=c.useState(!1),[f,m]=c.useState(!1),{form:E}=A.useFilter({params:r}),{watch:w,getValues:S,handleSubmit:g,control:R,reset:k}=E;c.useEffect(()=>{let s=!1;n.map(D=>{const h=F.lodashExports.get(r,`${D.name}`);(Array.isArray(h)?h.length>0:h)&&(s=!0),N(s)})},[n,r]);const I=w();c.useEffect(()=>{o==null||o(S())},[I]);const _=c.useCallback((s={})=>{t==null||t(s),m(!1)},[t]),z=c.useCallback(()=>{k(),t&&r&&t({...r,...Object.fromEntries(n.map(s=>[s.name,void 0]))}),m(!1)},[t,k,r,n]);return e.jsxRuntimeExports.jsxs(j._e,{open:f,onOpenChange:m,children:[e.jsxRuntimeExports.jsx(j.we,{...x,children:e.jsxRuntimeExports.jsx(i.u,{asChild:!0,size:"sm",variant:"secondary",className:"ml-auto px-3",...v,children:e.jsxRuntimeExports.jsxs("div",{className:"flex items-center",children:[M?e.jsxRuntimeExports.jsx(T,{className:"size-5"}):e.jsxRuntimeExports.jsx(Z,{className:"size-5"})," ",e.jsxRuntimeExports.jsx("span",{className:"hidden lg:!inline",children:a||"Filter"}),e.jsxRuntimeExports.jsx(W,{})]})})}),e.jsxRuntimeExports.jsx(j.ue,{side:"bottom",align:"end",...p,children:e.jsxRuntimeExports.jsx(b.Gx,{...E,children:e.jsxRuntimeExports.jsxs("form",{onSubmit:g(_),className:"space-y-2",children:[e.jsxRuntimeExports.jsx("div",{className:"h-full shrink p-1",children:n.map(s=>s.options?e.jsxRuntimeExports.jsx(C.MySelect,{control:R,name:s.name,placeholder:s.placeholder,isMulti:s.isMulti,options:s.options,label:s.label},s.name):e.jsxRuntimeExports.jsx(O.MyInput,{control:R,placeholder:s.placeholder,name:s.name,label:s.label},s.name))}),e.jsxRuntimeExports.jsxs("div",{className:"flex shrink-0 justify-end gap-2",children:[e.jsxRuntimeExports.jsx(i.u,{variant:"destructive",type:"reset",size:"sm",onClick:z,children:d||"Reset"}),e.jsxRuntimeExports.jsx(i.u,{type:"submit",size:"sm",children:q||"Apply"})]})]})})})]})});exports.FilterWrapper=Y;exports.Search=K;
21
+ */const G=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],H=u.createLucideIcon("search",G),K=({name:l="search",defaultValue:n,onSearchChange:r,placeholder:t,className:o,...y})=>{const{t:x}=L.useTranslation(),p=a=>{const d=new FormData(a.currentTarget);r(d.get(l)||void 0),a.preventDefault(),a.stopPropagation()};return e.jsxRuntimeExports.jsxs("form",{className:$.mo("relative w-full max-w-64 min-w-40",o),onSubmit:p,children:[e.jsxRuntimeExports.jsx(k.yp,{...y,className:"h-8 rounded-lg",name:l,placeholder:t||x("Search..."),defaultValue:n?`${n}`:""}),e.jsxRuntimeExports.jsx(i.u,{type:"submit",variant:"ghost",className:"text-foreground absolute top-0 right-0 cursor-pointer rounded-md !bg-transparent",size:"sm",children:e.jsxRuntimeExports.jsx(H,{})})]})},Y=c.memo(function({filters:n,params:r,onFilter:t,onChange:o,onCancel:y,triggerProps:x,contentProps:p,title:a,resetText:d,applyText:q,...v}){const[M,N]=c.useState(!1),[f,m]=c.useState(!1),{form:E}=A.useFilter({params:r}),{watch:S,getValues:w,handleSubmit:g,control:R,reset:b}=E;c.useEffect(()=>{let s=!1;n.map(D=>{const h=F.lodashExports.get(r,`${D.name}`);(Array.isArray(h)?h.length>0:h)&&(s=!0),N(s)})},[n,r]);const I=S();c.useEffect(()=>{o==null||o(w())},[I]);const _=c.useCallback((s={})=>{t==null||t(s),m(!1)},[t]),z=c.useCallback(()=>{b(),t&&r&&t({...r,...Object.fromEntries(n.map(s=>[s.name,void 0]))}),m(!1)},[t,b,r,n]);return e.jsxRuntimeExports.jsxs(j._e,{open:f,onOpenChange:m,children:[e.jsxRuntimeExports.jsx(j.we,{...x,children:e.jsxRuntimeExports.jsx(i.u,{asChild:!0,size:"sm",variant:"secondary",className:"ml-auto px-3",...v,children:e.jsxRuntimeExports.jsxs("div",{className:"flex items-center",children:[M?e.jsxRuntimeExports.jsx(T,{className:"size-5"}):e.jsxRuntimeExports.jsx(Z,{className:"size-5"})," ",e.jsxRuntimeExports.jsx("span",{className:"hidden lg:!inline",children:a||"Filter"}),e.jsxRuntimeExports.jsx(W,{})]})})}),e.jsxRuntimeExports.jsx(j.ue,{side:"bottom",align:"end",...p,children:e.jsxRuntimeExports.jsx(k.Gx,{...E,children:e.jsxRuntimeExports.jsxs("form",{onSubmit:g(_),className:"space-y-2",children:[e.jsxRuntimeExports.jsx("div",{className:"h-full shrink p-1",children:n.map(s=>s.options?e.jsxRuntimeExports.jsx(C.MySelect,{control:R,name:s.name,isSearchable:s.isSearchable,placeholder:s.placeholder,isMulti:s.isMulti,options:s.options,label:s.label},s.name):e.jsxRuntimeExports.jsx(O.MyInput,{control:R,placeholder:s.placeholder,name:s.name,label:s.label},s.name))}),e.jsxRuntimeExports.jsxs("div",{className:"flex shrink-0 justify-end gap-2",children:[e.jsxRuntimeExports.jsx(i.u,{variant:"destructive",type:"reset",size:"sm",onClick:z,children:d||"Reset"}),e.jsxRuntimeExports.jsx(i.u,{type:"submit",size:"sm",children:q||"Apply"})]})]})})})]})});exports.FilterWrapper=Y;exports.Search=K;
@@ -50,7 +50,7 @@ const U = [
50
50
  const Y = [
51
51
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
52
52
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
53
- ], Z = l("search", Y), pe = ({
53
+ ], Z = l("search", Y), he = ({
54
54
  name: i = "search",
55
55
  defaultValue: t,
56
56
  onSearchChange: o,
@@ -59,8 +59,8 @@ const Y = [
59
59
  ...x
60
60
  }) => {
61
61
  const { t: m } = L(), d = (n) => {
62
- const p = new FormData(n.currentTarget);
63
- o(p.get(i) || void 0), n.preventDefault(), n.stopPropagation();
62
+ const h = new FormData(n.currentTarget);
63
+ o(h.get(i) || void 0), n.preventDefault(), n.stopPropagation();
64
64
  };
65
65
  return /* @__PURE__ */ e.jsxs(
66
66
  "form",
@@ -91,7 +91,7 @@ const Y = [
91
91
  ]
92
92
  }
93
93
  );
94
- }, he = R(function({
94
+ }, pe = R(function({
95
95
  filters: t,
96
96
  params: o,
97
97
  onFilter: a,
@@ -100,16 +100,16 @@ const Y = [
100
100
  triggerProps: m,
101
101
  contentProps: d,
102
102
  title: n,
103
- resetText: p,
103
+ resetText: h,
104
104
  applyText: N,
105
105
  ...M
106
106
  }) {
107
- const [w, g] = b(!1), [S, h] = b(!1), { form: j } = G({ params: o }), { watch: _, getValues: z, handleSubmit: $, control: y, reset: f } = j;
107
+ const [w, S] = b(!1), [g, p] = b(!1), { form: j } = G({ params: o }), { watch: _, getValues: z, handleSubmit: $, control: y, reset: f } = j;
108
108
  k(() => {
109
109
  let s = !1;
110
110
  t.map((q) => {
111
111
  const u = C.get(o, `${q.name}`);
112
- (Array.isArray(u) ? u.length > 0 : u) && (s = !0), g(s);
112
+ (Array.isArray(u) ? u.length > 0 : u) && (s = !0), S(s);
113
113
  });
114
114
  }, [t, o]);
115
115
  const D = _();
@@ -118,7 +118,7 @@ const Y = [
118
118
  }, [D]);
119
119
  const E = v(
120
120
  (s = {}) => {
121
- a == null || a(s), h(!1);
121
+ a == null || a(s), p(!1);
122
122
  },
123
123
  [a]
124
124
  ), F = v(() => {
@@ -127,9 +127,9 @@ const Y = [
127
127
  ...Object.fromEntries(
128
128
  t.map((s) => [s.name, void 0])
129
129
  )
130
- }), h(!1);
130
+ }), p(!1);
131
131
  }, [a, f, o, t]);
132
- return /* @__PURE__ */ e.jsxs(P, { open: S, onOpenChange: h, children: [
132
+ return /* @__PURE__ */ e.jsxs(P, { open: g, onOpenChange: p, children: [
133
133
  /* @__PURE__ */ e.jsx(T, { ...m, children: /* @__PURE__ */ e.jsx(
134
134
  c,
135
135
  {
@@ -153,6 +153,7 @@ const Y = [
153
153
  {
154
154
  control: y,
155
155
  name: s.name,
156
+ isSearchable: s.isSearchable,
156
157
  placeholder: s.placeholder,
157
158
  isMulti: s.isMulti,
158
159
  options: s.options,
@@ -178,7 +179,7 @@ const Y = [
178
179
  type: "reset",
179
180
  size: "sm",
180
181
  onClick: F,
181
- children: p || "Reset"
182
+ children: h || "Reset"
182
183
  }
183
184
  ),
184
185
  /* @__PURE__ */ e.jsx(c, { type: "submit", size: "sm", children: N || "Apply" })
@@ -187,6 +188,6 @@ const Y = [
187
188
  ] });
188
189
  });
189
190
  export {
190
- he as F,
191
- pe as S
191
+ pe as F,
192
+ he as S
192
193
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../jsx-runtime-h4oGeKUK.cjs"),re=require("../../button-CdZDBhmr-3yMPCRDo.cjs"),y=require("../../dropdown-menu-TWRSm6RK-DQ03CnVw.cjs"),A=require("../../MyLimitSelect-hBqUAd4P.cjs"),xe=require("react-i18next"),I=require("../../index-CGv7FLNy.cjs"),j=require("react"),g=require("../../lodash-C5w_OPmE.cjs"),f=require("../../index-BL59b1Bz-COeLljOH.cjs"),c=require("../../utils-B6fNqzRf-BNysSCt9.cjs"),H=require("../../useSortable-BvLbSWXW.cjs"),J=require("../../input-mask-O5j6MoYe-BMb0Vm87.cjs"),Y=require("../../SortOrder-81BrXp3i.cjs"),de=require("../../Empty-RpS8tJNv.cjs"),z=require("../../createLucideIcon-BnAj0RnC.cjs"),Z=require("../../FilterWrapper-CINTpRMc.cjs"),le=require("../../Loader-BsYF7B7O.cjs"),ie=require("../../Actions-Dh8TPahn.cjs"),oe=require("../../ExportData-DV3HcBlK.cjs"),G=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("table",{ref:x,className:c.mo("w-full caption-bottom text-sm",s),...r}));G.displayName="Table";const Q=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("thead",{ref:x,className:c.mo("[&_tr]:border-b",s),...r}));Q.displayName="TableHeader";const X=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("tbody",{ref:x,className:c.mo("[&_tr:last-child]:border-0",s),...r}));X.displayName="TableBody";const ne=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("tfoot",{ref:x,className:c.mo("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",s),...r}));ne.displayName="TableFooter";const L=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("tr",{ref:x,className:c.mo("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",s),...r}));L.displayName="TableRow";const _=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("th",{ref:x,className:c.mo("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0",s),...r}));_.displayName="TableHead";const q=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("td",{ref:x,className:c.mo("p-4 align-middle [&:has([role=checkbox])]:pr-0",s),...r}));q.displayName="TableCell";const ce=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("caption",{ref:x,className:c.mo("text-muted-foreground mt-4 text-sm",s),...r}));ce.displayName="TableCaption";/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../jsx-runtime-h4oGeKUK.cjs"),re=require("../../button-CdZDBhmr-3yMPCRDo.cjs"),y=require("../../dropdown-menu-TWRSm6RK-DQ03CnVw.cjs"),A=require("../../MyLimitSelect-hBqUAd4P.cjs"),xe=require("react-i18next"),I=require("../../index-CGv7FLNy.cjs"),j=require("react"),g=require("../../lodash-C5w_OPmE.cjs"),f=require("../../index-BL59b1Bz-COeLljOH.cjs"),c=require("../../utils-B6fNqzRf-BNysSCt9.cjs"),H=require("../../useSortable-BvLbSWXW.cjs"),J=require("../../input-mask-O5j6MoYe-BMb0Vm87.cjs"),Y=require("../../SortOrder-81BrXp3i.cjs"),de=require("../../Empty-RpS8tJNv.cjs"),z=require("../../createLucideIcon-BnAj0RnC.cjs"),Z=require("../../FilterWrapper-Oc8nq2AQ.cjs"),le=require("../../Loader-BsYF7B7O.cjs"),ie=require("../../Actions-Dh8TPahn.cjs"),oe=require("../../ExportData-DV3HcBlK.cjs"),G=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("table",{ref:x,className:c.mo("w-full caption-bottom text-sm",s),...r}));G.displayName="Table";const Q=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("thead",{ref:x,className:c.mo("[&_tr]:border-b",s),...r}));Q.displayName="TableHeader";const X=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("tbody",{ref:x,className:c.mo("[&_tr:last-child]:border-0",s),...r}));X.displayName="TableBody";const ne=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("tfoot",{ref:x,className:c.mo("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",s),...r}));ne.displayName="TableFooter";const L=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("tr",{ref:x,className:c.mo("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",s),...r}));L.displayName="TableRow";const _=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("th",{ref:x,className:c.mo("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0",s),...r}));_.displayName="TableHead";const q=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("td",{ref:x,className:c.mo("p-4 align-middle [&:has([role=checkbox])]:pr-0",s),...r}));q.displayName="TableCell";const ce=j.forwardRef(({className:s,...r},x)=>f.ae.jsx("caption",{ref:x,className:c.mo("text-muted-foreground mt-4 text-sm",s),...r}));ce.displayName="TableCaption";/**
2
2
  * @license lucide-react v0.511.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -13,7 +13,7 @@ import { v as O } from "../../input-mask-O5j6MoYe-BLysuQw-.js";
13
13
  import { S as G } from "../../SortOrder-CwuehjY1.js";
14
14
  import { E as Ne } from "../../Empty-R6tJosqw.js";
15
15
  import { c as R } from "../../createLucideIcon-B950nf2d.js";
16
- import { S as me, F as ne } from "../../FilterWrapper-oh4Cocd2.js";
16
+ import { S as me, F as ne } from "../../FilterWrapper-d_Dr1dbR.js";
17
17
  import { L as ke } from "../../Loader-gLl5AAz4.js";
18
18
  import { A as we } from "../../Actions-DYmkv_J9.js";
19
19
  import { E as ye } from "../../ExportData-DvwQ6UCI.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../FilterWrapper-CINTpRMc.cjs"),t=require("../../jsx-runtime-h4oGeKUK.cjs"),p=require("react"),l=require("../../input-mask-O5j6MoYe-BMb0Vm87.cjs"),x=require("react-i18next"),d=require("../../button-CdZDBhmr-3yMPCRDo.cjs"),h=require("../../index-CGv7FLNy.cjs"),m=require("../../lodash-C5w_OPmE.cjs"),j=require("../../Keyboard-kyPAAQWP.cjs"),q=require("../../utils-B6fNqzRf-BNysSCt9.cjs"),y=({placeholder:r,onSearchChange:s,className:i,...a})=>{const{t:u}=x.useTranslation(),[o,c]=p.useState("");return t.jsxRuntimeExports.jsxs("div",{...a,className:q.mo("relative my-2 w-full",i),children:[t.jsxRuntimeExports.jsx(l.yp,{placeholder:r||u("Type text and press CTRL + Enter"),onInput:e=>c(m.lodashExports.get(e,"target.value","")),onKeyUp:e=>{e.key===j.Keyboard.ENTER&&(e.ctrlKey&&s(o||void 0),e.stopPropagation(),e.preventDefault())}}),t.jsxRuntimeExports.jsx(d.u,{type:"button",variant:"ghost",className:"text-foreground absolute top-0 right-0 cursor-pointer rounded-md !bg-transparent",onClick:()=>s(o),children:t.jsxRuntimeExports.jsx(h.pv,{})})]})};exports.FilterWrapper=n.FilterWrapper;exports.Search=n.Search;exports.SearchWithCtrl=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../FilterWrapper-Oc8nq2AQ.cjs"),t=require("../../jsx-runtime-h4oGeKUK.cjs"),p=require("react"),l=require("../../input-mask-O5j6MoYe-BMb0Vm87.cjs"),x=require("react-i18next"),d=require("../../button-CdZDBhmr-3yMPCRDo.cjs"),h=require("../../index-CGv7FLNy.cjs"),m=require("../../lodash-C5w_OPmE.cjs"),j=require("../../Keyboard-kyPAAQWP.cjs"),q=require("../../utils-B6fNqzRf-BNysSCt9.cjs"),y=({placeholder:r,onSearchChange:s,className:i,...a})=>{const{t:u}=x.useTranslation(),[o,c]=p.useState("");return t.jsxRuntimeExports.jsxs("div",{...a,className:q.mo("relative my-2 w-full",i),children:[t.jsxRuntimeExports.jsx(l.yp,{placeholder:r||u("Type text and press CTRL + Enter"),onInput:e=>c(m.lodashExports.get(e,"target.value","")),onKeyUp:e=>{e.key===j.Keyboard.ENTER&&(e.ctrlKey&&s(o||void 0),e.stopPropagation(),e.preventDefault())}}),t.jsxRuntimeExports.jsx(d.u,{type:"button",variant:"ghost",className:"text-foreground absolute top-0 right-0 cursor-pointer rounded-md !bg-transparent",onClick:()=>s(o),children:t.jsxRuntimeExports.jsx(h.pv,{})})]})};exports.FilterWrapper=n.FilterWrapper;exports.Search=n.Search;exports.SearchWithCtrl=y;
@@ -1,4 +1,4 @@
1
- import { F as C, S as F } from "../../FilterWrapper-oh4Cocd2.js";
1
+ import { F as C, S as F } from "../../FilterWrapper-d_Dr1dbR.js";
2
2
  import { j as t } from "../../jsx-runtime-DS1N_tNq.js";
3
3
  import { useState as n } from "react";
4
4
  import { y as l } from "../../input-mask-O5j6MoYe-BLysuQw-.js";
@@ -17,6 +17,8 @@ export interface FilterInterface {
17
17
  name: string;
18
18
  /** Whether the filter supports multiple values (for select inputs). */
19
19
  isMulti?: boolean;
20
+ /** Whether the filter supports searchable inputs (for select inputs). */
21
+ isSearchable?: boolean;
20
22
  /** Options for select inputs. */
21
23
  options?: Option[];
22
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FilterWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/filters/FilterWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAC;AAE/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAEL,KAAK,qBAAqB,EAG3B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,aAAa,CAAC;AAIhD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,kCAAkC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,EAChC,qBAAqB;IACvB,6CAA6C;IAC7C,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACtD,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