@veeqo/transfigure 0.0.28 → 0.0.29

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 (160) hide show
  1. package/dist/BusinessLogic/types.d.ts +1 -0
  2. package/dist/hooks/index.d.ts +1 -0
  3. package/dist/hooks/useStores/types.d.ts +1 -1
  4. package/dist/hooks/useUrlParams/index.d.ts +1 -0
  5. package/dist/hooks/useUrlParams/useUrlParams.d.ts +3 -0
  6. package/dist/index.cjs +1 -1
  7. package/dist/index.js +58 -54
  8. package/dist/index100.cjs +12 -1
  9. package/dist/index100.js +16 -2
  10. package/dist/index101.cjs +80 -1
  11. package/dist/index101.js +103 -19
  12. package/dist/index102.cjs +1 -1
  13. package/dist/index102.js +2 -8
  14. package/dist/index103.cjs +1 -1
  15. package/dist/index103.js +35 -63
  16. package/dist/index104.cjs +1 -1
  17. package/dist/index104.js +18 -29
  18. package/dist/index105.cjs +1 -13
  19. package/dist/index105.js +8 -17
  20. package/dist/index106.cjs +1 -1
  21. package/dist/index106.js +63 -35
  22. package/dist/index107.cjs +1 -1
  23. package/dist/index107.js +29 -25
  24. package/dist/index108.cjs +13 -1
  25. package/dist/index108.js +15 -40
  26. package/dist/index109.cjs +1 -7
  27. package/dist/index109.js +26 -10
  28. package/dist/index110.cjs +1 -1
  29. package/dist/index110.js +1 -1
  30. package/dist/index111.cjs +1 -1
  31. package/dist/index111.js +2 -2
  32. package/dist/index112.cjs +7 -0
  33. package/dist/index112.js +12 -0
  34. package/dist/index113.cjs +1 -0
  35. package/dist/index113.js +44 -0
  36. package/dist/index19.cjs +1 -1
  37. package/dist/index19.js +1 -1
  38. package/dist/index20.cjs +1 -1
  39. package/dist/index20.js +1 -1
  40. package/dist/index21.cjs +1 -1
  41. package/dist/index21.js +2 -2
  42. package/dist/index24.cjs +1 -1
  43. package/dist/index24.js +2 -2
  44. package/dist/index25.cjs +1 -1
  45. package/dist/index25.js +2 -2
  46. package/dist/index27.cjs +1 -1
  47. package/dist/index27.js +1 -1
  48. package/dist/index29.cjs +1 -1
  49. package/dist/index29.js +2 -2
  50. package/dist/index32.cjs +1 -1
  51. package/dist/index32.js +1 -1
  52. package/dist/index34.cjs +1 -1
  53. package/dist/index34.js +2 -2
  54. package/dist/index37.cjs +1 -1
  55. package/dist/index37.js +1 -1
  56. package/dist/index38.cjs +1 -1
  57. package/dist/index38.js +1 -1
  58. package/dist/index39.cjs +1 -1
  59. package/dist/index39.js +1 -1
  60. package/dist/index40.cjs +1 -1
  61. package/dist/index40.js +1 -1
  62. package/dist/index42.cjs +1 -1
  63. package/dist/index42.js +1 -1
  64. package/dist/index44.cjs +1 -1
  65. package/dist/index44.js +2 -2
  66. package/dist/index45.cjs +1 -1
  67. package/dist/index45.js +3 -3
  68. package/dist/index54.cjs +1 -1
  69. package/dist/index54.js +2 -2
  70. package/dist/index56.cjs +1 -1
  71. package/dist/index56.js +2 -2
  72. package/dist/index57.cjs +1 -1
  73. package/dist/index57.js +2 -2
  74. package/dist/index58.cjs +1 -1
  75. package/dist/index58.js +2 -2
  76. package/dist/index6.cjs +1 -1
  77. package/dist/index6.js +4 -4
  78. package/dist/index60.cjs +1 -1
  79. package/dist/index60.js +2 -2
  80. package/dist/index61.cjs +1 -1
  81. package/dist/index61.js +1 -1
  82. package/dist/index64.cjs +1 -1
  83. package/dist/index64.js +13 -316
  84. package/dist/index65.cjs +1 -1
  85. package/dist/index65.js +321 -55
  86. package/dist/index66.cjs +1 -1
  87. package/dist/index66.js +50 -47
  88. package/dist/index67.cjs +1 -1
  89. package/dist/index67.js +51 -32
  90. package/dist/index68.cjs +1 -1
  91. package/dist/index68.js +30 -24
  92. package/dist/index69.cjs +1 -1
  93. package/dist/index69.js +31 -12
  94. package/dist/index70.cjs +1 -1
  95. package/dist/index70.js +38 -9
  96. package/dist/index71.cjs +1 -1
  97. package/dist/index71.js +12 -16
  98. package/dist/index72.cjs +1 -1
  99. package/dist/index72.js +9 -19
  100. package/dist/index73.cjs +1 -1
  101. package/dist/index73.js +16 -47
  102. package/dist/index74.cjs +1 -1
  103. package/dist/index74.js +18 -20
  104. package/dist/index75.cjs +1 -1
  105. package/dist/index75.js +50 -2
  106. package/dist/index76.cjs +1 -1
  107. package/dist/index76.js +21 -9
  108. package/dist/index77.cjs +1 -3
  109. package/dist/index77.js +2 -14
  110. package/dist/index78.cjs +1 -1
  111. package/dist/index78.js +8 -8
  112. package/dist/index79.cjs +3 -8
  113. package/dist/index79.js +14 -12
  114. package/dist/index80.cjs +1 -1
  115. package/dist/index80.js +9 -41
  116. package/dist/index81.cjs +1 -1
  117. package/dist/index81.js +143 -9
  118. package/dist/index82.cjs +1 -1
  119. package/dist/index82.js +18 -142
  120. package/dist/index83.cjs +8 -1
  121. package/dist/index83.js +12 -19
  122. package/dist/index84.cjs +1 -1
  123. package/dist/index84.js +40 -30
  124. package/dist/index85.cjs +1 -1
  125. package/dist/index85.js +7 -27
  126. package/dist/index86.cjs +1 -19
  127. package/dist/index86.js +13 -24
  128. package/dist/index87.cjs +104 -1
  129. package/dist/index87.js +119 -20
  130. package/dist/index88.cjs +1 -1
  131. package/dist/index88.js +65 -15
  132. package/dist/index89.cjs +1 -1
  133. package/dist/index89.js +29 -13
  134. package/dist/index9.cjs +1 -1
  135. package/dist/index9.js +21 -20
  136. package/dist/index90.cjs +1 -104
  137. package/dist/index90.js +2 -120
  138. package/dist/index91.cjs +1 -1
  139. package/dist/index91.js +38 -65
  140. package/dist/index92.cjs +1 -1
  141. package/dist/index92.js +8 -26
  142. package/dist/index93.cjs +1 -1
  143. package/dist/index93.js +18 -2
  144. package/dist/index94.cjs +1 -1
  145. package/dist/index94.js +23 -40
  146. package/dist/index95.cjs +1 -1
  147. package/dist/index95.js +31 -9
  148. package/dist/index96.cjs +1 -1
  149. package/dist/index96.js +26 -12
  150. package/dist/index97.cjs +1 -1
  151. package/dist/index97.js +15 -24
  152. package/dist/index98.cjs +18 -11
  153. package/dist/index98.js +20 -12
  154. package/dist/index99.cjs +1 -80
  155. package/dist/index99.js +21 -103
  156. package/dist/mobx/Filters/Filters.d.ts +1 -0
  157. package/dist/mobx/Table/Table.d.ts +1 -0
  158. package/dist/mobx/index.d.ts +1 -0
  159. package/dist/types.d.ts +2 -0
  160. package/package.json +1 -1
