@veeqo/transfigure 1.0.0 → 1.1.0
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/hooks/index.d.ts +1 -0
- package/dist/hooks/useUrlChange/index.d.ts +1 -0
- package/dist/hooks/useUrlChange/useUrlChange.d.ts +7 -0
- package/dist/hooks/useViewCountsHook/useViewCountsHook.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +52 -50
- package/dist/index100.cjs +1 -19
- package/dist/index100.js +28 -23
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +24 -2
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +1 -1
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +1 -1
- package/dist/index107.cjs +1 -13
- package/dist/index107.js +2 -17
- package/dist/index108.cjs +13 -1
- package/dist/index108.js +14 -33
- package/dist/index110.cjs +1 -7
- package/dist/index110.js +36 -10
- package/dist/index111.cjs +7 -1
- package/dist/index111.js +10 -63
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +58 -42
- package/dist/index113.cjs +1 -0
- package/dist/index113.js +49 -0
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +2 -2
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +22 -18
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +16 -26
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +26 -10
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +13 -326
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +321 -55
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +50 -47
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +51 -32
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +30 -24
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +26 -32
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +37 -12
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +13 -9
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +9 -17
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +14 -16
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +18 -49
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +50 -21
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +21 -7
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +7 -2
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +2 -9
- package/dist/index80.cjs +1 -3
- package/dist/index80.js +8 -13
- package/dist/index81.cjs +3 -1
- package/dist/index81.js +13 -8
- package/dist/index82.cjs +1 -11
- package/dist/index82.js +9 -16
- package/dist/index83.cjs +11 -1
- package/dist/index83.js +16 -41
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +40 -8
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +9 -118
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +117 -18
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +19 -13
- package/dist/index88.cjs +1 -104
- package/dist/index88.js +13 -120
- package/dist/index89.cjs +104 -1
- package/dist/index89.js +117 -65
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +63 -24
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +29 -2
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +2 -41
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +39 -9
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +10 -23
- package/dist/index95.cjs +1 -12
- package/dist/index95.js +21 -16
- package/dist/index96.cjs +19 -1
- package/dist/index96.js +24 -33
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +12 -26
- package/dist/index98.cjs +12 -1
- package/dist/index98.js +16 -21
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +32 -14
- package/package.json +1 -1
package/dist/hooks/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './usePersistUnsavedChanges';
|
|
|
6
6
|
export * from './useStores';
|
|
7
7
|
export * from './useViews';
|
|
8
8
|
export * from './useViewUrlChange';
|
|
9
|
+
export * from './useUrlChange';
|
|
9
10
|
export * from './useCustomViews';
|
|
10
11
|
export * from './useColumns';
|
|
11
12
|
export * from './useUrlParams';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useUrlChange } from './useUrlChange';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This hook should be used when filters are being on a page that does not incorporate Views functionality.
|
|
3
|
+
* It should be mounted at the top level of the page, if the <ViewsList /> component isn't rendered.
|
|
4
|
+
*
|
|
5
|
+
* An extended version of the hook can be found in useViewUrlChange() which is mounted inside <ViewsList />
|
|
6
|
+
*/
|
|
7
|
+
export declare const useUrlChange: () => void;
|
|
@@ -9,7 +9,7 @@ export type PaginationType = {
|
|
|
9
9
|
export type ResponseType = {
|
|
10
10
|
meta: PaginationType;
|
|
11
11
|
};
|
|
12
|
-
export declare const useViewCounts: (
|
|
12
|
+
export declare const useViewCounts: () => {
|
|
13
13
|
viewCounts: string | undefined;
|
|
14
14
|
error: any;
|
|
15
15
|
isLoadingViewCounts: boolean;
|
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"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index2.cjs"),o=require("./index3.cjs"),n=require("./index4.cjs"),a=require("./index5.cjs"),c=require("./index6.cjs"),u=require("./index7.cjs"),l=require("./index8.cjs"),F=require("./index9.cjs"),d=require("./index10.cjs"),q=require("./index11.cjs"),g=require("./index12.cjs"),w=require("./index13.cjs"),A=require("./index14.cjs"),V=require("./index15.cjs"),C=require("./index16.cjs"),p=require("./index17.cjs"),h=require("./index18.cjs"),v=require("./index19.cjs"),b=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),T=require("./index23.cjs"),D=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"),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"),he=require("./index76.cjs"),ve=require("./index77.cjs"),be=require("./index78.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=h.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=v.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=b.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=S.DateRangeFilter;exports.MultipleFieldFilter=P.MultipleFieldFilter;exports.NumberRangeFilter=N.NumberRangeFilter;exports.RadioFilter=O.RadioFilter;exports.FiltersDropdown=U.FiltersDropdown;exports.FiltersList=L.FiltersList;exports.FilterGroup=B.FilterGroup;exports.ViewTab=f.ViewTab;exports.CreateView=k.CreateView;exports.EditDropdown=I.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.useUrlChange=ne.useUrlChange;exports.useCustomViews=ae.useCustomViews;exports.useColumns=ce.useColumns;exports.useUrlParams=ue.useUrlParams;exports.Filters=le.Filters;exports.NumberRangeFilterClass=Fe.NumberRangeFilter;exports.RangeFilter=de.RangeFilter;exports.Views=qe.Views;exports.Notifications=ge.Notifications;exports.Table=we.Table;exports.MobXProvider=Ae.MobXProvider;exports.getAsyncOptions=Ve.getAsyncOptions;exports.getFetcherFunction=Ce.getFetcherFunction;exports.isValidDateRange=pe.isValidDateRange;exports.viewsAdapter=he.viewsAdapter;exports.createAllView=ve.createAllView;exports.mockUseStores=be.mockUseStores;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { deleteCustomView as o } from "./index2.js";
|
|
2
2
|
import { patchCurrentUser as p } from "./index3.js";
|
|
3
|
-
import { patchCustomView as
|
|
3
|
+
import { patchCustomView as i } 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";
|
|
@@ -8,14 +8,14 @@ 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
|
-
import { TableControls as
|
|
12
|
-
import { ToastsManager as
|
|
11
|
+
import { TableControls as h } from "./index12.js";
|
|
12
|
+
import { ToastsManager as R } from "./index13.js";
|
|
13
13
|
import { ActiveFilters as D } from "./index14.js";
|
|
14
14
|
import { FilterArrayField as T } from "./index15.js";
|
|
15
15
|
import { FilterField as O } from "./index16.js";
|
|
16
16
|
import { ActiveFilterTag as y } from "./index17.js";
|
|
17
17
|
import { ActiveFilterArrayTag as L } from "./index18.js";
|
|
18
|
-
import { ActiveFilterDateRangeTag as
|
|
18
|
+
import { ActiveFilterDateRangeTag as B } from "./index19.js";
|
|
19
19
|
import { ActiveFilterNumberRangeTag as k } from "./index20.js";
|
|
20
20
|
import { ActiveAsyncRadioFilter as _ } from "./index21.js";
|
|
21
21
|
import { ActiveFilterFooter as G } from "./index22.js";
|
|
@@ -27,7 +27,7 @@ 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
29
|
import { RadioFilter as pr } from "./index30.js";
|
|
30
|
-
import { FiltersDropdown as
|
|
30
|
+
import { FiltersDropdown as ir } 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";
|
|
@@ -35,14 +35,14 @@ 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
|
-
import { SortableViews as
|
|
39
|
-
import { UnsavedChangesPill as
|
|
38
|
+
import { SortableViews as hr } from "./index39.js";
|
|
39
|
+
import { UnsavedChangesPill as Rr } from "./index40.js";
|
|
40
40
|
import { ViewDropdowns as Dr } from "./index41.js";
|
|
41
41
|
import { ViewList as Tr } from "./index42.js";
|
|
42
42
|
import { SHARING_OPTIONS as Or } from "./index43.js";
|
|
43
43
|
import { TableManagement as yr } from "./index44.js";
|
|
44
44
|
import { RefreshButton as Lr } from "./index45.js";
|
|
45
|
-
import { DateOptionMap as
|
|
45
|
+
import { DateOptionMap as Br, DateValue as Ir } from "./index46.js";
|
|
46
46
|
import { FilterChoiceValue as Hr, 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";
|
|
@@ -52,32 +52,33 @@ 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
54
|
import { useDuplicateActiveView as pe } from "./index55.js";
|
|
55
|
-
import { useFilterArrayLabel as
|
|
55
|
+
import { useFilterArrayLabel as ie } 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
59
|
import { useViews as Fe } from "./index60.js";
|
|
60
60
|
import { useViewUrlChange as de } from "./index61.js";
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
61
|
+
import { useUrlChange as we } from "./index62.js";
|
|
62
|
+
import { useCustomViews as Ve } from "./index63.js";
|
|
63
|
+
import { useColumns as he } from "./index64.js";
|
|
64
|
+
import { useUrlParams as Re } from "./index65.js";
|
|
65
|
+
import { Filters as De } from "./index66.js";
|
|
66
|
+
import { NumberRangeFilter as Te } from "./index67.js";
|
|
67
|
+
import { RangeFilter as Oe } from "./index68.js";
|
|
68
|
+
import { Views as ye } from "./index69.js";
|
|
69
|
+
import { Notifications as Le } from "./index70.js";
|
|
70
|
+
import { Table as Be } from "./index71.js";
|
|
71
|
+
import { MobXProvider as ke } from "./index72.js";
|
|
72
|
+
import { getAsyncOptions as _e } from "./index73.js";
|
|
73
|
+
import { getFetcherFunction as Ge } from "./index74.js";
|
|
74
|
+
import { isValidDateRange as Ke } from "./index75.js";
|
|
75
|
+
import { viewsAdapter as Xe } from "./index76.js";
|
|
76
|
+
import { createAllView as qe } from "./index77.js";
|
|
77
|
+
import { mockUseStores as Qe } from "./index78.js";
|
|
77
78
|
export {
|
|
78
79
|
_ as ActiveAsyncRadioFilter,
|
|
79
80
|
L as ActiveFilterArrayTag,
|
|
80
|
-
|
|
81
|
+
B as ActiveFilterDateRangeTag,
|
|
81
82
|
G as ActiveFilterFooter,
|
|
82
83
|
K as ActiveFilterHeader,
|
|
83
84
|
k as ActiveFilterNumberRangeTag,
|
|
@@ -88,7 +89,7 @@ export {
|
|
|
88
89
|
F as BusinessLogicManager,
|
|
89
90
|
Q as CheckboxFilter,
|
|
90
91
|
Fr as CreateView,
|
|
91
|
-
|
|
92
|
+
Br as DateOptionMap,
|
|
92
93
|
Z as DateRangeFilter,
|
|
93
94
|
Ir as DateValue,
|
|
94
95
|
dr as EditDropdown,
|
|
@@ -97,62 +98,63 @@ export {
|
|
|
97
98
|
Hr as FilterChoiceValue,
|
|
98
99
|
O as FilterField,
|
|
99
100
|
sr as FilterGroup,
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
De as Filters,
|
|
102
|
+
ir as FiltersDropdown,
|
|
102
103
|
xr as FiltersList,
|
|
103
|
-
|
|
104
|
+
ke as MobXProvider,
|
|
104
105
|
Kr as ModalId,
|
|
105
106
|
Gr as ModalProvider,
|
|
106
107
|
rr as MultipleFieldFilter,
|
|
107
|
-
|
|
108
|
+
Le as Notifications,
|
|
108
109
|
or as NumberRangeFilter,
|
|
109
|
-
|
|
110
|
+
Te as NumberRangeFilterClass,
|
|
110
111
|
wr as OptionsDropdown,
|
|
111
112
|
Vr as PillNotifications,
|
|
112
113
|
pr as RadioFilter,
|
|
113
|
-
|
|
114
|
+
Oe as RangeFilter,
|
|
114
115
|
Lr as RefreshButton,
|
|
115
116
|
Or as SHARING_OPTIONS,
|
|
116
117
|
_r as SWR_HOOK_OPTIONS,
|
|
117
118
|
V as SearchBar,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
hr as SortableViews,
|
|
120
|
+
Be as Table,
|
|
121
|
+
h as TableControls,
|
|
121
122
|
yr as TableManagement,
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
R as ToastsManager,
|
|
124
|
+
Rr as UnsavedChangesPill,
|
|
124
125
|
Dr as ViewDropdowns,
|
|
125
126
|
Tr as ViewList,
|
|
126
127
|
nr as ViewTab,
|
|
127
|
-
|
|
128
|
+
ye as Views,
|
|
128
129
|
s as axios,
|
|
129
|
-
|
|
130
|
+
qe as createAllView,
|
|
130
131
|
x as createCustomView,
|
|
131
132
|
o as deleteCustomView,
|
|
132
133
|
$r as fetcherV1,
|
|
133
134
|
re as fetcherV2,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
_e as getAsyncOptions,
|
|
136
|
+
Ge as getFetcherFunction,
|
|
137
|
+
Ke as isValidDateRange,
|
|
138
|
+
Qe as mockUseStores,
|
|
138
139
|
Qr as onlyJSON,
|
|
139
140
|
p as patchCurrentUser,
|
|
140
|
-
|
|
141
|
+
i as patchCustomView,
|
|
141
142
|
d as setMockedBusinessLogic,
|
|
142
143
|
n as useBusinessLogic,
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
he as useColumns,
|
|
145
|
+
Ve as useCustomViews,
|
|
145
146
|
oe as useDropdownManager,
|
|
146
147
|
pe as useDuplicateActiveView,
|
|
147
|
-
|
|
148
|
+
ie as useFilterArrayLabel,
|
|
148
149
|
xe as useFilterLabel,
|
|
149
150
|
Xr as useModal,
|
|
150
151
|
se as usePersistUnsavedChanges,
|
|
151
152
|
ne as useStores,
|
|
152
|
-
|
|
153
|
+
we as useUrlChange,
|
|
154
|
+
Re as useUrlParams,
|
|
153
155
|
de as useViewUrlChange,
|
|
154
156
|
Fe as useViews,
|
|
155
|
-
|
|
157
|
+
Xe as viewsAdapter,
|
|
156
158
|
Yr as vndAPI,
|
|
157
159
|
qr as withCSRF
|
|
158
160
|
};
|
package/dist/index100.cjs
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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;
|
|
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/index100.js
CHANGED
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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." })
|
|
13
27
|
}
|
|
14
|
-
|
|
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
|
-
`;
|
|
28
|
+
);
|
|
22
29
|
export {
|
|
23
|
-
|
|
24
|
-
n as Item,
|
|
25
|
-
a as MenuItems
|
|
30
|
+
s as Confirmation
|
|
26
31
|
};
|
package/dist/index102.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=r=>
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),l=require("./index111.cjs"),v=({children:i,style:o,className:c})=>{const r=n.useRef(null),[u,f]=n.useState(0);return n.useEffect(()=>{const e=r.current,s=()=>{if(e){const{top:a}=e.getBoundingClientRect();f(a)}};s();const t=new ResizeObserver(s);return e&&t.observe(e),()=>{e&&t.unobserve(e),t.disconnect()}},[]),d.jsx(l.AdaptiveStyledContainer,{style:o,className:c,offset:u,ref:r,children:i})};exports.AdaptiveHeightContainer=v;
|
package/dist/index102.js
CHANGED
|
@@ -1,4 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as a, useState as d, useEffect as m } from "react";
|
|
3
|
+
import { AdaptiveStyledContainer as v } from "./index111.js";
|
|
4
|
+
const R = ({
|
|
5
|
+
children: o,
|
|
6
|
+
style: s,
|
|
7
|
+
className: f
|
|
8
|
+
}) => {
|
|
9
|
+
const r = a(null), [i, c] = d(0);
|
|
10
|
+
return m(() => {
|
|
11
|
+
const e = r.current, n = () => {
|
|
12
|
+
if (e) {
|
|
13
|
+
const { top: u } = e.getBoundingClientRect();
|
|
14
|
+
c(u);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
n();
|
|
18
|
+
const t = new ResizeObserver(n);
|
|
19
|
+
return e && t.observe(e), () => {
|
|
20
|
+
e && t.unobserve(e), t.disconnect();
|
|
21
|
+
};
|
|
22
|
+
}, []), /* @__PURE__ */ p(v, { style: s, className: f, offset: i, ref: r, children: o });
|
|
23
|
+
};
|
|
2
24
|
export {
|
|
3
|
-
|
|
25
|
+
R as AdaptiveHeightContainer
|
|
4
26
|
};
|
package/dist/index103.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("@dnd-kit/sortable"),g=require("@dnd-kit/utilities"),b=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("@dnd-kit/sortable"),g=require("@dnd-kit/utilities"),b=require("./index89.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;
|
package/dist/index103.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as f, jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { useSortable as l } from "@dnd-kit/sortable";
|
|
3
3
|
import { CSS as p } from "@dnd-kit/utilities";
|
|
4
|
-
import { DraggingOverlay as c } from "./
|
|
4
|
+
import { DraggingOverlay as c } from "./index89.js";
|
|
5
5
|
const d = ({ id: r, children: t }) => {
|
|
6
6
|
const { attributes: o, listeners: s, setNodeRef: e, transform: i, transition: n, isDragging: m } = l({
|
|
7
7
|
id: r
|
package/dist/index104.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),c=require("@dnd-kit/core"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),c=require("@dnd-kit/core"),s=require("./index89.cjs"),l=({id:e,children:r,...t})=>{const{setNodeRef:o}=c.useDroppable({id:e});return a.createElement(s.DroppableAreaStack,{...t,key:e,ref:o},r)};exports.DroppableArea=l;
|
package/dist/index104.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElement as p } from "react";
|
|
2
2
|
import { useDroppable as a } from "@dnd-kit/core";
|
|
3
|
-
import { DroppableAreaStack as m } from "./
|
|
3
|
+
import { DroppableAreaStack as m } from "./index89.js";
|
|
4
4
|
const n = ({ id: e, children: r, ...o }) => {
|
|
5
5
|
const { setNodeRef: t } = a({ id: e });
|
|
6
6
|
return /* @__PURE__ */ p(m, { ...o, key: e, ref: t }, r);
|
package/dist/index107.cjs
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
.rst__rowTitle {
|
|
3
|
-
span {
|
|
4
|
-
white-space: nowrap;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
text-overflow: ellipsis;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.rst__rowTitle > div:first-child {
|
|
11
|
-
gap: ${o.theme.sizes.sm};
|
|
12
|
-
}
|
|
13
|
-
`;exports.StyledSortableViews=n;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=r=>r instanceof Error;exports.isError=e;
|
package/dist/index107.js
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { theme as o } from "@veeqo/ui";
|
|
3
|
-
import t from "styled-components";
|
|
4
|
-
const { SortableViews: r } = e, p = t(r)`
|
|
5
|
-
.rst__rowTitle {
|
|
6
|
-
span {
|
|
7
|
-
white-space: nowrap;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
text-overflow: ellipsis;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.rst__rowTitle > div:first-child {
|
|
14
|
-
gap: ${o.sizes.sm};
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
1
|
+
const o = (r) => r instanceof Error;
|
|
17
2
|
export {
|
|
18
|
-
|
|
3
|
+
o as isError
|
|
19
4
|
};
|
package/dist/index108.cjs
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@veeqo/components"),o=require("@veeqo/ui"),s=require("styled-components"),l=e=>e&&e.__esModule?e:{default:e},r=l(s),{SortableViews:i}=t.VeeqoUI,n=r.default(i)`
|
|
2
|
+
.rst__rowTitle {
|
|
3
|
+
span {
|
|
4
|
+
white-space: nowrap;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rst__rowTitle > div:first-child {
|
|
11
|
+
gap: ${o.theme.sizes.sm};
|
|
12
|
+
}
|
|
13
|
+
`;exports.StyledSortableViews=n;
|
package/dist/index108.js
CHANGED
|
@@ -1,38 +1,19 @@
|
|
|
1
|
+
import { VeeqoUI as e } from "@veeqo/components";
|
|
1
2
|
import { theme as o } from "@veeqo/ui";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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"
|
|
3
|
+
import t from "styled-components";
|
|
4
|
+
const { SortableViews: r } = e, p = t(r)`
|
|
5
|
+
.rst__rowTitle {
|
|
6
|
+
span {
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
text-overflow: ellipsis;
|
|
18
10
|
}
|
|
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
11
|
}
|
|
35
|
-
|
|
12
|
+
|
|
13
|
+
.rst__rowTitle > div:first-child {
|
|
14
|
+
gap: ${o.sizes.sm};
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
36
17
|
export {
|
|
37
|
-
|
|
18
|
+
p as StyledSortableViews
|
|
38
19
|
};
|
package/dist/index110.cjs
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("
|
|
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"});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/index110.js
CHANGED
|
@@ -1,12 +1,38 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { theme as o } from "@veeqo/ui";
|
|
2
|
+
import { withStyles as r } from "@material-ui/core/styles";
|
|
3
|
+
import e from "@material-ui/core/Slider";
|
|
4
|
+
const l = r({
|
|
5
|
+
root: {
|
|
6
|
+
color: o.colors.secondary.blue.base,
|
|
7
|
+
height: 4
|
|
8
|
+
},
|
|
9
|
+
thumb: {
|
|
10
|
+
height: 20,
|
|
11
|
+
width: 20,
|
|
12
|
+
backgroundColor: "#fff",
|
|
13
|
+
border: "3px solid currentColor",
|
|
14
|
+
marginTop: -8,
|
|
15
|
+
marginLeft: -10,
|
|
16
|
+
"&:focus, &:hover, &$active": {
|
|
17
|
+
boxShadow: "inherit"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
valueLabel: {
|
|
21
|
+
left: "calc(-50% - 1px)"
|
|
22
|
+
},
|
|
23
|
+
track: {
|
|
24
|
+
height: 4,
|
|
25
|
+
borderRadius: 4,
|
|
26
|
+
backgroundColor: o.colors.secondary.blue.light,
|
|
27
|
+
opacity: 1
|
|
28
|
+
},
|
|
29
|
+
rail: {
|
|
30
|
+
height: 4,
|
|
31
|
+
borderRadius: 4,
|
|
32
|
+
backgroundColor: o.colors.neutral.grey.dark,
|
|
33
|
+
opacity: 1
|
|
34
|
+
}
|
|
35
|
+
})(e);
|
|
10
36
|
export {
|
|
11
|
-
|
|
37
|
+
l as MUISlider
|
|
12
38
|
};
|
package/dist/index111.cjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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;
|