@veeqo/transfigure 0.0.6 → 0.0.7

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 (75) hide show
  1. package/dist/constants/constants.d.ts +4 -0
  2. package/dist/hooks/usePersistColumns/usePersistColumns.d.ts +1 -1
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.js +82 -81
  5. package/dist/index101.cjs +80 -1
  6. package/dist/index101.js +94 -35
  7. package/dist/index102.cjs +7 -1
  8. package/dist/index102.js +10 -42
  9. package/dist/index103.cjs +1 -7
  10. package/dist/index103.js +42 -10
  11. package/dist/index21.cjs +1 -1
  12. package/dist/index21.js +18 -16
  13. package/dist/index22.cjs +1 -1
  14. package/dist/index22.js +20 -18
  15. package/dist/index23.cjs +1 -1
  16. package/dist/index23.js +32 -30
  17. package/dist/index24.cjs +1 -1
  18. package/dist/index24.js +34 -32
  19. package/dist/index28.cjs +1 -1
  20. package/dist/index28.js +1 -1
  21. package/dist/index31.cjs +1 -1
  22. package/dist/index31.js +1 -1
  23. package/dist/index36.cjs +1 -1
  24. package/dist/index36.js +1 -1
  25. package/dist/index37.cjs +1 -1
  26. package/dist/index37.js +1 -1
  27. package/dist/index38.cjs +1 -1
  28. package/dist/index38.js +1 -1
  29. package/dist/index39.cjs +1 -1
  30. package/dist/index39.js +1 -1
  31. package/dist/index41.cjs +1 -1
  32. package/dist/index41.js +1 -1
  33. package/dist/index45.cjs +1 -1
  34. package/dist/index45.js +7 -2
  35. package/dist/index58.cjs +1 -1
  36. package/dist/index58.js +19 -17
  37. package/dist/index60.cjs +1 -1
  38. package/dist/index60.js +8 -7
  39. package/dist/index77.cjs +1 -1
  40. package/dist/index77.js +72 -92
  41. package/dist/index79.cjs +1 -80
  42. package/dist/index79.js +13 -95
  43. package/dist/index80.cjs +104 -1
  44. package/dist/index80.js +120 -13
  45. package/dist/index81.cjs +1 -104
  46. package/dist/index81.js +65 -117
  47. package/dist/index82.cjs +1 -1
  48. package/dist/index82.js +24 -53
  49. package/dist/index83.cjs +1 -1
  50. package/dist/index83.js +2 -29
  51. package/dist/index84.cjs +1 -1
  52. package/dist/index84.js +40 -2
  53. package/dist/index85.cjs +1 -1
  54. package/dist/index85.js +7 -33
  55. package/dist/index86.cjs +1 -1
  56. package/dist/index86.js +23 -7
  57. package/dist/index88.cjs +19 -1
  58. package/dist/index88.js +24 -22
  59. package/dist/index89.cjs +1 -19
  60. package/dist/index89.js +14 -23
  61. package/dist/index90.cjs +78 -10
  62. package/dist/index90.js +92 -13
  63. package/dist/index91.cjs +12 -1
  64. package/dist/index91.js +16 -15
  65. package/dist/index92.cjs +1 -1
  66. package/dist/index92.js +22 -24
  67. package/dist/index94.cjs +1 -1
  68. package/dist/index94.js +2 -2
  69. package/dist/index95.cjs +1 -1
  70. package/dist/index95.js +1 -1
  71. package/dist/index98.cjs +1 -1
  72. package/dist/index98.js +1 -1
  73. package/dist/index99.cjs +1 -80
  74. package/dist/index99.js +35 -94
  75. package/package.json +1 -1
@@ -6,3 +6,7 @@ export declare enum FilterChoiceValue {
6
6
  DATE_RANGE = "date_range",
7
7
  NUMBER_RANGE = "number_range"
8
8
  }