@@ -5,6 +5,7 @@ import { Filter, FilterGroupType } from 'src/types';
5
5
  export type BusinessLogicType = {
6
6
  DATE_RANGE_FILTERS: string[];
7
7
  SEARCH_FILTER_ID: string;
8
+ SORT_FILTER_ID: string;
8
9
  PAGE_NUMBER_FILTER_ID: string;
9
10
  PAGE_SIZE_FILTER_ID: string;
10
11
  NUMBER_RANGE_FILTERS: string[];
@@ -8,3 +8,4 @@ export * from './useViews';
8
8
  export * from './useViewUrlChange';
9
9
  export * from './useCustomViews';
10
10
  export * from './useHiddenColumns';
11
+ export * from './useUrlParams';
@@ -1,7 +1,7 @@
1
1
  import { Filters } from '../../mobx/Filters';
2
2
  import { Table } from '../../mobx/Table';
3
3
  import { Views } from '../../mobx/Views';
4
- import { Notifications } from 'src/mobx/Notifications';
4
+ import { Notifications } from '../../mobx/Notifications';
5
5
  export interface ComponentStores {
6
6
  Views: Views;
7
7
  Filters: Filters;
@@ -0,0 +1 @@
1
+ export { useUrlParams } from './useUrlParams';
@@ -0,0 +1,3 @@
1
+ export declare const useUrlParams: () => {
2
+ queryParams: string;
3
+ };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index2.cjs"),o=require("./index3.cjs"),n=require("./index4.cjs"),a=require("./index5.cjs"),c=require("./index6.cjs"),u=require("./index7.cjs"),l=require("./index8.cjs"),F=require("./index9.cjs"),d=require("./index10.cjs"),q=require("./index11.cjs"),g=require("./index12.cjs"),w=require("./index13.cjs"),A=require("./index14.cjs"),V=require("./index15.cjs"),C=require("./index16.cjs"),p=require("./index17.cjs"),v=require("./index18.cjs"),h=require("./index19.cjs"),R=require("./index20.cjs"),b=require("./index21.cjs"),D=require("./index22.cjs"),m=require("./index23.cjs"),M=require("./index24.cjs"),T=require("./index25.cjs"),y=require("./index26.cjs"),S=require("./index27.cjs"),N=require("./index28.cjs"),O=require("./index29.cjs"),P=require("./index30.cjs"),L=require("./index31.cjs"),B=require("./index32.cjs"),f=require("./index33.cjs"),U=require("./index34.cjs"),I=require("./index35.cjs"),k=require("./index36.cjs"),x=require("./index37.cjs"),H=require("./index38.cjs"),E=require("./index39.cjs"),_=require("./index40.cjs"),G=require("./index41.cjs"),W=require("./index42.cjs"),X=require("./index43.cjs"),$=require("./index44.cjs"),J=require("./index45.cjs"),e=require("./index46.cjs"),r=require("./index47.cjs"),K=require("./index48.cjs"),j=require("./index49.cjs"),z=require("./index50.cjs"),Q=require("./index51.cjs"),i=require("./index52.cjs"),t=require("./index53.cjs"),Y=require("./index54.cjs"),Z=require("./index55.cjs"),ee=require("./index56.cjs"),re=require("./index57.cjs"),ie=require("./index58.cjs"),te=require("./index59.cjs"),se=require("./index60.cjs"),oe=require("./index61.cjs"),ne=require("./index62.cjs"),ae=require("./index63.cjs"),ce=require("./index64.cjs"),ue=require("./index65.cjs"),le=require("./index66.cjs"),Fe=require("./index67.cjs"),de=require("./index68.cjs"),qe=require("./index69.cjs"),ge=require("./index70.cjs"),we=require("./index71.cjs"),Ae=require("./index72.cjs"),Ve=require("./index73.cjs"),Ce=require("./index74.cjs");exports.deleteCustomView=s.deleteCustomView;exports.patchCurrentUser=o.patchCurrentUser;exports.patchCustomView=n.patchCustomView;exports.createCustomView=a.createCustomView;exports.axios=c.axios;exports.useBusinessLogic=u.useBusinessLogic;exports.BusinessLogicManager=l.BusinessLogicManager;exports.setMockedBusinessLogic=F.setMockedBusinessLogic;exports.ErrorBoundary=d.ErrorBoundary;exports.SearchBar=q.SearchBar;exports.TableControls=g.TableControls;exports.ToastsManager=w.ToastsManager;exports.ActiveFilters=A.ActiveFilters;exports.FilterArrayField=V.FilterArrayField;exports.FilterField=C.FilterField;exports.ActiveFilterTag=p.ActiveFilterTag;exports.ActiveFilterArrayTag=v.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=h.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=R.ActiveFilterNumberRangeTag;exports.ActiveAsyncRadioFilter=b.ActiveAsyncRadioFilter;exports.ActiveFilterFooter=D.ActiveFilterFooter;exports.ActiveFilterHeader=m.ActiveFilterHeader;exports.AsyncCheckboxFilter=M.AsyncCheckboxFilter;exports.AsyncRadioFilter=T.AsyncRadioFilter;exports.CheckboxFilter=y.CheckboxFilter;exports.DateRangeFilter=S.DateRangeFilter;exports.MultipleFieldFilter=N.MultipleFieldFilter;exports.NumberRangeFilter=O.NumberRangeFilter;exports.RadioFilter=P.RadioFilter;exports.FiltersDropdown=L.FiltersDropdown;exports.FiltersList=B.FiltersList;exports.FilterGroup=f.FilterGroup;exports.ViewTab=U.ViewTab;exports.CreateView=I.CreateView;exports.EditDropdown=k.EditDropdown;exports.OptionsDropdown=x.OptionsDropdown;exports.PillNotifications=H.PillNotifications;exports.SortableViews=E.SortableViews;exports.UnsavedChangesPill=_.UnsavedChangesPill;exports.ViewDropdowns=G.ViewDropdowns;exports.ViewList=W.ViewList;exports.SHARING_OPTIONS=X.SHARING_OPTIONS;exports.TableManagement=$.TableManagement;exports.RefreshButton=J.RefreshButton;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=r.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=r.SWR_HOOK_OPTIONS;exports.ModalProvider=K.ModalProvider;exports.ModalId=j.ModalId;exports.useModal=z.useModal;exports.withCSRF=Q.withCSRF;exports.onlyJSON=i.onlyJSON;exports.vndAPI=i.vndAPI;exports.fetcherV1=t.fetcherV1;exports.fetcherV2=t.fetcherV2;exports.useDropdownManager=Y.useDropdownManager;exports.useDuplicateActiveView=Z.useDuplicateActiveView;exports.useFilterArrayLabel=ee.useFilterArrayLabel;exports.useFilterLabel=re.useFilterLabel;exports.usePersistUnsavedChanges=ie.usePersistUnsavedChanges;exports.useStores=te.useStores;exports.useViews=se.useViews;exports.useViewUrlChange=oe.useViewUrlChange;exports.useCustomViews=ne.useCustomViews;exports.useHiddenColumns=ae.useHiddenColumns;exports.Filters=ce.Filters;exports.NumberRangeFilterClass=ue.NumberRangeFilter;exports.RangeFilter=le.RangeFilter;exports.Views=Fe.Views;exports.Notifications=de.Notifications;exports.MobXProvider=qe.MobXProvider;exports.getAsyncOptions=ge.getAsyncOptions;exports.getFetcherFunction=we.getFetcherFunction;exports.isValidDateRange=Ae.isValidDateRange;exports.viewsAdapter=Ve.viewsAdapter;exports.createAllView=Ce.createAllView;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index2.cjs"),o=require("./index3.cjs"),n=require("./index4.cjs"),a=require("./index5.cjs"),c=require("./index6.cjs"),u=require("./index7.cjs"),l=require("./index8.cjs"),F=require("./index9.cjs"),d=require("./index10.cjs"),q=require("./index11.cjs"),g=require("./index12.cjs"),w=require("./index13.cjs"),A=require("./index14.cjs"),V=require("./index15.cjs"),C=require("./index16.cjs"),p=require("./index17.cjs"),v=require("./index18.cjs"),b=require("./index19.cjs"),h=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),T=require("./index23.cjs"),D=require("./index24.cjs"),M=require("./index25.cjs"),y=require("./index26.cjs"),P=require("./index27.cjs"),S=require("./index28.cjs"),N=require("./index29.cjs"),O=require("./index30.cjs"),L=require("./index31.cjs"),B=require("./index32.cjs"),f=require("./index33.cjs"),U=require("./index34.cjs"),I=require("./index35.cjs"),k=require("./index36.cjs"),x=require("./index37.cjs"),H=require("./index38.cjs"),E=require("./index39.cjs"),_=require("./index40.cjs"),G=require("./index41.cjs"),W=require("./index42.cjs"),X=require("./index43.cjs"),$=require("./index44.cjs"),J=require("./index45.cjs"),e=require("./index46.cjs"),r=require("./index47.cjs"),K=require("./index48.cjs"),j=require("./index49.cjs"),z=require("./index50.cjs"),Q=require("./index51.cjs"),i=require("./index52.cjs"),t=require("./index53.cjs"),Y=require("./index54.cjs"),Z=require("./index55.cjs"),ee=require("./index56.cjs"),re=require("./index57.cjs"),ie=require("./index58.cjs"),te=require("./index59.cjs"),se=require("./index60.cjs"),oe=require("./index61.cjs"),ne=require("./index62.cjs"),ae=require("./index63.cjs"),ce=require("./index64.cjs"),ue=require("./index65.cjs"),le=require("./index66.cjs"),Fe=require("./index67.cjs"),de=require("./index68.cjs"),qe=require("./index69.cjs"),ge=require("./index70.cjs"),we=require("./index71.cjs"),Ae=require("./index72.cjs"),Ve=require("./index73.cjs"),Ce=require("./index74.cjs"),pe=require("./index75.cjs"),ve=require("./index76.cjs");exports.deleteCustomView=s.deleteCustomView;exports.patchCurrentUser=o.patchCurrentUser;exports.patchCustomView=n.patchCustomView;exports.createCustomView=a.createCustomView;exports.axios=c.axios;exports.useBusinessLogic=u.useBusinessLogic;exports.BusinessLogicManager=l.BusinessLogicManager;exports.setMockedBusinessLogic=F.setMockedBusinessLogic;exports.ErrorBoundary=d.ErrorBoundary;exports.SearchBar=q.SearchBar;exports.TableControls=g.TableControls;exports.ToastsManager=w.ToastsManager;exports.ActiveFilters=A.ActiveFilters;exports.FilterArrayField=V.FilterArrayField;exports.FilterField=C.FilterField;exports.ActiveFilterTag=p.ActiveFilterTag;exports.ActiveFilterArrayTag=v.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=b.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=h.ActiveFilterNumberRangeTag;exports.ActiveAsyncRadioFilter=R.ActiveAsyncRadioFilter;exports.ActiveFilterFooter=m.ActiveFilterFooter;exports.ActiveFilterHeader=T.ActiveFilterHeader;exports.AsyncCheckboxFilter=D.AsyncCheckboxFilter;exports.AsyncRadioFilter=M.AsyncRadioFilter;exports.CheckboxFilter=y.CheckboxFilter;exports.DateRangeFilter=P.DateRangeFilter;exports.MultipleFieldFilter=S.MultipleFieldFilter;exports.NumberRangeFilter=N.NumberRangeFilter;exports.RadioFilter=O.RadioFilter;exports.FiltersDropdown=L.FiltersDropdown;exports.FiltersList=B.FiltersList;exports.FilterGroup=f.FilterGroup;exports.ViewTab=U.ViewTab;exports.CreateView=I.CreateView;exports.EditDropdown=k.EditDropdown;exports.OptionsDropdown=x.OptionsDropdown;exports.PillNotifications=H.PillNotifications;exports.SortableViews=E.SortableViews;exports.UnsavedChangesPill=_.UnsavedChangesPill;exports.ViewDropdowns=G.ViewDropdowns;exports.ViewList=W.ViewList;exports.SHARING_OPTIONS=X.SHARING_OPTIONS;exports.TableManagement=$.TableManagement;exports.RefreshButton=J.RefreshButton;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=r.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=r.SWR_HOOK_OPTIONS;exports.ModalProvider=K.ModalProvider;exports.ModalId=j.ModalId;exports.useModal=z.useModal;exports.withCSRF=Q.withCSRF;exports.onlyJSON=i.onlyJSON;exports.vndAPI=i.vndAPI;exports.fetcherV1=t.fetcherV1;exports.fetcherV2=t.fetcherV2;exports.useDropdownManager=Y.useDropdownManager;exports.useDuplicateActiveView=Z.useDuplicateActiveView;exports.useFilterArrayLabel=ee.useFilterArrayLabel;exports.useFilterLabel=re.useFilterLabel;exports.usePersistUnsavedChanges=ie.usePersistUnsavedChanges;exports.useStores=te.useStores;exports.useViews=se.useViews;exports.useViewUrlChange=oe.useViewUrlChange;exports.useCustomViews=ne.useCustomViews;exports.useHiddenColumns=ae.useHiddenColumns;exports.useUrlParams=ce.useUrlParams;exports.Filters=ue.Filters;exports.NumberRangeFilterClass=le.NumberRangeFilter;exports.RangeFilter=Fe.RangeFilter;exports.Views=de.Views;exports.Notifications=qe.Notifications;exports.Table=ge.Table;exports.MobXProvider=we.MobXProvider;exports.getAsyncOptions=Ae.getAsyncOptions;exports.getFetcherFunction=Ve.getFetcherFunction;exports.isValidDateRange=Ce.isValidDateRange;exports.viewsAdapter=pe.viewsAdapter;exports.createAllView=ve.createAllView;
package/dist/index.js CHANGED
@@ -1,22 +1,22 @@
1
1
  import { deleteCustomView as o } from "./index2.js";
