ingred-ui 33.9.0-canary.6 → 33.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AdvancedFilter/internal/CheckboxValueInput.d.ts +1 -0
- package/dist/components/AdvancedFilter/internal/ConfigPanelValueInput.d.ts +2 -0
- package/dist/components/AdvancedFilter/internal/DateRangeInput.d.ts +2 -0
- package/dist/components/AdvancedFilter/internal/RadioValueInput.d.ts +1 -0
- package/dist/components/AdvancedFilter/internal/TextValueInput.d.ts +1 -0
- package/dist/components/AdvancedFilter/types.d.ts +8 -0
- package/dist/components/AdvancedFilter/utils/helpers.d.ts +10 -0
- package/dist/components/DateField/constants.d.ts +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/index.es.js +802 -974
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +767 -939
- package/dist/index.js.map +1 -1
- package/dist/themes/index.d.ts +1 -2
- package/dist/themes/palette.d.ts +0 -57
- package/package.json +18 -45
- package/dist/components/Chart/BarChart/BarChart.d.ts +0 -4
- package/dist/components/Chart/BarChart/index.d.ts +0 -3
- package/dist/components/Chart/BarChart/types.d.ts +0 -42
- package/dist/components/Chart/LineChart/LineChart.d.ts +0 -4
- package/dist/components/Chart/LineChart/index.d.ts +0 -2
- package/dist/components/Chart/LineChart/types.d.ts +0 -27
- package/dist/components/Chart/__tests__/chart.test.d.ts +0 -1
- package/dist/components/Chart/index.d.ts +0 -13
- package/dist/components/Chart/internal/ChartAxis.d.ts +0 -29
- package/dist/components/Chart/internal/ChartBar.d.ts +0 -14
- package/dist/components/Chart/internal/ChartLegend.d.ts +0 -13
- package/dist/components/Chart/internal/ChartLineSeries.d.ts +0 -29
- package/dist/components/Chart/internal/ChartTooltip.d.ts +0 -13
- package/dist/components/Chart/internal/barWidthRatio.d.ts +0 -6
- package/dist/components/Chart/internal/clampTooltipPosition.d.ts +0 -10
- package/dist/components/Chart/internal/filterVisibleSeries.d.ts +0 -3
- package/dist/components/Chart/internal/getBarSegments.d.ts +0 -5
- package/dist/components/Chart/internal/getChartDataKey.d.ts +0 -3
- package/dist/components/Chart/internal/getChartLayout.d.ts +0 -42
- package/dist/components/Chart/internal/getLineSeries.d.ts +0 -28
- package/dist/components/Chart/internal/hasChartData.d.ts +0 -3
- package/dist/components/Chart/internal/hasLineChartData.d.ts +0 -3
- package/dist/components/Chart/internal/mapTimeSeriesChartData.d.ts +0 -19
- package/dist/components/Chart/internal/resolveSeries.d.ts +0 -7
- package/dist/components/Chart/internal/segmentReflow.d.ts +0 -11
- package/dist/components/Chart/internal/styled.d.ts +0 -48
- package/dist/components/Chart/internal/useChartContainerWidth.d.ts +0 -5
- package/dist/components/Chart/internal/useChartSegmentReflow.d.ts +0 -14
- package/dist/components/Chart/internal/utils/index.d.ts +0 -1
- package/dist/components/Chart/internal/utils/scale.d.ts +0 -2
- package/dist/components/Chart/types.d.ts +0 -34
- package/dist/themes/getChartPalette.d.ts +0 -4
|
@@ -58,6 +58,8 @@ export type ConfigPanelValueInputProps = {
|
|
|
58
58
|
isRangeOperator: (operator: string) => boolean;
|
|
59
59
|
/** テキスト入力要素への ref(inputType=text 時のみ使用) */
|
|
60
60
|
textInputRef?: React.Ref<HTMLInputElement>;
|
|
61
|
+
/** 入力を無効化する */
|
|
62
|
+
disabled?: boolean;
|
|
61
63
|
};
|
|
62
64
|
/**
|
|
63
65
|
* 値入力統合コンポーネント
|
|
@@ -104,6 +104,14 @@ export type MultiFilterConditionConfig = {
|
|
|
104
104
|
* - false: 任意(空でも適用可能)
|
|
105
105
|
*/
|
|
106
106
|
required?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* 他条件の選択値に応じてこの条件を活性化する。
|
|
109
|
+
* 未指定時は常に活性。指定時は参照条件の値が values のいずれかと一致したときのみ活性。
|
|
110
|
+
*/
|
|
111
|
+
enabledWhen?: {
|
|
112
|
+
conditionKey: string;
|
|
113
|
+
values: (string | boolean)[];
|
|
114
|
+
};
|
|
107
115
|
/** カスタムオペレーター関数 */
|
|
108
116
|
customOperator?: (filterValues: (string | boolean)[], operator?: string, currentValue?: unknown) => boolean;
|
|
109
117
|
/** カスタムバリデーション関数 */
|
|
@@ -137,6 +137,16 @@ export declare const getMultiConditionLogic: (filterConfig?: FilterTypeConfig) =
|
|
|
137
137
|
* 条件キーから条件設定を取得する
|
|
138
138
|
*/
|
|
139
139
|
export declare const getConditionConfigByKey: (filterConfig: FilterTypeConfig | undefined, conditionKey: string) => MultiFilterConditionConfig | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* enabledWhen により条件入力が非活性かどうかを判定する
|
|
142
|
+
*/
|
|
143
|
+
export declare const isConditionDisabledByDependency: (conditionConfig: MultiFilterConditionConfig, conditions: Array<{
|
|
144
|
+
conditionKey: string;
|
|
145
|
+
operator: string;
|
|
146
|
+
value: string;
|
|
147
|
+
selectedValues: (string | boolean)[];
|
|
148
|
+
selectedRadioValue: string | boolean;
|
|
149
|
+
}>, filterConfig?: FilterTypeConfig) => boolean;
|
|
140
150
|
/**
|
|
141
151
|
* 条件設定のデフォルトオペレーターを取得する
|
|
142
152
|
* defaultOperatorがoperatorsに存在しない場合はエラーを投げる
|
|
@@ -19,7 +19,7 @@ export declare const AllowedKeys: {
|
|
|
19
19
|
};
|
|
20
20
|
export declare const numpadCodes: string[];
|
|
21
21
|
export declare const numberKeys: string[];
|
|
22
|
-
export declare const allowedKeys: ("0" | "1" | "
|
|
22
|
+
export declare const allowedKeys: ("0" | "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "ArrowDown" | "ArrowUp" | "Backspace" | "Delete" | "ArrowLeft" | "ArrowRight" | "Tab")[];
|
|
23
23
|
export declare const isNumpadKey: (code: string) => boolean;
|
|
24
24
|
export declare const getNumpadNumber: (code: string) => string | null;
|
|
25
25
|
export type AllowedKeys = (typeof AllowedKeys)[keyof typeof AllowedKeys];
|
|
@@ -20,7 +20,6 @@ export { Calendar, CalendarRange } from "./Calendar";
|
|
|
20
20
|
export * from "./Calendar";
|
|
21
21
|
export { default as Card } from "./Card";
|
|
22
22
|
export * from "./Card";
|
|
23
|
-
export * from "./Chart";
|
|
24
23
|
export { default as Checkbox } from "./Checkbox";
|
|
25
24
|
export * from "./Checkbox";
|
|
26
25
|
export { default as CheckboxCard } from "./CheckboxCard";
|