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