2
- import { patchCurrentUser as i } from "./index3.js";
2
+ import { patchCurrentUser as p } from "./index3.js";
3
3
  import { patchCustomView as m } from "./index4.js";
4
4
  import { createCustomView as x } from "./index5.js";
5
5
  import { axios as s } from "./index6.js";
6
6
  import { useBusinessLogic as n } from "./index7.js";
7
- import { BusinessLogicManager as u } from "./index8.js";
7
+ import { BusinessLogicManager as F } from "./index8.js";
8
8
  import { setMockedBusinessLogic as d } from "./index9.js";
9
9
  import { ErrorBoundary as w } from "./index10.js";
10
10
  import { SearchBar as V } from "./index11.js";
11
11
  import { TableControls as v } from "./index12.js";
12
- import { ToastsManager as h } from "./index13.js";
12
+ import { ToastsManager as b } from "./index13.js";
13
13
  import { ActiveFilters as D } from "./index14.js";
14
- import { FilterArrayField as N } from "./index15.js";
15
- import { FilterField as T } from "./index16.js";
16
- import { ActiveFilterTag as S } from "./index17.js";
14
+ import { FilterArrayField as T } from "./index15.js";
15
+ import { FilterField as O } from "./index16.js";
16
+ import { ActiveFilterTag as P } from "./index17.js";
17
17
  import { ActiveFilterArrayTag as L } from "./index18.js";
