@veeqo/transfigure 1.0.0 → 1.1.1
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 +11 -18
- package/dist/index100.js +12 -20
- package/dist/index101.cjs +1 -80
- package/dist/index101.js +24 -101
- package/dist/index102.cjs +80 -1
- package/dist/index102.js +101 -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 +1 -1
- package/dist/index111.js +1 -1
- package/dist/index112.cjs +7 -1
- package/dist/index112.js +10 -47
- 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 +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/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/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 +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 +1 -1
- package/dist/index83.js +116 -39
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +17 -7
- package/dist/index85.cjs +11 -1
- package/dist/index85.js +16 -118
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +40 -18
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +9 -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 +18 -11
- package/dist/index95.js +20 -12
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +24 -24
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +14 -20
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +20 -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,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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`
|
|
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`
|
|
16
9
|
width: 100%;
|
|
17
|
-
border-top: 1px solid ${
|
|
18
|
-
margin: 0;
|
|
19
|
-
`;exports.Divider=l;exports.
|
|
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,26 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { theme as o,
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
color: ${o.colors.secondary.blue.base};
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
}
|
|
14
|
-
`, a = t(r.Surface).attrs(() => ({ role: "listbox", elevation: 4 }))`
|
|
15
|
-
margin-top: ${o.sizes.xs};
|
|
16
|
-
background-color: white;
|
|
17
|
-
`, l = t.hr`
|
|
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`
|
|
18
11
|
width: 100%;
|
|
19
12
|
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
20
|
-
margin: 0;
|
|
13
|
+
margin: 0 0 4px 0;
|
|
21
14
|
`;
|
|
22
15
|
export {
|
|
23
16
|
l as Divider,
|
|
24
|
-
|
|
25
|
-
a as MenuItems
|
|
17
|
+
d as FixedViews
|
|
26
18
|
};
|
package/dist/index101.cjs
CHANGED
|
@@ -1,80 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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
|
-
`,x=o.default(t.Button)`
|
|
45
|
-
margin-right: 16px;
|
|
46
|
-
`,u=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.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=x;exports.Container=f;exports.Glyph=g;exports.Hint=u;exports.Notification=d;exports.Pill=p;exports.Text=n;exports.UIGlyph=i;exports.Wrap=h;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),l=require("./index112.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/index101.js
CHANGED
|
@@ -1,103 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
`, w = 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
|
-
`, y = 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
|
-
`, $ = t(l)`
|
|
55
|
-
margin-right: 16px;
|
|
56
|
-
`, b = t(e)`
|
|
57
|
-
line-height: 20px;
|
|
58
|
-
`, r = t(e)`
|
|
59
|
-
margin: ${(o) => o.margin ? o.margin : ""};
|
|
60
|
-
color: ${(o) => o.color};
|
|
61
|
-
`, v = t(e)`
|
|
62
|
-
margin-right: 8px;
|
|
63
|
-
color: ${(o) => o.color};
|
|
64
|
-
`, B = t(x)``, k = 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.button`
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: row;
|
|
75
|
-
width: 100%;
|
|
76
|
-
padding: 12px 16px;
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
|
|
79
|
-
& > ${r} {
|
|
80
|
-
white-space: nowrap;
|
|
81
|
-
user-select: none;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:hover {
|
|
85
|
-
background-color: ${i.colors.neutral.grey.lightest};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&:hover > ${r} {
|
|
89
|
-
color: ${i.colors.secondary.blue.base};
|
|
90
|
-
}
|
|
91
|
-
`;
|
|
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 "./index112.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
|
+
};
|
|
92
24
|
export {
|
|
93
|
-
|
|
94
|
-
$ as Button,
|
|
95
|
-
w as Container,
|
|
96
|
-
B as Glyph,
|
|
97
|
-
b as Hint,
|
|
98
|
-
u as Notification,
|
|
99
|
-
y as Pill,
|
|
100
|
-
r as Text,
|
|
101
|
-
x as UIGlyph,
|
|
102
|
-
k as Wrap
|
|
25
|
+
R as AdaptiveHeightContainer
|
|
103
26
|
};
|
package/dist/index102.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
|
+
`,x=o.default(t.Button)`
|
|
45
|
+
margin-right: 16px;
|
|
46
|
+
`,u=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.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=x;exports.Container=f;exports.Glyph=g;exports.Hint=u;exports.Notification=d;exports.Pill=p;exports.Text=n;exports.UIGlyph=i;exports.Wrap=h;
|