@veeqo/transfigure 0.0.37 → 0.0.38
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/components/Filters/Fields/CheckboxFilter/CheckboxFilter.d.ts +1 -1
- package/dist/components/Filters/Fields/RadioFilter/RadioFilter.d.ts +1 -1
- package/dist/components/Filters/FilterGroup/mock.d.ts +2 -0
- package/dist/components/TableManagement/TableManagementModal.d.ts +1 -1
- package/dist/components/TableManagement/hooks/useCollisionDetectionStrategy/mockUseCollisionDetectionStrategy.d.ts +5 -0
- package/dist/components/TableManagement/hooks/useCollisionDetectionStrategy/useCollisionDetectionStrategy.test.d.ts +1 -0
- package/dist/components/TableManagement/hooks/useDragHandlers/mock.d.ts +13 -0
- package/dist/components/TableManagement/hooks/useDragHandlers/mockUseDragHandlers.d.ts +13 -0
- package/dist/components/TableManagement/hooks/useDragHandlers/useDragHandlers.test.d.ts +1 -0
- package/dist/components/TableManagement/types.d.ts +1 -1
- package/dist/components/TableManagement/utils/filterColumnsBySearch/filterColumnsBySearch.test.d.ts +1 -0
- package/dist/context/ModalContext/mocks/mockUseModal.d.ts +3 -1
- package/dist/hooks/usePersistColumns/mockUsePersistColumns.d.ts +7 -0
- package/dist/hooks/usePersistUnsavedChanges/mockUsePersistUnsavedChanges.d.ts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +15 -13
- package/dist/index100.cjs +78 -10
- package/dist/index100.js +98 -13
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +24 -2
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +2 -36
- package/dist/index103.cjs +13 -1
- package/dist/index103.js +17 -19
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +18 -7
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +7 -63
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +60 -26
- package/dist/index107.cjs +1 -13
- package/dist/index107.js +30 -17
- package/dist/index109.cjs +1 -7
- package/dist/index109.js +36 -10
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +41 -62
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +58 -42
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +46 -41
- package/dist/index113.cjs +7 -0
- package/dist/index113.js +12 -0
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +41 -38
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +37 -34
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +28 -27
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +28 -27
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +11 -11
- 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 +36 -33
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +3 -3
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +4 -4
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +7 -2
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +2 -9
- package/dist/index79.cjs +1 -3
- package/dist/index79.js +8 -13
- package/dist/index80.cjs +3 -1
- package/dist/index80.js +13 -8
- package/dist/index81.cjs +1 -11
- package/dist/index81.js +9 -16
- package/dist/index82.cjs +11 -1
- package/dist/index82.js +16 -41
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +40 -8
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +9 -143
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +117 -18
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +18 -23
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +33 -13
- package/dist/index88.cjs +1 -104
- package/dist/index88.js +27 -118
- package/dist/index89.cjs +19 -1
- package/dist/index89.js +23 -67
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +18 -26
- package/dist/index91.cjs +12 -1
- package/dist/index91.js +16 -2
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +14 -40
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +13 -11
- package/dist/index94.cjs +104 -1
- package/dist/index94.js +119 -32
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +67 -28
- package/dist/index96.cjs +1 -19
- package/dist/index96.js +29 -24
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +2 -21
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +40 -14
- package/dist/index99.cjs +1 -80
- package/dist/index99.js +11 -101
- package/dist/mocks/internal/mockSWRReturn/index.d.ts +1 -0
- package/dist/mocks/internal/mockSWRReturn/mockSWRReturn.d.ts +1 -0
- package/dist/setupTests.d.ts +8 -0
- package/package.json +1 -1
|
@@ -2,5 +2,5 @@ import { Filter } from 'src/types';
|
|
|
2
2
|
type CheckboxFilterProps = {
|
|
3
3
|
field: Filter;
|
|
4
4
|
};
|
|
5
|
-
export declare const CheckboxFilter: ({ field }: CheckboxFilterProps) => JSX.Element
|
|
5
|
+
export declare const CheckboxFilter: ({ field }: CheckboxFilterProps) => JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TableManagementProps } from './types';
|
|
2
|
-
export declare const TableManagementModal: ({ onClose,
|
|
2
|
+
export declare const TableManagementModal: ({ onClose, columnDefinitions, hiddenColumns, visibleColumns, pinnedLeftColumnIds, pinnedRightColumnIds, }: TableManagementProps) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const mockUseCollisionDetectionStrategy: ({ collisionDetectionStrategy, }?: {
|
|
2
|
+
collisionDetectionStrategy?: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any> | undefined;
|
|
3
|
+
}) => {
|
|
4
|
+
collisionDetectionStrategy: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DragEndEvent, DragOverEvent, DragStartEvent } from '@dnd-kit/core';
|
|
2
|
+
import { Items } from '../../types';
|
|
3
|
+
export declare const mockDragStartEvent: DragStartEvent;
|
|
4
|
+
export declare const mockDragOverEvent: DragOverEvent;
|
|
5
|
+
export declare const mockDragOverEventCrossContainer: DragOverEvent;
|
|
6
|
+
export declare const mockDragOverEventToContainer: DragOverEvent;
|
|
7
|
+
export declare const mockDragOverEventNullOver: DragOverEvent;
|
|
8
|
+
export declare const mockDragOverEventNoContainers: DragOverEvent;
|
|
9
|
+
export declare const mockDragEndEvent: DragEndEvent;
|
|
10
|
+
export declare const mockDragEndEventNoContainer: DragEndEvent;
|
|
11
|
+
export declare const mockDragEndEventNullOver: DragEndEvent;
|
|
12
|
+
export declare const mockDragEndEventSamePosition: DragEndEvent;
|
|
13
|
+
export declare const mockInitialItems: Items;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const mockUseDragHandlers: ({ handleDragStart, handleDragEnd, handleDragCancel, handleDragOver, activeId, }?: {
|
|
2
|
+
handleDragStart?: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any> | undefined;
|
|
3
|
+
handleDragEnd?: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any> | undefined;
|
|
4
|
+
handleDragCancel?: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any> | undefined;
|
|
5
|
+
handleDragOver?: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any> | undefined;
|
|
6
|
+
activeId?: null | undefined;
|
|
7
|
+
}) => {
|
|
8
|
+
activeId: null;
|
|
9
|
+
handleDragOver: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
10
|
+
handleDragStart: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
11
|
+
handleDragEnd: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
12
|
+
handleDragCancel: import('../../../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,7 +9,7 @@ export type TableManagementProps = {
|
|
|
9
9
|
onClose?: () => void;
|
|
10
10
|
hiddenColumns: string[];
|
|
11
11
|
visibleColumns: string[];
|
|
12
|
-
|
|
12
|
+
columnDefinitions: ColumnDefinition<any>[];
|
|
13
13
|
pinnedRightColumnIds: string[];
|
|
14
14
|
pinnedLeftColumnIds: string[];
|
|
15
15
|
};
|
package/dist/components/TableManagement/utils/filterColumnsBySearch/filterColumnsBySearch.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export declare const mockUseModal: (
|
|
1
|
+
export declare const mockUseModal: ({ isModalOpen }: {
|
|
2
|
+
isModalOpen?: boolean | undefined;
|
|
3
|
+
}) => {
|
|
2
4
|
isModalOpen: import('../../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
3
5
|
closeModal: import('../../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
4
6
|
openModal: import('../../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const mockUsePersistColumns: ({ saveColumns, isSavingColumns }?: {
|
|
2
|
+
saveColumns?: import('../../../node_modules/vitest').Mock<(...args: any[]) => any> | undefined;
|
|
3
|
+
isSavingColumns?: boolean | undefined;
|
|
4
|
+
}) => {
|
|
5
|
+
saveColumns: import('../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
6
|
+
isSavingColumns: boolean;
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const mockUsePersistUnsavedChanges: ({ getActiveViewInAPIFormat, saveChanges, isSubmitting }?: {
|
|
2
|
+
getActiveViewInAPIFormat?: import('../../../node_modules/vitest').Mock<(...args: any[]) => any> | undefined;
|
|
3
|
+
saveChanges?: import('../../../node_modules/vitest').Mock<(...args: any[]) => any> | undefined;
|
|
4
|
+
isSubmitting?: boolean | undefined;
|
|
5
|
+
}) => {
|
|
6
|
+
getActiveViewInAPIFormat: import('../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
7
|
+
saveChanges: import('../../../node_modules/vitest').Mock<(...args: any[]) => any>;
|
|
8
|
+
isSubmitting: boolean;
|
|
9
|
+
};
|
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"),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"),
|
|
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"),S=require("./index27.cjs"),P=require("./index28.cjs"),N=require("./index29.cjs"),O=require("./index30.cjs"),L=require("./index31.cjs"),U=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"),ve=require("./index76.cjs"),be=require("./index77.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=S.DateRangeFilter;exports.MultipleFieldFilter=P.MultipleFieldFilter;exports.NumberRangeFilter=N.NumberRangeFilter;exports.RadioFilter=O.RadioFilter;exports.FiltersDropdown=L.FiltersDropdown;exports.FiltersList=U.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.useCustomViews=ne.useCustomViews;exports.useColumns=ae.useColumns;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;exports.mockUseStores=be.mockUseStores;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -13,9 +13,9 @@ import { ToastsManager as b } 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
|
-
import { ActiveFilterTag as
|
|
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 U } 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";
|
|
@@ -40,9 +40,9 @@ import { UnsavedChangesPill as br } 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
|
-
import { TableManagement as
|
|
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 Ur, 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";
|
|
@@ -65,31 +65,32 @@ import { Filters as be } from "./index65.js";
|
|
|
65
65
|
import { NumberRangeFilter as De } from "./index66.js";
|
|
66
66
|
import { RangeFilter as Te } from "./index67.js";
|
|
67
67
|
import { Views as Oe } from "./index68.js";
|
|
68
|
-
import { Notifications as
|
|
68
|
+
import { Notifications as ye } from "./index69.js";
|
|
69
69
|
import { Table as Le } from "./index70.js";
|
|
70
|
-
import { MobXProvider as
|
|
70
|
+
import { MobXProvider as Ue } from "./index71.js";
|
|
71
71
|
import { getAsyncOptions as ke } from "./index72.js";
|
|
72
72
|
import { getFetcherFunction as _e } from "./index73.js";
|
|
73
73
|
import { isValidDateRange as Ge } from "./index74.js";
|
|
74
74
|
import { viewsAdapter as Ke } from "./index75.js";
|
|
75
75
|
import { createAllView as Xe } from "./index76.js";
|
|
76
|
+
import { mockUseStores as qe } from "./index77.js";
|
|
76
77
|
export {
|
|
77
78
|
_ as ActiveAsyncRadioFilter,
|
|
78
79
|
L as ActiveFilterArrayTag,
|
|
79
|
-
|
|
80
|
+
U as ActiveFilterDateRangeTag,
|
|
80
81
|
G as ActiveFilterFooter,
|
|
81
82
|
K as ActiveFilterHeader,
|
|
82
83
|
k as ActiveFilterNumberRangeTag,
|
|
83
|
-
|
|
84
|
+
y as ActiveFilterTag,
|
|
84
85
|
D as ActiveFilters,
|
|
85
86
|
X as AsyncCheckboxFilter,
|
|
86
87
|
q as AsyncRadioFilter,
|
|
87
88
|
F as BusinessLogicManager,
|
|
88
89
|
Q as CheckboxFilter,
|
|
89
90
|
Fr as CreateView,
|
|
90
|
-
|
|
91
|
+
Ur as DateOptionMap,
|
|
91
92
|
Z as DateRangeFilter,
|
|
92
|
-
|
|
93
|
+
Ir as DateValue,
|
|
93
94
|
dr as EditDropdown,
|
|
94
95
|
w as ErrorBoundary,
|
|
95
96
|
T as FilterArrayField,
|
|
@@ -99,11 +100,11 @@ export {
|
|
|
99
100
|
be as Filters,
|
|
100
101
|
mr as FiltersDropdown,
|
|
101
102
|
xr as FiltersList,
|
|
102
|
-
|
|
103
|
+
Ue as MobXProvider,
|
|
103
104
|
Kr as ModalId,
|
|
104
105
|
Gr as ModalProvider,
|
|
105
106
|
rr as MultipleFieldFilter,
|
|
106
|
-
|
|
107
|
+
ye as Notifications,
|
|
107
108
|
or as NumberRangeFilter,
|
|
108
109
|
De as NumberRangeFilterClass,
|
|
109
110
|
wr as OptionsDropdown,
|
|
@@ -117,7 +118,7 @@ export {
|
|
|
117
118
|
vr as SortableViews,
|
|
118
119
|
Le as Table,
|
|
119
120
|
v as TableControls,
|
|
120
|
-
|
|
121
|
+
yr as TableManagement,
|
|
121
122
|
b as ToastsManager,
|
|
122
123
|
br as UnsavedChangesPill,
|
|
123
124
|
Dr as ViewDropdowns,
|
|
@@ -133,6 +134,7 @@ export {
|
|
|
133
134
|
ke as getAsyncOptions,
|
|
134
135
|
_e as getFetcherFunction,
|
|
135
136
|
Ge as isValidDateRange,
|
|
137
|
+
qe as mockUseStores,
|
|
136
138
|
Qr as onlyJSON,
|
|
137
139
|
p as patchCurrentUser,
|
|
138
140
|
m as patchCustomView,
|
package/dist/index100.cjs
CHANGED
|
@@ -1,12 +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("./index108.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
2
|
display: flex;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
64
|
width: 100%;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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;
|
package/dist/index100.js
CHANGED
|
@@ -1,18 +1,103 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { theme as
|
|
3
|
-
|
|
1
|
+
import t from "styled-components";
|
|
2
|
+
import { BaseContainer as n, theme as i, Text as e, Banner as a, Button as l } from "@veeqo/ui";
|
|
3
|
+
import { VeeqoCommon as s } from "@veeqo/components";
|
|
4
|
+
import { motion as c } from "framer-motion";
|
|
5
|
+
import { notificationVariants as p } from "./index108.js";
|
|
6
|
+
const { Glyph: x } = s, u = t(c(n)).attrs(() => ({
|
|
7
|
+
variants: p,
|
|
8
|
+
initial: "initial",
|
|
9
|
+
animate: "animate",
|
|
10
|
+
exit: "exit"
|
|
11
|
+
}))`
|
|
4
12
|
display: flex;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
`, 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;
|
|
11
75
|
width: 100%;
|
|
12
|
-
|
|
13
|
-
|
|
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
|
+
}
|
|
14
91
|
`;
|
|
15
92
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
93
|
+
v as Bold,
|
|
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
|
|
18
103
|
};
|
package/dist/index101.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("./index113.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,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 "./index113.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/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,38 +1,4 @@
|
|
|
1
|
-
|
|
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);
|
|
1
|
+
const o = (r) => r instanceof Error;
|
|
36
2
|
export {
|
|
37
|
-
|
|
3
|
+
o as isError
|
|
38
4
|
};
|
package/dist/index103.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/index103.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
] });
|
|
18
|
-
};
|
|
1
|
+
import { VeeqoUI as e } from "@veeqo/components";
|
|
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
|
+
`;
|
|
19
17
|
export {
|
|
20
|
-
|
|
18
|
+
p as StyledSortableViews
|
|
21
19
|
};
|
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("./index110.cjs"),b=require("./index94.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/index104.js
CHANGED
|
@@ -1,10 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsxs as f, jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { useSortable as l } from "@dnd-kit/sortable";
|
|
3
|
+
import { CSS as p } from "./index110.js";
|
|
4
|
+
import { DraggingOverlay as c } from "./index94.js";
|
|
5
|
+
const d = ({ id: r, children: t }) => {
|
|
6
|
+
const { attributes: o, listeners: s, setNodeRef: e, transform: i, transition: n, isDragging: m } = l({
|
|
7
|
+
id: r
|
|
8
|
+
}), a = {
|
|
9
|
+
transform: p.Transform.toString(i),
|
|
10
|
+
transition: n,
|
|
11
|
+
cursor: "grab",
|
|
12
|
+
outlineOffset: "-1px"
|
|
13
|
+
};
|
|
14
|
+
return /* @__PURE__ */ f("div", { ref: e, style: a, ...o, ...s, children: [
|
|
15
|
+
t,
|
|
16
|
+
m && /* @__PURE__ */ g(c, {})
|
|
17
|
+
] });
|
|
7
18
|
};
|
|
8
19
|
export {
|
|
9
|
-
|
|
20
|
+
d as SortableItem
|
|
10
21
|
};
|
package/dist/index105.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 a=require("react"),c=require("@dnd-kit/core"),s=require("./index94.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;
|