18
18
  import { ActiveFilterDateRangeTag as I } from "./index19.js";
19
- import { ActiveFilterNumberRangeTag as U } from "./index20.js";
19
+ import { ActiveFilterNumberRangeTag as H } from "./index20.js";
20
20
  import { ActiveAsyncRadioFilter as _ } from "./index21.js";
21
21
  import { ActiveFilterFooter as G } from "./index22.js";
22
22
  import { ActiveFilterHeader as K } from "./index23.js";
@@ -26,23 +26,23 @@ import { CheckboxFilter as Q } from "./index26.js";
26
26
  import { DateRangeFilter as Z } from "./index27.js";
27
27
  import { MultipleFieldFilter as rr } from "./index28.js";
28
28
  import { NumberRangeFilter as or } from "./index29.js";
29
- import { RadioFilter as ir } from "./index30.js";
29
+ import { RadioFilter as pr } from "./index30.js";
30
30
  import { FiltersDropdown as mr } from "./index31.js";
31
31
  import { FiltersList as xr } from "./index32.js";
32
32
  import { FilterGroup as sr } from "./index33.js";
33
33
  import { ViewTab as nr } from "./index34.js";
34
- import { CreateView as ur } from "./index35.js";
34
+ import { CreateView as Fr } from "./index35.js";
35
35
  import { EditDropdown as dr } from "./index36.js";
36
36
  import { OptionsDropdown as wr } from "./index37.js";
37
37
  import { PillNotifications as Vr } from "./index38.js";
38
38
  import { SortableViews as vr } from "./index39.js";
39
- import { UnsavedChangesPill as hr } from "./index40.js";
39
+ import { UnsavedChangesPill as br } from "./index40.js";
40
40
  import { ViewDropdowns as Dr } from "./index41.js";
41
- import { ViewList as Nr } from "./index42.js";
42
- import { SHARING_OPTIONS as Tr } from "./index43.js";
43
- import { TableManagement as Sr } from "./index44.js";
41
+ import { ViewList as Tr } from "./index42.js";
42
+ import { SHARING_OPTIONS as Or } from "./index43.js";
43
+ import { TableManagement as Pr } from "./index44.js";
44
44
  import { RefreshButton as Lr } from "./index45.js";
