@ultraviolet/ui 3.18.2 → 3.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +1 -0
- package/dist/components/RadioGroup/SingleRadio.js +1 -1
- package/dist/components/SelectInput/components/SelectBar/selectBar.css.d.ts.map +1 -1
- package/dist/components/SwitchButton/Option.js +1 -1
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +4 -2
- package/dist/components/TextArea/styles.css.d.ts +14 -0
- package/dist/components/TextArea/styles.css.d.ts.map +1 -1
- package/dist/components/TextArea/styles.css.js +8 -2
- package/dist/components/index.js +15 -15
- package/dist/components/styles.js +84 -84
- package/dist/composition.js +19 -15
- package/dist/compositions/EstimateCost/styles.css.js +0 -2
- package/dist/compositions/FAQ/index.js +1 -1
- package/dist/compositions/Filters/Filters.d.ts +9 -0
- package/dist/compositions/Filters/Filters.d.ts.map +1 -0
- package/dist/compositions/Filters/Filters.js +36 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/Dropdown.d.ts +16 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/Dropdown.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/Dropdown.js +137 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/FilterDatetimeRange.d.ts +6 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/FilterDatetimeRange.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/FilterDatetimeRange.js +74 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/filterDatetimeRange.styles.css.d.ts +5 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/filterDatetimeRange.styles.css.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/filterDatetimeRange.styles.css.js +16 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/filterDatetimeRange.styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/type.d.ts +16 -0
- package/dist/compositions/Filters/filterTypes/FilterDatetimeRange/type.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterMultiSelect.d.ts +5 -0
- package/dist/compositions/Filters/filterTypes/FilterMultiSelect.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterMultiSelect.js +53 -0
- package/dist/compositions/Filters/filterTypes/FilterNumber.d.ts +5 -0
- package/dist/compositions/Filters/filterTypes/FilterNumber.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterNumber.js +24 -0
- package/dist/compositions/Filters/filterTypes/FilterSearch.d.ts +5 -0
- package/dist/compositions/Filters/filterTypes/FilterSearch.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterSearch.js +42 -0
- package/dist/compositions/Filters/filterTypes/FilterSelect.d.ts +6 -0
- package/dist/compositions/Filters/filterTypes/FilterSelect.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterSelect.js +46 -0
- package/dist/compositions/Filters/filterTypes/FilterSlider.d.ts +5 -0
- package/dist/compositions/Filters/filterTypes/FilterSlider.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterSlider.js +31 -0
- package/dist/compositions/Filters/filterTypes/FilterText.d.ts +5 -0
- package/dist/compositions/Filters/filterTypes/FilterText.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterText.js +42 -0
- package/dist/compositions/Filters/index.d.ts +7 -0
- package/dist/compositions/Filters/index.d.ts.map +1 -0
- package/dist/compositions/Filters/index.js +17 -0
- package/dist/compositions/Filters/parts/AbstractFilter.d.ts +8 -0
- package/dist/compositions/Filters/parts/AbstractFilter.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/AbstractFilter.js +54 -0
- package/dist/compositions/Filters/parts/ExpandableFilterGroup.d.ts +9 -0
- package/dist/compositions/Filters/parts/ExpandableFilterGroup.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/ExpandableFilterGroup.js +59 -0
- package/dist/compositions/Filters/parts/FiltersDrawer.d.ts +13 -0
- package/dist/compositions/Filters/parts/FiltersDrawer.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/FiltersDrawer.js +100 -0
- package/dist/compositions/Filters/parts/FiltersMainRow.d.ts +19 -0
- package/dist/compositions/Filters/parts/FiltersMainRow.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/FiltersMainRow.js +85 -0
- package/dist/compositions/Filters/parts/FiltersProvider.d.ts +17 -0
- package/dist/compositions/Filters/parts/FiltersProvider.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/FiltersProvider.js +55 -0
- package/dist/compositions/Filters/parts/helpers.d.ts +5 -0
- package/dist/compositions/Filters/parts/helpers.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/helpers.js +38 -0
- package/dist/compositions/Filters/parts/reducer.d.ts +40 -0
- package/dist/compositions/Filters/parts/reducer.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/reducer.js +50 -0
- package/dist/compositions/Filters/parts/styles.css.d.ts +4 -0
- package/dist/compositions/Filters/parts/styles.css.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/styles.css.js +13 -0
- package/dist/compositions/Filters/parts/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/Filters/parts/useFilters.d.ts +28 -0
- package/dist/compositions/Filters/parts/useFilters.d.ts.map +1 -0
- package/dist/compositions/Filters/parts/useFilters.js +100 -0
- package/dist/compositions/Filters/types.d.ts +80 -0
- package/dist/compositions/Filters/types.d.ts.map +1 -0
- package/dist/compositions/InfoTable/styles.css.js +82 -82
- package/dist/compositions/OfferList/components/Row.d.ts +1 -1
- package/dist/compositions/OfferList/components/Row.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Row.js +3 -2
- package/dist/compositions/OfferList/components/SelectableCell.js +1 -1
- package/dist/compositions/OfferList/index.d.ts +1 -1
- package/dist/compositions/OfferList/styles.css.d.ts +1 -5
- package/dist/compositions/OfferList/styles.css.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/styles.css.js +83 -83
- package/dist/compositions/RichTextInput/Toolbar.js +1 -1
- package/dist/compositions/RichTextInput/index.js +1 -1
- package/dist/compositions/SteppedListCard/styles.css.js +2 -0
- package/dist/compositions/index.d.ts +2 -0
- package/dist/compositions/index.d.ts.map +1 -1
- package/dist/compositions/index.js +6 -0
- package/dist/index.js +62 -62
- package/dist/ui.css +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AnyObject } from '../types';
|
|
2
|
+
export type UseFiltersParams<V extends AnyObject> = {
|
|
3
|
+
defaultValues: V;
|
|
4
|
+
initialValues?: Partial<V>;
|
|
5
|
+
onChange?: (values: V) => void;
|
|
6
|
+
onSubmit?: (values: V) => void;
|
|
7
|
+
};
|
|
8
|
+
export type UseFiltersReturn<V extends AnyObject> = ReturnType<typeof useFilters<V>>;
|
|
9
|
+
/**
|
|
10
|
+
* UI-agnostic implementation of the filters logic.
|
|
11
|
+
*/
|
|
12
|
+
export declare const useFilters: <V extends AnyObject>({ defaultValues, initialValues, onChange, onSubmit, }: UseFiltersParams<V>) => {
|
|
13
|
+
values: V;
|
|
14
|
+
defaultValues: V;
|
|
15
|
+
dirtyFilters: (keyof V)[];
|
|
16
|
+
appliedFilters: (keyof V)[];
|
|
17
|
+
lastSubmittedValues: V;
|
|
18
|
+
setValue: <K extends keyof V>(name: K, value: V[K]) => void;
|
|
19
|
+
setValues: (values: Partial<V>) => void;
|
|
20
|
+
resetField: <K extends keyof V>(name: K, options?: {
|
|
21
|
+
defaultValue?: V[K];
|
|
22
|
+
}) => void;
|
|
23
|
+
resetFields: (names: (keyof V)[]) => void;
|
|
24
|
+
reset: (values?: Partial<V>) => void;
|
|
25
|
+
submit: (overrideValues?: Partial<V>) => void;
|
|
26
|
+
discard: () => void;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=useFilters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFilters.d.ts","sourceRoot":"","sources":["../../../../src/compositions/Filters/parts/useFilters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAIzC,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,SAAS,IAAI;IAClD,aAAa,EAAE,CAAC,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,SAAS,IAAI,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAA;AAEpF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,SAAS,yDAK3C,gBAAgB,CAAC,CAAC,CAAC;;;;;;eAmCF,CAAC,SAAS,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;wBAI9B,OAAO,CAAC,CAAC,CAAC;iBAIjB,CAAC,SAAS,MAAM,CAAC,QAAQ,CAAC,YAAY;QAAE,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE;yBAIrD,CAAC,MAAM,CAAC,CAAC,EAAE;qBAIf,OAAO,CAAC,CAAC,CAAC;8BAID,OAAO,CAAC,CAAC,CAAC;;CA2B5C,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
3
|
+
import { getKeysWithDifferentValues, init_helpers, isSameValues } from "./helpers.js";
|
|
4
|
+
import { filtersReducer, init_reducer } from "./reducer.js";
|
|
5
|
+
import { useEffect, useMemo, useReducer } from "react";
|
|
6
|
+
|
|
7
|
+
//#region src/compositions/Filters/parts/useFilters.ts
|
|
8
|
+
var useFilters;
|
|
9
|
+
var init_useFilters = __esmMin(() => {
|
|
10
|
+
init_helpers();
|
|
11
|
+
init_reducer();
|
|
12
|
+
init_objectSpread2();
|
|
13
|
+
useFilters = ({ defaultValues, initialValues = {}, onChange, onSubmit }) => {
|
|
14
|
+
const initialState = useMemo(() => {
|
|
15
|
+
const stateInitialValues = _objectSpread2(_objectSpread2({}, defaultValues), initialValues);
|
|
16
|
+
return {
|
|
17
|
+
values: stateInitialValues,
|
|
18
|
+
lastSubmittedValues: stateInitialValues,
|
|
19
|
+
defaultValues
|
|
20
|
+
};
|
|
21
|
+
}, [defaultValues, initialValues]);
|
|
22
|
+
const [state, dispatch] = useReducer(filtersReducer, initialState);
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (state.values !== initialState.values) onChange === null || onChange === void 0 || onChange(state.values);
|
|
25
|
+
}, [
|
|
26
|
+
state.values,
|
|
27
|
+
onChange,
|
|
28
|
+
initialState.values
|
|
29
|
+
]);
|
|
30
|
+
/**
|
|
31
|
+
* Names of filters that have been modified from the default values AND submitted
|
|
32
|
+
*/
|
|
33
|
+
const appliedFilters = useMemo(() => getKeysWithDifferentValues(state.lastSubmittedValues, state.defaultValues), [state.lastSubmittedValues, state.defaultValues]);
|
|
34
|
+
/**
|
|
35
|
+
* Names of filters that have been modified from the default values
|
|
36
|
+
*/
|
|
37
|
+
const dirtyFilters = useMemo(() => getKeysWithDifferentValues(state.values, state.defaultValues), [state.values, state.defaultValues]);
|
|
38
|
+
const setValue = (name, value) => {
|
|
39
|
+
dispatch({
|
|
40
|
+
type: "SET_VALUE",
|
|
41
|
+
payload: {
|
|
42
|
+
name,
|
|
43
|
+
value
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
const setValues = (values) => {
|
|
48
|
+
dispatch({
|
|
49
|
+
type: "SET_VALUES",
|
|
50
|
+
payload: { values }
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
const resetField = (name, options) => {
|
|
54
|
+
dispatch({
|
|
55
|
+
type: "RESET_FIELD",
|
|
56
|
+
payload: {
|
|
57
|
+
name,
|
|
58
|
+
defaultValue: options === null || options === void 0 ? void 0 : options.defaultValue
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
const resetFields = (names) => {
|
|
63
|
+
dispatch({
|
|
64
|
+
type: "RESET_FIELDS",
|
|
65
|
+
payload: { names }
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
const reset = (values) => {
|
|
69
|
+
dispatch({
|
|
70
|
+
type: "RESET",
|
|
71
|
+
payload: { values }
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
const submit = (overrideValues) => {
|
|
75
|
+
dispatch({ type: "SUBMIT" });
|
|
76
|
+
if (!isSameValues(_objectSpread2(_objectSpread2({}, state.values), overrideValues), state.lastSubmittedValues)) onSubmit === null || onSubmit === void 0 || onSubmit(_objectSpread2(_objectSpread2({}, state.values), overrideValues));
|
|
77
|
+
};
|
|
78
|
+
const discard = () => {
|
|
79
|
+
dispatch({ type: "DISCARD" });
|
|
80
|
+
};
|
|
81
|
+
return {
|
|
82
|
+
values: state.values,
|
|
83
|
+
defaultValues: state.defaultValues,
|
|
84
|
+
dirtyFilters,
|
|
85
|
+
appliedFilters,
|
|
86
|
+
lastSubmittedValues: state.lastSubmittedValues,
|
|
87
|
+
setValue,
|
|
88
|
+
setValues,
|
|
89
|
+
resetField,
|
|
90
|
+
resetFields,
|
|
91
|
+
reset,
|
|
92
|
+
submit,
|
|
93
|
+
discard
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
//#endregion
|
|
99
|
+
init_useFilters();
|
|
100
|
+
export { init_useFilters, useFilters };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { DateInput } from '../../components/DateInput';
|
|
3
|
+
import type { SelectInput } from '../../components/SelectInput';
|
|
4
|
+
import type { Slider } from '../../components/Slider';
|
|
5
|
+
import type { DatetimeRangeLocales } from './filterTypes/FilterDatetimeRange/type';
|
|
6
|
+
export type AnyObject = Record<string, unknown>;
|
|
7
|
+
export type FilterPropsBase<Value> = {
|
|
8
|
+
value: Value;
|
|
9
|
+
onChange: (value: Value) => void;
|
|
10
|
+
hideLabel?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type FilterConfigItemBase = {
|
|
13
|
+
name: string;
|
|
14
|
+
label: string;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
hideInDrawer?: boolean;
|
|
17
|
+
expanded?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export type FilterConfigItemText = FilterConfigItemBase & {
|
|
20
|
+
type: 'text';
|
|
21
|
+
regexp?: RegExp;
|
|
22
|
+
debounceDuration?: number;
|
|
23
|
+
};
|
|
24
|
+
export type FilterConfigItemSearch = FilterConfigItemBase & {
|
|
25
|
+
type: 'search';
|
|
26
|
+
regexp?: RegExp;
|
|
27
|
+
debounceDuration?: number;
|
|
28
|
+
};
|
|
29
|
+
export type FilterConfigItemSelect<V extends AnyObject = AnyObject> = FilterConfigItemBase & {
|
|
30
|
+
type: 'select';
|
|
31
|
+
options: ComponentProps<typeof SelectInput>['options'] | ((values: V) => ComponentProps<typeof SelectInput>['options']);
|
|
32
|
+
clearable?: boolean;
|
|
33
|
+
};
|
|
34
|
+
export type FilterConfigItemMultiSelect<V extends AnyObject = AnyObject> = FilterConfigItemBase & Pick<ComponentProps<typeof SelectInput>, 'searchable' | 'clearable' | 'selectAll' | 'selectAllGroup'> & {
|
|
35
|
+
type: 'multiselect';
|
|
36
|
+
options: ComponentProps<typeof SelectInput>['options'] | ((values: V) => ComponentProps<typeof SelectInput>['options']);
|
|
37
|
+
};
|
|
38
|
+
export type FilterConfigItemSlider = FilterConfigItemBase & Pick<ComponentProps<typeof Slider>, 'options' | 'step' | 'unit' | 'min' | 'max' | 'double'> & {
|
|
39
|
+
type: 'slider';
|
|
40
|
+
};
|
|
41
|
+
type RelativePreset = {
|
|
42
|
+
label: string;
|
|
43
|
+
value: string;
|
|
44
|
+
relativeTime: number;
|
|
45
|
+
};
|
|
46
|
+
export type FilterConfigItemDatetimeRange = FilterConfigItemBase & {
|
|
47
|
+
type: 'datetimeRange';
|
|
48
|
+
minDate?: Date;
|
|
49
|
+
maxDate?: Date;
|
|
50
|
+
dateFormatter: (date: Date) => string;
|
|
51
|
+
texts: DatetimeRangeLocales;
|
|
52
|
+
dateInputLocale: ComponentProps<typeof DateInput>['locale'];
|
|
53
|
+
relativePresets: [RelativePreset, ...RelativePreset[]];
|
|
54
|
+
};
|
|
55
|
+
export type FilterConfigItemNumber = FilterConfigItemBase & {
|
|
56
|
+
type: 'number';
|
|
57
|
+
min?: number;
|
|
58
|
+
max?: number;
|
|
59
|
+
step?: number;
|
|
60
|
+
};
|
|
61
|
+
export type FilterConfigItemCustom = FilterConfigItemBase & {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
64
|
+
export type FilterConfigItem<V extends AnyObject = AnyObject> = FilterConfigItemText | FilterConfigItemSearch | FilterConfigItemSelect<V> | FilterConfigItemMultiSelect<V> | FilterConfigItemSlider | FilterConfigItemDatetimeRange | FilterConfigItemCustom;
|
|
65
|
+
export type FilterConfigGroup<V extends AnyObject = AnyObject> = {
|
|
66
|
+
type: 'group';
|
|
67
|
+
label: string;
|
|
68
|
+
items: FilterConfigItem<V>[];
|
|
69
|
+
hideInDrawer?: boolean;
|
|
70
|
+
expanded?: boolean;
|
|
71
|
+
};
|
|
72
|
+
export type FilterConfig<V extends AnyObject = AnyObject> = FilterConfigGroup<V> | FilterConfigItem<V>;
|
|
73
|
+
export type FilterComponentProps<Value = any, Config = any, Values extends AnyObject = AnyObject> = FilterPropsBase<Value> & {
|
|
74
|
+
config: Config;
|
|
75
|
+
size: 'large' | 'medium';
|
|
76
|
+
directionContext: 'column' | 'row';
|
|
77
|
+
values: Values;
|
|
78
|
+
};
|
|
79
|
+
export {};
|
|
80
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/compositions/Filters/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAA;AAElF,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE/C,MAAM,MAAM,eAAe,CAAC,KAAK,IAAI;IACnC,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,GAAG;IACxD,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,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MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI,iBAAiB,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAEtG,MAAM,MAAM,oBAAoB,CAE9B,KAAK,GAAG,GAAG,EAEX,MAAM,GAAG,GAAG,EACZ,MAAM,SAAS,SAAS,GAAG,SAAS,IAClC,eAAe,CAAC,KAAK,CAAC,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;IACxB,gBAAgB,EAAE,QAAQ,GAAG,KAAK,CAAA;IAClC,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
|
|
@@ -33,50 +33,50 @@ import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$23 } from "../
|
|
|
33
33
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$24 } from "../../components/List/styles.css.ts.vanilla.js";
|
|
34
34
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$25 } from "../../components/SelectableCard/styles.css.ts.vanilla.js";
|
|
35
35
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$26 } from "../../components/Checkbox/styles.css.ts.vanilla.js";
|
|
36
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$27 } from "../../components/
|
|
37
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$28 } from "../../components/
|
|
38
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$29 } from "../../components/
|
|
39
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$30 } from "../../components/
|
|
40
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$31 } from "../../components/
|
|
41
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$32 } from "../../components/
|
|
42
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$33 } from "../../components/
|
|
43
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$34 } from "../../components/
|
|
44
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$35 } from "../../components/
|
|
45
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$36 } from "../../components/
|
|
46
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$37 } from "../../components/
|
|
47
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$38 } from "../../components/
|
|
48
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$39 } from "../../components/
|
|
49
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$40 } from "../../components/
|
|
50
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$41 } from "../../components/
|
|
51
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$42 } from "../../components/
|
|
52
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$43 } from "../../components/
|
|
53
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$44 } from "../../components/
|
|
54
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$45 } from "../../components/
|
|
55
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$46 } from "../../components/
|
|
56
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$47 } from "../../components/
|
|
57
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$48 } from "../../components/
|
|
58
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$49 } from "../../components/
|
|
59
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$50 } from "../../components/
|
|
60
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$51 } from "../../components/
|
|
61
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$52 } from "../../components/
|
|
62
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$53 } from "../../components/
|
|
63
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$54 } from "../../components/
|
|
64
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$55 } from "../../components/
|
|
65
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$56 } from "../../components/
|
|
66
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$57 } from "../../components/
|
|
67
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$58 } from "../../components/
|
|
68
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$59 } from "../../components/
|
|
69
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$60 } from "../../components/
|
|
70
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$61 } from "../../components/
|
|
71
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$62 } from "../../components/
|
|
72
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$63 } from "../../components/
|
|
73
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$64 } from "../../components/
|
|
74
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$65 } from "../../components/
|
|
75
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$66 } from "../../components/
|
|
76
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$67 } from "../../components/
|
|
77
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$68 } from "../../components/
|
|
78
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$69 } from "../../components/
|
|
79
|
-
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$70 } from "../../components/
|
|
36
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$27 } from "../../components/Dialog/styles.css.ts.vanilla.js";
|
|
37
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$28 } from "../../components/Modal/styles.css.ts.vanilla.js";
|
|
38
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$29 } from "../../components/Popover/styles.css.ts.vanilla.js";
|
|
39
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$30 } from "../../components/Card/styles.css.ts.vanilla.js";
|
|
40
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$31 } from "../../components/DateInput/components/styles.css.ts.vanilla.js";
|
|
41
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$32 } from "../../components/DateInput/styles.css.ts.vanilla.js";
|
|
42
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$33 } from "../../components/SwitchButton/styles.css.ts.vanilla.js";
|
|
43
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$34 } from "../../components/Radio/styles.css.ts.vanilla.js";
|
|
44
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$35 } from "../../components/RadioGroup/styles.css.ts.vanilla.js";
|
|
45
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$36 } from "../../components/Toggle/styles.css.ts.vanilla.js";
|
|
46
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$37 } from "../../components/TimeInput/styles.css.ts.vanilla.js";
|
|
47
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$38 } from "../../components/Slider/styles.css.ts.vanilla.js";
|
|
48
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$39 } from "../../components/Bullet/styles.css.ts.vanilla.js";
|
|
49
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$40 } from "../../components/ActionBar/styles.css.ts.vanilla.js";
|
|
50
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$41 } from "../../components/Avatar/styles.css.ts.vanilla.js";
|
|
51
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$42 } from "../../components/Link/styles.css.ts.vanilla.js";
|
|
52
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$43 } from "../../components/Banner/styles.css.ts.vanilla.js";
|
|
53
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$44 } from "../../components/BarChart/styles.css.ts.vanilla.js";
|
|
54
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$45 } from "../../components/BarStack/styles.css.ts.vanilla.js";
|
|
55
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$46 } from "../../components/Breadcrumbs/components/styles.css.ts.vanilla.js";
|
|
56
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$47 } from "../../components/Breadcrumbs/styles.css.ts.vanilla.js";
|
|
57
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$48 } from "../../components/Carousel/styles.css.ts.vanilla.js";
|
|
58
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$49 } from "../../components/Chip/styles.css.ts.vanilla.js";
|
|
59
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$50 } from "../../components/EmptyState/styles.css.ts.vanilla.js";
|
|
60
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$51 } from "../../components/ExpandableCard/styles.css.ts.vanilla.js";
|
|
61
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$52 } from "../../components/FileInput/styles.css.ts.vanilla.js";
|
|
62
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$53 } from "../../components/GlobalAlert/styles.css.ts.vanilla.js";
|
|
63
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$54 } from "../../components/LineChart/styles.css.ts.vanilla.js";
|
|
64
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$55 } from "../../components/Meter/styles.css.ts.vanilla.js";
|
|
65
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$56 } from "../../components/Notice/styles.css.ts.vanilla.js";
|
|
66
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$57 } from "../../components/Notification/styles.css.ts.vanilla.js";
|
|
67
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$58 } from "../../components/Pagination/styles.css.ts.vanilla.js";
|
|
68
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$59 } from "../../components/PasswordCheck/styles.css.ts.vanilla.js";
|
|
69
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$60 } from "../../components/PieChart/styles.css.ts.vanilla.js";
|
|
70
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$61 } from "../../components/ProgressBar/styles.css.ts.vanilla.js";
|
|
71
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$62 } from "../../components/SelectableCardGroup/styles.css.ts.vanilla.js";
|
|
72
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$63 } from "../../components/Snippet/styles.css.ts.vanilla.js";
|
|
73
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$64 } from "../../components/Status/styles.css.ts.vanilla.js";
|
|
74
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$65 } from "../../components/StepList/styles.css.ts.vanilla.js";
|
|
75
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$66 } from "../../components/Stepper/styles.css.ts.vanilla.js";
|
|
76
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$67 } from "../../components/Table/styles.css.ts.vanilla.js";
|
|
77
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$68 } from "../../components/Tabs/styles.css.ts.vanilla.js";
|
|
78
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$69 } from "../../components/TagInput/styles.css.ts.vanilla.js";
|
|
79
|
+
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$70 } from "../../components/TextArea/styles.css.ts.vanilla.js";
|
|
80
80
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$71 } from "../../components/Toaster/styles.css.ts.vanilla.js";
|
|
81
81
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$72 } from "../../components/ToggleGroup/styles.css.ts.vanilla.js";
|
|
82
82
|
import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$73 } from "../../components/TreeMapChart/styles.css.ts.vanilla.js";
|
|
@@ -88,61 +88,61 @@ import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
|
88
88
|
var rowWidth, infoTableStyle;
|
|
89
89
|
var init_styles_css = __esmMin(() => {
|
|
90
90
|
init_animationsVanillaExtract_css_ts_vanilla();
|
|
91
|
-
init_styles_css_ts_vanilla$29();
|
|
92
|
-
init_styles_css_ts_vanilla$18();
|
|
93
|
-
init_styles_css_ts_vanilla$30();
|
|
94
|
-
init_styles_css_ts_vanilla$12();
|
|
95
|
-
init_styles_css_ts_vanilla$32();
|
|
96
|
-
init_styles_css_ts_vanilla$33();
|
|
97
|
-
init_styles_css_ts_vanilla$34();
|
|
98
|
-
init_styles_css_ts_vanilla$35();
|
|
99
|
-
init_styles_css_ts_vanilla$36();
|
|
100
|
-
init_styles_css_ts_vanilla$27();
|
|
101
|
-
init_styles_css_ts_vanilla$6();
|
|
102
|
-
init_styles_css_ts_vanilla$28();
|
|
103
|
-
init_styles_css_ts_vanilla$37();
|
|
104
|
-
init_styles_css_ts_vanilla$23();
|
|
105
|
-
init_styles_css_ts_vanilla$24();
|
|
106
|
-
init_styles_css_ts_vanilla$25();
|
|
107
|
-
init_styles_css_ts_vanilla$26();
|
|
108
|
-
init_styles_css_ts_vanilla$38();
|
|
109
|
-
init_styles_css_ts_vanilla$39();
|
|
110
91
|
init_styles_css_ts_vanilla$40();
|
|
92
|
+
init_styles_css_ts_vanilla$18();
|
|
111
93
|
init_styles_css_ts_vanilla$41();
|
|
112
|
-
init_styles_css_ts_vanilla$
|
|
94
|
+
init_styles_css_ts_vanilla$12();
|
|
113
95
|
init_styles_css_ts_vanilla$43();
|
|
114
|
-
init_styles_css_ts_vanilla$13();
|
|
115
96
|
init_styles_css_ts_vanilla$44();
|
|
116
97
|
init_styles_css_ts_vanilla$45();
|
|
117
98
|
init_styles_css_ts_vanilla$46();
|
|
118
|
-
init_styles_css_ts_vanilla$11();
|
|
119
|
-
init_styles_css_ts_vanilla$8();
|
|
120
99
|
init_styles_css_ts_vanilla$47();
|
|
121
|
-
init_styles_css_ts_vanilla$
|
|
122
|
-
init_styles_css_ts_vanilla$
|
|
123
|
-
init_styles_css_ts_vanilla$
|
|
100
|
+
init_styles_css_ts_vanilla$39();
|
|
101
|
+
init_styles_css_ts_vanilla$6();
|
|
102
|
+
init_styles_css_ts_vanilla$30();
|
|
124
103
|
init_styles_css_ts_vanilla$48();
|
|
125
|
-
init_styles_css_ts_vanilla$
|
|
104
|
+
init_styles_css_ts_vanilla$23();
|
|
105
|
+
init_styles_css_ts_vanilla$24();
|
|
106
|
+
init_styles_css_ts_vanilla$25();
|
|
107
|
+
init_styles_css_ts_vanilla$26();
|
|
126
108
|
init_styles_css_ts_vanilla$49();
|
|
109
|
+
init_styles_css_ts_vanilla$31();
|
|
110
|
+
init_styles_css_ts_vanilla$32();
|
|
111
|
+
init_styles_css_ts_vanilla$27();
|
|
112
|
+
init_styles_css_ts_vanilla$14();
|
|
127
113
|
init_styles_css_ts_vanilla$50();
|
|
128
|
-
init_styles_css_ts_vanilla$
|
|
114
|
+
init_styles_css_ts_vanilla$13();
|
|
129
115
|
init_styles_css_ts_vanilla$51();
|
|
130
116
|
init_styles_css_ts_vanilla$52();
|
|
131
117
|
init_styles_css_ts_vanilla$53();
|
|
118
|
+
init_styles_css_ts_vanilla$11();
|
|
119
|
+
init_styles_css_ts_vanilla$8();
|
|
132
120
|
init_styles_css_ts_vanilla$54();
|
|
121
|
+
init_styles_css_ts_vanilla$42();
|
|
122
|
+
init_styles_css_ts_vanilla$5();
|
|
123
|
+
init_styles_css_ts_vanilla$7();
|
|
124
|
+
init_styles_css_ts_vanilla$55();
|
|
125
|
+
init_styles_css_ts_vanilla$28();
|
|
126
|
+
init_styles_css_ts_vanilla$56();
|
|
127
|
+
init_styles_css_ts_vanilla$57();
|
|
128
|
+
init_styles_css_ts_vanilla$17();
|
|
129
|
+
init_styles_css_ts_vanilla$58();
|
|
130
|
+
init_styles_css_ts_vanilla$59();
|
|
131
|
+
init_styles_css_ts_vanilla$60();
|
|
132
|
+
init_styles_css_ts_vanilla$29();
|
|
133
133
|
init_styles_css_ts_vanilla$1();
|
|
134
134
|
init_styles_css_ts_vanilla$2();
|
|
135
135
|
init_style_css_ts_vanilla();
|
|
136
136
|
init_styles_css_ts_vanilla$3();
|
|
137
|
-
init_styles_css_ts_vanilla$
|
|
137
|
+
init_styles_css_ts_vanilla$61();
|
|
138
138
|
init_styles_css_ts_vanilla$20();
|
|
139
|
-
init_styles_css_ts_vanilla$
|
|
140
|
-
init_styles_css_ts_vanilla$
|
|
141
|
-
init_styles_css_ts_vanilla$
|
|
139
|
+
init_styles_css_ts_vanilla$33();
|
|
140
|
+
init_styles_css_ts_vanilla$34();
|
|
141
|
+
init_styles_css_ts_vanilla$35();
|
|
142
142
|
init_variables_css_ts_vanilla$1();
|
|
143
143
|
init_styles_css_ts_vanilla$16();
|
|
144
144
|
init_styles_css_ts_vanilla$9();
|
|
145
|
-
init_styles_css_ts_vanilla$
|
|
145
|
+
init_styles_css_ts_vanilla$62();
|
|
146
146
|
init_dropdown_css_ts_vanilla();
|
|
147
147
|
init_styles_css_ts_vanilla$21();
|
|
148
148
|
init_selectBar_css_ts_vanilla();
|
|
@@ -150,21 +150,21 @@ var init_styles_css = __esmMin(() => {
|
|
|
150
150
|
init_styles_css_ts_vanilla$15();
|
|
151
151
|
init_stylesVariants_css_ts_vanilla();
|
|
152
152
|
init_styles_css_ts_vanilla$19();
|
|
153
|
-
init_styles_css_ts_vanilla$
|
|
154
|
-
init_styles_css_ts_vanilla$
|
|
153
|
+
init_styles_css_ts_vanilla$38();
|
|
154
|
+
init_styles_css_ts_vanilla$63();
|
|
155
155
|
init_variables_css_ts_vanilla();
|
|
156
156
|
init_styles_css_ts_vanilla();
|
|
157
|
-
init_styles_css_ts_vanilla$63();
|
|
158
157
|
init_styles_css_ts_vanilla$64();
|
|
159
158
|
init_styles_css_ts_vanilla$65();
|
|
160
159
|
init_styles_css_ts_vanilla$66();
|
|
161
160
|
init_styles_css_ts_vanilla$67();
|
|
162
161
|
init_styles_css_ts_vanilla$68();
|
|
163
162
|
init_styles_css_ts_vanilla$69();
|
|
164
|
-
init_styles_css_ts_vanilla$10();
|
|
165
163
|
init_styles_css_ts_vanilla$70();
|
|
164
|
+
init_styles_css_ts_vanilla$10();
|
|
165
|
+
init_styles_css_ts_vanilla$37();
|
|
166
166
|
init_styles_css_ts_vanilla$71();
|
|
167
|
-
init_styles_css_ts_vanilla$
|
|
167
|
+
init_styles_css_ts_vanilla$36();
|
|
168
168
|
init_styles_css_ts_vanilla$72();
|
|
169
169
|
init_styles_css_ts_vanilla$4();
|
|
170
170
|
init_styles_css_ts_vanilla$73();
|
|
@@ -14,6 +14,6 @@ type RowProps = ComponentProps<typeof List.Row> & {
|
|
|
14
14
|
};
|
|
15
15
|
style?: CSSProperties;
|
|
16
16
|
};
|
|
17
|
-
export declare const Row: ({ children, disabled, id, banner, expandablePadding, offerName, expandable: expandableContent, selectDisabled, highlightAnimation, expanded, className, 'data-dragging': dataDragging, 'data-testid': dataTestId, style, badge, }: RowProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const Row: ({ children, disabled, id, banner, expandablePadding, offerName, expandable: expandableContent, selectDisabled, highlightAnimation, expanded, className, 'data-dragging': dataDragging, 'data-testid': dataTestId, style, badge, onClick, }: RowProps) => import("react").JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=Row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../src/compositions/OfferList/components/Row.tsx"],"names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A;KACzD,CAAA;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,MAAM,CAAA;QACZ,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,WAAW,CAAC,CAAA;QACvD,UAAU,CAAC,EAAE,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,YAAY,CAAC,CAAA;KAC1D,CAAA;IACD,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,GAAG,+OAiBb,QAAQ,gCAyKV,CAAA"}
|
|
@@ -25,7 +25,7 @@ var init_Row = __esmMin(() => {
|
|
|
25
25
|
init_OfferListRowProvider();
|
|
26
26
|
init_SelectableCell();
|
|
27
27
|
init_styles_css();
|
|
28
|
-
Row = ({ children, disabled, id, banner, expandablePadding: expandablePadding$1, offerName, expandable: expandableContent, selectDisabled, highlightAnimation, expanded, className, "data-dragging": dataDragging, "data-testid": dataTestId, style, badge }) => {
|
|
28
|
+
Row = ({ children, disabled, id, banner, expandablePadding: expandablePadding$1, offerName, expandable: expandableContent, selectDisabled, highlightAnimation, expanded, className, "data-dragging": dataDragging, "data-testid": dataTestId, style, badge, onClick }) => {
|
|
29
29
|
const { selectable, radioSelectedRow, setRadioSelectedRow, checkboxSelectedRows, setCheckboxSelectedRows, expandable, loading, onChangeSelect, autoCollapse } = useOfferListContext();
|
|
30
30
|
const { expandedRowIds, collapseRow, expandRow } = List.useListContext();
|
|
31
31
|
const [isHovered, setHovered] = useState(false);
|
|
@@ -103,10 +103,11 @@ var init_Row = __esmMin(() => {
|
|
|
103
103
|
expanded: expanded !== null && expanded !== void 0 ? expanded : expandedRowIds[id],
|
|
104
104
|
highlightAnimation,
|
|
105
105
|
id,
|
|
106
|
-
onClick: () => {
|
|
106
|
+
onClick: (localId) => {
|
|
107
107
|
if (selectDisabled || disabled || loading) return;
|
|
108
108
|
if (selectable === "radio") handleChangeRadio();
|
|
109
109
|
if (selectable === "checkbox") handleChangeCheckbox();
|
|
110
|
+
onClick === null || onClick === void 0 || onClick(localId);
|
|
110
111
|
},
|
|
111
112
|
onMouseEnter: () => setHovered(true),
|
|
112
113
|
onMouseLeave: () => setHovered(false),
|
|
@@ -3,8 +3,8 @@ import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
import { Tooltip, init_Tooltip } from "../../../components/Tooltip/index.js";
|
|
4
4
|
import { Badge, init_Badge } from "../../../components/Badge/index.js";
|
|
5
5
|
import { Checkbox, init_Checkbox } from "../../../components/Checkbox/index.js";
|
|
6
|
-
import { List, init_List } from "../../../components/List/index.js";
|
|
7
6
|
import { Radio, init_Radio } from "../../../components/Radio/index.js";
|
|
7
|
+
import { List, init_List } from "../../../components/List/index.js";
|
|
8
8
|
import { init_OfferListProvider, useOfferListContext } from "../OfferListProvider.js";
|
|
9
9
|
import { init_styles_css, offerListStyle } from "../styles.css.js";
|
|
10
10
|
import { cn } from "@ultraviolet/utils";
|
|
@@ -16,7 +16,7 @@ type OfferListProps = Omit<ComponentProps<typeof List>, 'selectable' | 'onSelect
|
|
|
16
16
|
};
|
|
17
17
|
export declare function OfferList({ expandable, type, columns, children, loading, autoCollapse, selected, onChangeSelect, className, style, 'data-testid': dataTestId, }: OfferListProps): import("react").JSX.Element;
|
|
18
18
|
export declare namespace OfferList {
|
|
19
|
-
var Row: ({ children, disabled, id, banner, expandablePadding, offerName, expandable: expandableContent, selectDisabled, highlightAnimation, expanded, className, 'data-dragging': dataDragging, 'data-testid': dataTestId, style, badge, }: {
|
|
19
|
+
var Row: ({ children, disabled, id, banner, expandablePadding, offerName, expandable: expandableContent, selectDisabled, highlightAnimation, expanded, className, 'data-dragging': dataDragging, 'data-testid': dataTestId, style, badge, onClick, }: {
|
|
20
20
|
children: import("react").ReactNode;
|
|
21
21
|
id: string;
|
|
22
22
|
expandable?: import("react").ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/compositions/OfferList/styles.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,oBAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/compositions/OfferList/styles.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,oBAAc,CAAA;AAgM5C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmB1B,CAAA"}
|