@veeqo/transfigure 1.2.5 → 1.2.6
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/index.cjs +1 -1
- package/dist/index.js +158 -157
- package/dist/index100.cjs +12 -1
- package/dist/index100.js +16 -29
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +36 -19
- package/dist/index102.cjs +1 -12
- package/dist/index102.js +29 -16
- package/dist/index103.cjs +19 -1
- package/dist/index103.js +23 -14
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +21 -24
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +15 -7
- package/dist/index106.cjs +1 -80
- package/dist/index106.js +24 -101
- package/dist/index107.cjs +80 -1
- package/dist/index107.js +101 -2
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index113.cjs +1 -1
- package/dist/index113.js +2 -36
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +32 -22
- package/dist/index115.cjs +1 -1
- package/dist/index115.js +25 -62
- package/dist/index116.cjs +1 -7
- package/dist/index116.js +63 -10
- package/dist/index118.cjs +7 -0
- package/dist/index118.js +12 -0
- package/dist/index2.cjs +1 -1
- package/dist/index2.js +3 -2
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +39 -38
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +2 -2
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +2 -2
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +22 -19
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +7 -5
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +1 -1
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +1 -1
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +1 -1
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +5 -41
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +117 -8
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +19 -5
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +39 -116
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +9 -19
- package/dist/index98.cjs +1 -19
- package/dist/index98.js +17 -23
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +6 -37
- package/dist/storybookHelpers/apiMocks/views/custom_views.d.ts +7 -0
- package/dist/types.d.ts +14 -0
- package/dist/utils/getViewTheme/getViewTheme.d.ts +21 -0
- package/dist/utils/getViewTheme/getViewTheme.test.d.ts +1 -0
- package/dist/utils/getViewTheme/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.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 e=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"),p=require("./index16.cjs"),C=require("./index17.cjs"),h=require("./index18.cjs"),v=require("./index19.cjs"),b=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),D=require("./index23.cjs"),T=require("./index24.cjs"),M=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"),j=require("./index47.cjs"),r=require("./index48.cjs"),i=require("./index49.cjs"),z=require("./index50.cjs"),Q=require("./index51.cjs"),Y=require("./index52.cjs"),Z=require("./index53.cjs"),t=require("./index54.cjs"),s=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"),pe=require("./index74.cjs"),Ce=require("./index75.cjs"),he=require("./index76.cjs"),ve=require("./index77.cjs"),be=require("./index78.cjs"),Re=require("./index79.cjs"),me=require("./index80.cjs"),De=require("./index81.cjs");exports.SortingMode=e.SortingMode;exports.ViewStatusTypes=e.ViewStatusTypes;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.ActionsDropdown=q.ActionsDropdown;exports.ErrorBoundary=g.ErrorBoundary;exports.SearchBar=w.SearchBar;exports.TableControls=A.TableControls;exports.ToastsManager=V.ToastsManager;exports.ActiveFilters=p.ActiveFilters;exports.FilterArrayField=C.FilterArrayField;exports.FilterField=h.FilterField;exports.ActiveFilterTag=v.ActiveFilterTag;exports.ActiveFilterArrayTag=b.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=R.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=m.ActiveFilterNumberRangeTag;exports.ActiveAsyncRadioFilter=D.ActiveAsyncRadioFilter;exports.ActiveFilterFooter=T.ActiveFilterFooter;exports.ActiveFilterHeader=M.ActiveFilterHeader;exports.AsyncCheckboxFilter=y.AsyncCheckboxFilter;exports.AsyncRadioFilter=S.AsyncRadioFilter;exports.CheckboxFilter=P.CheckboxFilter;exports.DateRangeFilter=N.DateRangeFilter;exports.MultipleFieldFilter=O.MultipleFieldFilter;exports.NumberRangeFilter=U.NumberRangeFilter;exports.RadioFilter=L.RadioFilter;exports.FiltersDropdown=B.FiltersDropdown;exports.FiltersList=f.FiltersList;exports.FilterGroup=k.FilterGroup;exports.ViewTab=I.ViewTab;exports.CreateView=x.CreateView;exports.EditDropdown=H.EditDropdown;exports.OptionsDropdown=E.OptionsDropdown;exports.PillNotifications=_.PillNotifications;exports.SortableViews=G.SortableViews;exports.UnsavedChangesPill=W.UnsavedChangesPill;exports.ViewDropdowns=X.ViewDropdowns;exports.ViewList=$.ViewList;exports.SHARING_OPTIONS=J.SHARING_OPTIONS;exports.TableManagement=K.TableManagement;exports.RefreshButton=j.RefreshButton;exports.DateOptionMap=r.DateOptionMap;exports.DateValue=r.DateValue;exports.FilterChoiceValue=i.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=i.SWR_HOOK_OPTIONS;exports.ModalProvider=z.ModalProvider;exports.ModalId=Q.ModalId;exports.useModal=Y.useModal;exports.withCSRF=Z.withCSRF;exports.onlyJSON=t.onlyJSON;exports.vndAPI=t.vndAPI;exports.fetcherV1=s.fetcherV1;exports.fetcherV2=s.fetcherV2;exports.useDropdownManager=ee.useDropdownManager;exports.useDuplicateActiveView=re.useDuplicateActiveView;exports.useFilterArrayLabel=ie.useFilterArrayLabel;exports.useFilterLabel=te.useFilterLabel;exports.usePersistUnsavedChanges=se.usePersistUnsavedChanges;exports.useStores=oe.useStores;exports.useViews=ne.useViews;exports.useViewUrlChange=ae.useViewUrlChange;exports.useUrlChange=ce.useUrlChange;exports.useCustomViews=ue.useCustomViews;exports.useColumns=le.useColumns;exports.useUrlParams=Fe.useUrlParams;exports.Filters=de.Filters;exports.NumberRangeFilterClass=qe.NumberRangeFilter;exports.RangeFilter=ge.RangeFilter;exports.Views=we.Views;exports.Notifications=Ae.Notifications;exports.Table=Ve.Table;exports.MobXProvider=pe.MobXProvider;exports.getAsyncOptions=Ce.getAsyncOptions;exports.getFetcherFunction=he.getFetcherFunction;exports.isValidDateRange=ve.isValidDateRange;exports.viewsAdapter=be.viewsAdapter;exports.createAllView=Re.createAllView;exports.organiseViews=me.organiseViews;exports.mockUseStores=De.mockUseStores;
|
package/dist/index.js
CHANGED
|
@@ -1,166 +1,167 @@
|
|
|
1
|
-
import { SortingMode as o } from "./index2.js";
|
|
2
|
-
import { deleteCustomView as
|
|
3
|
-
import { patchCurrentUser as
|
|
4
|
-
import { patchCustomView as
|
|
5
|
-
import { createCustomView as
|
|
6
|
-
import { axios as
|
|
7
|
-
import { useBusinessLogic as
|
|
8
|
-
import { BusinessLogicManager as
|
|
9
|
-
import { setMockedBusinessLogic as
|
|
10
|
-
import { ActionsDropdown as
|
|
11
|
-
import { ErrorBoundary as
|
|
12
|
-
import { SearchBar as
|
|
13
|
-
import { TableControls as
|
|
14
|
-
import { ToastsManager as
|
|
1
|
+
import { SortingMode as o, ViewStatusTypes as t } from "./index2.js";
|
|
2
|
+
import { deleteCustomView as i } from "./index3.js";
|
|
3
|
+
import { patchCurrentUser as f } from "./index4.js";
|
|
4
|
+
import { patchCustomView as s } from "./index5.js";
|
|
5
|
+
import { createCustomView as l } from "./index6.js";
|
|
6
|
+
import { axios as u } from "./index7.js";
|
|
7
|
+
import { useBusinessLogic as F } from "./index8.js";
|
|
8
|
+
import { BusinessLogicManager as g } from "./index9.js";
|
|
9
|
+
import { setMockedBusinessLogic as A } from "./index10.js";
|
|
10
|
+
import { ActionsDropdown as C } from "./index11.js";
|
|
11
|
+
import { ErrorBoundary as v } from "./index12.js";
|
|
12
|
+
import { SearchBar as b } from "./index13.js";
|
|
13
|
+
import { TableControls as M } from "./index14.js";
|
|
14
|
+
import { ToastsManager as T } from "./index15.js";
|
|
15
15
|
import { ActiveFilters as N } from "./index16.js";
|
|
16
|
-
import { FilterArrayField as
|
|
17
|
-
import { FilterField as
|
|
18
|
-
import { ActiveFilterTag as
|
|
19
|
-
import { ActiveFilterArrayTag as
|
|
20
|
-
import { ActiveFilterDateRangeTag as
|
|
21
|
-
import { ActiveFilterNumberRangeTag as
|
|
22
|
-
import { ActiveAsyncRadioFilter as
|
|
23
|
-
import { ActiveFilterFooter as
|
|
24
|
-
import { ActiveFilterHeader as
|
|
25
|
-
import { AsyncCheckboxFilter as
|
|
26
|
-
import { AsyncRadioFilter as
|
|
27
|
-
import { CheckboxFilter as
|
|
28
|
-
import { DateRangeFilter as
|
|
29
|
-
import { MultipleFieldFilter as
|
|
30
|
-
import { NumberRangeFilter as
|
|
31
|
-
import { RadioFilter as
|
|
32
|
-
import { FiltersDropdown as
|
|
33
|
-
import { FiltersList as
|
|
34
|
-
import { FilterGroup as
|
|
35
|
-
import { ViewTab as
|
|
36
|
-
import { CreateView as
|
|
37
|
-
import { EditDropdown as
|
|
38
|
-
import { OptionsDropdown as
|
|
39
|
-
import { PillNotifications as
|
|
40
|
-
import { SortableViews as
|
|
41
|
-
import { UnsavedChangesPill as
|
|
16
|
+
import { FilterArrayField as P } from "./index17.js";
|
|
17
|
+
import { FilterField as U } from "./index18.js";
|
|
18
|
+
import { ActiveFilterTag as I } from "./index19.js";
|
|
19
|
+
import { ActiveFilterArrayTag as H } from "./index20.js";
|
|
20
|
+
import { ActiveFilterDateRangeTag as E } from "./index21.js";
|
|
21
|
+
import { ActiveFilterNumberRangeTag as J } from "./index22.js";
|
|
22
|
+
import { ActiveAsyncRadioFilter as W } from "./index23.js";
|
|
23
|
+
import { ActiveFilterFooter as j } from "./index24.js";
|
|
24
|
+
import { ActiveFilterHeader as z } from "./index25.js";
|
|
25
|
+
import { AsyncCheckboxFilter as Y } from "./index26.js";
|
|
26
|
+
import { AsyncRadioFilter as $ } from "./index27.js";
|
|
27
|
+
import { CheckboxFilter as er } from "./index28.js";
|
|
28
|
+
import { DateRangeFilter as tr } from "./index29.js";
|
|
29
|
+
import { MultipleFieldFilter as ir } from "./index30.js";
|
|
30
|
+
import { NumberRangeFilter as fr } from "./index31.js";
|
|
31
|
+
import { RadioFilter as sr } from "./index32.js";
|
|
32
|
+
import { FiltersDropdown as lr } from "./index33.js";
|
|
33
|
+
import { FiltersList as ur } from "./index34.js";
|
|
34
|
+
import { FilterGroup as Fr } from "./index35.js";
|
|
35
|
+
import { ViewTab as gr } from "./index36.js";
|
|
36
|
+
import { CreateView as Ar } from "./index37.js";
|
|
37
|
+
import { EditDropdown as Cr } from "./index38.js";
|
|
38
|
+
import { OptionsDropdown as vr } from "./index39.js";
|
|
39
|
+
import { PillNotifications as br } from "./index40.js";
|
|
40
|
+
import { SortableViews as Mr } from "./index41.js";
|
|
41
|
+
import { UnsavedChangesPill as Tr } from "./index42.js";
|
|
42
42
|
import { ViewDropdowns as Nr } from "./index43.js";
|
|
43
|
-
import { ViewList as
|
|
44
|
-
import { SHARING_OPTIONS as
|
|
45
|
-
import { TableManagement as
|
|
46
|
-
import { RefreshButton as
|
|
47
|
-
import { DateOptionMap as
|
|
48
|
-
import { FilterChoiceValue as
|
|
49
|
-
import { ModalProvider as
|
|
50
|
-
import { ModalId as
|
|
51
|
-
import { useModal as
|
|
52
|
-
import { withCSRF as
|
|
53
|
-
import { onlyJSON as
|
|
54
|
-
import { fetcherV1 as
|
|
55
|
-
import { useDropdownManager as
|
|
56
|
-
import { useDuplicateActiveView as
|
|
57
|
-
import { useFilterArrayLabel as
|
|
58
|
-
import { useFilterLabel as
|
|
59
|
-
import { usePersistUnsavedChanges as
|
|
60
|
-
import { useStores as
|
|
61
|
-
import { useViews as
|
|
62
|
-
import { useViewUrlChange as
|
|
63
|
-
import { useUrlChange as
|
|
64
|
-
import { useCustomViews as
|
|
65
|
-
import { useColumns as
|
|
66
|
-
import { useUrlParams as
|
|
43
|
+
import { ViewList as Pr } from "./index44.js";
|
|
44
|
+
import { SHARING_OPTIONS as Ur } from "./index45.js";
|
|
45
|
+
import { TableManagement as Ir } from "./index46.js";
|
|
46
|
+
import { RefreshButton as Hr } from "./index47.js";
|
|
47
|
+
import { DateOptionMap as Er, DateValue as Gr } from "./index48.js";
|
|
48
|
+
import { FilterChoiceValue as Kr, SWR_HOOK_OPTIONS as Wr } from "./index49.js";
|
|
49
|
+
import { ModalProvider as jr } from "./index50.js";
|
|
50
|
+
import { ModalId as zr } from "./index51.js";
|
|
51
|
+
import { useModal as Yr } from "./index52.js";
|
|
52
|
+
import { withCSRF as $r } from "./index53.js";
|
|
53
|
+
import { onlyJSON as ee, vndAPI as oe } from "./index54.js";
|
|
54
|
+
import { fetcherV1 as pe, fetcherV2 as ie } from "./index55.js";
|
|
55
|
+
import { useDropdownManager as fe } from "./index56.js";
|
|
56
|
+
import { useDuplicateActiveView as se } from "./index57.js";
|
|
57
|
+
import { useFilterArrayLabel as le } from "./index58.js";
|
|
58
|
+
import { useFilterLabel as ue } from "./index59.js";
|
|
59
|
+
import { usePersistUnsavedChanges as Fe } from "./index60.js";
|
|
60
|
+
import { useStores as ge } from "./index61.js";
|
|
61
|
+
import { useViews as Ae } from "./index62.js";
|
|
62
|
+
import { useViewUrlChange as Ce } from "./index63.js";
|
|
63
|
+
import { useUrlChange as ve } from "./index64.js";
|
|
64
|
+
import { useCustomViews as be } from "./index65.js";
|
|
65
|
+
import { useColumns as Me } from "./index66.js";
|
|
66
|
+
import { useUrlParams as Te } from "./index67.js";
|
|
67
67
|
import { Filters as Ne } from "./index68.js";
|
|
68
|
-
import { NumberRangeFilter as
|
|
69
|
-
import { RangeFilter as
|
|
70
|
-
import { Views as
|
|
71
|
-
import { Notifications as
|
|
72
|
-
import { Table as
|
|
73
|
-
import { MobXProvider as
|
|
74
|
-
import { getAsyncOptions as
|
|
75
|
-
import { getFetcherFunction as
|
|
76
|
-
import { isValidDateRange as
|
|
77
|
-
import { viewsAdapter as
|
|
78
|
-
import { createAllView as
|
|
79
|
-
import { organiseViews as
|
|
80
|
-
import { mockUseStores as
|
|
68
|
+
import { NumberRangeFilter as Pe } from "./index69.js";
|
|
69
|
+
import { RangeFilter as Ue } from "./index70.js";
|
|
70
|
+
import { Views as Ie } from "./index71.js";
|
|
71
|
+
import { Notifications as He } from "./index72.js";
|
|
72
|
+
import { Table as Ee } from "./index73.js";
|
|
73
|
+
import { MobXProvider as Je } from "./index74.js";
|
|
74
|
+
import { getAsyncOptions as We } from "./index75.js";
|
|
75
|
+
import { getFetcherFunction as je } from "./index76.js";
|
|
76
|
+
import { isValidDateRange as ze } from "./index77.js";
|
|
77
|
+
import { viewsAdapter as Ye } from "./index78.js";
|
|
78
|
+
import { createAllView as $e } from "./index79.js";
|
|
79
|
+
import { organiseViews as eo } from "./index80.js";
|
|
80
|
+
import { mockUseStores as to } from "./index81.js";
|
|
81
81
|
export {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
82
|
+
C as ActionsDropdown,
|
|
83
|
+
W as ActiveAsyncRadioFilter,
|
|
84
|
+
H as ActiveFilterArrayTag,
|
|
85
|
+
E as ActiveFilterDateRangeTag,
|
|
86
|
+
j as ActiveFilterFooter,
|
|
87
|
+
z as ActiveFilterHeader,
|
|
88
|
+
J as ActiveFilterNumberRangeTag,
|
|
89
|
+
I as ActiveFilterTag,
|
|
90
90
|
N as ActiveFilters,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
91
|
+
Y as AsyncCheckboxFilter,
|
|
92
|
+
$ as AsyncRadioFilter,
|
|
93
|
+
g as BusinessLogicManager,
|
|
94
|
+
er as CheckboxFilter,
|
|
95
|
+
Ar as CreateView,
|
|
96
|
+
Er as DateOptionMap,
|
|
97
|
+
tr as DateRangeFilter,
|
|
98
|
+
Gr as DateValue,
|
|
99
|
+
Cr as EditDropdown,
|
|
100
|
+
v as ErrorBoundary,
|
|
101
|
+
P as FilterArrayField,
|
|
102
|
+
Kr as FilterChoiceValue,
|
|
103
|
+
U as FilterField,
|
|
104
|
+
Fr as FilterGroup,
|
|
105
105
|
Ne as Filters,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
106
|
+
lr as FiltersDropdown,
|
|
107
|
+
ur as FiltersList,
|
|
108
|
+
Je as MobXProvider,
|
|
109
|
+
zr as ModalId,
|
|
110
|
+
jr as ModalProvider,
|
|
111
|
+
ir as MultipleFieldFilter,
|
|
112
|
+
He as Notifications,
|
|
113
|
+
fr as NumberRangeFilter,
|
|
114
|
+
Pe as NumberRangeFilterClass,
|
|
115
|
+
vr as OptionsDropdown,
|
|
116
|
+
br as PillNotifications,
|
|
117
|
+
sr as RadioFilter,
|
|
118
|
+
Ue as RangeFilter,
|
|
119
|
+
Hr as RefreshButton,
|
|
120
|
+
Ur as SHARING_OPTIONS,
|
|
121
|
+
Wr as SWR_HOOK_OPTIONS,
|
|
122
|
+
b as SearchBar,
|
|
123
|
+
Mr as SortableViews,
|
|
124
124
|
o as SortingMode,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
125
|
+
Ee as Table,
|
|
126
|
+
M as TableControls,
|
|
127
|
+
Ir as TableManagement,
|
|
128
|
+
T as ToastsManager,
|
|
129
|
+
Tr as UnsavedChangesPill,
|
|
130
130
|
Nr as ViewDropdowns,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
pe as
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
131
|
+
Pr as ViewList,
|
|
132
|
+
t as ViewStatusTypes,
|
|
133
|
+
gr as ViewTab,
|
|
134
|
+
Ie as Views,
|
|
135
|
+
u as axios,
|
|
136
|
+
$e as createAllView,
|
|
137
|
+
l as createCustomView,
|
|
138
|
+
i as deleteCustomView,
|
|
139
|
+
pe as fetcherV1,
|
|
140
|
+
ie as fetcherV2,
|
|
141
|
+
We as getAsyncOptions,
|
|
142
|
+
je as getFetcherFunction,
|
|
143
|
+
ze as isValidDateRange,
|
|
144
|
+
to as mockUseStores,
|
|
145
|
+
ee as onlyJSON,
|
|
146
|
+
eo as organiseViews,
|
|
147
|
+
f as patchCurrentUser,
|
|
148
|
+
s as patchCustomView,
|
|
149
|
+
A as setMockedBusinessLogic,
|
|
150
|
+
F as useBusinessLogic,
|
|
151
|
+
Me as useColumns,
|
|
152
|
+
be as useCustomViews,
|
|
153
|
+
fe as useDropdownManager,
|
|
154
|
+
se as useDuplicateActiveView,
|
|
155
|
+
le as useFilterArrayLabel,
|
|
156
|
+
ue as useFilterLabel,
|
|
157
|
+
Yr as useModal,
|
|
158
|
+
Fe as usePersistUnsavedChanges,
|
|
159
|
+
ge as useStores,
|
|
160
|
+
ve as useUrlChange,
|
|
161
|
+
Te as useUrlParams,
|
|
162
|
+
Ce as useViewUrlChange,
|
|
163
|
+
Ae as useViews,
|
|
164
|
+
Ye as viewsAdapter,
|
|
165
|
+
oe as vndAPI,
|
|
166
|
+
$r as withCSRF
|
|
166
167
|
};
|
package/dist/index100.cjs
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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,31 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
onClick: t,
|
|
16
|
-
variant: "default"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
className: "act-react-listing-custom-confirmation-popup-delete",
|
|
20
|
-
label: "Delete",
|
|
21
|
-
onClick: o,
|
|
22
|
-
variant: "primaryDestructive"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
showHeaderCloseButton: !0,
|
|
26
|
-
children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
|
|
27
|
-
}
|
|
28
|
-
);
|
|
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
|
+
`;
|
|
29
15
|
export {
|
|
30
|
-
|
|
16
|
+
l as Divider,
|
|
17
|
+
d as FixedViews
|
|
31
18
|
};
|
package/dist/index101.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 w=require("react"),R=require("swr"),m=require("qs"),E=require("./index61.cjs"),F=require("./index8.cjs"),P=require("./index62.cjs"),S=require("./index55.cjs"),c=e=>e&&e.__esModule?e:{default:e},V=c(R),i=c(m),h=()=>{var n;const{Filters:{queryParams:e}}=E.useStores(),{TABLE_DATA_URL:l,PAGE_NUMBER_FILTER_ID:o,PAGE_SIZE_FILTER_ID:r}=F.useBusinessLogic(),{isLoading:d}=P.useViews(),_=w.useMemo(()=>{const u={...i.default.parse(e),[o]:"1",[r]:"1"};return i.default.stringify(u,{arrayFormat:"brackets"})},[e,o,r]),f=!d?`${l}?${_}`:null,{data:s,error:L,isLoading:g,mutate:q}=V.default([f,{includeMeta:!0}],([a,u])=>S.fetcherV2(a,u),{revalidateOnFocus:!1,revalidateOnReconnect:!1,keepPreviousData:!0}),t=s==null?void 0:s.meta;return{viewCounts:(n=t==null?void 0:t.page)==null?void 0:n.total_count,error:L,isLoadingViewCounts:g,mutate:q}};exports.useViewCounts=h;
|
package/dist/index101.js
CHANGED
|
@@ -1,23 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { useMemo as _ } from "react";
|
|
2
|
+
import g from "swr";
|
|
3
|
+
import u from "qs";
|
|
4
|
+
import { useStores as w } from "./index61.js";
|
|
5
|
+
import { useBusinessLogic as E } from "./index8.js";
|
|
6
|
+
import { useViews as F } from "./index62.js";
|
|
7
|
+
import { fetcherV2 as R } from "./index55.js";
|
|
8
|
+
const T = () => {
|
|
9
|
+
var n;
|
|
10
|
+
const { Filters: { queryParams: s } } = w(), { TABLE_DATA_URL: c, PAGE_NUMBER_FILTER_ID: r, PAGE_SIZE_FILTER_ID: i } = E(), { isLoading: m } = F(), d = _(() => {
|
|
11
|
+
const t = {
|
|
12
|
+
...u.parse(s),
|
|
13
|
+
[r]: "1",
|
|
14
|
+
[i]: "1"
|
|
15
|
+
};
|
|
16
|
+
return u.stringify(t, { arrayFormat: "brackets" });
|
|
17
|
+
}, [s, r, i]), p = !m ? `${c}?${d}` : null, {
|
|
18
|
+
data: e,
|
|
19
|
+
error: f,
|
|
20
|
+
isLoading: l,
|
|
21
|
+
mutate: L
|
|
22
|
+
} = g(
|
|
23
|
+
[p, { includeMeta: !0 }],
|
|
24
|
+
([a, t]) => R(a, t),
|
|
13
25
|
{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
children: "Create view"
|
|
26
|
+
revalidateOnFocus: !1,
|
|
27
|
+
revalidateOnReconnect: !1,
|
|
28
|
+
keepPreviousData: !0
|
|
18
29
|
}
|
|
19
|
-
)
|
|
20
|
-
|
|
30
|
+
), o = e == null ? void 0 : e.meta;
|
|
31
|
+
return {
|
|
32
|
+
viewCounts: (n = o == null ? void 0 : o.page) == null ? void 0 : n.total_count,
|
|
33
|
+
error: f,
|
|
34
|
+
isLoadingViewCounts: l,
|
|
35
|
+
mutate: L
|
|
36
|
+
};
|
|
37
|
+
};
|
|
21
38
|
export {
|
|
22
|
-
|
|
39
|
+
T as useViewCounts
|
|
23
40
|
};
|
package/dist/index102.cjs
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@veeqo/ui"),r=({shouldShow:a,viewName:n,onCancel:t,onDelete:o})=>e.jsx(i.Modal,{headerTitle:`Delete '${n}' view?`,"data-testid":"act-react-listing-custom-confirmation-popup",variant:"sm",shouldShow:a,onClose:t,rightActions:[{className:"act-react-listing-custom-confirmation-popup-cancel",label:"Cancel",onClick:t,variant:"default"},{className:"act-react-listing-custom-confirmation-popup-delete",label:"Delete",onClick:o,variant:"primaryDestructive"}],showHeaderCloseButton:!0,children:e.jsx(i.Text,{variant:"body",children:"This cannot be undone."})});exports.Confirmation=r;
|
package/dist/index102.js
CHANGED
|
@@ -1,18 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Modal as n, Text as r } from "@veeqo/ui";
|
|
3
|
+
const s = ({ shouldShow: a, viewName: i, onCancel: t, onDelete: o }) => /* @__PURE__ */ e(
|
|
4
|
+
n,
|
|
5
|
+
{
|
|
6
|
+
headerTitle: `Delete '${i}' view?`,
|
|
7
|
+
"data-testid": "act-react-listing-custom-confirmation-popup",
|
|
8
|
+
variant: "sm",
|
|
9
|
+
shouldShow: a,
|
|
10
|
+
onClose: t,
|
|
11
|
+
rightActions: [
|
|
12
|
+
{
|
|
13
|
+
className: "act-react-listing-custom-confirmation-popup-cancel",
|
|
14
|
+
label: "Cancel",
|
|
15
|
+
onClick: t,
|
|
16
|
+
variant: "default"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
className: "act-react-listing-custom-confirmation-popup-delete",
|
|
20
|
+
label: "Delete",
|
|
21
|
+
onClick: o,
|
|
22
|
+
variant: "primaryDestructive"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
showHeaderCloseButton: !0,
|
|
26
|
+
children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
|
|
27
|
+
}
|
|
28
|
+
);
|
|
15
29
|
export {
|
|
16
|
-
|
|
17
|
-
d as FixedViews
|
|
30
|
+
s as Confirmation
|
|
18
31
|
};
|
package/dist/index103.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;
|
package/dist/index103.js
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import t from "styled-components";
|
|
2
|
+
import { theme as o, Card as r, Button as e } from "@veeqo/ui";
|
|
3
|
+
const n = t(e).attrs(() => ({ role: "option", variant: "flat" }))`
|
|
4
|
+
margin: ${o.sizes.xs};
|
|
5
|
+
min-width: 180px;
|
|
6
|
+
justify-content: flex-start;
|
|
7
|
+
font-size: ${o.text.body.fontSize};
|
|
8
|
+
|
|
9
|
+
&:hover {
|
|
10
|
+
background-color: ${o.colors.neutral.grey.lightest};
|
|
11
|
+
color: ${o.colors.secondary.blue.base};
|
|
12
|
+
cursor: pointer;
|
|
13
13
|
}
|
|
14
|
-
)
|
|
14
|
+
`, a = t(r.Surface).attrs(() => ({ role: "listbox", elevation: 4 }))`
|
|
15
|
+
margin-top: ${o.sizes.xs};
|
|
16
|
+
background-color: white;
|
|
17
|
+
`, l = t.hr`
|
|
18
|
+
width: 100%;
|
|
19
|
+
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
20
|
+
margin: 0;
|
|
21
|
+
`;
|
|
15
22
|
export {
|
|
16
|
-
|
|
23
|
+
l as Divider,
|
|
24
|
+
n as Item,
|
|
25
|
+
a as MenuItems
|
|
17
26
|
};
|