45
- import { DateOptionMap as Ir, DateValue as Hr } from "./index46.js";
45
+ import { DateOptionMap as Ir, DateValue as Ur } from "./index46.js";
46
46
  import { FilterChoiceValue as kr, SWR_HOOK_OPTIONS as _r } from "./index47.js";
47
47
  import { ModalProvider as Gr } from "./index48.js";
48
48
  import { ModalId as Kr } from "./index49.js";
@@ -51,102 +51,106 @@ import { withCSRF as qr } from "./index51.js";
51
51
  import { onlyJSON as Qr, vndAPI as Yr } from "./index52.js";
52
52
  import { fetcherV1 as $r, fetcherV2 as re } from "./index53.js";
53
53
  import { useDropdownManager as oe } from "./index54.js";
54
- import { useDuplicateActiveView as ie } from "./index55.js";
54
+ import { useDuplicateActiveView as pe } from "./index55.js";
55
55
  import { useFilterArrayLabel as me } from "./index56.js";
56
56
  import { useFilterLabel as xe } from "./index57.js";
57
57
  import { usePersistUnsavedChanges as se } from "./index58.js";
58
58
  import { useStores as ne } from "./index59.js";
59
- import { useViews as ue } from "./index60.js";
59
+ import { useViews as Fe } from "./index60.js";
60
60
  import { useViewUrlChange as de } from "./index61.js";
61
61
  import { useCustomViews as we } from "./index62.js";
62
62
  import { useHiddenColumns as Ve } from "./index63.js";
63
- import { Filters as ve } from "./index64.js";
64
- import { NumberRangeFilter as he } from "./index65.js";
65
- import { RangeFilter as De } from "./index66.js";
66
- import { Views as Ne } from "./index67.js";
67
- import { Notifications as Te } from "./index68.js";
68
- import { MobXProvider as Se } from "./index69.js";
69
- import { getAsyncOptions as Le } from "./index70.js";
70
- import { getFetcherFunction as Ie } from "./index71.js";
71
- import { isValidDateRange as Ue } from "./index72.js";
72
- import { viewsAdapter as _e } from "./index73.js";
73
- import { createAllView as Ge } from "./index74.js";
63
+ import { useUrlParams as ve } from "./index64.js";
64
+ import { Filters as be } from "./index65.js";
65
+ import { NumberRangeFilter as De } from "./index66.js";
66
+ import { RangeFilter as Te } from "./index67.js";
67
+ import { Views as Oe } from "./index68.js";
68
+ import { Notifications as Pe } from "./index69.js";
69
+ import { Table as Le } from "./index70.js";
70
+ import { MobXProvider as Ie } from "./index71.js";
71
+ import { getAsyncOptions as He } from "./index72.js";
72
+ import { getFetcherFunction as _e } from "./index73.js";
73
+ import { isValidDateRange as Ge } from "./index74.js";
74
+ import { viewsAdapter as Ke } from "./index75.js";
75
+ import { createAllView as Xe } from "./index76.js";
74
76
  export {
75
77
  _ as ActiveAsyncRadioFilter,
76
78
  L as ActiveFilterArrayTag,
77
79
  I as ActiveFilterDateRangeTag,
78
80
  G as ActiveFilterFooter,
79
81
  K as ActiveFilterHeader,
80
- U as ActiveFilterNumberRangeTag,
81
- S as ActiveFilterTag,
82
+ H as ActiveFilterNumberRangeTag,
83
+ P as ActiveFilterTag,
82
84
  D as ActiveFilters,
83
85
  X as AsyncCheckboxFilter,
84
86
  q as AsyncRadioFilter,
85
- u as BusinessLogicManager,
87
+ F as BusinessLogicManager,
86
88
  Q as CheckboxFilter,
87
- ur as CreateView,
89
+ Fr as CreateView,
88
90
  Ir as DateOptionMap,
89
91
  Z as DateRangeFilter,
90
- Hr as DateValue,
92
+ Ur as DateValue,
91
93
  dr as EditDropdown,
92
94
  w as ErrorBoundary,
93
- N as FilterArrayField,
95
+ T as FilterArrayField,
94
96
  kr as FilterChoiceValue,
95
- T as FilterField,
97
+ O as FilterField,
96
98
  sr as FilterGroup,
97
- ve as Filters,
99
+ be as Filters,
98
100
  mr as FiltersDropdown,
99
101
  xr as FiltersList,
100
- Se as MobXProvider,
102
+ Ie as MobXProvider,
101
103
  Kr as ModalId,
102
104
  Gr as ModalProvider,
103
105
  rr as MultipleFieldFilter,
104
- Te as Notifications,
106
+ Pe as Notifications,
105
107
  or as NumberRangeFilter,
106
- he as NumberRangeFilterClass,
108
+ De as NumberRangeFilterClass,
107
109
  wr as OptionsDropdown,
108
110
  Vr as PillNotifications,
109
- ir as RadioFilter,
110
- De as RangeFilter,
111
+ pr as RadioFilter,
112
+ Te as RangeFilter,
111
113
  Lr as RefreshButton,
112
- Tr as SHARING_OPTIONS,
114
+ Or as SHARING_OPTIONS,
113
115
  _r as SWR_HOOK_OPTIONS,
114
116
  V as SearchBar,
115
117
  vr as SortableViews,
118
+ Le as Table,
116
119
  v as TableControls,
117
- Sr as TableManagement,
118
- h as ToastsManager,
119
- hr as UnsavedChangesPill,
120
+ Pr as TableManagement,
121
+ b as ToastsManager,
122
+ br as UnsavedChangesPill,
120
123
  Dr as ViewDropdowns,
121
- Nr as ViewList,
124
+ Tr as ViewList,
122
125
  nr as ViewTab,
123
- Ne as Views,
126
+ Oe as Views,
124
127
  s as axios,
125
- Ge as createAllView,
128
+ Xe as createAllView,
126
129
  x as createCustomView,
127
130
  o as deleteCustomView,
128
131
  $r as fetcherV1,
129
132
  re as fetcherV2,
130
- Le as getAsyncOptions,
131
- Ie as getFetcherFunction,
132
- Ue as isValidDateRange,
133
+ He as getAsyncOptions,
134
+ _e as getFetcherFunction,
135
+ Ge as isValidDateRange,
133
136
  Qr as onlyJSON,
134
- i as patchCurrentUser,
137
+ p as patchCurrentUser,
135
138
  m as patchCustomView,
136
139
  d as setMockedBusinessLogic,
137
140
  n as useBusinessLogic,
138
141
  we as useCustomViews,
139
142
  oe as useDropdownManager,
140
- ie as useDuplicateActiveView,
143
+ pe as useDuplicateActiveView,
141
144
  me as useFilterArrayLabel,
142
145
  xe as useFilterLabel,
143
146
  Ve as useHiddenColumns,
144
147
  Xr as useModal,
145
148
  se as usePersistUnsavedChanges,
146
149
  ne as useStores,
150
+ ve as useUrlParams,
147
151
  de as useViewUrlChange,
148
- ue as useViews,
149
- _e as viewsAdapter,
152
+ Fe as useViews,
153
+ Ke as viewsAdapter,
150
154
  Yr as vndAPI,
151
155
  qr as withCSRF
152
156
  };