9
+ export declare const SWR_HOOK_OPTIONS: {
10
+ revalidateOnFocus: boolean;
11
+ revalidateOnReconnect: boolean;
12
+ };
@@ -2,5 +2,5 @@ export declare const usePersistColumns: () => {
2
2
  saveColumns: ({ visibleColumns }: {
3
3
  visibleColumns: string[];
4
4
  }) => Promise<void>;
5
- isSaving: boolean;
5
+ isSavingColumns: boolean;
6
6
  };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index2.cjs"),s=require("./index3.cjs"),o=require("./index4.cjs"),n=require("./index5.cjs"),a=require("./index6.cjs"),c=require("./index7.cjs"),u=require("./index8.cjs"),l=require("./index9.cjs"),F=require("./index10.cjs"),d=require("./index11.cjs"),q=require("./index12.cjs"),g=require("./index13.cjs"),w=require("./index14.cjs"),A=require("./index15.cjs"),V=require("./index16.cjs"),C=require("./index17.cjs"),p=require("./index18.cjs"),b=require("./index19.cjs"),h=require("./index20.cjs"),v=require("./index21.cjs"),R=require("./index22.cjs"),y=require("./index23.cjs"),D=require("./index24.cjs"),m=require("./index25.cjs"),M=require("./index26.cjs"),T=require("./index27.cjs"),N=require("./index28.cjs"),L=require("./index29.cjs"),S=require("./index30.cjs"),P=require("./index31.cjs"),O=require("./index32.cjs"),B=require("./index33.cjs"),k=require("./index34.cjs"),x=require("./index35.cjs"),f=require("./index36.cjs"),U=require("./index37.cjs"),I=require("./index38.cjs"),E=require("./index39.cjs"),G=require("./index40.cjs"),H=require("./index41.cjs"),X=require("./index42.cjs"),$=require("./index43.cjs"),e=require("./index44.cjs"),J=require("./index45.cjs"),_=require("./index46.cjs"),j=require("./index47.cjs"),W=require("./index48.cjs"),z=require("./index49.cjs"),r=require("./index50.cjs"),i=require("./index51.cjs"),K=require("./index52.cjs"),Q=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");exports.deleteCustomView=t.deleteCustomView;exports.patchCurrentUser=s.patchCurrentUser;exports.patchCustomView=o.patchCustomView;exports.createCustomView=n.createCustomView;exports.axios=a.axios;exports.useBusinessLogic=c.useBusinessLogic;exports.BusinessLogicManager=u.BusinessLogicManager;exports.setMockedBusinessLogic=l.setMockedBusinessLogic;exports.ErrorBoundary=F.ErrorBoundary;exports.SearchBar=d.SearchBar;exports.TableControls=q.TableControls;exports.ToastsManager=g.ToastsManager;exports.ActiveFilterTag=w.ActiveFilterTag;exports.ActiveFilters=A.ActiveFilters;exports.FilterArrayField=V.FilterArrayField;exports.FilterField=C.FilterField;exports.ActiveFilterArrayTag=p.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=b.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=h.ActiveFilterNumberRangeTag;exports.ActiveAsyncCheckboxFilter=v.ActiveAsyncCheckboxFilter;exports.ActiveAsyncRadioFilter=R.ActiveAsyncRadioFilter;exports.AsyncCheckboxFilter=y.AsyncCheckboxFilter;exports.AsyncRadioFilter=D.AsyncRadioFilter;exports.CheckboxFilter=m.CheckboxFilter;exports.DateRangeFilter=M.DateRangeFilter;exports.MultipleFieldFilter=T.MultipleFieldFilter;exports.NumberRangeFilter=N.NumberRangeFilter;exports.RadioFilter=L.RadioFilter;exports.FiltersDropdown=S.FiltersDropdown;exports.FiltersList=P.FiltersList;exports.FilterGroup=O.FilterGroup;exports.ViewTab=B.ViewTab;exports.CreateView=k.CreateView;exports.EditDropdown=x.EditDropdown;exports.OptionsDropdown=f.OptionsDropdown;exports.PillNotifications=U.PillNotifications;exports.SortableViews=I.SortableViews;exports.UnsavedChangesPill=E.UnsavedChangesPill;exports.ViewDropdowns=G.ViewDropdowns;exports.ViewList=H.ViewList;exports.SHARING_OPTIONS=X.SHARING_OPTIONS;exports.TableManagement=$.TableManagement;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=J.FilterChoiceValue;exports.ModalProvider=_.ModalProvider;exports.ModalId=j.ModalId;exports.useModal=W.useModal;exports.withCSRF=z.withCSRF;exports.onlyJSON=r.onlyJSON;exports.vndAPI=r.vndAPI;exports.fetcherV1=i.fetcherV1;exports.fetcherV2=i.fetcherV2;exports.useDropdownManager=K.useDropdownManager;exports.useDuplicateActiveView=Q.useDuplicateActiveView;exports.useFilterArrayLabel=Y.useFilterArrayLabel;exports.useFilterLabel=Z.useFilterLabel;exports.usePersistUnsavedChanges=ee.usePersistUnsavedChanges;exports.useStores=re.useStores;exports.useViews=ie.useViews;exports.useViewUrlChange=te.useViewUrlChange;exports.useCustomViews=se.useCustomViews;exports.useHiddenColumns=oe.useHiddenColumns;exports.Filters=ne.Filters;exports.NumberRangeFilterClass=ae.NumberRangeFilter;exports.RangeFilter=ce.RangeFilter;exports.Views=ue.Views;exports.Notifications=le.Notifications;exports.MobXProvider=Fe.MobXProvider;exports.getAsyncOptions=de.getAsyncOptions;exports.getFetcherFunction=qe.getFetcherFunction;exports.isValidDateRange=ge.isValidDateRange;exports.viewsAdapter=we.viewsAdapter;exports.createAllView=Ae.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"),b=require("./index18.cjs"),h=require("./index19.cjs"),v=require("./index20.cjs"),R=require("./index21.cjs"),y=require("./index22.cjs"),D=require("./index23.cjs"),m=require("./index24.cjs"),M=require("./index25.cjs"),T=require("./index26.cjs"),S=require("./index27.cjs"),N=require("./index28.cjs"),O=require("./index29.cjs"),L=require("./index30.cjs"),P=require("./index31.cjs"),B=require("./index32.cjs"),k=require("./index33.cjs"),x=require("./index34.cjs"),f=require("./index35.cjs"),U=require("./index36.cjs"),I=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"),e=require("./index44.cjs"),r=require("./index45.cjs"),$=require("./index46.cjs"),J=require("./index47.cjs"),K=require("./index48.cjs"),j=require("./index49.cjs"),i=require("./index50.cjs"),t=require("./index51.cjs"),z=require("./index52.cjs"),Q=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");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.ActiveFilterTag=A.ActiveFilterTag;exports.ActiveFilters=V.ActiveFilters;exports.FilterArrayField=C.FilterArrayField;exports.FilterField=p.FilterField;exports.ActiveFilterArrayTag=b.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=h.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=v.ActiveFilterNumberRangeTag;exports.ActiveAsyncCheckboxFilter=R.ActiveAsyncCheckboxFilter;exports.ActiveAsyncRadioFilter=y.ActiveAsyncRadioFilter;exports.AsyncCheckboxFilter=D.AsyncCheckboxFilter;exports.AsyncRadioFilter=m.AsyncRadioFilter;exports.CheckboxFilter=M.CheckboxFilter;exports.DateRangeFilter=T.DateRangeFilter;exports.MultipleFieldFilter=S.MultipleFieldFilter;exports.NumberRangeFilter=N.NumberRangeFilter;exports.RadioFilter=O.RadioFilter;exports.FiltersDropdown=L.FiltersDropdown;exports.FiltersList=P.FiltersList;exports.FilterGroup=B.FilterGroup;exports.ViewTab=k.ViewTab;exports.CreateView=x.CreateView;exports.EditDropdown=f.EditDropdown;exports.OptionsDropdown=U.OptionsDropdown;exports.PillNotifications=I.PillNotifications;exports.SortableViews=H.SortableViews;exports.UnsavedChangesPill=E.UnsavedChangesPill;exports.ViewDropdowns=_.ViewDropdowns;exports.ViewList=G.ViewList;exports.SHARING_OPTIONS=W.SHARING_OPTIONS;exports.TableManagement=X.TableManagement;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=r.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=r.SWR_HOOK_OPTIONS;exports.ModalProvider=$.ModalProvider;exports.ModalId=J.ModalId;exports.useModal=K.useModal;exports.withCSRF=j.withCSRF;exports.onlyJSON=i.onlyJSON;exports.vndAPI=i.vndAPI;exports.fetcherV1=t.fetcherV1;exports.fetcherV2=t.fetcherV2;exports.useDropdownManager=z.useDropdownManager;exports.useDuplicateActiveView=Q.useDuplicateActiveView;exports.useFilterArrayLabel=Y.useFilterArrayLabel;exports.useFilterLabel=Z.useFilterLabel;exports.usePersistUnsavedChanges=ee.usePersistUnsavedChanges;exports.useStores=re.useStores;exports.useViews=ie.useViews;exports.useViewUrlChange=te.useViewUrlChange;exports.useCustomViews=se.useCustomViews;exports.useHiddenColumns=oe.useHiddenColumns;exports.Filters=ne.Filters;exports.NumberRangeFilterClass=ae.NumberRangeFilter;exports.RangeFilter=ce.RangeFilter;exports.Views=ue.Views;exports.Notifications=le.Notifications;exports.MobXProvider=Fe.MobXProvider;exports.getAsyncOptions=de.getAsyncOptions;exports.getFetcherFunction=qe.getFetcherFunction;exports.isValidDateRange=ge.isValidDateRange;exports.viewsAdapter=we.viewsAdapter;exports.createAllView=Ae.createAllView;
