@veeqo/transfigure 1.2.13 → 2.0.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/components/Filters/ActiveFilters/Variants/common/ActiveFilterHeader/ActiveFilterHeader.d.ts +2 -2
- package/dist/components/Filters/Fields/NumberRangeFilter/MuiSlider.d.ts +1 -1
- package/dist/components/TableManagement/components/styled.d.ts +1 -3
- package/dist/components/Views/OptionsDropdown/styled.d.ts +1 -1
- package/dist/components/Views/PillNotifications/variants/UnsavedChangesPill/UnsavedChangesPill.d.ts +1 -1
- package/dist/components/Views/PillNotifications/variants/styled.d.ts +1 -5
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +73 -74
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +15 -7
- package/dist/index101.cjs +12 -1
- package/dist/index101.js +16 -18
- package/dist/index102.cjs +19 -1
- package/dist/index102.js +24 -21
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +49 -14
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +29 -50
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +7 -29
- package/dist/index106.cjs +1 -19
- package/dist/index106.js +24 -24
- package/dist/index107.cjs +78 -10
- package/dist/index107.js +95 -13
- package/dist/index108.cjs +1 -80
- package/dist/index108.js +2 -101
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +1 -1
- package/dist/index113.cjs +13 -1
- package/dist/index113.js +17 -2
- package/dist/index114.cjs +1 -13
- package/dist/index114.js +24 -15
- package/dist/index115.cjs +1 -1
- package/dist/index115.js +32 -22
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +5 -36
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +63 -5
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +42 -58
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +1 -1
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +18 -18
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +20 -20
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +21 -21
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +15 -15
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +8 -9
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +5 -5
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +2 -2
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +11 -12
- 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/index41.cjs +1 -1
- package/dist/index41.js +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +11 -22
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +24 -25
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +2 -2
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +1 -1
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +1 -1
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +1 -1
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +5 -41
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +2 -9
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +115 -4
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +39 -116
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +9 -19
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +13 -2
- package/dist/index92.cjs +104 -1
- package/dist/index92.js +119 -13
- package/dist/index93.cjs +1 -104
- package/dist/index93.js +65 -117
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +23 -63
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +2 -29
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +41 -2
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +9 -39
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +17 -10
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +21 -24
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
- package/dist/components/TableManagement/TableManagementGlyph.d.ts +0 -4
- package/dist/index120.cjs +0 -1
- package/dist/index120.js +0 -49
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
filterLabel: string;
|
|
4
|
-
|
|
4
|
+
icon: ReactElement;
|
|
5
5
|
};
|
|
6
|
-
export declare const ActiveFilterHeader: ({ filterLabel,
|
|
6
|
+
export declare const ActiveFilterHeader: ({ filterLabel, icon }: Props) => JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -24,4 +24,4 @@ export declare const MUISlider: import('react').ComponentType<Pick<{
|
|
|
24
24
|
valueLabelFormat?: string | ((value: number, index: number) => React.ReactNode);
|
|
25
25
|
} & import('@material-ui/core/OverridableComponent').CommonProps<import('@material-ui/core').SliderTypeMap<{}, "span">> & Pick<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import('react').HTMLAttributes<HTMLSpanElement>> & {
|
|
26
26
|
ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
27
|
-
}, "slot" | "title" | "dir" | "onError" | "id" | "ref" | "children" | "
|
|
27
|
+
}, "slot" | "title" | "dir" | "onError" | "id" | "ref" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key">, "slot" | "style" | "title" | "track" | "name" | "dir" | "onError" | "value" | "id" | "ref" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "step" | "disabled" | "key" | "max" | "min" | "scale" | "innerRef" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "orientation" | "ThumbComponent" | "ValueLabelComponent" | "valueLabelDisplay" | "valueLabelFormat"> & import('@material-ui/core').StyledComponentProps<"track" | "root" | "thumb" | "valueLabel" | "rail">>;
|
|
@@ -4,9 +4,7 @@ export declare const VerticalText: import('styled-components').StyledComponent<"
|
|
|
4
4
|
export declare const StickyText: import('styled-components').StyledComponent<"span", any, {} & import('node_modules/@veeqo/ui/dist/components/Text/types').TextProps, never>;
|
|
5
5
|
export declare const DetailedText: import('styled-components').StyledComponent<"span", any, {} & import('node_modules/@veeqo/ui/dist/components/Text/types').TextProps, never>;
|
|
6
6
|
export declare const ColumnGroupsGrid: import('styled-components').StyledComponent<"div", any, import('node_modules/@veeqo/ui/dist/components/Grid/types').GridProps, never>;
|
|
7
|
-
export declare const VisibilityOffIcon: import('styled-components').StyledComponent<(
|
|
8
|
-
name: "visibility-off";
|
|
9
|
-
}, "name">;
|
|
7
|
+
export declare const VisibilityOffIcon: import('styled-components').StyledComponent<(props: import('react').SVGProps<SVGSVGElement>) => React.JSX.Element, any, {}, never>;
|
|
10
8
|
export declare const ColumnItemWrapper: import('styled-components').StyledComponent<"div", any, import('@veeqo/ui').StackProps & {
|
|
11
9
|
isHidden?: boolean;
|
|
12
10
|
isDragOverlay?: boolean;
|
|
@@ -9,7 +9,7 @@ export declare const Item: import('styled-components').StyledComponent<import('r
|
|
|
9
9
|
} & import('react').RefAttributes<HTMLButtonElement>>, any, {
|
|
10
10
|
role: "option";
|
|
11
11
|
variant: "flat";
|
|
12
|
-
}, "
|
|
12
|
+
}, "role" | "variant">;
|
|
13
13
|
export declare const MenuItems: import('styled-components').StyledComponent<"div", any, import('node_modules/@veeqo/ui/dist/components/Card/styled').SurfaceProps & {
|
|
14
14
|
role: "listbox";
|
|
15
15
|
elevation: number;
|
package/dist/components/Views/PillNotifications/variants/UnsavedChangesPill/UnsavedChangesPill.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ type Props = {
|
|
|
3
3
|
onSaveDraft: () => void;
|
|
4
4
|
viewName?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const UnsavedChangesPill: ({ onDiscard, viewName, onSaveDraft
|
|
6
|
+
export declare const UnsavedChangesPill: ({ onDiscard, viewName, onSaveDraft }: Props) => JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
export declare const UIGlyph: ({ name, size, color, className, ariaLabel, style, onClick, }: import('@veeqo/components/dist/components/common/Glyph/Glyph').GlyphProps) => React.JSX.Element;
|
|
3
2
|
export declare const Notification: import('styled-components').StyledComponent<import('framer-motion').CustomDomComponent<{
|
|
4
3
|
slot?: string | undefined;
|
|
5
4
|
style?: import('react').CSSProperties | undefined;
|
|
@@ -9,7 +8,6 @@ export declare const Notification: import('styled-components').StyledComponent<i
|
|
|
9
8
|
id?: string | undefined;
|
|
10
9
|
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
11
10
|
children?: import('react').ReactNode;
|
|
12
|
-
placeholder?: string | undefined;
|
|
13
11
|
className?: string | undefined;
|
|
14
12
|
defaultChecked?: boolean | undefined;
|
|
15
13
|
defaultValue?: (string | number | ReadonlyArray<string>) | undefined;
|
|
@@ -21,6 +19,7 @@ export declare const Notification: import('styled-components').StyledComponent<i
|
|
|
21
19
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
22
20
|
hidden?: boolean | undefined;
|
|
23
21
|
lang?: string | undefined;
|
|
22
|
+
placeholder?: string | undefined;
|
|
24
23
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
25
24
|
tabIndex?: number | undefined;
|
|
26
25
|
translate?: "yes" | "no" | undefined;
|
|
@@ -316,8 +315,5 @@ export declare const Text: import('styled-components').StyledComponent<"span", a
|
|
|
316
315
|
margin?: string;
|
|
317
316
|
}, never>;
|
|
318
317
|
export declare const Bold: import('styled-components').StyledComponent<"span", any, {} & import('node_modules/@veeqo/ui/dist/components/Text/types').TextProps, never>;
|
|
319
|
-
export declare const Glyph: import('styled-components').StyledComponent<({ name, size, color, className, ariaLabel, style, onClick, }: import('@veeqo/components/dist/components/common/Glyph/Glyph').GlyphProps) => React.JSX.Element, any, {
|
|
320
|
-
margin?: string;
|
|
321
|
-
}, never>;
|
|
322
318
|
export declare const Wrap: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
323
319
|
export declare const Item: import('styled-components').StyledComponent<string, any, ButtonHTMLAttributes<HTMLButtonElement>, never>;
|
package/dist/index10.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 l=require("react/jsx-runtime"),s=require("@veeqo/ui"),E=require("./index2.cjs"),d=require("./index9.cjs"),e={BRAND_IDS:"brand_ids",ORDER_NUMBER:"search.order_number",ORDER_CODE:"search.order_code",SHOE_SIZE:"shoe_size",SHOE:"shoe",CHANNEL_ID:"channel_id",PRODUCT_COUNT:"product_count",DUE_DATE:"due_date",MAX_PRODUCTS:"max_products"},a=[e.DUE_DATE],r=[e.PRODUCT_COUNT],T="search.all",D="sort",n=s.DateRanges.TODAY,A=s.getDateRange(n),u=s.DATE_RANGE_OPTIONS.find(({value:t})=>t===n),R="25",O="1",I="order",S=!1,b=200,L=[10,25,50,100],N="page[number]",U="page[size]",p=["order_id","shipping_rates","package","action"],M=["price"],F="api/v2/orders",g=E.SortingMode.MONOLITH,i={DATE_RANGE_FILTERS:a,SEARCH_FILTER_ID:T,SORT_FILTER_ID:D,NUMBER_RANGE_FILTERS:r,DEFAULT_DATE_SELECTION:n,DEFAULT_DATE_RANGE:A,DEFAULT_DATE_PRESET:u,DEFAULT_PAGE_SIZE:R,DEFAULT_PAGE_NUMBER:O,VIEW_TYPE:I,IS_VIEWS_READONLY:S,FILTERS_DEBOUNCE_INTERVAL_MS:b,PAGE_SIZE_OPTIONS:L,PAGE_NUMBER_FILTER_ID:N,PAGE_SIZE_FILTER_ID:U,DEFAULT_VISIBLE_COLUMNS:p,DEFAULT_HIDDEN_COLUMNS:M,TABLE_DATA_URL:F,SORTING_MODE:g},c=()=>{const t=new Map,o=new Map;return t.set(e.BRAND_IDS,{id:e.BRAND_IDS,icon:l.jsx(s.BrandIcon,{}),label:"Brand",filterType:"checkbox",isFilterAllowed:!0,fetchAsyncFilterOptions:{URL:"/catalog/brands",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1",baseProperty:"brands"}}),o.set("brand",{id:"brand",label:"Brand",fields:[t.get(e.BRAND_IDS)],icon:l.jsx(s.BrandIcon,{})}),t.set(e.ORDER_NUMBER,{id:e.ORDER_NUMBER,label:"Order number",filterType:"text",isFilterAllowed:!0,icon:l.jsx(s.FilterIcon,{})}),t.set(e.ORDER_CODE,{id:e.ORDER_CODE,label:"Order code",filterType:"text",isFilterAllowed:!0,icon:l.jsx(s.FilterIcon,{})}),o.set("order",{id:"order",label:"Order",fields:[t.get(e.ORDER_NUMBER),t.get(e.ORDER_CODE)],icon:l.jsx(s.ProductMenuIcon,{})}),t.set(e.SHOE_SIZE,{id:e.SHOE_SIZE,label:"Shoe size",filterType:"radio",isFilterAllowed:!0,icon:l.jsx(s.FilterIcon,{}),options:[{label:"One",value:"1"},{label:"Two",value:"2"},{label:"Three",value:"3"},{label:"Four",value:"4"},{label:"Five",value:"5"}]}),o.set(e.SHOE,{id:e.SHOE,label:"Shoe",fields:[t.get(e.SHOE_SIZE)],icon:l.jsx(s.FilterIcon,{})}),t.set(e.CHANNEL_ID,{id:e.CHANNEL_ID,label:"Channel",filterType:"checkbox",isFilterAllowed:!0,icon:l.jsx(s.FilterIcon,{}),fetchAsyncFilterOptions:{URL:"/channels",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1"}}),o.set("channel",{id:"channel",label:"Store",fields:[t.get(e.CHANNEL_ID)],icon:l.jsx(s.FbaIcon,{})}),t.set(e.PRODUCT_COUNT,{id:e.PRODUCT_COUNT,label:"Product count",filterType:"number_range",isFilterAllowed:!0,icon:l.jsx(s.FilterIcon,{}),options:[{label:"Min",value:"0"},{label:"Max",value:"100"}]}),o.set(e.PRODUCT_COUNT,{id:e.PRODUCT_COUNT,label:"Product count",fields:[t.get(e.PRODUCT_COUNT)],icon:l.jsx(s.ReportsIcon,{})}),t.set(e.DUE_DATE,{id:e.DUE_DATE,label:"Due date",filterType:"date_range",isFilterAllowed:!0,icon:l.jsx(s.FilterIcon,{}),options:[{label:"Today",value:"TODAY"},{label:"Yesterday",value:"YESTERDAY"},{label:"Last 7 days",value:"LAST_7_DAYS"},{label:"Last 30 days",value:"LAST_30_DAYS"},{label:"Last 90 days",value:"LAST_90_DAYS"},{label:"Last month",value:"LAST_MONTH"},{label:"Last 12 months",value:"LAST_12_MONTHS"},{label:"Week to date",value:"WEEK_TO_DATE"},{label:"Month to date",value:"MONTH_TO_DATE"},{label:"Year to date",value:"YEAR_TO_DATE"}]}),o.set("due",{id:"due",label:"Due",fields:[t.get(e.DUE_DATE)],icon:l.jsx(s.DateIcon,{})}),t.set(e.MAX_PRODUCTS,{id:e.MAX_PRODUCTS,label:"Max products",filterType:"number",isFilterAllowed:!0,icon:l.jsx(s.ProductsIcon,{})}),o.set("max_count",{id:"max_count",label:"Max count",fields:[t.get(e.MAX_PRODUCTS)],icon:l.jsx(s.ReportsIcon,{})}),{FIELDS_MAP:t,GROUP_MAP:o}},P=t=>{const o=c(),_={...i,...o,...t};d.BusinessLogicManager.setBusinessLogic(_)};exports.DATE_RANGE_FILTERS=a;exports.NUMBER_RANGE_FILTERS=r;exports.customAppBusinessLogic=i;exports.filterIds=e;exports.generateMockedFilterMaps=c;exports.setMockedBusinessLogic=P;
|
package/dist/index10.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { DATE_RANGE_OPTIONS as
|
|
3
|
-
import { SortingMode as
|
|
4
|
-
import { BusinessLogicManager as
|
|
5
|
-
import { VeeqoCommon as a } from "@veeqo/components";
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { DATE_RANGE_OPTIONS as i, getDateRange as E, DateRanges as c, BrandIcon as r, FilterIcon as a, ProductMenuIcon as d, FbaIcon as D, ReportsIcon as n, DateIcon as T, ProductsIcon as A } from "@veeqo/ui";
|
|
3
|
+
import { SortingMode as O } from "./index2.js";
|
|
4
|
+
import { BusinessLogicManager as R } from "./index9.js";
|
|
6
5
|
const e = {
|
|
7
6
|
BRAND_IDS: "brand_ids",
|
|
8
7
|
ORDER_NUMBER: "search.order_number",
|
|
@@ -13,33 +12,33 @@ const e = {
|
|
|
13
12
|
PRODUCT_COUNT: "product_count",
|
|
14
13
|
DUE_DATE: "due_date",
|
|
15
14
|
MAX_PRODUCTS: "max_products"
|
|
16
|
-
},
|
|
17
|
-
({ value:
|
|
18
|
-
),
|
|
19
|
-
DATE_RANGE_FILTERS:
|
|
20
|
-
SEARCH_FILTER_ID:
|
|
21
|
-
SORT_FILTER_ID:
|
|
22
|
-
NUMBER_RANGE_FILTERS:
|
|
15
|
+
}, u = [e.DUE_DATE], S = [e.PRODUCT_COUNT], b = "search.all", I = "sort", s = c.TODAY, L = E(s), N = i.find(
|
|
16
|
+
({ value: t }) => t === s
|
|
17
|
+
), U = "25", p = "1", M = "order", C = !1, P = 200, F = [10, 25, 50, 100], f = "page[number]", g = "page[size]", h = ["order_id", "shipping_rates", "package", "action"], m = ["price"], v = "api/v2/orders", B = O.MONOLITH, y = {
|
|
18
|
+
DATE_RANGE_FILTERS: u,
|
|
19
|
+
SEARCH_FILTER_ID: b,
|
|
20
|
+
SORT_FILTER_ID: I,
|
|
21
|
+
NUMBER_RANGE_FILTERS: S,
|
|
23
22
|
DEFAULT_DATE_SELECTION: s,
|
|
24
|
-
DEFAULT_DATE_RANGE:
|
|
25
|
-
DEFAULT_DATE_PRESET:
|
|
26
|
-
DEFAULT_PAGE_SIZE:
|
|
27
|
-
DEFAULT_PAGE_NUMBER:
|
|
28
|
-
VIEW_TYPE:
|
|
29
|
-
IS_VIEWS_READONLY:
|
|
30
|
-
FILTERS_DEBOUNCE_INTERVAL_MS:
|
|
31
|
-
PAGE_SIZE_OPTIONS:
|
|
32
|
-
PAGE_NUMBER_FILTER_ID:
|
|
33
|
-
PAGE_SIZE_FILTER_ID:
|
|
34
|
-
DEFAULT_VISIBLE_COLUMNS:
|
|
35
|
-
DEFAULT_HIDDEN_COLUMNS:
|
|
36
|
-
TABLE_DATA_URL:
|
|
37
|
-
SORTING_MODE:
|
|
38
|
-
},
|
|
39
|
-
const
|
|
40
|
-
return
|
|
23
|
+
DEFAULT_DATE_RANGE: L,
|
|
24
|
+
DEFAULT_DATE_PRESET: N,
|
|
25
|
+
DEFAULT_PAGE_SIZE: U,
|
|
26
|
+
DEFAULT_PAGE_NUMBER: p,
|
|
27
|
+
VIEW_TYPE: M,
|
|
28
|
+
IS_VIEWS_READONLY: C,
|
|
29
|
+
FILTERS_DEBOUNCE_INTERVAL_MS: P,
|
|
30
|
+
PAGE_SIZE_OPTIONS: F,
|
|
31
|
+
PAGE_NUMBER_FILTER_ID: f,
|
|
32
|
+
PAGE_SIZE_FILTER_ID: g,
|
|
33
|
+
DEFAULT_VISIBLE_COLUMNS: h,
|
|
34
|
+
DEFAULT_HIDDEN_COLUMNS: m,
|
|
35
|
+
TABLE_DATA_URL: v,
|
|
36
|
+
SORTING_MODE: B
|
|
37
|
+
}, H = () => {
|
|
38
|
+
const t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
39
|
+
return t.set(e.BRAND_IDS, {
|
|
41
40
|
id: e.BRAND_IDS,
|
|
42
|
-
|
|
41
|
+
icon: /* @__PURE__ */ l(r, {}),
|
|
43
42
|
label: "Brand",
|
|
44
43
|
filterType: "checkbox",
|
|
45
44
|
isFilterAllowed: !0,
|
|
@@ -50,34 +49,34 @@ const e = {
|
|
|
50
49
|
fetcher: "fetcherV1",
|
|
51
50
|
baseProperty: "brands"
|
|
52
51
|
}
|
|
53
|
-
}),
|
|
52
|
+
}), o.set("brand", {
|
|
54
53
|
id: "brand",
|
|
55
54
|
label: "Brand",
|
|
56
|
-
fields: [
|
|
57
|
-
|
|
58
|
-
}),
|
|
55
|
+
fields: [t.get(e.BRAND_IDS)],
|
|
56
|
+
icon: /* @__PURE__ */ l(r, {})
|
|
57
|
+
}), t.set(e.ORDER_NUMBER, {
|
|
59
58
|
id: e.ORDER_NUMBER,
|
|
60
59
|
label: "Order number",
|
|
61
60
|
filterType: "text",
|
|
62
61
|
isFilterAllowed: !0,
|
|
63
|
-
|
|
64
|
-
}),
|
|
62
|
+
icon: /* @__PURE__ */ l(a, {})
|
|
63
|
+
}), t.set(e.ORDER_CODE, {
|
|
65
64
|
id: e.ORDER_CODE,
|
|
66
65
|
label: "Order code",
|
|
67
66
|
filterType: "text",
|
|
68
67
|
isFilterAllowed: !0,
|
|
69
|
-
|
|
70
|
-
}),
|
|
68
|
+
icon: /* @__PURE__ */ l(a, {})
|
|
69
|
+
}), o.set("order", {
|
|
71
70
|
id: "order",
|
|
72
71
|
label: "Order",
|
|
73
|
-
fields: [
|
|
74
|
-
|
|
75
|
-
}),
|
|
72
|
+
fields: [t.get(e.ORDER_NUMBER), t.get(e.ORDER_CODE)],
|
|
73
|
+
icon: /* @__PURE__ */ l(d, {})
|
|
74
|
+
}), t.set(e.SHOE_SIZE, {
|
|
76
75
|
id: e.SHOE_SIZE,
|
|
77
76
|
label: "Shoe size",
|
|
78
77
|
filterType: "radio",
|
|
79
78
|
isFilterAllowed: !0,
|
|
80
|
-
|
|
79
|
+
icon: /* @__PURE__ */ l(a, {}),
|
|
81
80
|
options: [
|
|
82
81
|
{
|
|
83
82
|
label: "One",
|
|
@@ -100,34 +99,34 @@ const e = {
|
|
|
100
99
|
value: "5"
|
|
101
100
|
}
|
|
102
101
|
]
|
|
103
|
-
}),
|
|
102
|
+
}), o.set(e.SHOE, {
|
|
104
103
|
id: e.SHOE,
|
|
105
104
|
label: "Shoe",
|
|
106
|
-
fields: [
|
|
107
|
-
|
|
108
|
-
}),
|
|
105
|
+
fields: [t.get(e.SHOE_SIZE)],
|
|
106
|
+
icon: /* @__PURE__ */ l(a, {})
|
|
107
|
+
}), t.set(e.CHANNEL_ID, {
|
|
109
108
|
id: e.CHANNEL_ID,
|
|
110
109
|
label: "Channel",
|
|
111
110
|
filterType: "checkbox",
|
|
112
111
|
isFilterAllowed: !0,
|
|
113
|
-
|
|
112
|
+
icon: /* @__PURE__ */ l(a, {}),
|
|
114
113
|
fetchAsyncFilterOptions: {
|
|
115
114
|
URL: "/channels",
|
|
116
115
|
labelProperty: "name",
|
|
117
116
|
valueProperty: "id",
|
|
118
117
|
fetcher: "fetcherV1"
|
|
119
118
|
}
|
|
120
|
-
}),
|
|
119
|
+
}), o.set("channel", {
|
|
121
120
|
id: "channel",
|
|
122
121
|
label: "Store",
|
|
123
|
-
fields: [
|
|
124
|
-
|
|
125
|
-
}),
|
|
122
|
+
fields: [t.get(e.CHANNEL_ID)],
|
|
123
|
+
icon: /* @__PURE__ */ l(D, {})
|
|
124
|
+
}), t.set(e.PRODUCT_COUNT, {
|
|
126
125
|
id: e.PRODUCT_COUNT,
|
|
127
126
|
label: "Product count",
|
|
128
127
|
filterType: "number_range",
|
|
129
128
|
isFilterAllowed: !0,
|
|
130
|
-
|
|
129
|
+
icon: /* @__PURE__ */ l(a, {}),
|
|
131
130
|
options: [
|
|
132
131
|
{
|
|
133
132
|
label: "Min",
|
|
@@ -138,17 +137,17 @@ const e = {
|
|
|
138
137
|
value: "100"
|
|
139
138
|
}
|
|
140
139
|
]
|
|
141
|
-
}),
|
|
140
|
+
}), o.set(e.PRODUCT_COUNT, {
|
|
142
141
|
id: e.PRODUCT_COUNT,
|
|
143
142
|
label: "Product count",
|
|
144
|
-
fields: [
|
|
145
|
-
|
|
146
|
-
}),
|
|
143
|
+
fields: [t.get(e.PRODUCT_COUNT)],
|
|
144
|
+
icon: /* @__PURE__ */ l(n, {})
|
|
145
|
+
}), t.set(e.DUE_DATE, {
|
|
147
146
|
id: e.DUE_DATE,
|
|
148
147
|
label: "Due date",
|
|
149
148
|
filterType: "date_range",
|
|
150
149
|
isFilterAllowed: !0,
|
|
151
|
-
|
|
150
|
+
icon: /* @__PURE__ */ l(a, {}),
|
|
152
151
|
options: [
|
|
153
152
|
{
|
|
154
153
|
label: "Today",
|
|
@@ -191,32 +190,32 @@ const e = {
|
|
|
191
190
|
value: "YEAR_TO_DATE"
|
|
192
191
|
}
|
|
193
192
|
]
|
|
194
|
-
}),
|
|
193
|
+
}), o.set("due", {
|
|
195
194
|
id: "due",
|
|
196
195
|
label: "Due",
|
|
197
|
-
fields: [
|
|
198
|
-
|
|
199
|
-
}),
|
|
196
|
+
fields: [t.get(e.DUE_DATE)],
|
|
197
|
+
icon: /* @__PURE__ */ l(T, {})
|
|
198
|
+
}), t.set(e.MAX_PRODUCTS, {
|
|
200
199
|
id: e.MAX_PRODUCTS,
|
|
201
200
|
label: "Max products",
|
|
202
201
|
filterType: "number",
|
|
203
202
|
isFilterAllowed: !0,
|
|
204
|
-
|
|
205
|
-
}),
|
|
203
|
+
icon: /* @__PURE__ */ l(A, {})
|
|
204
|
+
}), o.set("max_count", {
|
|
206
205
|
id: "max_count",
|
|
207
206
|
label: "Max count",
|
|
208
|
-
fields: [
|
|
209
|
-
|
|
210
|
-
}), { FIELDS_MAP:
|
|
211
|
-
},
|
|
212
|
-
const
|
|
213
|
-
|
|
207
|
+
fields: [t.get(e.MAX_PRODUCTS)],
|
|
208
|
+
icon: /* @__PURE__ */ l(n, {})
|
|
209
|
+
}), { FIELDS_MAP: t, GROUP_MAP: o };
|
|
210
|
+
}, Z = (t) => {
|
|
211
|
+
const o = H(), _ = { ...y, ...o, ...t };
|
|
212
|
+
R.setBusinessLogic(_);
|
|
214
213
|
};
|
|
215
214
|
export {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
215
|
+
u as DATE_RANGE_FILTERS,
|
|
216
|
+
S as NUMBER_RANGE_FILTERS,
|
|
217
|
+
y as customAppBusinessLogic,
|
|
219
218
|
e as filterIds,
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
H as generateMockedFilterMaps,
|
|
220
|
+
Z as setMockedBusinessLogic
|
|
222
221
|
};
|
package/dist/index100.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("./index113.cjs"),o=e=>i.jsx(l.StyledSortableViews,{...e,onChange:t=>{t.filter(r=>{var n;return(n=r.children)==null?void 0:n.length}).length||e.onChange(t)}});exports.LegacySortableViews=o;
|
package/dist/index100.js
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { StyledSortableViews as i } from "./index113.js";
|
|
3
|
+
const h = (e) => /* @__PURE__ */ o(
|
|
4
|
+
i,
|
|
5
|
+
{
|
|
6
|
+
...e,
|
|
7
|
+
onChange: (t) => {
|
|
8
|
+
t.filter((n) => {
|
|
9
|
+
var r;
|
|
10
|
+
return (r = n.children) == null ? void 0 : r.length;
|
|
11
|
+
}).length || e.onChange(t);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
);
|
|
7
15
|
export {
|
|
8
|
-
|
|
16
|
+
h as LegacySortableViews
|
|
9
17
|
};
|
package/dist/index101.cjs
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@veeqo/ui"),o=e=>e&&e.__esModule?e:{default:e},r=o(i),d=r.default(t.BaseContainer)`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
padding: 8px;
|
|
5
|
+
padding-left: 35px;
|
|
6
|
+
margin: 8px;
|
|
7
|
+
background-color: ${t.theme.colors.neutral.grey.lightest};
|
|
8
|
+
`,l=r.default.hr`
|
|
9
|
+
width: 100%;
|
|
10
|
+
border-top: 1px solid ${t.theme.colors.neutral.grey.dark};
|
|
11
|
+
margin: 0 0 4px 0;
|
|
12
|
+
`;exports.Divider=l;exports.FixedViews=d;
|
package/dist/index101.js
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
return e;
|
|
17
|
-
};
|
|
1
|
+
import r from "styled-components";
|
|
2
|
+
import { theme as o, BaseContainer as e } from "@veeqo/ui";
|
|
3
|
+
const d = r(e)`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
padding: 8px;
|
|
7
|
+
padding-left: 35px;
|
|
8
|
+
margin: 8px;
|
|
9
|
+
background-color: ${o.colors.neutral.grey.lightest};
|
|
10
|
+
`, l = r.hr`
|
|
11
|
+
width: 100%;
|
|
12
|
+
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
13
|
+
margin: 0 0 4px 0;
|
|
14
|
+
`;
|
|
18
15
|
export {
|
|
19
|
-
l as
|
|
16
|
+
l as Divider,
|
|
17
|
+
d as FixedViews
|
|
20
18
|
};
|
package/dist/index102.cjs
CHANGED
|
@@ -1 +1,19 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("styled-components"),e=require("@veeqo/ui"),s=t=>t&&t.__esModule?t:{default:t},o=s(r),i=o.default(e.Button).attrs(()=>({role:"option",variant:"flat"}))`
|
|
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;
|
package/dist/index102.js
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import t from "styled-components";
|
|
2
|
+
import { theme as o, Card as r, Button as e } from "@veeqo/ui";
|
|
3
|
+
const n = t(e).attrs(() => ({ role: "option", variant: "flat" }))`
|
|
4
|
+
margin: ${o.sizes.xs};
|
|
5
|
+
min-width: 180px;
|
|
6
|
+
justify-content: flex-start;
|
|
7
|
+
font-size: ${o.text.body.fontSize};
|
|
8
|
+
|
|
9
|
+
&:hover {
|
|
10
|
+
background-color: ${o.colors.neutral.grey.lightest};
|
|
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`
|
|
18
|
+
width: 100%;
|
|
19
|
+
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
20
|
+
margin: 0;
|
|
21
|
+
`;
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
l as Divider,
|
|
24
|
+
n as Item,
|
|
25
|
+
a as MenuItems
|
|
23
26
|
};
|
package/dist/index103.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("react"),V=require("swr"),p=require("qs"),v=require("./index61.cjs"),E=require("./index8.cjs"),S=require("./index62.cjs"),M=require("./index55.cjs"),_=e=>e&&e.__esModule?e:{default:e},A=_(V),a=_(p),C=e=>{var f;const{Filters:{queryParams:c,activeViewId:r}}=v.useStores(),{TABLE_DATA_URL:g,PAGE_NUMBER_FILTER_ID:u,PAGE_SIZE_FILTER_ID:n}=E.useBusinessLogic(),{isLoading:w,viewsMap:l}=S.useViews(),L=R.useMemo(()=>{if(r===e){const P={...a.default.parse(c),[u]:"1",[n]:"1"};return a.default.stringify(P,{arrayFormat:"brackets"})}const s=l.get(e);if(s!=null&&s.viewFilters){const t={filter:s.viewFilters,[u]:"1",[n]:"1"};return a.default.stringify(t,{arrayFormat:"brackets"})}return""},[c,u,n,e,r,l]),d=!w&&!!r,q=d?`${g}?${L}`:null,{data:o,error:m,isLoading:F,mutate:y}=A.default(d?[q,{includeMeta:!0}]:null,([s,t])=>M.fetcherV2(s,t),{revalidateOnFocus:!1,revalidateOnReconnect:!1,keepPreviousData:!0}),i=o==null?void 0:o.meta;return{viewCounts:((f=i==null?void 0:i.page)==null?void 0:f.total_count)||"0",error:m,isLoadingViewCounts:F,mutate:y}};exports.useViewCounts=C;
|