@elliemae/ds-data-table-filters 3.70.0-next.7 → 3.70.0-next.70
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/cjs/package.json +1 -4
- package/dist/cjs/parts/DateRangeFilter/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/FilterPopover/FilterPopover.js +8 -14
- package/dist/cjs/parts/FilterPopover/FilterPopover.js.map +2 -2
- package/dist/cjs/parts/FilterPopover/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/MultiSelectFilter/MultiSelectFilter.js +11 -2
- package/dist/cjs/parts/MultiSelectFilter/MultiSelectFilter.js.map +2 -2
- package/dist/cjs/parts/MultiSelectFilter/multiSelectFilterFn.js.map +1 -1
- package/dist/cjs/parts/MultiSelectFilter/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/NumberRangeFilter/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/SingleDateFilter/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/SingleSelectFilter/SingleSelectFilter.js +2 -2
- package/dist/cjs/parts/SingleSelectFilter/SingleSelectFilter.js.map +2 -2
- package/dist/cjs/parts/SingleSelectFilter/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/SingleSelectFilter/singleSelectFilterFn.js.map +1 -1
- package/dist/esm/package.json +1 -4
- package/dist/esm/parts/DateRangeFilter/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/FilterPopover/FilterPopover.js +9 -15
- package/dist/esm/parts/FilterPopover/FilterPopover.js.map +2 -2
- package/dist/esm/parts/FilterPopover/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/MultiSelectFilter/MultiSelectFilter.js +11 -2
- package/dist/esm/parts/MultiSelectFilter/MultiSelectFilter.js.map +2 -2
- package/dist/esm/parts/MultiSelectFilter/multiSelectFilterFn.js.map +1 -1
- package/dist/esm/parts/MultiSelectFilter/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/NumberRangeFilter/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/SingleDateFilter/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/SingleSelectFilter/SingleSelectFilter.js +2 -2
- package/dist/esm/parts/SingleSelectFilter/SingleSelectFilter.js.map +2 -2
- package/dist/esm/parts/SingleSelectFilter/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/SingleSelectFilter/singleSelectFilterFn.js.map +1 -1
- package/dist/types/parts/MultiSelectFilter/multiSelectFilterFn.d.ts +2 -2
- package/dist/types/parts/MultiSelectFilter/react-desc-prop-types.d.ts +7 -7
- package/dist/types/parts/SingleSelectFilter/react-desc-prop-types.d.ts +7 -7
- package/dist/types/parts/SingleSelectFilter/singleSelectFilterFn.d.ts +2 -2
- package/package.json +19 -19
package/dist/cjs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/DateRangeFilter/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport type { TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace DateRangeFilterT {\n export interface RequiredProps {\n filterValue: { startDate: string; endDate: string } | null;\n onValueChange: (value: { startDate: string; endDate: string }) => void;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n interface DateRangePillProps {\n columnHeader: string;\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n value: { startDate: string; endDate: string };\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: { startDate: string; endDate: string } },\n ) => void;\n }\n}\n\nexport const DateRangeFilterPropTypes: DSPropTypesSchema<DateRangeFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('Date range selected value').isRequired,\n onValueChange: PropTypes.func.description('Date range on change event').isRequired,\n};\n\nexport const DateRangeFilterPropTypesSchema =\n DateRangeFilterPropTypes as unknown as WeakValidationMap<DateRangeFilterT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAAuE;AAyChE,MAAM,2BAAsE;AAAA,EACjF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,kCAAU,OAAO,YAAY,2BAA2B,EAAE;AAAA,EACvE,eAAe,kCAAU,KAAK,YAAY,4BAA4B,EAAE;AAC1E;AAEO,MAAM,iCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -52,6 +52,10 @@ const FilterPopover = (props) => {
|
|
|
52
52
|
const { referenceElement, filterMinWidth, shouldShowFilter, children, FilterIcon } = props;
|
|
53
53
|
const ref = import_react.default.useRef(null);
|
|
54
54
|
const [showPopover, setShowPopover] = import_react.default.useState(false);
|
|
55
|
+
const handleEscape = (0, import_react.useCallback)(() => {
|
|
56
|
+
setShowPopover(false);
|
|
57
|
+
ref.current?.focus();
|
|
58
|
+
}, []);
|
|
55
59
|
const {
|
|
56
60
|
refs,
|
|
57
61
|
floatingStyles,
|
|
@@ -59,24 +63,15 @@ const FilterPopover = (props) => {
|
|
|
59
63
|
isOpen: isFloatingOpen
|
|
60
64
|
} = (0, import_ds_floating_context.useFloatingContext)({
|
|
61
65
|
externallyControlledIsOpen: showPopover,
|
|
66
|
+
externalReferenceElement: referenceElement,
|
|
62
67
|
withoutPortal: true,
|
|
63
68
|
withoutAnimation: true,
|
|
64
69
|
placement: "bottom-end",
|
|
65
70
|
placementOrderPreference: ["bottom-end", "top-end"],
|
|
66
|
-
customOffset: [0, 0]
|
|
71
|
+
customOffset: [0, 0],
|
|
72
|
+
closeOnEscape: true,
|
|
73
|
+
onEscape: handleEscape
|
|
67
74
|
});
|
|
68
|
-
(0, import_react.useEffect)(() => {
|
|
69
|
-
if (referenceElement) refs.setReference(referenceElement);
|
|
70
|
-
}, [referenceElement, refs]);
|
|
71
|
-
const handleOnKeyDown = (0, import_react.useCallback)(
|
|
72
|
-
(e) => {
|
|
73
|
-
if (e.key === "Escape") {
|
|
74
|
-
setShowPopover(false);
|
|
75
|
-
ref.current?.focus();
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
[ref]
|
|
79
|
-
);
|
|
80
75
|
const config = (0, import_react.useMemo)(
|
|
81
76
|
() => ({
|
|
82
77
|
onBlur: () => {
|
|
@@ -109,7 +104,6 @@ const FilterPopover = (props) => {
|
|
|
109
104
|
minWidth: filterMinWidth ?? referenceElement.offsetWidth ?? "0px"
|
|
110
105
|
},
|
|
111
106
|
context,
|
|
112
|
-
onKeyDown: handleOnKeyDown,
|
|
113
107
|
children
|
|
114
108
|
}
|
|
115
109
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/FilterPopover/FilterPopover.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React, { useCallback,
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["import React, { useCallback, useMemo } from 'react';\nimport { Grid } from '@elliemae/ds-grid';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { useOnBlurOut, type DSHooksUseOBlurOutT } from '@elliemae/ds-hooks-on-blur-out';\nimport { useFloatingContext, FloatingWrapper } from '@elliemae/ds-floating-context';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { SearchXsmall } from '@elliemae/ds-icons';\nimport { styled } from '@elliemae/ds-system';\nimport { type FilterPopoverT, FilterPopoverPropTypesSchema } from './react-desc-prop-types.js';\nimport { FILTER_POPOVER_SLOTS, FilterPopoverName } from './constants/index.js';\n\ninterface ConfigT {\n onBlur: DSHooksUseOBlurOutT.OnBlurCb;\n}\n\nconst StyledWrapper = styled(Grid, { name: FilterPopoverName, slot: FILTER_POPOVER_SLOTS.ROOT })`\n cursor: initial;\n`;\nconst StyledButton = styled(DSButtonV2, { name: FilterPopoverName, slot: FILTER_POPOVER_SLOTS.FILTER_ICON_BUTTON })``;\n\nconst FilterPopover: React.ComponentType<FilterPopoverT.Props> = (props) => {\n const { referenceElement, filterMinWidth, shouldShowFilter, children, FilterIcon } = props;\n const ref = React.useRef<HTMLButtonElement>(null);\n const [showPopover, setShowPopover] = React.useState(false);\n\n const handleEscape = useCallback(() => {\n setShowPopover(false);\n ref.current?.focus();\n }, []);\n\n const {\n refs,\n floatingStyles,\n context,\n isOpen: isFloatingOpen,\n } = useFloatingContext({\n externallyControlledIsOpen: showPopover,\n externalReferenceElement: referenceElement,\n withoutPortal: true,\n withoutAnimation: true,\n placement: 'bottom-end',\n placementOrderPreference: ['bottom-end', 'top-end'],\n customOffset: [0, 0],\n closeOnEscape: true,\n onEscape: handleEscape,\n });\n\n const config: ConfigT = useMemo(\n () => ({\n onBlur: () => {\n setShowPopover(false);\n },\n }),\n [],\n );\n const handleParentOnBlur = useOnBlurOut(config);\n\n if (!shouldShowFilter && !showPopover) return null;\n\n return (\n <StyledWrapper onBlur={handleParentOnBlur} tabIndex={-1}>\n <StyledButton\n buttonType=\"icon\"\n innerRef={ref}\n aria-label=\"filter\"\n size=\"s\"\n onClick={() => setShowPopover(!showPopover)}\n >\n {FilterIcon ? <FilterIcon /> : <SearchXsmall size=\"s\" />}\n </StyledButton>\n {referenceElement && (\n <FloatingWrapper\n innerRef={refs.setFloating}\n isOpen={isFloatingOpen}\n floatingStyles={{\n ...floatingStyles,\n minWidth: filterMinWidth ?? referenceElement.offsetWidth ?? '0px',\n }}\n context={context}\n >\n {children}\n </FloatingWrapper>\n )}\n </StyledWrapper>\n );\n};\n\nFilterPopover.displayName = 'FilterPopover';\nconst FilterPopoverWithSchema = describe(FilterPopover);\nFilterPopoverWithSchema.propTypes = FilterPopoverPropTypesSchema;\n\nexport { FilterPopover, FilterPopoverWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD4DnB;AA5DJ,mBAA4C;AAC5C,qBAAqB;AACrB,8BAAyB;AACzB,kCAAuD;AACvD,iCAAoD;AACpD,0BAA2B;AAC3B,sBAA6B;AAC7B,uBAAuB;AACvB,mCAAkE;AAClE,uBAAwD;AAMxD,MAAM,oBAAgB,yBAAO,qBAAM,EAAE,MAAM,oCAAmB,MAAM,sCAAqB,KAAK,CAAC;AAAA;AAAA;AAG/F,MAAM,mBAAe,yBAAO,gCAAY,EAAE,MAAM,oCAAmB,MAAM,sCAAqB,mBAAmB,CAAC;AAElH,MAAM,gBAA2D,CAAC,UAAU;AAC1E,QAAM,EAAE,kBAAkB,gBAAgB,kBAAkB,UAAU,WAAW,IAAI;AACrF,QAAM,MAAM,aAAAA,QAAM,OAA0B,IAAI;AAChD,QAAM,CAAC,aAAa,cAAc,IAAI,aAAAA,QAAM,SAAS,KAAK;AAE1D,QAAM,mBAAe,0BAAY,MAAM;AACrC,mBAAe,KAAK;AACpB,QAAI,SAAS,MAAM;AAAA,EACrB,GAAG,CAAC,CAAC;AAEL,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,EACV,QAAI,+CAAmB;AAAA,IACrB,4BAA4B;AAAA,IAC5B,0BAA0B;AAAA,IAC1B,eAAe;AAAA,IACf,kBAAkB;AAAA,IAClB,WAAW;AAAA,IACX,0BAA0B,CAAC,cAAc,SAAS;AAAA,IAClD,cAAc,CAAC,GAAG,CAAC;AAAA,IACnB,eAAe;AAAA,IACf,UAAU;AAAA,EACZ,CAAC;AAED,QAAM,aAAkB;AAAA,IACtB,OAAO;AAAA,MACL,QAAQ,MAAM;AACZ,uBAAe,KAAK;AAAA,MACtB;AAAA,IACF;AAAA,IACA,CAAC;AAAA,EACH;AACA,QAAM,yBAAqB,0CAAa,MAAM;AAE9C,MAAI,CAAC,oBAAoB,CAAC,YAAa,QAAO;AAE9C,SACE,6CAAC,iBAAc,QAAQ,oBAAoB,UAAU,IACnD;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,YAAW;AAAA,QACX,UAAU;AAAA,QACV,cAAW;AAAA,QACX,MAAK;AAAA,QACL,SAAS,MAAM,eAAe,CAAC,WAAW;AAAA,QAEzC,uBAAa,4CAAC,cAAW,IAAK,4CAAC,gCAAa,MAAK,KAAI;AAAA;AAAA,IACxD;AAAA,IACC,oBACC;AAAA,MAAC;AAAA;AAAA,QACC,UAAU,KAAK;AAAA,QACf,QAAQ;AAAA,QACR,gBAAgB;AAAA,UACd,GAAG;AAAA,UACH,UAAU,kBAAkB,iBAAiB,eAAe;AAAA,QAC9D;AAAA,QACA;AAAA,QAEC;AAAA;AAAA,IACH;AAAA,KAEJ;AAEJ;AAEA,cAAc,cAAc;AAC5B,MAAM,8BAA0B,kCAAS,aAAa;AACtD,wBAAwB,YAAY;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/FilterPopover/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport type { XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport { type SvgIconT } from '@elliemae/ds-icons';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace FilterPopoverT {\n export interface RequiredProps {\n referenceElement: HTMLElement | null;\n children: React.ReactNode;\n shouldShowFilter: boolean;\n }\n\n export interface FilterPopoverT {}\n\n export interface DefaultProps {}\n\n export interface OptionalProps {\n filterMinWidth?: number;\n FilterIcon?: React.ComponentType<SvgIconT.Props>;\n }\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n // Omit<GlobalAttributesT<HTMLButtonElement>, keyof RequiredProps | keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n // Omit<GlobalAttributesT<HTMLButtonElement>, keyof RequiredProps | keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const FilterPopoverPropTypes: DSPropTypesSchema<FilterPopoverT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n referenceElement: PropTypes.object.description('Reference element for popover').isRequired,\n children: PropTypes.node.description('Children for popover').isRequired,\n shouldShowFilter: PropTypes.bool.description('Show filter or not').isRequired,\n filterMinWidth: PropTypes.number.description('Filter min width'),\n FilterIcon: PropTypes.node.description('Filter icon'),\n};\n\nexport const FilterPopoverPropTypesSchema =\n FilterPopoverPropTypes as unknown as WeakValidationMap<FilterPopoverT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAAuE;AAqChE,MAAM,yBAAkE;AAAA,EAC7E,GAAG;AAAA,EACH,GAAG;AAAA,EACH,kBAAkB,kCAAU,OAAO,YAAY,+BAA+B,EAAE;AAAA,EAChF,UAAU,kCAAU,KAAK,YAAY,sBAAsB,EAAE;AAAA,EAC7D,kBAAkB,kCAAU,KAAK,YAAY,oBAAoB,EAAE;AAAA,EACnE,gBAAgB,kCAAU,OAAO,YAAY,kBAAkB;AAAA,EAC/D,YAAY,kCAAU,KAAK,YAAY,aAAa;AACtD;AAEO,MAAM,+BACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -37,7 +37,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
37
37
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
38
38
|
var import_ds_grid = require("@elliemae/ds-grid");
|
|
39
39
|
var import_ds_system = require("@elliemae/ds-system");
|
|
40
|
-
var
|
|
40
|
+
var import_ds_form_multi_combobox = require("@elliemae/ds-form-multi-combobox");
|
|
41
41
|
var import_react_desc_prop_types = require("./react-desc-prop-types.js");
|
|
42
42
|
var import_constants = require("./constants/index.js");
|
|
43
43
|
const StyledWrapper = (0, import_ds_system.styled)(import_ds_grid.Grid, {
|
|
@@ -46,7 +46,16 @@ const StyledWrapper = (0, import_ds_system.styled)(import_ds_grid.Grid, {
|
|
|
46
46
|
})``;
|
|
47
47
|
const MultiSelectFilter = (props) => {
|
|
48
48
|
const { filterValue, onValueChange, options } = props;
|
|
49
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyledWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
49
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyledWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
50
|
+
import_ds_form_multi_combobox.DSMultiComboBox,
|
|
51
|
+
{
|
|
52
|
+
inline: true,
|
|
53
|
+
autoFocus: true,
|
|
54
|
+
onChange: onValueChange,
|
|
55
|
+
selectedValues: filterValue ?? [],
|
|
56
|
+
allOptions: options
|
|
57
|
+
}
|
|
58
|
+
) });
|
|
50
59
|
};
|
|
51
60
|
MultiSelectFilter.displayName = "MultiSelectFilter";
|
|
52
61
|
const MultiSelectFilterWithSchema = (0, import_ds_props_helpers.describe)(MultiSelectFilter);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/MultiSelectFilter/MultiSelectFilter.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADkBjB;AAjBN,8BAAyB;AACzB,qBAAqB;AACrB,uBAAuB;AACvB,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport { DSMultiComboBox } from '@elliemae/ds-form-multi-combobox';\nimport { type MultiSelectFilterT, MultiSelectFilterPropTypesSchema } from './react-desc-prop-types.js';\nimport { MULTI_SELECT_FILTER_SLOTS, MultiSelectFilterName } from './constants/index.js';\n\nconst StyledWrapper = styled(Grid, {\n name: MultiSelectFilterName,\n slot: MULTI_SELECT_FILTER_SLOTS.ROOT,\n})``;\n\nconst MultiSelectFilter: React.ComponentType<MultiSelectFilterT.Props> = (props) => {\n const { filterValue, onValueChange, options } = props;\n\n return (\n <StyledWrapper>\n <DSMultiComboBox\n inline\n autoFocus\n onChange={onValueChange}\n selectedValues={filterValue ?? []}\n allOptions={options}\n />\n </StyledWrapper>\n );\n};\n\nMultiSelectFilter.displayName = 'MultiSelectFilter';\nconst MultiSelectFilterWithSchema = describe(MultiSelectFilter);\nMultiSelectFilterWithSchema.propTypes = MultiSelectFilterPropTypesSchema;\n\nexport { MultiSelectFilter, MultiSelectFilterWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADkBjB;AAjBN,8BAAyB;AACzB,qBAAqB;AACrB,uBAAuB;AACvB,oCAAgC;AAChC,mCAA0E;AAC1E,uBAAiE;AAEjE,MAAM,oBAAgB,yBAAO,qBAAM;AAAA,EACjC,MAAM;AAAA,EACN,MAAM,2CAA0B;AAClC,CAAC;AAED,MAAM,oBAAmE,CAAC,UAAU;AAClF,QAAM,EAAE,aAAa,eAAe,QAAQ,IAAI;AAEhD,SACE,4CAAC,iBACC;AAAA,IAAC;AAAA;AAAA,MACC,QAAM;AAAA,MACN,WAAS;AAAA,MACT,UAAU;AAAA,MACV,gBAAgB,eAAe,CAAC;AAAA,MAChC,YAAY;AAAA;AAAA,EACd,GACF;AAEJ;AAEA,kBAAkB,cAAc;AAChC,MAAM,kCAA8B,kCAAS,iBAAiB;AAC9D,4BAA4B,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/MultiSelectFilter/multiSelectFilterFn.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { type
|
|
4
|
+
"sourcesContent": ["import { type DSComboboxMultiT } from '@elliemae/ds-form-multi-combobox';\n\nexport const multiSelectFilterFn = (\n datum: Record<string, unknown>,\n filterValue: DSComboboxMultiT.SelectionableOptions[] | null,\n filterKey: string,\n) => {\n if (filterValue === null) return true;\n if (filterValue.length === 0) return true;\n return filterValue.some((position) => position.label === datum[filterKey]);\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEhB,MAAM,sBAAsB,CACjC,OACA,aACA,cACG;AACH,MAAI,gBAAgB,KAAM,QAAO;AACjC,MAAI,YAAY,WAAW,EAAG,QAAO;AACrC,SAAO,YAAY,KAAK,CAAC,aAAa,SAAS,UAAU,MAAM,SAAS,CAAC;AAC3E;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/MultiSelectFilter/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,8BAAuE;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { type DSComboboxMultiT } from '@elliemae/ds-form-multi-combobox';\nimport type { DSPropTypesSchema, GlobalAttributesT, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace MultiSelectFilterT {\n export interface RequiredProps {\n filterValue: DSComboboxMultiT.SelectionableOptions[] | null;\n onValueChange: DSComboboxMultiT.RequiredProps['onChange'];\n options: DSComboboxMultiT.ItemOption[];\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface MultiSelectPillProps {\n columnHeader: string;\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n value: DSComboboxMultiT.SelectionableOptions[];\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: DSComboboxMultiT.SelectionableOptions[] },\n ) => void;\n }\n}\n\nexport const MultiSelectFilterPropTypes: DSPropTypesSchema<MultiSelectFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('Multi Combobox selected value').isRequired,\n onValueChange: PropTypes.func.description('Multi Combobox on change event').isRequired,\n options: PropTypes.array.description('Multi Combobox options').isRequired,\n};\n\nexport const MultiSelectFilterPropTypesSchema =\n MultiSelectFilterPropTypes as unknown as WeakValidationMap<MultiSelectFilterT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,8BAAuE;AA0ChE,MAAM,6BAA0E;AAAA,EACrF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,kCAAU,OAAO,YAAY,+BAA+B,EAAE;AAAA,EAC3E,eAAe,kCAAU,KAAK,YAAY,gCAAgC,EAAE;AAAA,EAC5E,SAAS,kCAAU,MAAM,YAAY,wBAAwB,EAAE;AACjE;AAEO,MAAM,mCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/NumberRangeFilter/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nimport type { TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nexport declare namespace NumberRangeFilterT {\n export interface RequiredProps {\n filterValue: {\n from: number | null;\n to: number | null;\n } | null;\n onValueChange: (value: { from: number | null; to: number | null }) => void;\n }\n\n interface RangeFilterProps {}\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface NumberRangePillProps {\n columnHeader: string;\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n value: {\n from: number | null;\n to: number | null;\n };\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: { from: number | null; to: number | null } },\n ) => void;\n }\n}\n\nexport const NumberRangeFilterPropTypes: DSPropTypesSchema<NumberRangeFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('the current values of the filter').isRequired,\n onValueChange: PropTypes.func.description('callback to be called when any value changes').isRequired,\n};\n\nexport const NumberRangeFilterPropTypesSchema =\n NumberRangeFilterPropTypes as unknown as WeakValidationMap<NumberRangeFilterT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAAuE;AAgDhE,MAAM,6BAA0E;AAAA,EACrF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,kCAAU,OAAO,YAAY,kCAAkC,EAAE;AAAA,EAC9E,eAAe,kCAAU,KAAK,YAAY,8CAA8C,EAAE;AAC5F;AAEO,MAAM,mCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/SingleDateFilter/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport type { TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace SingleDateFilterT {\n export interface RequiredProps {\n filterValue: string | null;\n onValueChange: (value: string) => void;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface SingleDatePillProps {\n columnHeader: string;\n value: string;\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: string },\n ) => void;\n }\n}\n\nexport const SingleDateFilterPropTypes: DSPropTypesSchema<SingleDateFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('Single Date selected value').isRequired,\n onValueChange: PropTypes.func.description('Single Date on change event').isRequired,\n};\n\nexport const SingleDateFilterPropTypesSchema =\n SingleDateFilterPropTypes as unknown as WeakValidationMap<SingleDateFilterT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAAuE;AAyChE,MAAM,4BAAwE;AAAA,EACnF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,kCAAU,OAAO,YAAY,4BAA4B,EAAE;AAAA,EACxE,eAAe,kCAAU,KAAK,YAAY,6BAA6B,EAAE;AAC3E;AAEO,MAAM,kCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -36,11 +36,11 @@ var React = __toESM(require("react"));
|
|
|
36
36
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
37
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
38
38
|
var import_ds_grid = require("@elliemae/ds-grid");
|
|
39
|
-
var
|
|
39
|
+
var import_ds_form_single_combobox = require("@elliemae/ds-form-single-combobox");
|
|
40
40
|
var import_react_desc_prop_types = require("./react-desc-prop-types.js");
|
|
41
41
|
const SingleSelectFilter = (props) => {
|
|
42
42
|
const { filterValue, onValueChange, options } = props;
|
|
43
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_grid.Grid, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_grid.Grid, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_form_single_combobox.DSSingleComboBox, { inline: true, autoFocus: true, onChange: onValueChange, selectedValue: filterValue, allOptions: options }) });
|
|
44
44
|
};
|
|
45
45
|
SingleSelectFilter.displayName = "SingleSelectFilter";
|
|
46
46
|
const SingleSelectFilterWithSchema = (0, import_ds_props_helpers.describe)(SingleSelectFilter);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/SingleSelectFilter/SingleSelectFilter.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADWjB;AAVN,8BAAyB;AACzB,qBAAqB;AACrB,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { DSSingleComboBox } from '@elliemae/ds-form-single-combobox';\nimport { type SingleSelectFilterT, SingleSelectFilterPropTypesSchema } from './react-desc-prop-types.js';\n\nconst SingleSelectFilter: React.ComponentType<SingleSelectFilterT.Props> = (props) => {\n const { filterValue, onValueChange, options } = props;\n\n return (\n <Grid>\n <DSSingleComboBox inline autoFocus onChange={onValueChange} selectedValue={filterValue} allOptions={options} />\n </Grid>\n );\n};\n\nSingleSelectFilter.displayName = 'SingleSelectFilter';\nconst SingleSelectFilterWithSchema = describe(SingleSelectFilter);\nSingleSelectFilterWithSchema.propTypes = SingleSelectFilterPropTypesSchema;\n\nexport { SingleSelectFilter, SingleSelectFilterWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADWjB;AAVN,8BAAyB;AACzB,qBAAqB;AACrB,qCAAiC;AACjC,mCAA4E;AAE5E,MAAM,qBAAqE,CAAC,UAAU;AACpF,QAAM,EAAE,aAAa,eAAe,QAAQ,IAAI;AAEhD,SACE,4CAAC,uBACC,sDAAC,mDAAiB,QAAM,MAAC,WAAS,MAAC,UAAU,eAAe,eAAe,aAAa,YAAY,SAAS,GAC/G;AAEJ;AAEA,mBAAmB,cAAc;AACjC,MAAM,mCAA+B,kCAAS,kBAAkB;AAChE,6BAA6B,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/SingleSelectFilter/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,8BAAuE;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { type DSComboboxSingleT } from '@elliemae/ds-form-single-combobox';\nimport type { DSPropTypesSchema, GlobalAttributesT, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace SingleSelectFilterT {\n export interface RequiredProps {\n filterValue: DSComboboxSingleT.SelectionableOptions | null;\n onValueChange: DSComboboxSingleT.RequiredProps['onChange'];\n options: DSComboboxSingleT.ItemOption[];\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface SingleSelectPillProps {\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n columnHeader: string;\n value: DSComboboxSingleT.SelectionableOptions | null;\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: DSComboboxSingleT.SelectionableOptions | null },\n ) => void;\n }\n}\n\nexport const SingleSelectFilterPropTypes: DSPropTypesSchema<SingleSelectFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('Single Combobox selected value').isRequired,\n onValueChange: PropTypes.func.description('Single Combobox on change event').isRequired,\n options: PropTypes.array.description('Single Combobox options').isRequired,\n};\n\nexport const SingleSelectFilterPropTypesSchema =\n SingleSelectFilterPropTypes as unknown as WeakValidationMap<SingleSelectFilterT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,8BAAuE;AA0ChE,MAAM,8BAA4E;AAAA,EACvF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,kCAAU,OAAO,YAAY,gCAAgC,EAAE;AAAA,EAC5E,eAAe,kCAAU,KAAK,YAAY,iCAAiC,EAAE;AAAA,EAC7E,SAAS,kCAAU,MAAM,YAAY,yBAAyB,EAAE;AAClE;AAEO,MAAM,oCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/SingleSelectFilter/singleSelectFilterFn.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { type
|
|
4
|
+
"sourcesContent": ["import { type DSComboboxSingleT } from '@elliemae/ds-form-single-combobox';\n\nexport const singleSelectFilterFn = (\n datum: Record<string, unknown>,\n filterValue: DSComboboxSingleT.SelectionableOptions | null,\n filterKey: string,\n) => filterValue === null || datum[filterKey] === filterValue?.value;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEhB,MAAM,uBAAuB,CAClC,OACA,aACA,cACG,gBAAgB,QAAQ,MAAM,SAAS,MAAM,aAAa;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/DateRangeFilter/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport type { TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace DateRangeFilterT {\n export interface RequiredProps {\n filterValue: { startDate: string; endDate: string } | null;\n onValueChange: (value: { startDate: string; endDate: string }) => void;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n interface DateRangePillProps {\n columnHeader: string;\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n value: { startDate: string; endDate: string };\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: { startDate: string; endDate: string } },\n ) => void;\n }\n}\n\nexport const DateRangeFilterPropTypes: DSPropTypesSchema<DateRangeFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('Date range selected value').isRequired,\n onValueChange: PropTypes.func.description('Date range on change event').isRequired,\n};\n\nexport const DateRangeFilterPropTypesSchema =\n DateRangeFilterPropTypes as unknown as WeakValidationMap<DateRangeFilterT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,WAAW,2BAA2B,wBAAwB;AAyChE,MAAM,2BAAsE;AAAA,EACjF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,UAAU,OAAO,YAAY,2BAA2B,EAAE;AAAA,EACvE,eAAe,UAAU,KAAK,YAAY,4BAA4B,EAAE;AAC1E;AAEO,MAAM,iCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import React2, { useCallback,
|
|
3
|
+
import React2, { useCallback, useMemo } from "react";
|
|
4
4
|
import { Grid } from "@elliemae/ds-grid";
|
|
5
5
|
import { describe } from "@elliemae/ds-props-helpers";
|
|
6
6
|
import { useOnBlurOut } from "@elliemae/ds-hooks-on-blur-out";
|
|
@@ -18,6 +18,10 @@ const FilterPopover = (props) => {
|
|
|
18
18
|
const { referenceElement, filterMinWidth, shouldShowFilter, children, FilterIcon } = props;
|
|
19
19
|
const ref = React2.useRef(null);
|
|
20
20
|
const [showPopover, setShowPopover] = React2.useState(false);
|
|
21
|
+
const handleEscape = useCallback(() => {
|
|
22
|
+
setShowPopover(false);
|
|
23
|
+
ref.current?.focus();
|
|
24
|
+
}, []);
|
|
21
25
|
const {
|
|
22
26
|
refs,
|
|
23
27
|
floatingStyles,
|
|
@@ -25,24 +29,15 @@ const FilterPopover = (props) => {
|
|
|
25
29
|
isOpen: isFloatingOpen
|
|
26
30
|
} = useFloatingContext({
|
|
27
31
|
externallyControlledIsOpen: showPopover,
|
|
32
|
+
externalReferenceElement: referenceElement,
|
|
28
33
|
withoutPortal: true,
|
|
29
34
|
withoutAnimation: true,
|
|
30
35
|
placement: "bottom-end",
|
|
31
36
|
placementOrderPreference: ["bottom-end", "top-end"],
|
|
32
|
-
customOffset: [0, 0]
|
|
37
|
+
customOffset: [0, 0],
|
|
38
|
+
closeOnEscape: true,
|
|
39
|
+
onEscape: handleEscape
|
|
33
40
|
});
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
if (referenceElement) refs.setReference(referenceElement);
|
|
36
|
-
}, [referenceElement, refs]);
|
|
37
|
-
const handleOnKeyDown = useCallback(
|
|
38
|
-
(e) => {
|
|
39
|
-
if (e.key === "Escape") {
|
|
40
|
-
setShowPopover(false);
|
|
41
|
-
ref.current?.focus();
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
[ref]
|
|
45
|
-
);
|
|
46
41
|
const config = useMemo(
|
|
47
42
|
() => ({
|
|
48
43
|
onBlur: () => {
|
|
@@ -75,7 +70,6 @@ const FilterPopover = (props) => {
|
|
|
75
70
|
minWidth: filterMinWidth ?? referenceElement.offsetWidth ?? "0px"
|
|
76
71
|
},
|
|
77
72
|
context,
|
|
78
|
-
onKeyDown: handleOnKeyDown,
|
|
79
73
|
children
|
|
80
74
|
}
|
|
81
75
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/FilterPopover/FilterPopover.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useCallback,
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useCallback, useMemo } from 'react';\nimport { Grid } from '@elliemae/ds-grid';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { useOnBlurOut, type DSHooksUseOBlurOutT } from '@elliemae/ds-hooks-on-blur-out';\nimport { useFloatingContext, FloatingWrapper } from '@elliemae/ds-floating-context';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { SearchXsmall } from '@elliemae/ds-icons';\nimport { styled } from '@elliemae/ds-system';\nimport { type FilterPopoverT, FilterPopoverPropTypesSchema } from './react-desc-prop-types.js';\nimport { FILTER_POPOVER_SLOTS, FilterPopoverName } from './constants/index.js';\n\ninterface ConfigT {\n onBlur: DSHooksUseOBlurOutT.OnBlurCb;\n}\n\nconst StyledWrapper = styled(Grid, { name: FilterPopoverName, slot: FILTER_POPOVER_SLOTS.ROOT })`\n cursor: initial;\n`;\nconst StyledButton = styled(DSButtonV2, { name: FilterPopoverName, slot: FILTER_POPOVER_SLOTS.FILTER_ICON_BUTTON })``;\n\nconst FilterPopover: React.ComponentType<FilterPopoverT.Props> = (props) => {\n const { referenceElement, filterMinWidth, shouldShowFilter, children, FilterIcon } = props;\n const ref = React.useRef<HTMLButtonElement>(null);\n const [showPopover, setShowPopover] = React.useState(false);\n\n const handleEscape = useCallback(() => {\n setShowPopover(false);\n ref.current?.focus();\n }, []);\n\n const {\n refs,\n floatingStyles,\n context,\n isOpen: isFloatingOpen,\n } = useFloatingContext({\n externallyControlledIsOpen: showPopover,\n externalReferenceElement: referenceElement,\n withoutPortal: true,\n withoutAnimation: true,\n placement: 'bottom-end',\n placementOrderPreference: ['bottom-end', 'top-end'],\n customOffset: [0, 0],\n closeOnEscape: true,\n onEscape: handleEscape,\n });\n\n const config: ConfigT = useMemo(\n () => ({\n onBlur: () => {\n setShowPopover(false);\n },\n }),\n [],\n );\n const handleParentOnBlur = useOnBlurOut(config);\n\n if (!shouldShowFilter && !showPopover) return null;\n\n return (\n <StyledWrapper onBlur={handleParentOnBlur} tabIndex={-1}>\n <StyledButton\n buttonType=\"icon\"\n innerRef={ref}\n aria-label=\"filter\"\n size=\"s\"\n onClick={() => setShowPopover(!showPopover)}\n >\n {FilterIcon ? <FilterIcon /> : <SearchXsmall size=\"s\" />}\n </StyledButton>\n {referenceElement && (\n <FloatingWrapper\n innerRef={refs.setFloating}\n isOpen={isFloatingOpen}\n floatingStyles={{\n ...floatingStyles,\n minWidth: filterMinWidth ?? referenceElement.offsetWidth ?? '0px',\n }}\n context={context}\n >\n {children}\n </FloatingWrapper>\n )}\n </StyledWrapper>\n );\n};\n\nFilterPopover.displayName = 'FilterPopover';\nconst FilterPopoverWithSchema = describe(FilterPopover);\nFilterPopoverWithSchema.propTypes = FilterPopoverPropTypesSchema;\n\nexport { FilterPopover, FilterPopoverWithSchema };\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AC4DnB,SAQkB,KARlB;AA5DJ,OAAOA,UAAS,aAAa,eAAe;AAC5C,SAAS,YAAY;AACrB,SAAS,gBAAgB;AACzB,SAAS,oBAA8C;AACvD,SAAS,oBAAoB,uBAAuB;AACpD,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,cAAc;AACvB,SAA8B,oCAAoC;AAClE,SAAS,sBAAsB,yBAAyB;AAMxD,MAAM,gBAAgB,OAAO,MAAM,EAAE,MAAM,mBAAmB,MAAM,qBAAqB,KAAK,CAAC;AAAA;AAAA;AAG/F,MAAM,eAAe,OAAO,YAAY,EAAE,MAAM,mBAAmB,MAAM,qBAAqB,mBAAmB,CAAC;AAElH,MAAM,gBAA2D,CAAC,UAAU;AAC1E,QAAM,EAAE,kBAAkB,gBAAgB,kBAAkB,UAAU,WAAW,IAAI;AACrF,QAAM,MAAMA,OAAM,OAA0B,IAAI;AAChD,QAAM,CAAC,aAAa,cAAc,IAAIA,OAAM,SAAS,KAAK;AAE1D,QAAM,eAAe,YAAY,MAAM;AACrC,mBAAe,KAAK;AACpB,QAAI,SAAS,MAAM;AAAA,EACrB,GAAG,CAAC,CAAC;AAEL,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,EACV,IAAI,mBAAmB;AAAA,IACrB,4BAA4B;AAAA,IAC5B,0BAA0B;AAAA,IAC1B,eAAe;AAAA,IACf,kBAAkB;AAAA,IAClB,WAAW;AAAA,IACX,0BAA0B,CAAC,cAAc,SAAS;AAAA,IAClD,cAAc,CAAC,GAAG,CAAC;AAAA,IACnB,eAAe;AAAA,IACf,UAAU;AAAA,EACZ,CAAC;AAED,QAAM,SAAkB;AAAA,IACtB,OAAO;AAAA,MACL,QAAQ,MAAM;AACZ,uBAAe,KAAK;AAAA,MACtB;AAAA,IACF;AAAA,IACA,CAAC;AAAA,EACH;AACA,QAAM,qBAAqB,aAAa,MAAM;AAE9C,MAAI,CAAC,oBAAoB,CAAC,YAAa,QAAO;AAE9C,SACE,qBAAC,iBAAc,QAAQ,oBAAoB,UAAU,IACnD;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,YAAW;AAAA,QACX,UAAU;AAAA,QACV,cAAW;AAAA,QACX,MAAK;AAAA,QACL,SAAS,MAAM,eAAe,CAAC,WAAW;AAAA,QAEzC,uBAAa,oBAAC,cAAW,IAAK,oBAAC,gBAAa,MAAK,KAAI;AAAA;AAAA,IACxD;AAAA,IACC,oBACC;AAAA,MAAC;AAAA;AAAA,QACC,UAAU,KAAK;AAAA,QACf,QAAQ;AAAA,QACR,gBAAgB;AAAA,UACd,GAAG;AAAA,UACH,UAAU,kBAAkB,iBAAiB,eAAe;AAAA,QAC9D;AAAA,QACA;AAAA,QAEC;AAAA;AAAA,IACH;AAAA,KAEJ;AAEJ;AAEA,cAAc,cAAc;AAC5B,MAAM,0BAA0B,SAAS,aAAa;AACtD,wBAAwB,YAAY;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/FilterPopover/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport type { XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport { type SvgIconT } from '@elliemae/ds-icons';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace FilterPopoverT {\n export interface RequiredProps {\n referenceElement: HTMLElement | null;\n children: React.ReactNode;\n shouldShowFilter: boolean;\n }\n\n export interface FilterPopoverT {}\n\n export interface DefaultProps {}\n\n export interface OptionalProps {\n filterMinWidth?: number;\n FilterIcon?: React.ComponentType<SvgIconT.Props>;\n }\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n // Omit<GlobalAttributesT<HTMLButtonElement>, keyof RequiredProps | keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n // Omit<GlobalAttributesT<HTMLButtonElement>, keyof RequiredProps | keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const FilterPopoverPropTypes: DSPropTypesSchema<FilterPopoverT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n referenceElement: PropTypes.object.description('Reference element for popover').isRequired,\n children: PropTypes.node.description('Children for popover').isRequired,\n shouldShowFilter: PropTypes.bool.description('Show filter or not').isRequired,\n filterMinWidth: PropTypes.number.description('Filter min width'),\n FilterIcon: PropTypes.node.description('Filter icon'),\n};\n\nexport const FilterPopoverPropTypesSchema =\n FilterPopoverPropTypes as unknown as WeakValidationMap<FilterPopoverT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,WAAW,2BAA2B,wBAAwB;AAqChE,MAAM,yBAAkE;AAAA,EAC7E,GAAG;AAAA,EACH,GAAG;AAAA,EACH,kBAAkB,UAAU,OAAO,YAAY,+BAA+B,EAAE;AAAA,EAChF,UAAU,UAAU,KAAK,YAAY,sBAAsB,EAAE;AAAA,EAC7D,kBAAkB,UAAU,KAAK,YAAY,oBAAoB,EAAE;AAAA,EACnE,gBAAgB,UAAU,OAAO,YAAY,kBAAkB;AAAA,EAC/D,YAAY,UAAU,KAAK,YAAY,aAAa;AACtD;AAEO,MAAM,+BACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { describe } from "@elliemae/ds-props-helpers";
|
|
4
4
|
import { Grid } from "@elliemae/ds-grid";
|
|
5
5
|
import { styled } from "@elliemae/ds-system";
|
|
6
|
-
import {
|
|
6
|
+
import { DSMultiComboBox } from "@elliemae/ds-form-multi-combobox";
|
|
7
7
|
import { MultiSelectFilterPropTypesSchema } from "./react-desc-prop-types.js";
|
|
8
8
|
import { MULTI_SELECT_FILTER_SLOTS, MultiSelectFilterName } from "./constants/index.js";
|
|
9
9
|
const StyledWrapper = styled(Grid, {
|
|
@@ -12,7 +12,16 @@ const StyledWrapper = styled(Grid, {
|
|
|
12
12
|
})``;
|
|
13
13
|
const MultiSelectFilter = (props) => {
|
|
14
14
|
const { filterValue, onValueChange, options } = props;
|
|
15
|
-
return /* @__PURE__ */ jsx(StyledWrapper, { children: /* @__PURE__ */ jsx(
|
|
15
|
+
return /* @__PURE__ */ jsx(StyledWrapper, { children: /* @__PURE__ */ jsx(
|
|
16
|
+
DSMultiComboBox,
|
|
17
|
+
{
|
|
18
|
+
inline: true,
|
|
19
|
+
autoFocus: true,
|
|
20
|
+
onChange: onValueChange,
|
|
21
|
+
selectedValues: filterValue ?? [],
|
|
22
|
+
allOptions: options
|
|
23
|
+
}
|
|
24
|
+
) });
|
|
16
25
|
};
|
|
17
26
|
MultiSelectFilter.displayName = "MultiSelectFilter";
|
|
18
27
|
const MultiSelectFilterWithSchema = describe(MultiSelectFilter);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/MultiSelectFilter/MultiSelectFilter.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport {
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACkBjB;AAjBN,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,cAAc;AACvB,SAAS,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport { DSMultiComboBox } from '@elliemae/ds-form-multi-combobox';\nimport { type MultiSelectFilterT, MultiSelectFilterPropTypesSchema } from './react-desc-prop-types.js';\nimport { MULTI_SELECT_FILTER_SLOTS, MultiSelectFilterName } from './constants/index.js';\n\nconst StyledWrapper = styled(Grid, {\n name: MultiSelectFilterName,\n slot: MULTI_SELECT_FILTER_SLOTS.ROOT,\n})``;\n\nconst MultiSelectFilter: React.ComponentType<MultiSelectFilterT.Props> = (props) => {\n const { filterValue, onValueChange, options } = props;\n\n return (\n <StyledWrapper>\n <DSMultiComboBox\n inline\n autoFocus\n onChange={onValueChange}\n selectedValues={filterValue ?? []}\n allOptions={options}\n />\n </StyledWrapper>\n );\n};\n\nMultiSelectFilter.displayName = 'MultiSelectFilter';\nconst MultiSelectFilterWithSchema = describe(MultiSelectFilter);\nMultiSelectFilterWithSchema.propTypes = MultiSelectFilterPropTypesSchema;\n\nexport { MultiSelectFilter, MultiSelectFilterWithSchema };\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACkBjB;AAjBN,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,cAAc;AACvB,SAAS,uBAAuB;AAChC,SAAkC,wCAAwC;AAC1E,SAAS,2BAA2B,6BAA6B;AAEjE,MAAM,gBAAgB,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,MAAM,0BAA0B;AAClC,CAAC;AAED,MAAM,oBAAmE,CAAC,UAAU;AAClF,QAAM,EAAE,aAAa,eAAe,QAAQ,IAAI;AAEhD,SACE,oBAAC,iBACC;AAAA,IAAC;AAAA;AAAA,MACC,QAAM;AAAA,MACN,WAAS;AAAA,MACT,UAAU;AAAA,MACV,gBAAgB,eAAe,CAAC;AAAA,MAChC,YAAY;AAAA;AAAA,EACd,GACF;AAEJ;AAEA,kBAAkB,cAAc;AAChC,MAAM,8BAA8B,SAAS,iBAAiB;AAC9D,4BAA4B,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/MultiSelectFilter/multiSelectFilterFn.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { type
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { type DSComboboxMultiT } from '@elliemae/ds-form-multi-combobox';\n\nexport const multiSelectFilterFn = (\n datum: Record<string, unknown>,\n filterValue: DSComboboxMultiT.SelectionableOptions[] | null,\n filterKey: string,\n) => {\n if (filterValue === null) return true;\n if (filterValue.length === 0) return true;\n return filterValue.some((position) => position.label === datum[filterKey]);\n};\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACEhB,MAAM,sBAAsB,CACjC,OACA,aACA,cACG;AACH,MAAI,gBAAgB,KAAM,QAAO;AACjC,MAAI,YAAY,WAAW,EAAG,QAAO;AACrC,SAAO,YAAY,KAAK,CAAC,aAAa,SAAS,UAAU,MAAM,SAAS,CAAC;AAC3E;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/MultiSelectFilter/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,WAAW,2BAA2B,wBAAwB;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { type DSComboboxMultiT } from '@elliemae/ds-form-multi-combobox';\nimport type { DSPropTypesSchema, GlobalAttributesT, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace MultiSelectFilterT {\n export interface RequiredProps {\n filterValue: DSComboboxMultiT.SelectionableOptions[] | null;\n onValueChange: DSComboboxMultiT.RequiredProps['onChange'];\n options: DSComboboxMultiT.ItemOption[];\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface MultiSelectPillProps {\n columnHeader: string;\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n value: DSComboboxMultiT.SelectionableOptions[];\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: DSComboboxMultiT.SelectionableOptions[] },\n ) => void;\n }\n}\n\nexport const MultiSelectFilterPropTypes: DSPropTypesSchema<MultiSelectFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('Multi Combobox selected value').isRequired,\n onValueChange: PropTypes.func.description('Multi Combobox on change event').isRequired,\n options: PropTypes.array.description('Multi Combobox options').isRequired,\n};\n\nexport const MultiSelectFilterPropTypesSchema =\n MultiSelectFilterPropTypes as unknown as WeakValidationMap<MultiSelectFilterT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,WAAW,2BAA2B,wBAAwB;AA0ChE,MAAM,6BAA0E;AAAA,EACrF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,UAAU,OAAO,YAAY,+BAA+B,EAAE;AAAA,EAC3E,eAAe,UAAU,KAAK,YAAY,gCAAgC,EAAE;AAAA,EAC5E,SAAS,UAAU,MAAM,YAAY,wBAAwB,EAAE;AACjE;AAEO,MAAM,mCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/NumberRangeFilter/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nimport type { TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nexport declare namespace NumberRangeFilterT {\n export interface RequiredProps {\n filterValue: {\n from: number | null;\n to: number | null;\n } | null;\n onValueChange: (value: { from: number | null; to: number | null }) => void;\n }\n\n interface RangeFilterProps {}\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface NumberRangePillProps {\n columnHeader: string;\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n value: {\n from: number | null;\n to: number | null;\n };\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: { from: number | null; to: number | null } },\n ) => void;\n }\n}\n\nexport const NumberRangeFilterPropTypes: DSPropTypesSchema<NumberRangeFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('the current values of the filter').isRequired,\n onValueChange: PropTypes.func.description('callback to be called when any value changes').isRequired,\n};\n\nexport const NumberRangeFilterPropTypesSchema =\n NumberRangeFilterPropTypes as unknown as WeakValidationMap<NumberRangeFilterT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,WAAW,2BAA2B,wBAAwB;AAgDhE,MAAM,6BAA0E;AAAA,EACrF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,UAAU,OAAO,YAAY,kCAAkC,EAAE;AAAA,EAC9E,eAAe,UAAU,KAAK,YAAY,8CAA8C,EAAE;AAC5F;AAEO,MAAM,mCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/SingleDateFilter/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport type { TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace SingleDateFilterT {\n export interface RequiredProps {\n filterValue: string | null;\n onValueChange: (value: string) => void;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface SingleDatePillProps {\n columnHeader: string;\n value: string;\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: string },\n ) => void;\n }\n}\n\nexport const SingleDateFilterPropTypes: DSPropTypesSchema<SingleDateFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('Single Date selected value').isRequired,\n onValueChange: PropTypes.func.description('Single Date on change event').isRequired,\n};\n\nexport const SingleDateFilterPropTypesSchema =\n SingleDateFilterPropTypes as unknown as WeakValidationMap<SingleDateFilterT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,WAAW,2BAA2B,wBAAwB;AAyChE,MAAM,4BAAwE;AAAA,EACnF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,UAAU,OAAO,YAAY,4BAA4B,EAAE;AAAA,EACxE,eAAe,UAAU,KAAK,YAAY,6BAA6B,EAAE;AAC3E;AAEO,MAAM,kCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,11 +2,11 @@ import * as React from "react";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { describe } from "@elliemae/ds-props-helpers";
|
|
4
4
|
import { Grid } from "@elliemae/ds-grid";
|
|
5
|
-
import {
|
|
5
|
+
import { DSSingleComboBox } from "@elliemae/ds-form-single-combobox";
|
|
6
6
|
import { SingleSelectFilterPropTypesSchema } from "./react-desc-prop-types.js";
|
|
7
7
|
const SingleSelectFilter = (props) => {
|
|
8
8
|
const { filterValue, onValueChange, options } = props;
|
|
9
|
-
return /* @__PURE__ */ jsx(Grid, { children: /* @__PURE__ */ jsx(
|
|
9
|
+
return /* @__PURE__ */ jsx(Grid, { children: /* @__PURE__ */ jsx(DSSingleComboBox, { inline: true, autoFocus: true, onChange: onValueChange, selectedValue: filterValue, allOptions: options }) });
|
|
10
10
|
};
|
|
11
11
|
SingleSelectFilter.displayName = "SingleSelectFilter";
|
|
12
12
|
const SingleSelectFilterWithSchema = describe(SingleSelectFilter);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/SingleSelectFilter/SingleSelectFilter.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport {
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACWjB;AAVN,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { DSSingleComboBox } from '@elliemae/ds-form-single-combobox';\nimport { type SingleSelectFilterT, SingleSelectFilterPropTypesSchema } from './react-desc-prop-types.js';\n\nconst SingleSelectFilter: React.ComponentType<SingleSelectFilterT.Props> = (props) => {\n const { filterValue, onValueChange, options } = props;\n\n return (\n <Grid>\n <DSSingleComboBox inline autoFocus onChange={onValueChange} selectedValue={filterValue} allOptions={options} />\n </Grid>\n );\n};\n\nSingleSelectFilter.displayName = 'SingleSelectFilter';\nconst SingleSelectFilterWithSchema = describe(SingleSelectFilter);\nSingleSelectFilterWithSchema.propTypes = SingleSelectFilterPropTypesSchema;\n\nexport { SingleSelectFilter, SingleSelectFilterWithSchema };\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACWjB;AAVN,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,wBAAwB;AACjC,SAAmC,yCAAyC;AAE5E,MAAM,qBAAqE,CAAC,UAAU;AACpF,QAAM,EAAE,aAAa,eAAe,QAAQ,IAAI;AAEhD,SACE,oBAAC,QACC,8BAAC,oBAAiB,QAAM,MAAC,WAAS,MAAC,UAAU,eAAe,eAAe,aAAa,YAAY,SAAS,GAC/G;AAEJ;AAEA,mBAAmB,cAAc;AACjC,MAAM,+BAA+B,SAAS,kBAAkB;AAChE,6BAA6B,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/SingleSelectFilter/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,WAAW,2BAA2B,wBAAwB;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { type DSComboboxSingleT } from '@elliemae/ds-form-single-combobox';\nimport type { DSPropTypesSchema, GlobalAttributesT, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace SingleSelectFilterT {\n export interface RequiredProps {\n filterValue: DSComboboxSingleT.SelectionableOptions | null;\n onValueChange: DSComboboxSingleT.RequiredProps['onChange'];\n options: DSComboboxSingleT.ItemOption[];\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface SingleSelectPillProps {\n innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;\n columnHeader: string;\n value: DSComboboxSingleT.SelectionableOptions | null;\n onRemove: (\n e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>,\n { columnHeader, value }: { columnHeader: string; value: DSComboboxSingleT.SelectionableOptions | null },\n ) => void;\n }\n}\n\nexport const SingleSelectFilterPropTypes: DSPropTypesSchema<SingleSelectFilterT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n filterValue: PropTypes.object.description('Single Combobox selected value').isRequired,\n onValueChange: PropTypes.func.description('Single Combobox on change event').isRequired,\n options: PropTypes.array.description('Single Combobox options').isRequired,\n};\n\nexport const SingleSelectFilterPropTypesSchema =\n SingleSelectFilterPropTypes as unknown as WeakValidationMap<SingleSelectFilterT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,WAAW,2BAA2B,wBAAwB;AA0ChE,MAAM,8BAA4E;AAAA,EACvF,GAAG;AAAA,EACH,GAAG;AAAA,EACH,aAAa,UAAU,OAAO,YAAY,gCAAgC,EAAE;AAAA,EAC5E,eAAe,UAAU,KAAK,YAAY,iCAAiC,EAAE;AAAA,EAC7E,SAAS,UAAU,MAAM,YAAY,yBAAyB,EAAE;AAClE;AAEO,MAAM,oCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/SingleSelectFilter/singleSelectFilterFn.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { type
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { type DSComboboxSingleT } from '@elliemae/ds-form-single-combobox';\n\nexport const singleSelectFilterFn = (\n datum: Record<string, unknown>,\n filterValue: DSComboboxSingleT.SelectionableOptions | null,\n filterKey: string,\n) => filterValue === null || datum[filterKey] === filterValue?.value;\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACEhB,MAAM,uBAAuB,CAClC,OACA,aACA,cACG,gBAAgB,QAAQ,MAAM,SAAS,MAAM,aAAa;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const multiSelectFilterFn: (datum: Record<string, unknown>, filterValue:
|
|
1
|
+
import { type DSComboboxMultiT } from '@elliemae/ds-form-multi-combobox';
|
|
2
|
+
export declare const multiSelectFilterFn: (datum: Record<string, unknown>, filterValue: DSComboboxMultiT.SelectionableOptions[] | null, filterKey: string) => boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { type DSComboboxMultiT } from '@elliemae/ds-form-multi-combobox';
|
|
2
|
+
import type { DSPropTypesSchema, GlobalAttributesT, XstyledProps } from '@elliemae/ds-props-helpers';
|
|
3
3
|
import { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';
|
|
4
4
|
import type { WeakValidationMap } from 'react';
|
|
5
5
|
export declare namespace MultiSelectFilterT {
|
|
6
6
|
interface RequiredProps {
|
|
7
|
-
filterValue:
|
|
8
|
-
onValueChange:
|
|
9
|
-
options:
|
|
7
|
+
filterValue: DSComboboxMultiT.SelectionableOptions[] | null;
|
|
8
|
+
onValueChange: DSComboboxMultiT.RequiredProps['onChange'];
|
|
9
|
+
options: DSComboboxMultiT.ItemOption[];
|
|
10
10
|
}
|
|
11
11
|
interface DefaultProps {
|
|
12
12
|
}
|
|
@@ -19,10 +19,10 @@ export declare namespace MultiSelectFilterT {
|
|
|
19
19
|
interface MultiSelectPillProps {
|
|
20
20
|
columnHeader: string;
|
|
21
21
|
innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;
|
|
22
|
-
value:
|
|
22
|
+
value: DSComboboxMultiT.SelectionableOptions[];
|
|
23
23
|
onRemove: (e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>, { columnHeader, value }: {
|
|
24
24
|
columnHeader: string;
|
|
25
|
-
value:
|
|
25
|
+
value: DSComboboxMultiT.SelectionableOptions[];
|
|
26
26
|
}) => void;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { type DSComboboxSingleT } from '@elliemae/ds-form-single-combobox';
|
|
2
|
+
import type { DSPropTypesSchema, GlobalAttributesT, XstyledProps } from '@elliemae/ds-props-helpers';
|
|
3
3
|
import { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';
|
|
4
4
|
import type { WeakValidationMap } from 'react';
|
|
5
5
|
export declare namespace SingleSelectFilterT {
|
|
6
6
|
interface RequiredProps {
|
|
7
|
-
filterValue:
|
|
8
|
-
onValueChange:
|
|
9
|
-
options:
|
|
7
|
+
filterValue: DSComboboxSingleT.SelectionableOptions | null;
|
|
8
|
+
onValueChange: DSComboboxSingleT.RequiredProps['onChange'];
|
|
9
|
+
options: DSComboboxSingleT.ItemOption[];
|
|
10
10
|
}
|
|
11
11
|
interface DefaultProps {
|
|
12
12
|
}
|
|
@@ -19,10 +19,10 @@ export declare namespace SingleSelectFilterT {
|
|
|
19
19
|
interface SingleSelectPillProps {
|
|
20
20
|
innerRef?: TypescriptHelpersT.AnyRef<HTMLElement>;
|
|
21
21
|
columnHeader: string;
|
|
22
|
-
value:
|
|
22
|
+
value: DSComboboxSingleT.SelectionableOptions | null;
|
|
23
23
|
onRemove: (e: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>, { columnHeader, value }: {
|
|
24
24
|
columnHeader: string;
|
|
25
|
-
value:
|
|
25
|
+
value: DSComboboxSingleT.SelectionableOptions | null;
|
|
26
26
|
}) => void;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const singleSelectFilterFn: (datum: Record<string, unknown>, filterValue:
|
|
1
|
+
import { type DSComboboxSingleT } from '@elliemae/ds-form-single-combobox';
|
|
2
|
+
export declare const singleSelectFilterFn: (datum: Record<string, unknown>, filterValue: DSComboboxSingleT.SelectionableOptions | null, filterKey: string) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-data-table-filters",
|
|
3
|
-
"version": "3.70.0-next.
|
|
3
|
+
"version": "3.70.0-next.70",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Table Filters",
|
|
6
6
|
"files": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://
|
|
25
|
+
"url": "https://github.com/intcx/PLATFORM-UI.dimsum.git"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"pnpm": ">=9",
|
|
@@ -36,25 +36,25 @@
|
|
|
36
36
|
"indent": 4
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@elliemae/ds-button-v2": "3.70.0-next.
|
|
40
|
-
"@elliemae/ds-form-
|
|
41
|
-
"@elliemae/ds-form-date-
|
|
42
|
-
"@elliemae/ds-floating-context": "3.70.0-next.
|
|
43
|
-
"@elliemae/ds-form-
|
|
44
|
-
"@elliemae/ds-form-
|
|
45
|
-
"@elliemae/ds-form-input-text": "3.70.0-next.
|
|
46
|
-
"@elliemae/ds-form-
|
|
47
|
-
"@elliemae/ds-
|
|
48
|
-
"@elliemae/ds-
|
|
49
|
-
"@elliemae/ds-
|
|
50
|
-
"@elliemae/ds-
|
|
51
|
-
"@elliemae/ds-
|
|
52
|
-
"@elliemae/ds-
|
|
53
|
-
"@elliemae/ds-
|
|
39
|
+
"@elliemae/ds-button-v2": "3.70.0-next.70",
|
|
40
|
+
"@elliemae/ds-form-helpers-mask-hooks": "3.70.0-next.70",
|
|
41
|
+
"@elliemae/ds-form-date-time-picker": "3.70.0-next.70",
|
|
42
|
+
"@elliemae/ds-floating-context": "3.70.0-next.70",
|
|
43
|
+
"@elliemae/ds-form-combobox": "3.70.0-next.70",
|
|
44
|
+
"@elliemae/ds-form-date-range-picker": "3.70.0-next.70",
|
|
45
|
+
"@elliemae/ds-form-input-text": "3.70.0-next.70",
|
|
46
|
+
"@elliemae/ds-form-layout-blocks": "3.70.0-next.70",
|
|
47
|
+
"@elliemae/ds-hooks-on-blur-out": "3.70.0-next.70",
|
|
48
|
+
"@elliemae/ds-pills-v2": "3.70.0-next.70",
|
|
49
|
+
"@elliemae/ds-props-helpers": "3.70.0-next.70",
|
|
50
|
+
"@elliemae/ds-typescript-helpers": "3.70.0-next.70",
|
|
51
|
+
"@elliemae/ds-system": "3.70.0-next.70",
|
|
52
|
+
"@elliemae/ds-grid": "3.70.0-next.70",
|
|
53
|
+
"@elliemae/ds-icons": "3.70.0-next.70"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"jest": "^30.0.0",
|
|
57
|
-
"@elliemae/ds-monorepo-devops": "3.70.0-next.
|
|
57
|
+
"@elliemae/ds-monorepo-devops": "3.70.0-next.70"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -78,4 +78,4 @@
|
|
|
78
78
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
79
79
|
"checkDeps": "npx -yes ../../util/ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
}
|