@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.
- package/dist/constants/constants.d.ts +4 -0
- package/dist/hooks/usePersistColumns/usePersistColumns.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +82 -81
- package/dist/index101.cjs +80 -1
- package/dist/index101.js +94 -35
- package/dist/index102.cjs +7 -1
- package/dist/index102.js +10 -42
- package/dist/index103.cjs +1 -7
- package/dist/index103.js +42 -10
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +18 -16
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +20 -18
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +32 -30
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +34 -32
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +1 -1
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +7 -2
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +19 -17
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +8 -7
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +72 -92
- package/dist/index79.cjs +1 -80
- package/dist/index79.js +13 -95
- package/dist/index80.cjs +104 -1
- package/dist/index80.js +120 -13
- package/dist/index81.cjs +1 -104
- package/dist/index81.js +65 -117
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +24 -53
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +2 -29
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +40 -2
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +7 -33
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +23 -7
- package/dist/index88.cjs +19 -1
- package/dist/index88.js +24 -22
- package/dist/index89.cjs +1 -19
- package/dist/index89.js +14 -23
- package/dist/index90.cjs +78 -10
- package/dist/index90.js +92 -13
- package/dist/index91.cjs +12 -1
- package/dist/index91.js +16 -15
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +22 -24
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +2 -2
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +1 -1
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +1 -1
- package/dist/index99.cjs +1 -80
- package/dist/index99.js +35 -94
- 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 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
|
|
16
|
-
import { FilterField as
|
|
17
|
-
import { ActiveFilterArrayTag as
|
|
18
|
-
import { ActiveFilterDateRangeTag as
|
|
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
|
|
21
|
-
import { ActiveAsyncRadioFilter as
|
|
22
|
-
import { AsyncCheckboxFilter as
|
|
23
|
-
import { AsyncRadioFilter as
|
|
24
|
-
import { CheckboxFilter as
|
|
25
|
-
import { DateRangeFilter as
|
|
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
|
|
43
|
-
import { DateOptionMap as
|
|
44
|
-
import { FilterChoiceValue as Br } from "./index45.js";
|
|
45
|
-
import { ModalProvider as
|
|
46
|
-
import { ModalId as
|
|
47
|
-
import { useModal as
|
|
48
|
-
import { withCSRF as
|
|
49
|
-
import { onlyJSON as
|
|
50
|
-
import { fetcherV1 as
|
|
51
|
-
import { useDropdownManager as
|
|
52
|
-
import { useDuplicateActiveView as
|
|
53
|
-
import { useFilterArrayLabel as
|
|
54
|
-
import { useFilterLabel as
|
|
55
|
-
import { usePersistUnsavedChanges as
|
|
56
|
-
import { useStores as
|
|
57
|
-
import { useViews as
|
|
58
|
-
import { useViewUrlChange as
|
|
59
|
-
import { useCustomViews as
|
|
60
|
-
import { useHiddenColumns as
|
|
61
|
-
import { Filters as
|
|
62
|
-
import { NumberRangeFilter as
|
|
63
|
-
import { RangeFilter as
|
|
64
|
-
import { Views as
|
|
65
|
-
import { Notifications as
|
|
66
|
-
import { MobXProvider as
|
|
67
|
-
import { getAsyncOptions as
|
|
68
|
-
import { getFetcherFunction as
|
|
69
|
-
import { isValidDateRange as
|
|
70
|
-
import { viewsAdapter as
|
|
71
|
-
import { createAllView as
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
-
|
|
81
|
-
|
|
80
|
+
K as AsyncCheckboxFilter,
|
|
81
|
+
X as AsyncRadioFilter,
|
|
82
82
|
u as BusinessLogicManager,
|
|
83
|
-
|
|
83
|
+
q as CheckboxFilter,
|
|
84
84
|
nr as CreateView,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
Sr as DateOptionMap,
|
|
86
|
+
Q as DateRangeFilter,
|
|
87
|
+
Pr as DateValue,
|
|
88
88
|
ur as EditDropdown,
|
|
89
89
|
w as ErrorBoundary,
|
|
90
|
-
|
|
90
|
+
O as FilterArrayField,
|
|
91
91
|
Br as FilterChoiceValue,
|
|
92
|
-
|
|
92
|
+
S as FilterField,
|
|
93
93
|
xr as FilterGroup,
|
|
94
|
-
|
|
94
|
+
we as Filters,
|
|
95
95
|
ir as FiltersDropdown,
|
|
96
96
|
mr as FiltersList,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
ye as MobXProvider,
|
|
98
|
+
_r as ModalId,
|
|
99
|
+
Ur as ModalProvider,
|
|
100
100
|
Z as MultipleFieldFilter,
|
|
101
|
-
|
|
101
|
+
De as Notifications,
|
|
102
102
|
rr as NumberRangeFilter,
|
|
103
|
-
|
|
103
|
+
Ve as NumberRangeFilterClass,
|
|
104
104
|
dr as OptionsDropdown,
|
|
105
105
|
wr as PillNotifications,
|
|
106
106
|
or as RadioFilter,
|
|
107
|
-
|
|
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
|
-
|
|
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
|
-
|
|
119
|
+
ve as Views,
|
|
119
120
|
s as axios,
|
|
120
|
-
|
|
121
|
+
Ue as createAllView,
|
|
121
122
|
x as createCustomView,
|
|
122
123
|
o as deleteCustomView,
|
|
123
|
-
|
|
124
|
+
zr as fetcherV1,
|
|
124
125
|
Qr as fetcherV2,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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"});
|
|
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 "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
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=
|
|
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;
|