@veeqo/transfigure 1.1.2 → 1.1.3
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.
- package/dist/BusinessLogic/mocks.d.ts +1 -1
- package/dist/BusinessLogic/types.d.ts +2 -1
- package/dist/hooks/useUrlParams/useUrlParams.test.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +160 -158
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +184 -18
- package/dist/index100.cjs +19 -1
- package/dist/index100.js +24 -21
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +32 -23
- package/dist/index102.cjs +1 -80
- package/dist/index102.js +28 -100
- package/dist/index103.cjs +80 -1
- package/dist/index103.js +101 -19
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +2 -8
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +17 -62
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +7 -29
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +64 -2
- package/dist/index108.cjs +1 -13
- package/dist/index108.js +30 -17
- package/dist/index109.cjs +13 -1
- package/dist/index109.js +14 -33
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +18 -21
- package/dist/index111.cjs +1 -7
- package/dist/index111.js +36 -10
- package/dist/index112.cjs +7 -1
- package/dist/index112.js +10 -63
- package/dist/index113.cjs +1 -1
- package/dist/index113.js +3 -3
- package/dist/index114.cjs +1 -0
- package/dist/index114.js +65 -0
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +19 -41
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +41 -23
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +24 -36
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +37 -33
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +32 -49
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +47 -38
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +29 -29
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +41 -58
- package/dist/index2.cjs +1 -1
- package/dist/index2.js +2 -5
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +48 -42
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +50 -44
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +46 -7
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +7 -11
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +11 -64
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +40 -39
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +60 -37
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +36 -53
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +54 -51
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +50 -81
- package/dist/index3.cjs +1 -1
- package/dist/index3.js +5 -5
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +81 -35
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +38 -33
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +33 -10
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +10 -39
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +38 -102
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +103 -19
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +17 -134
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +135 -49
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +51 -32
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +31 -53
- package/dist/index4.cjs +1 -1
- package/dist/index4.js +5 -5
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +54 -48
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +41 -81
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +81 -41
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +48 -5
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +5 -45
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +44 -38
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +39 -19
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +19 -8
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +7 -22
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +23 -2
- package/dist/index5.cjs +1 -1
- package/dist/index5.js +5 -9
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +2 -4
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +4 -11
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +10 -12
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +12 -11
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +11 -184
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +183 -25
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +26 -24
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +19 -22
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +25 -97
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +99 -8
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +8 -75
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +8 -51
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +50 -60
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +57 -18
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +22 -18
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +16 -26
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +26 -10
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +21 -331
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +337 -55
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +50 -47
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +51 -32
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +76 -4
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +30 -24
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +26 -32
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +37 -12
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +13 -9
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +9 -17
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +14 -16
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +18 -49
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +50 -21
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +21 -7
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +7 -2
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +4 -14
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +2 -9
- package/dist/index81.cjs +1 -3
- package/dist/index81.js +8 -13
- package/dist/index82.cjs +3 -1
- package/dist/index82.js +13 -8
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +7 -116
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +117 -18
- package/dist/index85.cjs +1 -11
- package/dist/index85.js +19 -16
- package/dist/index86.cjs +11 -1
- package/dist/index86.js +16 -41
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +40 -8
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +9 -13
- package/dist/index89.cjs +1 -104
- package/dist/index89.js +13 -120
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +13 -181
- package/dist/index90.cjs +104 -1
- package/dist/index90.js +117 -65
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +63 -24
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +29 -2
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +2 -41
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +39 -9
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +10 -14
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +19 -31
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +23 -28
- package/dist/index99.cjs +1 -19
- package/dist/index99.js +14 -23
- package/dist/mobx/Filters/Filters.d.ts +1 -1
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BusinessLogicType } from './types';
|
|
2
|
-
import { Filter, FilterGroupType } from '
|
|
2
|
+
import { Filter, FilterGroupType } from '../types';
|
|
3
3
|
export declare const DATE_RANGE_FILTERS: string[];
|
|
4
4
|
export declare const NUMBER_RANGE_FILTERS: string[];
|
|
5
5
|
export declare const customAppBusinessLogic: Omit<BusinessLogicType, 'FIELDS_MAP' | 'GROUP_MAP'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateRanges, SelectOption } from '@veeqo/ui';
|
|
2
2
|
import { DateRange } from 'react-aria-components';
|
|
3
|
-
import { Filter, FilterGroupType } from 'src/types';
|
|
3
|
+
import { Filter, FilterGroupType, SortingMode } from 'src/types';
|
|
4
4
|
export type BusinessLogicType = {
|
|
5
5
|
DATE_RANGE_FILTERS: string[];
|
|
6
6
|
SEARCH_FILTER_ID: string;
|
|
@@ -21,4 +21,5 @@ export type BusinessLogicType = {
|
|
|
21
21
|
DEFAULT_VISIBLE_COLUMNS: string[];
|
|
22
22
|
DEFAULT_HIDDEN_COLUMNS: string[];
|
|
23
23
|
TABLE_DATA_URL: string | null;
|
|
24
|
+
SORTING_MODE: SortingMode;
|
|
24
25
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
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"),h=require("./index18.cjs"),v=require("./index19.cjs"),b=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),
|
|
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"),h=require("./index18.cjs"),v=require("./index19.cjs"),b=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),M=require("./index23.cjs"),T=require("./index24.cjs"),D=require("./index25.cjs"),y=require("./index26.cjs"),S=require("./index27.cjs"),P=require("./index28.cjs"),N=require("./index29.cjs"),O=require("./index30.cjs"),U=require("./index31.cjs"),L=require("./index32.cjs"),B=require("./index33.cjs"),f=require("./index34.cjs"),k=require("./index35.cjs"),I=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"),K=require("./index46.cjs"),e=require("./index47.cjs"),r=require("./index48.cjs"),j=require("./index49.cjs"),z=require("./index50.cjs"),Q=require("./index51.cjs"),Y=require("./index52.cjs"),i=require("./index53.cjs"),t=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"),he=require("./index76.cjs"),ve=require("./index77.cjs"),be=require("./index78.cjs"),Re=require("./index79.cjs");exports.SortingMode=s.SortingMode;exports.deleteCustomView=o.deleteCustomView;exports.patchCurrentUser=n.patchCurrentUser;exports.patchCustomView=a.patchCustomView;exports.createCustomView=c.createCustomView;exports.axios=u.axios;exports.useBusinessLogic=l.useBusinessLogic;exports.BusinessLogicManager=F.BusinessLogicManager;exports.setMockedBusinessLogic=d.setMockedBusinessLogic;exports.ErrorBoundary=q.ErrorBoundary;exports.SearchBar=g.SearchBar;exports.TableControls=w.TableControls;exports.ToastsManager=A.ToastsManager;exports.ActiveFilters=V.ActiveFilters;exports.FilterArrayField=C.FilterArrayField;exports.FilterField=p.FilterField;exports.ActiveFilterTag=h.ActiveFilterTag;exports.ActiveFilterArrayTag=v.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=b.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=R.ActiveFilterNumberRangeTag;exports.ActiveAsyncRadioFilter=m.ActiveAsyncRadioFilter;exports.ActiveFilterFooter=M.ActiveFilterFooter;exports.ActiveFilterHeader=T.ActiveFilterHeader;exports.AsyncCheckboxFilter=D.AsyncCheckboxFilter;exports.AsyncRadioFilter=y.AsyncRadioFilter;exports.CheckboxFilter=S.CheckboxFilter;exports.DateRangeFilter=P.DateRangeFilter;exports.MultipleFieldFilter=N.MultipleFieldFilter;exports.NumberRangeFilter=O.NumberRangeFilter;exports.RadioFilter=U.RadioFilter;exports.FiltersDropdown=L.FiltersDropdown;exports.FiltersList=B.FiltersList;exports.FilterGroup=f.FilterGroup;exports.ViewTab=k.ViewTab;exports.CreateView=I.CreateView;exports.EditDropdown=x.EditDropdown;exports.OptionsDropdown=H.OptionsDropdown;exports.PillNotifications=E.PillNotifications;exports.SortableViews=_.SortableViews;exports.UnsavedChangesPill=G.UnsavedChangesPill;exports.ViewDropdowns=W.ViewDropdowns;exports.ViewList=X.ViewList;exports.SHARING_OPTIONS=$.SHARING_OPTIONS;exports.TableManagement=J.TableManagement;exports.RefreshButton=K.RefreshButton;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=r.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=r.SWR_HOOK_OPTIONS;exports.ModalProvider=j.ModalProvider;exports.ModalId=z.ModalId;exports.useModal=Q.useModal;exports.withCSRF=Y.withCSRF;exports.onlyJSON=i.onlyJSON;exports.vndAPI=i.vndAPI;exports.fetcherV1=t.fetcherV1;exports.fetcherV2=t.fetcherV2;exports.useDropdownManager=Z.useDropdownManager;exports.useDuplicateActiveView=ee.useDuplicateActiveView;exports.useFilterArrayLabel=re.useFilterArrayLabel;exports.useFilterLabel=ie.useFilterLabel;exports.usePersistUnsavedChanges=te.usePersistUnsavedChanges;exports.useStores=se.useStores;exports.useViews=oe.useViews;exports.useViewUrlChange=ne.useViewUrlChange;exports.useUrlChange=ae.useUrlChange;exports.useCustomViews=ce.useCustomViews;exports.useColumns=ue.useColumns;exports.useUrlParams=le.useUrlParams;exports.Filters=Fe.Filters;exports.NumberRangeFilterClass=de.NumberRangeFilter;exports.RangeFilter=qe.RangeFilter;exports.Views=ge.Views;exports.Notifications=we.Notifications;exports.Table=Ae.Table;exports.MobXProvider=Ve.MobXProvider;exports.getAsyncOptions=Ce.getAsyncOptions;exports.getFetcherFunction=pe.getFetcherFunction;exports.isValidDateRange=he.isValidDateRange;exports.viewsAdapter=ve.viewsAdapter;exports.createAllView=be.createAllView;exports.mockUseStores=Re.mockUseStores;
|
package/dist/index.js
CHANGED
|
@@ -1,160 +1,162 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
1
|
+
import { SortingMode as o } from "./index2.js";
|
|
2
|
+
import { deleteCustomView as p } from "./index3.js";
|
|
3
|
+
import { patchCurrentUser as i } from "./index4.js";
|
|
4
|
+
import { patchCustomView as x } from "./index5.js";
|
|
5
|
+
import { createCustomView as s } from "./index6.js";
|
|
6
|
+
import { axios as n } from "./index7.js";
|
|
7
|
+
import { useBusinessLogic as F } from "./index8.js";
|
|
8
|
+
import { BusinessLogicManager as d } from "./index9.js";
|
|
9
|
+
import { setMockedBusinessLogic as w } from "./index10.js";
|
|
10
|
+
import { ErrorBoundary as V } from "./index11.js";
|
|
11
|
+
import { SearchBar as h } from "./index12.js";
|
|
12
|
+
import { TableControls as R } from "./index13.js";
|
|
13
|
+
import { ToastsManager as M } from "./index14.js";
|
|
14
|
+
import { ActiveFilters as S } from "./index15.js";
|
|
15
|
+
import { FilterArrayField as N } from "./index16.js";
|
|
16
|
+
import { FilterField as y } from "./index17.js";
|
|
17
|
+
import { ActiveFilterTag as L } from "./index18.js";
|
|
18
|
+
import { ActiveFilterArrayTag as B } from "./index19.js";
|
|
19
|
+
import { ActiveFilterDateRangeTag as k } from "./index20.js";
|
|
20
|
+
import { ActiveFilterNumberRangeTag as _ } from "./index21.js";
|
|
21
|
+
import { ActiveAsyncRadioFilter as G } from "./index22.js";
|
|
22
|
+
import { ActiveFilterFooter as K } from "./index23.js";
|
|
23
|
+
import { ActiveFilterHeader as X } from "./index24.js";
|
|
24
|
+
import { AsyncCheckboxFilter as q } from "./index25.js";
|
|
25
|
+
import { AsyncRadioFilter as Q } from "./index26.js";
|
|
26
|
+
import { CheckboxFilter as Z } from "./index27.js";
|
|
27
|
+
import { DateRangeFilter as rr } from "./index28.js";
|
|
28
|
+
import { MultipleFieldFilter as or } from "./index29.js";
|
|
29
|
+
import { NumberRangeFilter as pr } from "./index30.js";
|
|
30
|
+
import { RadioFilter as ir } from "./index31.js";
|
|
31
|
+
import { FiltersDropdown as xr } from "./index32.js";
|
|
32
|
+
import { FiltersList as sr } from "./index33.js";
|
|
33
|
+
import { FilterGroup as nr } from "./index34.js";
|
|
34
|
+
import { ViewTab as Fr } from "./index35.js";
|
|
35
|
+
import { CreateView as dr } from "./index36.js";
|
|
36
|
+
import { EditDropdown as wr } from "./index37.js";
|
|
37
|
+
import { OptionsDropdown as Vr } from "./index38.js";
|
|
38
|
+
import { PillNotifications as hr } from "./index39.js";
|
|
39
|
+
import { SortableViews as Rr } from "./index40.js";
|
|
40
|
+
import { UnsavedChangesPill as Mr } from "./index41.js";
|
|
41
|
+
import { ViewDropdowns as Sr } from "./index42.js";
|
|
42
|
+
import { ViewList as Nr } from "./index43.js";
|
|
43
|
+
import { SHARING_OPTIONS as yr } from "./index44.js";
|
|
44
|
+
import { TableManagement as Lr } from "./index45.js";
|
|
45
|
+
import { RefreshButton as Br } from "./index46.js";
|
|
46
|
+
import { DateOptionMap as kr, DateValue as Hr } from "./index47.js";
|
|
47
|
+
import { FilterChoiceValue as Er, SWR_HOOK_OPTIONS as Gr } from "./index48.js";
|
|
48
|
+
import { ModalProvider as Kr } from "./index49.js";
|
|
49
|
+
import { ModalId as Xr } from "./index50.js";
|
|
50
|
+
import { useModal as qr } from "./index51.js";
|
|
51
|
+
import { withCSRF as Qr } from "./index52.js";
|
|
52
|
+
import { onlyJSON as Zr, vndAPI as $r } from "./index53.js";
|
|
53
|
+
import { fetcherV1 as ee, fetcherV2 as oe } from "./index54.js";
|
|
54
|
+
import { useDropdownManager as pe } from "./index55.js";
|
|
55
|
+
import { useDuplicateActiveView as ie } from "./index56.js";
|
|
56
|
+
import { useFilterArrayLabel as xe } from "./index57.js";
|
|
57
|
+
import { useFilterLabel as se } from "./index58.js";
|
|
58
|
+
import { usePersistUnsavedChanges as ne } from "./index59.js";
|
|
59
|
+
import { useStores as Fe } from "./index60.js";
|
|
60
|
+
import { useViews as de } from "./index61.js";
|
|
61
|
+
import { useViewUrlChange as we } from "./index62.js";
|
|
62
|
+
import { useUrlChange as Ve } from "./index63.js";
|
|
63
|
+
import { useCustomViews as he } from "./index64.js";
|
|
64
|
+
import { useColumns as Re } from "./index65.js";
|
|
65
|
+
import { useUrlParams as Me } from "./index66.js";
|
|
66
|
+
import { Filters as Se } from "./index67.js";
|
|
67
|
+
import { NumberRangeFilter as Ne } from "./index68.js";
|
|
68
|
+
import { RangeFilter as ye } from "./index69.js";
|
|
69
|
+
import { Views as Le } from "./index70.js";
|
|
70
|
+
import { Notifications as Be } from "./index71.js";
|
|
71
|
+
import { Table as ke } from "./index72.js";
|
|
72
|
+
import { MobXProvider as _e } from "./index73.js";
|
|
73
|
+
import { getAsyncOptions as Ge } from "./index74.js";
|
|
74
|
+
import { getFetcherFunction as Ke } from "./index75.js";
|
|
75
|
+
import { isValidDateRange as Xe } from "./index76.js";
|
|
76
|
+
import { viewsAdapter as qe } from "./index77.js";
|
|
77
|
+
import { createAllView as Qe } from "./index78.js";
|
|
78
|
+
import { mockUseStores as Ze } from "./index79.js";
|
|
78
79
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
Ge as
|
|
137
|
-
Ke as
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
i as
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
pe as
|
|
148
|
-
ie as
|
|
149
|
-
xe as
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
ne as
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
80
|
+
G as ActiveAsyncRadioFilter,
|
|
81
|
+
B as ActiveFilterArrayTag,
|
|
82
|
+
k as ActiveFilterDateRangeTag,
|
|
83
|
+
K as ActiveFilterFooter,
|
|
84
|
+
X as ActiveFilterHeader,
|
|
85
|
+
_ as ActiveFilterNumberRangeTag,
|
|
86
|
+
L as ActiveFilterTag,
|
|
87
|
+
S as ActiveFilters,
|
|
88
|
+
q as AsyncCheckboxFilter,
|
|
89
|
+
Q as AsyncRadioFilter,
|
|
90
|
+
d as BusinessLogicManager,
|
|
91
|
+
Z as CheckboxFilter,
|
|
92
|
+
dr as CreateView,
|
|
93
|
+
kr as DateOptionMap,
|
|
94
|
+
rr as DateRangeFilter,
|
|
95
|
+
Hr as DateValue,
|
|
96
|
+
wr as EditDropdown,
|
|
97
|
+
V as ErrorBoundary,
|
|
98
|
+
N as FilterArrayField,
|
|
99
|
+
Er as FilterChoiceValue,
|
|
100
|
+
y as FilterField,
|
|
101
|
+
nr as FilterGroup,
|
|
102
|
+
Se as Filters,
|
|
103
|
+
xr as FiltersDropdown,
|
|
104
|
+
sr as FiltersList,
|
|
105
|
+
_e as MobXProvider,
|
|
106
|
+
Xr as ModalId,
|
|
107
|
+
Kr as ModalProvider,
|
|
108
|
+
or as MultipleFieldFilter,
|
|
109
|
+
Be as Notifications,
|
|
110
|
+
pr as NumberRangeFilter,
|
|
111
|
+
Ne as NumberRangeFilterClass,
|
|
112
|
+
Vr as OptionsDropdown,
|
|
113
|
+
hr as PillNotifications,
|
|
114
|
+
ir as RadioFilter,
|
|
115
|
+
ye as RangeFilter,
|
|
116
|
+
Br as RefreshButton,
|
|
117
|
+
yr as SHARING_OPTIONS,
|
|
118
|
+
Gr as SWR_HOOK_OPTIONS,
|
|
119
|
+
h as SearchBar,
|
|
120
|
+
Rr as SortableViews,
|
|
121
|
+
o as SortingMode,
|
|
122
|
+
ke as Table,
|
|
123
|
+
R as TableControls,
|
|
124
|
+
Lr as TableManagement,
|
|
125
|
+
M as ToastsManager,
|
|
126
|
+
Mr as UnsavedChangesPill,
|
|
127
|
+
Sr as ViewDropdowns,
|
|
128
|
+
Nr as ViewList,
|
|
129
|
+
Fr as ViewTab,
|
|
130
|
+
Le as Views,
|
|
131
|
+
n as axios,
|
|
132
|
+
Qe as createAllView,
|
|
133
|
+
s as createCustomView,
|
|
134
|
+
p as deleteCustomView,
|
|
135
|
+
ee as fetcherV1,
|
|
136
|
+
oe as fetcherV2,
|
|
137
|
+
Ge as getAsyncOptions,
|
|
138
|
+
Ke as getFetcherFunction,
|
|
139
|
+
Xe as isValidDateRange,
|
|
140
|
+
Ze as mockUseStores,
|
|
141
|
+
Zr as onlyJSON,
|
|
142
|
+
i as patchCurrentUser,
|
|
143
|
+
x as patchCustomView,
|
|
144
|
+
w as setMockedBusinessLogic,
|
|
145
|
+
F as useBusinessLogic,
|
|
146
|
+
Re as useColumns,
|
|
147
|
+
he as useCustomViews,
|
|
148
|
+
pe as useDropdownManager,
|
|
149
|
+
ie as useDuplicateActiveView,
|
|
150
|
+
xe as useFilterArrayLabel,
|
|
151
|
+
se as useFilterLabel,
|
|
152
|
+
qr as useModal,
|
|
153
|
+
ne as usePersistUnsavedChanges,
|
|
154
|
+
Fe as useStores,
|
|
155
|
+
Ve as useUrlChange,
|
|
156
|
+
Me as useUrlParams,
|
|
157
|
+
we as useViewUrlChange,
|
|
158
|
+
de as useViews,
|
|
159
|
+
qe as viewsAdapter,
|
|
160
|
+
$r as vndAPI,
|
|
161
|
+
Qr as withCSRF
|
|
160
162
|
};
|
package/dist/index10.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),s=require("@veeqo/ui"),_=require("./index2.cjs"),d=require("./index9.cjs"),o=require("@veeqo/components"),n=["due_date"],r=["product_count"],p="filter[search]",E="sort",a=s.DateRanges.TODAY,T=s.getDateRange(a),m=s.DATE_RANGE_OPTIONS.find(({value:e})=>e===a),A="25",h="1",L="order",b=200,g=[10,25,50,100],y="page[number]",D="page[size]",S=["order_id","shipping_rates","package","action"],M=["price"],R="api/v2/orders",F=_.SortingMode.MONOLITH,i={DATE_RANGE_FILTERS:n,SEARCH_FILTER_ID:p,SORT_FILTER_ID:E,NUMBER_RANGE_FILTERS:r,DEFAULT_DATE_SELECTION:a,DEFAULT_DATE_RANGE:T,DEFAULT_DATE_PRESET:m,DEFAULT_PAGE_SIZE:A,DEFAULT_PAGE_NUMBER:h,VIEW_TYPE:L,FILTERS_DEBOUCE_INTERVAL_MS:b,PAGE_SIZE_OPTIONS:g,PAGE_NUMBER_FILTER_ID:y,PAGE_SIZE_FILTER_ID:D,DEFAULT_VISIBLE_COLUMNS:S,DEFAULT_HIDDEN_COLUMNS:M,TABLE_DATA_URL:R,SORTING_MODE:F},c=()=>{const e=new Map,l=new Map;return e.set("order_number",{id:"order_number",label:"Order number",filterType:"text",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),l.set("order",{id:"order",label:"Order",fields:[e.get("order_number")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"product-menu"})}),e.set("shoe_size",{id:"shoe_size",label:"Shoe size",filterType:"radio",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"One",value:"1"},{label:"Two",value:"2"},{label:"Three",value:"3"},{label:"Four",value:"4"},{label:"Five",value:"5"}]}),l.set("shoe",{id:"shoe",label:"Shoe",fields:[e.get("shoe_size")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),e.set("channel_id",{id:"channel_id",label:"Channel",filterType:"checkbox",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),fetchAsyncFilterOptions:{URL:"/channels",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1"}}),l.set("channel",{id:"channel",label:"Store",fields:[e.get("channel_id")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"fba"})}),e.set("product_count",{id:"product_count",label:"Product count",filterType:"number_range",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"Min",value:"0"},{label:"Max",value:"100"}]}),l.set("product_count",{id:"product_count",label:"Product count",fields:[e.get("product_count")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"reports"})}),e.set("due_date",{id:"due_date",label:"Due date",filterType:"date_range",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"Today",value:"TODAY"},{label:"Yesterday",value:"YESTERDAY"},{label:"Last 7 days",value:"LAST_7_DAYS"},{label:"Last 30 days",value:"LAST_30_DAYS"},{label:"Last 90 days",value:"LAST_90_DAYS"},{label:"Last month",value:"LAST_MONTH"},{label:"Last 12 months",value:"LAST_12_MONTHS"},{label:"Week to date",value:"WEEK_TO_DATE"},{label:"Month to date",value:"MONTH_TO_DATE"},{label:"Year to date",value:"YEAR_TO_DATE"}]}),l.set("due",{id:"due",label:"Due",fields:[e.get("due_date")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"date"})}),e.set("max_products",{id:"max_products",label:"Max products",filterType:"number",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"products"})}),l.set("max_count",{id:"max_count",label:"Max count",fields:[e.get("max_products")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"reports"})}),{FIELDS_MAP:e,GROUP_MAP:l}},I=e=>{const l=c(),u={...i,...l,...e};d.BusinessLogicManager.setBusinessLogic(u)};exports.DATE_RANGE_FILTERS=n;exports.NUMBER_RANGE_FILTERS=r;exports.customAppBusinessLogic=i;exports.generateMockedFilterMaps=c;exports.setMockedBusinessLogic=I;
|
package/dist/index10.js
CHANGED
|
@@ -1,20 +1,186 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { DATE_RANGE_OPTIONS as r, getDateRange as n, DateRanges as i } from "@veeqo/ui";
|
|
3
|
+
import { SortingMode as _ } from "./index2.js";
|
|
4
|
+
import { BusinessLogicManager as d } from "./index9.js";
|
|
5
|
+
import { VeeqoCommon as l } from "@veeqo/components";
|
|
6
|
+
const c = ["due_date"], u = ["product_count"], p = "filter[search]", E = "sort", o = i.TODAY, T = n(o), A = r.find(
|
|
7
|
+
({ value: e }) => e === o
|
|
8
|
+
), h = "25", m = "1", b = "order", L = 200, y = [10, 25, 50, 100], g = "page[number]", D = "page[size]", S = ["order_id", "shipping_rates", "package", "action"], f = ["price"], F = "api/v2/orders", M = _.MONOLITH, O = {
|
|
9
|
+
DATE_RANGE_FILTERS: c,
|
|
10
|
+
SEARCH_FILTER_ID: p,
|
|
11
|
+
SORT_FILTER_ID: E,
|
|
12
|
+
NUMBER_RANGE_FILTERS: u,
|
|
13
|
+
DEFAULT_DATE_SELECTION: o,
|
|
14
|
+
DEFAULT_DATE_RANGE: T,
|
|
15
|
+
DEFAULT_DATE_PRESET: A,
|
|
16
|
+
DEFAULT_PAGE_SIZE: h,
|
|
17
|
+
DEFAULT_PAGE_NUMBER: m,
|
|
18
|
+
VIEW_TYPE: b,
|
|
19
|
+
FILTERS_DEBOUCE_INTERVAL_MS: L,
|
|
20
|
+
PAGE_SIZE_OPTIONS: y,
|
|
21
|
+
PAGE_NUMBER_FILTER_ID: g,
|
|
22
|
+
PAGE_SIZE_FILTER_ID: D,
|
|
23
|
+
DEFAULT_VISIBLE_COLUMNS: S,
|
|
24
|
+
DEFAULT_HIDDEN_COLUMNS: f,
|
|
25
|
+
TABLE_DATA_URL: F,
|
|
26
|
+
SORTING_MODE: M
|
|
27
|
+
}, R = () => {
|
|
28
|
+
const e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
|
|
29
|
+
return e.set("order_number", {
|
|
30
|
+
id: "order_number",
|
|
31
|
+
label: "Order number",
|
|
32
|
+
filterType: "text",
|
|
33
|
+
isFilterAllowed: !0,
|
|
34
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "filter" })
|
|
35
|
+
}), a.set("order", {
|
|
36
|
+
id: "order",
|
|
37
|
+
label: "Order",
|
|
38
|
+
fields: [e.get("order_number")],
|
|
39
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "product-menu" })
|
|
40
|
+
}), e.set("shoe_size", {
|
|
41
|
+
id: "shoe_size",
|
|
42
|
+
label: "Shoe size",
|
|
43
|
+
filterType: "radio",
|
|
44
|
+
isFilterAllowed: !0,
|
|
45
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "filter" }),
|
|
46
|
+
options: [
|
|
47
|
+
{
|
|
48
|
+
label: "One",
|
|
49
|
+
value: "1"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: "Two",
|
|
53
|
+
value: "2"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
label: "Three",
|
|
57
|
+
value: "3"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: "Four",
|
|
61
|
+
value: "4"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
label: "Five",
|
|
65
|
+
value: "5"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}), a.set("shoe", {
|
|
69
|
+
id: "shoe",
|
|
70
|
+
label: "Shoe",
|
|
71
|
+
fields: [e.get("shoe_size")],
|
|
72
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "filter" })
|
|
73
|
+
}), e.set("channel_id", {
|
|
74
|
+
id: "channel_id",
|
|
75
|
+
label: "Channel",
|
|
76
|
+
filterType: "checkbox",
|
|
77
|
+
isFilterAllowed: !0,
|
|
78
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "filter" }),
|
|
79
|
+
fetchAsyncFilterOptions: {
|
|
80
|
+
URL: "/channels",
|
|
81
|
+
labelProperty: "name",
|
|
82
|
+
valueProperty: "id",
|
|
83
|
+
fetcher: "fetcherV1"
|
|
84
|
+
}
|
|
85
|
+
}), a.set("channel", {
|
|
86
|
+
id: "channel",
|
|
87
|
+
label: "Store",
|
|
88
|
+
fields: [e.get("channel_id")],
|
|
89
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "fba" })
|
|
90
|
+
}), e.set("product_count", {
|
|
91
|
+
id: "product_count",
|
|
92
|
+
label: "Product count",
|
|
93
|
+
filterType: "number_range",
|
|
94
|
+
isFilterAllowed: !0,
|
|
95
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "filter" }),
|
|
96
|
+
options: [
|
|
97
|
+
{
|
|
98
|
+
label: "Min",
|
|
99
|
+
value: "0"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: "Max",
|
|
103
|
+
value: "100"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}), a.set("product_count", {
|
|
107
|
+
id: "product_count",
|
|
108
|
+
label: "Product count",
|
|
109
|
+
fields: [e.get("product_count")],
|
|
110
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "reports" })
|
|
111
|
+
}), e.set("due_date", {
|
|
112
|
+
id: "due_date",
|
|
113
|
+
label: "Due date",
|
|
114
|
+
filterType: "date_range",
|
|
115
|
+
isFilterAllowed: !0,
|
|
116
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "filter" }),
|
|
117
|
+
options: [
|
|
118
|
+
{
|
|
119
|
+
label: "Today",
|
|
120
|
+
value: "TODAY"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
label: "Yesterday",
|
|
124
|
+
value: "YESTERDAY"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
label: "Last 7 days",
|
|
128
|
+
value: "LAST_7_DAYS"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
label: "Last 30 days",
|
|
132
|
+
value: "LAST_30_DAYS"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
label: "Last 90 days",
|
|
136
|
+
value: "LAST_90_DAYS"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
label: "Last month",
|
|
140
|
+
value: "LAST_MONTH"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
label: "Last 12 months",
|
|
144
|
+
value: "LAST_12_MONTHS"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
label: "Week to date",
|
|
148
|
+
value: "WEEK_TO_DATE"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
label: "Month to date",
|
|
152
|
+
value: "MONTH_TO_DATE"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
label: "Year to date",
|
|
156
|
+
value: "YEAR_TO_DATE"
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}), a.set("due", {
|
|
160
|
+
id: "due",
|
|
161
|
+
label: "Due",
|
|
162
|
+
fields: [e.get("due_date")],
|
|
163
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "date" })
|
|
164
|
+
}), e.set("max_products", {
|
|
165
|
+
id: "max_products",
|
|
166
|
+
label: "Max products",
|
|
167
|
+
filterType: "number",
|
|
168
|
+
isFilterAllowed: !0,
|
|
169
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "products" })
|
|
170
|
+
}), a.set("max_count", {
|
|
171
|
+
id: "max_count",
|
|
172
|
+
label: "Max count",
|
|
173
|
+
fields: [e.get("max_products")],
|
|
174
|
+
glyph: /* @__PURE__ */ t(l.Glyph, { name: "reports" })
|
|
175
|
+
}), { FIELDS_MAP: e, GROUP_MAP: a };
|
|
176
|
+
}, U = (e) => {
|
|
177
|
+
const a = R(), s = { ...O, ...a, ...e };
|
|
178
|
+
d.setBusinessLogic(s);
|
|
179
|
+
};
|
|
18
180
|
export {
|
|
19
|
-
|
|
181
|
+
c as DATE_RANGE_FILTERS,
|
|
182
|
+
u as NUMBER_RANGE_FILTERS,
|
|
183
|
+
O as customAppBusinessLogic,
|
|
184
|
+
R as generateMockedFilterMaps,
|
|
185
|
+
U as setMockedBusinessLogic
|
|
20
186
|
};
|
package/dist/index100.cjs
CHANGED
|
@@ -1 +1,19 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("styled-components"),e=require("@veeqo/ui"),s=t=>t&&t.__esModule?t:{default:t},o=s(r),i=o.default(e.Button).attrs(()=>({role:"option",variant:"flat"}))`
|
|
2
|
+
margin: ${e.theme.sizes.xs};
|
|
3
|
+
min-width: 180px;
|
|
4
|
+
justify-content: flex-start;
|
|
5
|
+
font-size: ${e.theme.text.body.fontSize};
|
|
6
|
+
|
|
7
|
+
&:hover {
|
|
8
|
+
background-color: ${e.theme.colors.neutral.grey.lightest};
|
|
9
|
+
color: ${e.theme.colors.secondary.blue.base};
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
`,n=o.default(e.Card.Surface).attrs(()=>({role:"listbox",elevation:4}))`
|
|
13
|
+
margin-top: ${e.theme.sizes.xs};
|
|
14
|
+
background-color: white;
|
|
15
|
+
`,l=o.default.hr`
|
|
16
|
+
width: 100%;
|
|
17
|
+
border-top: 1px solid ${e.theme.colors.neutral.grey.dark};
|
|
18
|
+
margin: 0;
|
|
19
|
+
`;exports.Divider=l;exports.Item=i;exports.MenuItems=n;
|