package/dist/index.js CHANGED
@@ -12,17 +12,17 @@ import { TableControls as b } from "./index12.js";
12
12
  import { ToastsManager as v } from "./index13.js";
13
13
  import { ActiveFilterTag as D } from "./index14.js";
14
14
  import { ActiveFilters as y } from "./index15.js";
15
- import { FilterArrayField as T } from "./index16.js";
16
- import { FilterField as P } from "./index17.js";
17
- import { ActiveFilterArrayTag as O } from "./index18.js";
18
- import { ActiveFilterDateRangeTag as k } from "./index19.js";
15
+ import { FilterArrayField as O } from "./index16.js";
16
+ import { FilterField as S } from "./index17.js";
17
+ import { ActiveFilterArrayTag as L } from "./index18.js";
18
+ import { ActiveFilterDateRangeTag as I } from "./index19.js";
19
19
  import { ActiveFilterNumberRangeTag as U } from "./index20.js";
20
- import { ActiveAsyncCheckboxFilter as G } from "./index21.js";
21
- import { ActiveAsyncRadioFilter as J } from "./index22.js";
22
- import { AsyncCheckboxFilter as _ } from "./index23.js";
23
- import { AsyncRadioFilter as q } from "./index24.js";
24
- import { CheckboxFilter as K } from "./index25.js";
25
- import { DateRangeFilter as W } from "./index26.js";
20
+ import { ActiveAsyncCheckboxFilter as _ } from "./index21.js";
21
+ import { ActiveAsyncRadioFilter as G } from "./index22.js";
22
+ import { AsyncCheckboxFilter as K } from "./index23.js";
23
+ import { AsyncRadioFilter as X } from "./index24.js";
24
+ import { CheckboxFilter as q } from "./index25.js";
25
+ import { DateRangeFilter as Q } from "./index26.js";
26
26
  import { MultipleFieldFilter as Z } from "./index27.js";
