@kopexa/filter 0.0.25 → 0.0.26
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/chunk-6TRAIAKS.mjs +178 -0
- package/dist/chunk-I7WCYMXD.mjs +133 -0
- package/dist/{chunk-45QJL74L.mjs → chunk-JSRGUDCG.mjs} +49 -24
- package/dist/chunk-NUDUXOHP.mjs +243 -0
- package/dist/chunk-ON2UFJ3Y.mjs +32 -0
- package/dist/{chunk-RFCPJLIQ.mjs → chunk-SJXRD3RO.mjs} +6 -1
- package/dist/{chunk-EF4VI36D.mjs → chunk-UBTUCPOG.mjs} +1 -1
- package/dist/{chunk-3ZBNWXRA.mjs → chunk-WD7YU6IN.mjs} +17 -14
- package/dist/chunk-XCWKWXBW.mjs +602 -0
- package/dist/{chunk-URDCG5NI.mjs → chunk-YTYOFT33.mjs} +52 -0
- package/dist/filter-active.js +108 -28
- package/dist/filter-active.mjs +4 -4
- package/dist/filter-bar-internal.d.mts +25 -0
- package/dist/filter-bar-internal.d.ts +25 -0
- package/dist/filter-bar-internal.js +648 -0
- package/dist/filter-bar-internal.mjs +11 -0
- package/dist/filter-bar-messages.d.mts +124 -0
- package/dist/filter-bar-messages.d.ts +124 -0
- package/dist/filter-bar-messages.js +156 -0
- package/dist/filter-bar-messages.mjs +7 -0
- package/dist/filter-bar-types.d.mts +112 -0
- package/dist/filter-bar-types.d.ts +112 -0
- package/dist/filter-bar-types.js +56 -0
- package/dist/filter-bar-types.mjs +8 -0
- package/dist/filter-bar.d.mts +29 -0
- package/dist/filter-bar.d.ts +29 -0
- package/dist/filter-bar.js +942 -0
- package/dist/filter-bar.mjs +11 -0
- package/dist/filter-menu.js +161 -1
- package/dist/filter-menu.mjs +2 -1
- package/dist/filter-trigger.js +52 -0
- package/dist/filter-trigger.mjs +2 -2
- package/dist/filter-value-editor.js +65 -10
- package/dist/filter-value-editor.mjs +3 -3
- package/dist/filter.d.mts +6 -0
- package/dist/filter.d.ts +6 -0
- package/dist/filter.mjs +2 -2
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1263 -31
- package/dist/index.mjs +28 -14
- package/dist/messages.d.mts +50 -0
- package/dist/messages.d.ts +50 -0
- package/dist/messages.js +52 -0
- package/dist/messages.mjs +1 -1
- package/dist/search-filter-bar.d.mts +44 -0
- package/dist/search-filter-bar.d.ts +44 -0
- package/dist/search-filter-bar.js +1007 -0
- package/dist/search-filter-bar.mjs +11 -0
- package/package.json +19 -16
- package/dist/{chunk-SH7DBK54.mjs → chunk-LWDVRMCI.mjs} +3 -3
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { FilterBarFieldConfig, FilterBarValue, FilterBarI18nConfig } from './filter-bar-types.mjs';
|
|
3
|
+
export { FilterBarCustomRendererProps, FilterBarFieldType, FilterBarInputValue, FilterBarOperator, FilterBarOption, FilterBarValidation } from './filter-bar-types.mjs';
|
|
4
|
+
import 'react';
|
|
5
|
+
|
|
6
|
+
interface FilterBarProps {
|
|
7
|
+
/** Field configurations */
|
|
8
|
+
fields: FilterBarFieldConfig[];
|
|
9
|
+
/** Controlled value */
|
|
10
|
+
value?: FilterBarValue[];
|
|
11
|
+
/** Default value for uncontrolled mode */
|
|
12
|
+
defaultValue?: FilterBarValue[];
|
|
13
|
+
/** Callback when value changes */
|
|
14
|
+
onChange?: (value: FilterBarValue[]) => void;
|
|
15
|
+
/** Custom i18n labels */
|
|
16
|
+
i18n?: Partial<FilterBarI18nConfig>;
|
|
17
|
+
/** Custom class name */
|
|
18
|
+
className?: string;
|
|
19
|
+
/** Whether to allow multiple filters of the same field */
|
|
20
|
+
allowMultiple?: boolean;
|
|
21
|
+
/** Disable the filter */
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare function FilterBar(props: FilterBarProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare namespace FilterBar {
|
|
26
|
+
var displayName: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { FilterBar, FilterBarFieldConfig, FilterBarI18nConfig, type FilterBarProps, FilterBarValue };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { FilterBarFieldConfig, FilterBarValue, FilterBarI18nConfig } from './filter-bar-types.js';
|
|
3
|
+
export { FilterBarCustomRendererProps, FilterBarFieldType, FilterBarInputValue, FilterBarOperator, FilterBarOption, FilterBarValidation } from './filter-bar-types.js';
|
|
4
|
+
import 'react';
|
|
5
|
+
|
|
6
|
+
interface FilterBarProps {
|
|
7
|
+
/** Field configurations */
|
|
8
|
+
fields: FilterBarFieldConfig[];
|
|
9
|
+
/** Controlled value */
|
|
10
|
+
value?: FilterBarValue[];
|
|
11
|
+
/** Default value for uncontrolled mode */
|
|
12
|
+
defaultValue?: FilterBarValue[];
|
|
13
|
+
/** Callback when value changes */
|
|
14
|
+
onChange?: (value: FilterBarValue[]) => void;
|
|
15
|
+
/** Custom i18n labels */
|
|
16
|
+
i18n?: Partial<FilterBarI18nConfig>;
|
|
17
|
+
/** Custom class name */
|
|
18
|
+
className?: string;
|
|
19
|
+
/** Whether to allow multiple filters of the same field */
|
|
20
|
+
allowMultiple?: boolean;
|
|
21
|
+
/** Disable the filter */
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare function FilterBar(props: FilterBarProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare namespace FilterBar {
|
|
26
|
+
var displayName: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { FilterBar, FilterBarFieldConfig, FilterBarI18nConfig, type FilterBarProps, FilterBarValue };
|