@veeqo/transfigure 1.2.12 → 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.
Files changed (119) hide show
  1. package/dist/components/Filters/ActiveFilters/Variants/common/ActiveFilterHeader/ActiveFilterHeader.d.ts +2 -2
  2. package/dist/components/Filters/Fields/NumberRangeFilter/MuiSlider.d.ts +1 -1
  3. package/dist/components/TableManagement/components/styled.d.ts +1 -3
  4. package/dist/components/Views/OptionsDropdown/styled.d.ts +1 -1
  5. package/dist/components/Views/PillNotifications/variants/UnsavedChangesPill/UnsavedChangesPill.d.ts +1 -1
  6. package/dist/components/Views/PillNotifications/variants/styled.d.ts +1 -5
  7. package/dist/index10.cjs +1 -1
  8. package/dist/index10.js +73 -74
  9. package/dist/index100.cjs +1 -1
  10. package/dist/index100.js +15 -7
  11. package/dist/index101.cjs +12 -1
  12. package/dist/index101.js +16 -24
  13. package/dist/index102.cjs +19 -1
  14. package/dist/index102.js +23 -14
  15. package/dist/index103.cjs +1 -1
  16. package/dist/index103.js +48 -19
  17. package/dist/index104.cjs +1 -12
  18. package/dist/index104.js +29 -16
  19. package/dist/index105.cjs +1 -1
  20. package/dist/index105.js +6 -49
  21. package/dist/index106.cjs +1 -1
  22. package/dist/index106.js +23 -28
  23. package/dist/index107.cjs +77 -16
  24. package/dist/index107.js +93 -19
  25. package/dist/index108.cjs +1 -80
  26. package/dist/index108.js +2 -101
  27. package/dist/index109.cjs +1 -1
  28. package/dist/index109.js +19 -2
  29. package/dist/index110.cjs +1 -1
  30. package/dist/index110.js +7 -18
  31. package/dist/index111.cjs +1 -1
  32. package/dist/index111.js +63 -7
  33. package/dist/index112.cjs +1 -1
  34. package/dist/index112.js +26 -60
  35. package/dist/index113.cjs +13 -1
  36. package/dist/index113.js +17 -30
  37. package/dist/index114.cjs +1 -13
  38. package/dist/index114.js +24 -15
  39. package/dist/index116.cjs +1 -1
  40. package/dist/index116.js +4 -25
  41. package/dist/index117.cjs +1 -1
  42. package/dist/index117.js +63 -5
  43. package/dist/index118.cjs +1 -1
  44. package/dist/index118.js +42 -58
  45. package/dist/index13.cjs +1 -1
  46. package/dist/index13.js +1 -1
  47. package/dist/index17.cjs +1 -1
  48. package/dist/index17.js +1 -1
  49. package/dist/index19.cjs +1 -1
  50. package/dist/index19.js +18 -18
  51. package/dist/index20.cjs +1 -1
  52. package/dist/index20.js +20 -20
  53. package/dist/index21.cjs +1 -1
  54. package/dist/index21.js +21 -21
  55. package/dist/index22.cjs +1 -1
  56. package/dist/index22.js +15 -15
  57. package/dist/index25.cjs +1 -1
  58. package/dist/index25.js +1 -1
  59. package/dist/index30.cjs +1 -1
  60. package/dist/index30.js +1 -1
  61. package/dist/index33.cjs +1 -1
  62. package/dist/index33.js +8 -9
  63. package/dist/index34.cjs +1 -1
  64. package/dist/index34.js +1 -1
  65. package/dist/index35.cjs +1 -1
  66. package/dist/index35.js +5 -5
  67. package/dist/index36.cjs +1 -1
  68. package/dist/index36.js +2 -2
  69. package/dist/index37.cjs +1 -1
  70. package/dist/index37.js +11 -12
  71. package/dist/index39.cjs +1 -1
  72. package/dist/index39.js +1 -1
  73. package/dist/index40.cjs +1 -1
  74. package/dist/index40.js +1 -1
  75. package/dist/index41.cjs +1 -1
  76. package/dist/index41.js +1 -1
  77. package/dist/index42.cjs +1 -1
  78. package/dist/index42.js +11 -22
  79. package/dist/index44.cjs +1 -1
  80. package/dist/index44.js +1 -1
  81. package/dist/index46.cjs +1 -1
  82. package/dist/index46.js +24 -25
  83. package/dist/index66.cjs +1 -1
  84. package/dist/index66.js +1 -1
  85. package/dist/index78.cjs +1 -1
  86. package/dist/index78.js +1 -1
  87. package/dist/index80.cjs +1 -1
  88. package/dist/index80.js +1 -1
  89. package/dist/index84.cjs +1 -1
  90. package/dist/index84.js +1 -1
  91. package/dist/index85.cjs +1 -1
  92. package/dist/index85.js +1 -1
  93. package/dist/index87.cjs +1 -1
  94. package/dist/index87.js +2 -118
  95. package/dist/index88.cjs +1 -1
  96. package/dist/index88.js +115 -18
  97. package/dist/index91.cjs +1 -1
  98. package/dist/index91.js +13 -2
  99. package/dist/index92.cjs +104 -1
  100. package/dist/index92.js +119 -13
  101. package/dist/index93.cjs +1 -104
  102. package/dist/index93.js +65 -117
  103. package/dist/index94.cjs +1 -1
  104. package/dist/index94.js +23 -63
  105. package/dist/index95.cjs +1 -1
  106. package/dist/index95.js +2 -29
  107. package/dist/index96.cjs +1 -1
  108. package/dist/index96.js +41 -2
  109. package/dist/index97.cjs +1 -1
  110. package/dist/index97.js +9 -39
  111. package/dist/index98.cjs +1 -1
  112. package/dist/index98.js +17 -10
  113. package/dist/index99.cjs +1 -1
  114. package/dist/index99.js +21 -18
  115. package/dist/types.d.ts +2 -2
  116. package/package.json +1 -1
  117. package/dist/components/TableManagement/TableManagementGlyph.d.ts +0 -4
  118. package/dist/index120.cjs +0 -1
  119. 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