27
27
  import { NumberRangeFilter as rr } from "./index28.js";
28
28
  import { RadioFilter as or } from "./index29.js";
@@ -39,109 +39,110 @@ import { UnsavedChangesPill as br } from "./index39.js";
39
39
  import { ViewDropdowns as vr } from "./index40.js";
40
40
  import { ViewList as Dr } from "./index41.js";
41
41
  import { SHARING_OPTIONS as yr } from "./index42.js";
42
- import { TableManagement as Tr } from "./index43.js";
43
- import { DateOptionMap as Pr, DateValue as Sr } from "./index44.js";
44
- import { FilterChoiceValue as Br } from "./index45.js";
45
- import { ModalProvider as Ir } from "./index46.js";
46
- import { ModalId as Er } from "./index47.js";
47
- import { useModal as Hr } from "./index48.js";
48
- import { withCSRF as Xr } from "./index49.js";
49
- import { onlyJSON as jr, vndAPI as qr } from "./index50.js";
50
- import { fetcherV1 as Kr, fetcherV2 as Qr } from "./index51.js";
51
- import { useDropdownManager as Yr } from "./index52.js";
52
- import { useDuplicateActiveView as $r } from "./index53.js";
53
- import { useFilterArrayLabel as ee } from "./index54.js";
54
- import { useFilterLabel as te } from "./index55.js";
55
- import { usePersistUnsavedChanges as pe } from "./index56.js";
56
- import { useStores as fe } from "./index57.js";
57
- import { useViews as ae } from "./index58.js";
58
- import { useViewUrlChange as le } from "./index59.js";
59
- import { useCustomViews as ce } from "./index60.js";
60
- import { useHiddenColumns as Fe } from "./index61.js";
61
- import { Filters as ge } from "./index62.js";
62
- import { NumberRangeFilter as Ae } from "./index63.js";
63
- import { RangeFilter as Ce } from "./index64.js";
64
- import { Views as he } from "./index65.js";
65
- import { Notifications as Re } from "./index66.js";
66
- import { MobXProvider as Me } from "./index67.js";
67
- import { getAsyncOptions as Ne } from "./index68.js";
68
- import { getFetcherFunction as Le } from "./index69.js";
69
- import { isValidDateRange as Se } from "./index70.js";
70
- import { viewsAdapter as Be } from "./index71.js";
71
- import { createAllView as Ie } from "./index72.js";
42
+ import { TableManagement as Or } from "./index43.js";
43
+ import { DateOptionMap as Sr, DateValue as Pr } from "./index44.js";
44
+ import { FilterChoiceValue as Br, SWR_HOOK_OPTIONS as Ir } from "./index45.js";
45
+ import { ModalProvider as Ur } from "./index46.js";
46
+ import { ModalId as _r } from "./index47.js";
47
+ import { useModal as Gr } from "./index48.js";
48
+ import { withCSRF as Kr } from "./index49.js";
49
+ import { onlyJSON as Xr, vndAPI as jr } from "./index50.js";
50
+ import { fetcherV1 as zr, fetcherV2 as Qr } from "./index51.js";
51
+ import { useDropdownManager as Zr } from "./index52.js";
52
+ import { useDuplicateActiveView as re } from "./index53.js";
53
+ import { useFilterArrayLabel as oe } from "./index54.js";
54
+ import { useFilterLabel as ie } from "./index55.js";
55
+ import { usePersistUnsavedChanges as me } from "./index56.js";
56
+ import { useStores as xe } from "./index57.js";
57
+ import { useViews as se } from "./index58.js";
58
+ import { useViewUrlChange as ne } from "./index59.js";
59
+ import { useCustomViews as ue } from "./index60.js";
60
+ import { useHiddenColumns as de } from "./index61.js";
61
+ import { Filters as we } from "./index62.js";
62
+ import { NumberRangeFilter as Ve } from "./index63.js";
63
+ import { RangeFilter as be } from "./index64.js";
64
+ import { Views as ve } from "./index65.js";
65
+ import { Notifications as De } from "./index66.js";
66
+ import { MobXProvider as ye } from "./index67.js";
67
+ import { getAsyncOptions as Oe } from "./index68.js";
68
+ import { getFetcherFunction as Se } from "./index69.js";
69
+ import { isValidDateRange as Le } from "./index70.js";
70
+ import { viewsAdapter as Ie } from "./index71.js";
71
+ import { createAllView as Ue } from "./index72.js";
72
72
  export {
73
- G as ActiveAsyncCheckboxFilter,
74
- J as ActiveAsyncRadioFilter,
75
- O as ActiveFilterArrayTag,
76
- k as ActiveFilterDateRangeTag,
73
+ _ as ActiveAsyncCheckboxFilter,
74
+ G as ActiveAsyncRadioFilter,
75
+ L as ActiveFilterArrayTag,
76
+ I as ActiveFilterDateRangeTag,
77
77
  U as ActiveFilterNumberRangeTag,
78
78
  D as ActiveFilterTag,
79
79
  y as ActiveFilters,
80
- _ as AsyncCheckboxFilter,
81
- q as AsyncRadioFilter,
80
+ K as AsyncCheckboxFilter,
81
+ X as AsyncRadioFilter,
82
82
  u as BusinessLogicManager,
83
- K as CheckboxFilter,
83
+ q as CheckboxFilter,
84
84
  nr as CreateView,
85
- Pr as DateOptionMap,
86
- W as DateRangeFilter,
87
- Sr as DateValue,
85
+ Sr as DateOptionMap,
86
+ Q as DateRangeFilter,
87
+ Pr as DateValue,
88
88
  ur as EditDropdown,
89
89
  w as ErrorBoundary,
90
- T as FilterArrayField,
90
+ O as FilterArrayField,
91
91
  Br as FilterChoiceValue,
92
- P as FilterField,
92
+ S as FilterField,
93
93
  xr as FilterGroup,
94
- ge as Filters,
94
+ we as Filters,
95
95
  ir as FiltersDropdown,
96
96
  mr as FiltersList,
97
- Me as MobXProvider,
98
- Er as ModalId,
99
- Ir as ModalProvider,
97
+ ye as MobXProvider,
98
+ _r as ModalId,
99
+ Ur as ModalProvider,
100
100
  Z as MultipleFieldFilter,
101
- Re as Notifications,
101
+ De as Notifications,
102
102
  rr as NumberRangeFilter,
103
- Ae as NumberRangeFilterClass,
103
+ Ve as NumberRangeFilterClass,
104
104
  dr as OptionsDropdown,
105
105
  wr as PillNotifications,
106
106
  or as RadioFilter,
107
- Ce as RangeFilter,
107
+ be as RangeFilter,
108
108
  yr as SHARING_OPTIONS,
109
+ Ir as SWR_HOOK_OPTIONS,
109
110
  V as SearchBar,
110
111
  Vr as SortableViews,
111
112
  b as TableControls,
112
- Tr as TableManagement,
113
+ Or as TableManagement,
113
114
  v as ToastsManager,
114
115
  br as UnsavedChangesPill,
115
116
  vr as ViewDropdowns,
116
117
  Dr as ViewList,
117
118
  sr as ViewTab,
118
- he as Views,
119
+ ve as Views,
119
120
  s as axios,
120
- Ie as createAllView,
121
+ Ue as createAllView,
121
122
  x as createCustomView,
122
123
  o as deleteCustomView,
123
- Kr as fetcherV1,
124
+ zr as fetcherV1,
124
125
  Qr as fetcherV2,
125
- Ne as getAsyncOptions,
126
- Le as getFetcherFunction,
127
- Se as isValidDateRange,
128
- jr as onlyJSON,
126
+ Oe as getAsyncOptions,
127
+ Se as getFetcherFunction,
128
+ Le as isValidDateRange,
129
+ Xr as onlyJSON,
129
130
  i as patchCurrentUser,
130
131
  m as patchCustomView,
131
132
  d as setMockedBusinessLogic,
132
133
  n as useBusinessLogic,
133
- ce as useCustomViews,
134
- Yr as useDropdownManager,
135
- $r as useDuplicateActiveView,
136
- ee as useFilterArrayLabel,
137
- te as useFilterLabel,
138
- Fe as useHiddenColumns,
139
- Hr as useModal,
140
- pe as usePersistUnsavedChanges,
141
- fe as useStores,
142
- le as useViewUrlChange,
143
- ae as useViews,
144
- Be as viewsAdapter,
145
- qr as vndAPI,
146
- Xr as withCSRF
134
+ ue as useCustomViews,
135
+ Zr as useDropdownManager,
136
+ re as useDuplicateActiveView,
137
+ oe as useFilterArrayLabel,
138
+ ie as useFilterLabel,
139
+ de as useHiddenColumns,
140
+ Gr as useModal,
141
+ me as usePersistUnsavedChanges,
142
+ xe as useStores,
143
+ ne as useViewUrlChange,
144
+ se as useViews,
145
+ Ie as viewsAdapter,
146
+ jr as vndAPI,
147
+ Kr as withCSRF
147
148
  };