package/dist/index100.cjs CHANGED
@@ -1 +1,12 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=r=>r instanceof Error;exports.isError=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@veeqo/ui"),o=e=>e&&e.__esModule?e:{default:e},r=o(i),d=r.default(t.BaseContainer)`
2
+ display: flex;
3
+ flex-direction: column;
4
+ padding: 8px;
5
+ padding-left: 35px;
6
+ margin: 8px;
7
+ background-color: ${t.theme.colors.neutral.grey.lightest};
8
+ `,l=r.default.hr`
9
+ width: 100%;
10
+ border-top: 1px solid ${t.theme.colors.neutral.grey.dark};
11
+ margin: 0 0 4px 0;
12
+ `;exports.Divider=l;exports.FixedViews=d;
package/dist/index100.js CHANGED
@@ -1,4 +1,18 @@
1
- const o = (r) => r instanceof Error;
1
+ import r from "styled-components";
2
+ import { theme as o, BaseContainer as e } from "@veeqo/ui";
3
+ const d = r(e)`
4
+ display: flex;
5
+ flex-direction: column;
6
+ padding: 8px;
7
+ padding-left: 35px;
8
+ margin: 8px;
9
+ background-color: ${o.colors.neutral.grey.lightest};
10
+ `, l = r.hr`
11
+ width: 100%;
12
+ border-top: 1px solid ${o.colors.neutral.grey.dark};
13
+ margin: 0 0 4px 0;
14
+ `;
2
15
  export {
3
- o as isError
16
+ l as Divider,
17
+ d as FixedViews
4
18
  };
package/dist/index101.cjs CHANGED
@@ -1 +1,80 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("@dnd-kit/sortable"),g=require("./index108.cjs"),b=require("./index90.cjs"),f=({id:t,children:r})=>{const{attributes:s,listeners:o,setNodeRef:i,transform:n,transition:a,isDragging:l}=c.useSortable({id:t}),u={transform:g.CSS.Transform.toString(n),transition:a,cursor:"grab",outlineOffset:"-1px"};return e.jsxs("div",{ref:i,style:u,...s,...o,children:[r,l&&e.jsx(b.DraggingOverlay,{})]})};exports.SortableItem=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),t=require("@veeqo/ui"),r=require("@veeqo/components"),l=require("framer-motion"),s=require("./index109.cjs"),c=e=>e&&e.__esModule?e:{default:e},o=c(a),{Glyph:i}=r.VeeqoCommon,d=o.default(l.motion(t.BaseContainer)).attrs(()=>({variants:s.notificationVariants,initial:"initial",animate:"animate",exit:"exit"}))`
2
+ display: flex;
3
+ position: fixed;
4
+ width: 100vw;
5
+ left: 0;
6
+ bottom: 24px;
7
+ z-index: 1001;
8
+
9
+ &.notification-enter {
10
+ opacity: 0;
11
+ transform: translateY(-16px);
12
+ }
13
+
14
+ &.notification-enter-active {
15
+ opacity: 1;
16
+ transform: translateY(0);
17
+ transition: 350ms ease;
18
+ }
19
+
20
+ &.notification-exit {
21
+ opacity: 0;
22
+ transform: translateY(16px);
23
+ transition: 350ms ease;
24
+ }
25
+ pointer-events: none;
26
+ `,f=o.default(t.BaseContainer)`
27
+ display: inline-flex;
28
+ flex-direction: row;
29
+ align-items: center;
30
+ padding: 20px 24px 24px 24px;
31
+ border-radius: 4px;
32
+ margin: 0 auto;
33
+ background-color: #fff;
34
+ box-shadow: ${t.theme.shadows.lg};
35
+ pointer-events: all;
36
+ `,p=o.default(t.Banner)`
37
+ display: inline-flex;
38
+ flex-direction: row;
39
+ align-items: center;
40
+ margin: 0 auto;
41
+ background-color: #fff;
42
+ box-shadow: ${t.theme.shadows.lg};
43
+ pointer-events: all;
44
+ `,u=o.default(t.Button)`
45
+ margin-right: 16px;
46
+ `,x=o.default(t.Text)`
47
+ line-height: 20px;
48
+ `,n=o.default(t.Text)`
49
+ margin: ${e=>e.margin?e.margin:""};
50
+ color: ${e=>e.color};
51
+ `,m=o.default(t.Text)`
52
+ margin-right: 8px;
53
+ color: ${e=>e.color};
54
+ `,g=o.default(i)``,h=o.default(t.BaseContainer)`
55
+ display: flex;
56
+ flex-direction: row;
57
+ align-items: flex-end;
58
+ flex-grow: 2;
59
+ margin-left: 24px;
60
+ margin-right: 24px;
61
+ `;o.default(t.AnimatedDropdown)``;const y=o.default.button`
62
+ display: flex;
63
+ flex-direction: row;
64
+ width: 100%;
65
+ padding: 12px 16px;
66
+ cursor: pointer;
67
+
68
+ & > ${n} {
69
+ white-space: nowrap;
70
+ user-select: none;
71
+ }
72
+
73
+ &:hover {
74
+ background-color: ${t.theme.colors.neutral.grey.lightest};
75
+ }
76
+
77
+ &:hover > ${n} {
78
+ color: ${t.theme.colors.secondary.blue.base};
79
+ }
80
+ `;exports.Bold=m;exports.Button=u;exports.Container=f;exports.Glyph=g;exports.Hint=x;exports.Item=y;exports.Notification=d;exports.Pill=p;exports.Text=n;exports.UIGlyph=i;exports.Wrap=h;
package/dist/index101.js CHANGED
@@ -1,21 +1,105 @@
1
- import { jsxs as f, jsx as g } from "react/jsx-runtime";
2
- import { useSortable as l } from "@dnd-kit/sortable";
3
- import { CSS as p } from "./index108.js";
4
- import { DraggingOverlay as c } from "./index90.js";
5
- const d = ({ id: r, children: t }) => {
6
- const { attributes: o, listeners: s, setNodeRef: e, transform: i, transition: n, isDragging: m } = l({
7
- id: r
8
- }), a = {
9
- transform: p.Transform.toString(i),
10
- transition: n,
11
- cursor: "grab",
12
- outlineOffset: "-1px"
13
- };
14
- return /* @__PURE__ */ f("div", { ref: e, style: a, ...o, ...s, children: [
15
- t,
16
- m && /* @__PURE__ */ g(c, {})
17
- ] });
18
- };
1
+ import t from "styled-components";
2
+ import { BaseContainer as n, theme as i, Text as e, Banner as a, Button as s, AnimatedDropdown as l } from "@veeqo/ui";
3
+ import { VeeqoCommon as c } from "@veeqo/components";
4
+ import { motion as p } from "framer-motion";
5
+ import { notificationVariants as x } from "./index109.js";
6
+ const { Glyph: m } = c, u = t(p(n)).attrs(() => ({
7
+ variants: x,
8
+ initial: "initial",
9
+ animate: "animate",
10
+ exit: "exit"
11
+ }))`
12
+ display: flex;
13
+ position: fixed;
14
+ width: 100vw;
15
+ left: 0;
16
+ bottom: 24px;
17
+ z-index: 1001;
18
+
19
+ &.notification-enter {
20
+ opacity: 0;
21
+ transform: translateY(-16px);
22
+ }
23
+
24
+ &.notification-enter-active {
25
+ opacity: 1;
26
+ transform: translateY(0);
27
+ transition: 350ms ease;
28
+ }
29
+
30
+ &.notification-exit {
31
+ opacity: 0;
32
+ transform: translateY(16px);
33
+ transition: 350ms ease;
34
+ }
35
+ pointer-events: none;
36
+ `, y = t(n)`
37
+ display: inline-flex;
38
+ flex-direction: row;
39
+ align-items: center;
40
+ padding: 20px 24px 24px 24px;
41
+ border-radius: 4px;
42
+ margin: 0 auto;
43
+ background-color: #fff;
44
+ box-shadow: ${i.shadows.lg};
45
+ pointer-events: all;
46
+ `, $ = t(a)`
47
+ display: inline-flex;
48
+ flex-direction: row;
49
+ align-items: center;
50
+ margin: 0 auto;
51
+ background-color: #fff;
52
+ box-shadow: ${i.shadows.lg};
53
+ pointer-events: all;
54
+ `, b = t(s)`
55
+ margin-right: 16px;
56
+ `, v = t(e)`
57
+ line-height: 20px;
58
+ `, r = t(e)`
59
+ margin: ${(o) => o.margin ? o.margin : ""};
60
+ color: ${(o) => o.color};
61
+ `, B = t(e)`
62
+ margin-right: 8px;
63
+ color: ${(o) => o.color};
64
+ `, k = t(m)``, C = t(n)`
65
+ display: flex;
66
+ flex-direction: row;
67
+ align-items: flex-end;
68
+ flex-grow: 2;
69
+ margin-left: 24px;
70
+ margin-right: 24px;
71
+ `;
72
+ t(l)``;
73
+ const G = t.button`
74
+ display: flex;
75
+ flex-direction: row;
76
+ width: 100%;
77
+ padding: 12px 16px;
78
+ cursor: pointer;
79
+
80
+ & > ${r} {
81
+ white-space: nowrap;
82
+ user-select: none;
83
+ }
84
+
85
+ &:hover {
86
+ background-color: ${i.colors.neutral.grey.lightest};
87
+ }
88
+
89
+ &:hover > ${r} {
90
+ color: ${i.colors.secondary.blue.base};
91
+ }
92
+ `;
19
93
  export {
20
- d as SortableItem
94
+ B as Bold,
95
+ b as Button,
96
+ y as Container,
97
+ k as Glyph,
98
+ v as Hint,
99
+ G as Item,
100
+ u as Notification,
101
+ $ as Pill,
102
+ r as Text,
103
+ m as UIGlyph,
104
+ C as Wrap
21
105
  };
package/dist/index102.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),c=require("@dnd-kit/core"),s=require("./index90.cjs"),l=({id:e,children:r,...t})=>{const{setNodeRef:o}=c.useDroppable({id:e});return a.createElement(s.DroppableAreaStack,{...t,key:e,ref:o},r)};exports.DroppableArea=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=r=>r instanceof Error;exports.isError=e;
package/dist/index102.js CHANGED
@@ -1,10 +1,4 @@
1
- import { createElement as p } from "react";
2
- import { useDroppable as a } from "@dnd-kit/core";
3
- import { DroppableAreaStack as m } from "./index90.js";
4
- const n = ({ id: e, children: r, ...o }) => {
5
- const { setNodeRef: t } = a({ id: e });
6
- return /* @__PURE__ */ p(m, { ...o, key: e, ref: t }, r);
7
- };
1
+ const o = (r) => r instanceof Error;
8
2
  export {
9
- n as DroppableArea
3
+ o as isError
10
4
  };
package/dist/index103.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("react"),b=require("@dnd-kit/sortable"),w=({items:d,setItems:g})=>{const[C,i]=O.useState(null),[h,v]=O.useState(null),s=n=>{var e;return n&&(n.id in d?n.id:(e=n==null?void 0:n.data.current)==null?void 0:e.sortable.containerId)};return{activeId:C,handleDragStart:n=>{const{active:e}=n;i(e.id),v(d)},handleDragOver:n=>{const{active:e,over:t}=n,o=t==null?void 0:t.id;if(o==null)return;const c=s(t),a=s(e);!c||!a||a!==c&&g(r=>{const u=r[a],l=r[c],D=l.indexOf(o),S=u.indexOf(e.id);let f;if(o in r)f=l.length+1;else{const I=t&&e.rect.current.translated&&e.rect.current.translated.top>t.rect.top+t.rect.height?1:0;f=D>=0?D+I:l.length+1}return{...r,[a]:r[a].filter(x=>x!==e.id),[c]:[...r[c].slice(0,f),r[a][S],...r[c].slice(f,r[c].length)]}})},handleDragEnd:n=>{const{active:e,over:t}=n,o=s(e);if(!o){i(null);return}const c=t==null?void 0:t.id;if(c==null){i(null);return}const a=s(t);if(a){const r=d[o].indexOf(e.id),u=d[a].indexOf(c);r!==u&&g(l=>({...l,[a]:b.arrayMove(l[a],r,u)}))}i(null)},handleDragCancel:()=>{h&&g(h),i(null),v(null)}}};exports.useDragHandlers=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@veeqo/ui"),o=require("@material-ui/core/styles"),t=require("@material-ui/core/Slider"),l=e=>e&&e.__esModule?e:{default:e},i=l(t),a=o.withStyles({root:{color:r.theme.colors.secondary.blue.base,height:4},thumb:{height:20,width:20,backgroundColor:"#fff",border:"3px solid currentColor",marginTop:-8,marginLeft:-10,"&:focus, &:hover, &$active":{boxShadow:"inherit"}},valueLabel:{left:"calc(-50% - 1px)"},track:{height:4,borderRadius:4,backgroundColor:r.theme.colors.secondary.blue.light,opacity:1},rail:{height:4,borderRadius:4,backgroundColor:r.theme.colors.neutral.grey.dark,opacity:1}})(i.default);exports.MUISlider=a;
package/dist/index103.js CHANGED
@@ -1,66 +1,38 @@
1
- import { useState as C } from "react";
2
- import { arrayMove as S } from "@dnd-kit/sortable";
3
- const M = ({ items: d, setItems: g }) => {
4
- const [O, i] = C(null), [h, v] = C(null), s = (n) => {
5
- var t;
6
- return n && (n.id in d ? n.id : (t = n == null ? void 0 : n.data.current) == null ? void 0 : t.sortable.containerId);
7
- };
8
- return {
9
- activeId: O,
10
- handleDragStart: (n) => {
11
- const { active: t } = n;
12
- i(t.id), v(d);
13
- },
14
- handleDragOver: (n) => {
15
- const { active: t, over: e } = n, a = e == null ? void 0 : e.id;
16
- if (a == null) return;
17
- const c = s(e), o = s(t);
18
- !c || !o || o !== c && g((r) => {
19
- const u = r[o], l = r[c], x = l.indexOf(a), I = u.indexOf(t.id);
20
- let f;
21
- if (a in r)
22
- f = l.length + 1;
23
- else {
24
- const w = e && t.rect.current.translated && t.rect.current.translated.top > e.rect.top + e.rect.height ? 1 : 0;
25
- f = x >= 0 ? x + w : l.length + 1;
26
- }
27
- return {
28
- ...r,
29
- [o]: r[o].filter((D) => D !== t.id),
30
- [c]: [
31
- ...r[c].slice(0, f),
32
- r[o][I],
33
- ...r[c].slice(f, r[c].length)
34
- ]
35
- };
36
- });
37
- },
38
- handleDragEnd: (n) => {
39
- const { active: t, over: e } = n, a = s(t);
40
- if (!a) {
41
- i(null);
42
- return;
43
- }
44
- const c = e == null ? void 0 : e.id;
45
- if (c == null) {
46
- i(null);
47
- return;
48
- }
49
- const o = s(e);
50
- if (o) {
51
- const r = d[a].indexOf(t.id), u = d[o].indexOf(c);
52
- r !== u && g((l) => ({
53
- ...l,
54
- [o]: S(l[o], r, u)
55
- }));
56
- }
57
- i(null);
58
- },
59
- handleDragCancel: () => {
60
- h && g(h), i(null), v(null);
1
+ import { theme as o } from "@veeqo/ui";
2
+ import { withStyles as r } from "@material-ui/core/styles";
3
+ import e from "@material-ui/core/Slider";
4
+ const l = r({
5
+ root: {
6
+ color: o.colors.secondary.blue.base,
7
+ height: 4
8
+ },
9
+ thumb: {
10
+ height: 20,
11
+ width: 20,
12
+ backgroundColor: "#fff",
13
+ border: "3px solid currentColor",
14
+ marginTop: -8,
15
+ marginLeft: -10,
16
+ "&:focus, &:hover, &$active": {
17
+ boxShadow: "inherit"
61
18
  }
62
- };
63
- };
19
+ },
20
+ valueLabel: {
21
+ left: "calc(-50% - 1px)"
22
+ },
23
+ track: {
24
+ height: 4,
25
+ borderRadius: 4,
26
+ backgroundColor: o.colors.secondary.blue.light,
27
+ opacity: 1
28
+ },
29
+ rail: {
30
+ height: 4,
31
+ borderRadius: 4,
32
+ backgroundColor: o.colors.neutral.grey.dark,
33
+ opacity: 1
34
+ }
35
+ })(e);
64
36
  export {
65
- M as useDragHandlers
37
+ l as MUISlider
66
38
  };
package/dist/index104.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),n=require("@dnd-kit/core"),a=({items:i})=>{const o=u.useRef(null);return{collisionDetectionStrategy:u.useCallback(t=>{var c;const r=n.pointerWithin(t),d=r.length>0?r:n.rectIntersection(t);let e=n.getFirstCollision(d,"id");if(e!=null){if(e in i){const l=i[e];l.length>0&&(e=((c=n.closestCenter({...t,droppableContainers:t.droppableContainers.filter(s=>s.id!==e&&l.includes(s.id))})[0])==null?void 0:c.id)??e)}return o.current=e,[{id:e}]}return o.current?[{id:o.current}]:[]},[i])}};exports.useCollisionDetectionStrategy=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("@dnd-kit/sortable"),g=require("./index113.cjs"),b=require("./index87.cjs"),f=({id:t,children:r})=>{const{attributes:s,listeners:o,setNodeRef:i,transform:n,transition:a,isDragging:l}=c.useSortable({id:t}),u={transform:g.CSS.Transform.toString(n),transition:a,cursor:"grab",outlineOffset:"-1px"};return e.jsxs("div",{ref:i,style:u,...s,...o,children:[r,l&&e.jsx(b.DraggingOverlay,{})]})};exports.SortableItem=f;