- glyph: ReactElement;
4
+ icon: ReactElement;
5
5
  };
6
- export declare const ActiveFilterHeader: ({ filterLabel, glyph }: Props) => JSX.Element;
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" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "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" | "placeholder" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "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">>;
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<({ name, size, color, className, ariaLabel, style, onClick, }: import('@veeqo/components/dist/components/common/Glyph/Glyph').GlyphProps) => React.JSX.Element, any, {
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
- }, "variant" | "role">;
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;
@@ -3,5 +3,5 @@ type Props = {
3
3
  onSaveDraft: () => void;
4
4
  viewName?: string;
5
5
  };
6
- export declare const UnsavedChangesPill: ({ onDiscard, viewName, onSaveDraft, }: Props) => JSX.Element;
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 t=require("react/jsx-runtime"),a=require("@veeqo/ui"),c=require("./index2.cjs"),T=require("./index9.cjs"),o=require("@veeqo/components"),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"},r=[e.DUE_DATE],_=[e.PRODUCT_COUNT],D="search.all",A="sort",n=a.DateRanges.TODAY,p=a.getDateRange(n),u=a.DATE_RANGE_OPTIONS.find(({value:l})=>l===n),R="25",O="1",m="order",S=!1,h=200,b=[10,25,50,100],y="page[number]",L="page[size]",g=["order_id","shipping_rates","package","action"],C=["price"],N="api/v2/orders",U=c.SortingMode.MONOLITH,i={DATE_RANGE_FILTERS:r,SEARCH_FILTER_ID:D,SORT_FILTER_ID:A,NUMBER_RANGE_FILTERS:_,DEFAULT_DATE_SELECTION:n,DEFAULT_DATE_RANGE:p,DEFAULT_DATE_PRESET:u,DEFAULT_PAGE_SIZE:R,DEFAULT_PAGE_NUMBER:O,VIEW_TYPE:m,IS_VIEWS_READONLY:S,FILTERS_DEBOUNCE_INTERVAL_MS:h,PAGE_SIZE_OPTIONS:b,PAGE_NUMBER_FILTER_ID:y,PAGE_SIZE_FILTER_ID:L,DEFAULT_VISIBLE_COLUMNS:g,DEFAULT_HIDDEN_COLUMNS:C,TABLE_DATA_URL:N,SORTING_MODE:U},E=()=>{const l=new Map,s=new Map;return l.set(e.BRAND_IDS,{id:e.BRAND_IDS,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"brand"}),label:"Brand",filterType:"checkbox",isFilterAllowed:!0,fetchAsyncFilterOptions:{URL:"/catalog/brands",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1",baseProperty:"brands"}}),s.set("brand",{id:"brand",label:"Brand",fields:[l.get(e.BRAND_IDS)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"brand"})}),l.set(e.ORDER_NUMBER,{id:e.ORDER_NUMBER,label:"Order number",filterType:"text",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),l.set(e.ORDER_CODE,{id:e.ORDER_CODE,label:"Order code",filterType:"text",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),s.set("order",{id:"order",label:"Order",fields:[l.get(e.ORDER_NUMBER),l.get(e.ORDER_CODE)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"product-menu"})}),l.set(e.SHOE_SIZE,{id:e.SHOE_SIZE,label:"Shoe size",filterType:"radio",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"One",value:"1"},{label:"Two",value:"2"},{label:"Three",value:"3"},{label:"Four",value:"4"},{label:"Five",value:"5"}]}),s.set(e.SHOE,{id:e.SHOE,label:"Shoe",fields:[l.get(e.SHOE_SIZE)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),l.set(e.CHANNEL_ID,{id:e.CHANNEL_ID,label:"Channel",filterType:"checkbox",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),fetchAsyncFilterOptions:{URL:"/channels",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1"}}),s.set("channel",{id:"channel",label:"Store",fields:[l.get(e.CHANNEL_ID)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"fba"})}),l.set(e.PRODUCT_COUNT,{id:e.PRODUCT_COUNT,label:"Product count",filterType:"number_range",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"Min",value:"0"},{label:"Max",value:"100"}]}),s.set(e.PRODUCT_COUNT,{id:e.PRODUCT_COUNT,label:"Product count",fields:[l.get(e.PRODUCT_COUNT)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"reports"})}),l.set(e.DUE_DATE,{id:e.DUE_DATE,label:"Due date",filterType:"date_range",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),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"}]}),s.set("due",{id:"due",label:"Due",fields:[l.get(e.DUE_DATE)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"date"})}),l.set(e.MAX_PRODUCTS,{id:e.MAX_PRODUCTS,label:"Max products",filterType:"number",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"products"})}),s.set("max_count",{id:"max_count",label:"Max count",fields:[l.get(e.MAX_PRODUCTS)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"reports"})}),{FIELDS_MAP:l,GROUP_MAP:s}},I=l=>{const s=E(),d={...i,...s,...l};T.BusinessLogicManager.setBusinessLogic(d)};exports.DATE_RANGE_FILTERS=r;exports.NUMBER_RANGE_FILTERS=_;exports.customAppBusinessLogic=i;exports.filterIds=e;exports.generateMockedFilterMaps=E;exports.setMockedBusinessLogic=I;
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 t } from "react/jsx-runtime";
2
- import { DATE_RANGE_OPTIONS as _, getDateRange as n, DateRanges as E } from "@veeqo/ui";
3
- import { SortingMode as i } from "./index2.js";
4
- import { BusinessLogicManager as d } from "./index9.js";
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
- }, D = [e.DUE_DATE], T = [e.PRODUCT_COUNT], p = "search.all", c = "sort", s = E.TODAY, A = n(s), O = _.find(
17
- ({ value: l }) => l === s
18
- ), R = "25", u = "1", h = "order", S = !1, b = 200, y = [10, 25, 50, 100], L = "page[number]", N = "page[size]", U = ["order_id", "shipping_rates", "package", "action"], g = ["price"], m = "api/v2/orders", I = i.MONOLITH, f = {
19
- DATE_RANGE_FILTERS: D,
20
- SEARCH_FILTER_ID: p,
21
- SORT_FILTER_ID: c,
22
- NUMBER_RANGE_FILTERS: T,
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: A,
25
- DEFAULT_DATE_PRESET: O,
26
- DEFAULT_PAGE_SIZE: R,
27
- DEFAULT_PAGE_NUMBER: u,
28
- VIEW_TYPE: h,
29
- IS_VIEWS_READONLY: S,
30
- FILTERS_DEBOUNCE_INTERVAL_MS: b,
31
- PAGE_SIZE_OPTIONS: y,
32
- PAGE_NUMBER_FILTER_ID: L,
33
- PAGE_SIZE_FILTER_ID: N,
34
- DEFAULT_VISIBLE_COLUMNS: U,
35
- DEFAULT_HIDDEN_COLUMNS: g,
36
- TABLE_DATA_URL: m,
37
- SORTING_MODE: I
38
- }, M = () => {
39
- const l = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
40
- return l.set(e.BRAND_IDS, {
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
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "brand" }),
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
- }), r.set("brand", {
52
+ }), o.set("brand", {
54
53
  id: "brand",
55
54
  label: "Brand",
56
- fields: [l.get(e.BRAND_IDS)],
57
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "brand" })
58
- }), l.set(e.ORDER_NUMBER, {
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
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" })
64
- }), l.set(e.ORDER_CODE, {
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
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" })
70
- }), r.set("order", {
68
+ icon: /* @__PURE__ */ l(a, {})
69
+ }), o.set("order", {
71
70
  id: "order",
72
71
  label: "Order",
73
- fields: [l.get(e.ORDER_NUMBER), l.get(e.ORDER_CODE)],
74
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "product-menu" })
75
- }), l.set(e.SHOE_SIZE, {
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
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" }),
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
- }), r.set(e.SHOE, {
102
+ }), o.set(e.SHOE, {
104
103
  id: e.SHOE,
105
104
  label: "Shoe",
106
- fields: [l.get(e.SHOE_SIZE)],
107
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" })
108
- }), l.set(e.CHANNEL_ID, {
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
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" }),
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
- }), r.set("channel", {
119
+ }), o.set("channel", {
121
120
  id: "channel",
122
121
  label: "Store",
123
- fields: [l.get(e.CHANNEL_ID)],
124
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "fba" })
125
- }), l.set(e.PRODUCT_COUNT, {
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
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" }),
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
- }), r.set(e.PRODUCT_COUNT, {
140
+ }), o.set(e.PRODUCT_COUNT, {
142
141
  id: e.PRODUCT_COUNT,
143
142
  label: "Product count",
144
- fields: [l.get(e.PRODUCT_COUNT)],
145
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "reports" })
146
- }), l.set(e.DUE_DATE, {
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
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" }),
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
- }), r.set("due", {
193
+ }), o.set("due", {
195
194
  id: "due",
196
195
  label: "Due",
197
- fields: [l.get(e.DUE_DATE)],
198
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "date" })
199
- }), l.set(e.MAX_PRODUCTS, {
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
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "products" })
205
- }), r.set("max_count", {
203
+ icon: /* @__PURE__ */ l(A, {})
204
+ }), o.set("max_count", {
206
205
  id: "max_count",
207
206
  label: "Max count",
208
- fields: [l.get(e.MAX_PRODUCTS)],
209
- glyph: /* @__PURE__ */ t(a.Glyph, { name: "reports" })
210
- }), { FIELDS_MAP: l, GROUP_MAP: r };
211
- }, B = (l) => {
212
- const r = M(), o = { ...f, ...r, ...l };
213
- d.setBusinessLogic(o);
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
- D as DATE_RANGE_FILTERS,
217
- T as NUMBER_RANGE_FILTERS,
218
- f as customAppBusinessLogic,
215
+ u as DATE_RANGE_FILTERS,
216
+ S as NUMBER_RANGE_FILTERS,
217
+ y as customAppBusinessLogic,
219
218
  e as filterIds,
220
- M as generateMockedFilterMaps,
221
- B as setMockedBusinessLogic
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("./index79.cjs"),e=i.createAllView(),t={fixedViews:[e],customViews:[],viewsMap:new Map([[e.id,e]])};exports.INITIAL_VIEWS_STATE=t;
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 { createAllView as i } from "./index79.js";
2
- const e = i(), s = {
3
- fixedViews: [e],
4
- customViews: [],
5
- viewsMap: /* @__PURE__ */ new Map([[e.id, e]])
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
- s as INITIAL_VIEWS_STATE
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 d=require("react/jsx-runtime"),n=require("react"),l=require("./index119.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;
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,26 +1,18 @@
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 "./index119.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
- };
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
+ `;
24
15
  export {
25
- R as AdaptiveHeightContainer
16
+ l as Divider,
17
+ d as FixedViews
26
18
  };
package/dist/index102.cjs CHANGED
@@ -1 +1,19 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("./index114.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;
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,17 +1,26 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { StyledSortableViews as i } from "./index114.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
- }
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
13
  }
14
- );
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
+ `;
15
22
  export {
16
- h as LegacySortableViews
23
+ l as Divider,
24
+ n as Item,
25
+ a as MenuItems
17
26
  };
package/dist/index103.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@veeqo/ui"),i=require("./index108.cjs"),n=r.theme.colors.secondary.blue.base,a=({onClick:t})=>e.jsx(i.Notification,{children:e.jsx(i.Pill,{children:e.jsxs(r.Stack,{direction:"horizontal",alignY:"center",children:[e.jsx(i.Glyph,{ariaLabel:"info",name:"info",color:n}),e.jsxs(i.Wrap,{children:[e.jsx(i.Text,{variant:"body",margin:"0 4px 0 0",children:"You are currently in a"}),e.jsx(i.Bold,{variant:"bodyBoldDark",children:"draft view"}),e.jsx(i.Hint,{variant:"hintText",children:"Apply filters and save these by creating a custom view"})]}),e.jsx(i.Button,{variant:"primary",onClick:t,size:"sm",children:"Create view"})]})})});exports.DraftPill=a;
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;