package/dist/index101.cjs CHANGED
@@ -1 +1,80 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@veeqo/ui"),a=require("@veeqo/components"),r=e=>e&&e.__esModule?e:{default:e},o=r(i),{Glyph:l}=a.VeeqoCommon,s=o.default(t.BaseContainer)`
2
+ display: flex;
3
+ position: fixed;
4
+ width: 100vw;
5
+ left: 0;
6
+ bottom: 24px;
7
+ z-index: 18;
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
+ `;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
+ `;const d=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
+ `,c=o.default(t.Button)`
45
+ margin-right: 16px;
46
+ `,f=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
+ `,p=o.default(t.Text)`
52
+ margin-right: 8px;
53
+ color: ${e=>e.color};
54
+ `,u=o.default(l)``,x=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)``;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=p;exports.Button=c;exports.Glyph=u;exports.Hint=f;exports.Notification=s;exports.Pill=d;exports.Text=n;exports.Wrap=x;
package/dist/index101.js CHANGED
@@ -1,38 +1,97 @@
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"
18
- }
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
1
+ import o from "styled-components";
2
+ import { BaseContainer as e, theme as n, Banner as a, Text as i, Button as l, AnimatedDropdown as s } from "@veeqo/ui";
3
+ import { VeeqoCommon as c } from "@veeqo/components";
4
+ const { Glyph: p } = c, m = o(e)`
5
+ display: flex;
6
+ position: fixed;
7
+ width: 100vw;
8
+ left: 0;
9
+ bottom: 24px;
10
+ z-index: 18;
11
+
12
+ &.notification-enter {
13
+ opacity: 0;
14
+ transform: translateY(-16px);
34
15
  }
35
- })(e);
16
+
17
+ &.notification-enter-active {
18
+ opacity: 1;
19
+ transform: translateY(0);
20
+ transition: 350ms ease;
21
+ }
22
+
23
+ &.notification-exit {
24
+ opacity: 0;
25
+ transform: translateY(16px);
26
+ transition: 350ms ease;
27
+ }
28
+ pointer-events: none;
29
+ `;
30
+ o(e)`
31
+ display: inline-flex;
32
+ flex-direction: row;
33
+ align-items: center;
34
+ padding: 20px 24px 24px 24px;
35
+ border-radius: 4px;
36
+ margin: 0 auto;
37
+ background-color: #fff;
38
+ box-shadow: ${n.shadows.lg};
39
+ pointer-events: all;
40
+ `;
41
+ const g = o(a)`
42
+ display: inline-flex;
43
+ flex-direction: row;
44
+ align-items: center;
45
+ margin: 0 auto;
46
+ background-color: #fff;
47
+ box-shadow: ${n.shadows.lg};
48
+ pointer-events: all;
49
+ `, h = o(l)`
50
+ margin-right: 16px;
51
+ `, w = o(i)`
52
+ line-height: 20px;
53
+ `, r = o(i)`
54
+ margin: ${(t) => t.margin ? t.margin : ""};
55
+ color: ${(t) => t.color};
56
+ `, u = o(i)`
57
+ margin-right: 8px;
58
+ color: ${(t) => t.color};
59
+ `, y = o(p)``, $ = o(e)`
60
+ display: flex;
61
+ flex-direction: row;
62
+ align-items: flex-end;
63
+ flex-grow: 2;
64
+ margin-left: 24px;
65
+ margin-right: 24px;
66
+ `;
67
+ o(s)``;
68
+ o.button`
69
+ display: flex;
70
+ flex-direction: row;
71
+ width: 100%;
72
+ padding: 12px 16px;
73
+ cursor: pointer;
74
+
75
+ & > ${r} {
76
+ white-space: nowrap;
77
+ user-select: none;
78
+ }
79
+
80
+ &:hover {
81
+ background-color: ${n.colors.neutral.grey.lightest};
82
+ }
83
+
84
+ &:hover > ${r} {
85
+ color: ${n.colors.secondary.blue.base};
86
+ }
87
+ `;
36
88
  export {
37
- l as MUISlider
89
+ u as Bold,
90
+ h as Button,
91
+ y as Glyph,
92
+ w as Hint,
93
+ m as Notification,
94
+ g as Pill,
95
+ r as Text,
96
+ $ as Wrap
38
97
  };
package/dist/index102.cjs CHANGED
@@ -1 +1,7 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");const n=Object.freeze({Translate:{toString(t){if(!t)return;const{x:e,y:r}=t;return"translate3d("+(e?Math.round(e):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(t){if(!t)return;const{scaleX:e,scaleY:r}=t;return"scaleX("+e+") scaleY("+r+")"}},Transform:{toString(t){if(t)return[n.Translate.toString(t),n.Scale.toString(t)].join(" ")}},Transition:{toString(t){let{property:e,duration:r,easing:i}=t;return e+" "+r+"ms "+i}}});exports.CSS=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("styled-components"),e=require("@veeqo/ui"),a=t=>t&&t.__esModule?t:{default:t},i=a(o),s=i.default(e.BaseContainer)`
2
+ padding: ${e.theme.sizes.sm};
3
+ // This calculation limits the height to a max of 100% of the viewport and uses offset as the position of the CTA button
4
+ // with an additional sizes.base offset at the bottom.
5
+ max-height: calc(100vh ${({offset:t})=>t&&`- ${t}px`} - ${e.theme.sizes.base});
6
+ overflow-y: auto;
7
+ `;exports.AdaptiveStyledContainer=s;
package/dist/index102.js CHANGED
@@ -1,44 +1,12 @@
1
- import "react";
2
- const n = /* @__PURE__ */ Object.freeze({
3
- Translate: {
4
- toString(t) {
5
- if (!t)
6
- return;
7
- const {
8
- x: r,
9
- y: e
10
- } = t;
11
- return "translate3d(" + (r ? Math.round(r) : 0) + "px, " + (e ? Math.round(e) : 0) + "px, 0)";
12
- }
13
- },
14
- Scale: {
15
- toString(t) {
16
- if (!t)
17
- return;
18
- const {
19
- scaleX: r,
20
- scaleY: e
21
- } = t;
22
- return "scaleX(" + r + ") scaleY(" + e + ")";
23
- }
24
- },
25
- Transform: {
26
- toString(t) {
27
- if (t)
28
- return [n.Translate.toString(t), n.Scale.toString(t)].join(" ");
29
- }
30
- },
31
- Transition: {
32
- toString(t) {
33
- let {
34
- property: r,
35
- duration: e,
36
- easing: i
37
- } = t;
38
- return r + " " + e + "ms " + i;
39
- }
40
- }
41
- });
1
+ import o from "styled-components";
2
+ import { theme as e, BaseContainer as i } from "@veeqo/ui";
3
+ const h = o(i)`
4
+ padding: ${e.sizes.sm};
5
+ // This calculation limits the height to a max of 100% of the viewport and uses offset as the position of the CTA button
6
+ // with an additional sizes.base offset at the bottom.
7
+ max-height: calc(100vh ${({ offset: t }) => t && `- ${t}px`} - ${e.sizes.base});
8
+ overflow-y: auto;
9
+ `;
42
10
  export {
43
- n as CSS
11
+ h as AdaptiveStyledContainer
44
12
  };
package/dist/index103.cjs CHANGED
@@ -1,7 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("styled-components"),e=require("@veeqo/ui"),a=t=>t&&t.__esModule?t:{default:t},i=a(o),s=i.default(e.BaseContainer)`
2
- padding: ${e.theme.sizes.sm};
3
- // This calculation limits the height to a max of 100% of the viewport and uses offset as the position of the CTA button
4
- // with an additional sizes.base offset at the bottom.
5
- max-height: calc(100vh ${({offset:t})=>t&&`- ${t}px`} - ${e.theme.sizes.base});
6
- overflow-y: auto;
7
- `;exports.AdaptiveStyledContainer=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");const n=Object.freeze({Translate:{toString(t){if(!t)return;const{x:e,y:r}=t;return"translate3d("+(e?Math.round(e):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(t){if(!t)return;const{scaleX:e,scaleY:r}=t;return"scaleX("+e+") scaleY("+r+")"}},Transform:{toString(t){if(t)return[n.Translate.toString(t),n.Scale.toString(t)].join(" ")}},Transition:{toString(t){let{property:e,duration:r,easing:i}=t;return e+" "+r+"ms "+i}}});exports.CSS=n;
package/dist/index103.js CHANGED
@@ -1,12 +1,44 @@
1
- import o from "styled-components";
2
- import { theme as e, BaseContainer as i } from "@veeqo/ui";
3
- const h = o(i)`
4
- padding: ${e.sizes.sm};
5
- // This calculation limits the height to a max of 100% of the viewport and uses offset as the position of the CTA button
6
- // with an additional sizes.base offset at the bottom.
7
- max-height: calc(100vh ${({ offset: t }) => t && `- ${t}px`} - ${e.sizes.base});
8
- overflow-y: auto;
9
- `;
1
+ import "react";
2
+ const n = /* @__PURE__ */ Object.freeze({
3
+ Translate: {
4
+ toString(t) {
5
+ if (!t)
6
+ return;
7
+ const {
8
+ x: r,
9
+ y: e
10
+ } = t;
11
+ return "translate3d(" + (r ? Math.round(r) : 0) + "px, " + (e ? Math.round(e) : 0) + "px, 0)";
12
+ }
13
+ },
14
+ Scale: {
15
+ toString(t) {
16
+ if (!t)
17
+ return;
18
+ const {
19
+ scaleX: r,
20
+ scaleY: e
21
+ } = t;
22
+ return "scaleX(" + r + ") scaleY(" + e + ")";
23
+ }
24
+ },
25
+ Transform: {
26
+ toString(t) {
27
+ if (t)
28
+ return [n.Translate.toString(t), n.Scale.toString(t)].join(" ");
29
+ }
30
+ },
31
+ Transition: {
32
+ toString(t) {
33
+ let {
34
+ property: r,
35
+ duration: e,
36
+ easing: i
37
+ } = t;
38
+ return r + " " + e + "ms " + i;
39
+ }
40
+ }
41
+ });
10
42
  export {
11
- h as AdaptiveStyledContainer
43
+ n as CSS
12
44
  };
package/dist/index21.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),p=require("react"),d=require("mobx-react"),t=require("@veeqo/ui"),m=require("swr/immutable"),x=require("./index68.cjs"),y=require("./index69.cjs"),F=e=>e&&e.__esModule?e:{default:e},A=F(m),q=d.observer(({field:e,editedValue:o,setEditedValue:a})=>{var i,c;const l=p.useMemo(()=>{var r;return y.getFetcherFunction({fetcherName:(r=e.fetchAsyncFilterOptions)==null?void 0:r.fetcher})},[(i=e.fetchAsyncFilterOptions)==null?void 0:i.fetcher]),{isLoading:u,isValidating:h,data:g,error:b}=A.default((c=e.fetchAsyncFilterOptions)==null?void 0:c.URL,l),n=u||h,f=x.getAsyncOptions({data:g,config:e.fetchAsyncFilterOptions});return s.jsxs(t.Stack,{spacing:"xs",alignX:"stretch",children:[s.jsx(t.ChoiceList,{allowMultiple:!0,title:e.label,options:f,selected:o,onChange:r=>a(r)}),n&&s.jsx(t.Skeleton,{width:"200px",height:t.theme.sizes[5],"aria-busy":!0,"aria-label":`Loading ${e.label} filters`}),!n&&b&&s.jsxs(t.Text,{variant:"errorSmall",children:["Error: failed to load filter for ",e.label]})]})});exports.ActiveAsyncCheckboxFilter=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),p=require("react"),d=require("mobx-react"),t=require("@veeqo/ui"),m=require("swr/immutable"),x=require("./index68.cjs"),y=require("./index69.cjs"),F=require("./index45.cjs"),O=e=>e&&e.__esModule?e:{default:e},A=O(m),S=d.observer(({field:e,editedValue:o,setEditedValue:a})=>{var c,i;const l=p.useMemo(()=>{var r;return y.getFetcherFunction({fetcherName:(r=e.fetchAsyncFilterOptions)==null?void 0:r.fetcher})},[(c=e.fetchAsyncFilterOptions)==null?void 0:c.fetcher]),{isLoading:u,isValidating:h,data:g,error:b}=A.default((i=e.fetchAsyncFilterOptions)==null?void 0:i.URL,l,F.SWR_HOOK_OPTIONS),n=u||h,f=x.getAsyncOptions({data:g,config:e.fetchAsyncFilterOptions});return s.jsxs(t.Stack,{spacing:"xs",alignX:"stretch",children:[s.jsx(t.ChoiceList,{allowMultiple:!0,title:e.label,options:f,selected:o,onChange:r=>a(r)}),n&&s.jsx(t.Skeleton,{width:"200px",height:t.theme.sizes[5],"aria-busy":!0,"aria-label":`Loading ${e.label} filters`}),!n&&b&&s.jsxs(t.Text,{variant:"errorSmall",children:["Error: failed to load filter for ",e.label]})]})});exports.ActiveAsyncCheckboxFilter=S;