cecomponent 2.0.82 → 2.0.84
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/ce-component-lib.css +1 -1
- package/dist/ce-component-lib.js +58 -58
- package/dist/ce-component-lib.mjs +3694 -3489
- package/dist/components/Common/CEFieldComponet/DynamicTextField/DynamicTextField.d.ts +2 -0
- package/dist/components/Common/CEStepper/CEStepper.d.ts +4 -0
- package/dist/components/Common/DataGrid/CEDataGridDynamicsTable.d.ts +13 -0
- package/package.json +1 -1
|
@@ -29,6 +29,8 @@ export interface CETextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElem
|
|
|
29
29
|
iconAlignment?: "left" | "right";
|
|
30
30
|
/** Custom icon node when iconType = "custom" */
|
|
31
31
|
icon?: React.ReactNode;
|
|
32
|
+
/** Show a clear (×) button at the end of the input when there is text */
|
|
33
|
+
clearIcon?: boolean;
|
|
32
34
|
validationType?: "number" | "alphanumeric" | "alpha" | "alphanumericWithSpecial" | "alphaWithoutSpecial";
|
|
33
35
|
}
|
|
34
36
|
declare const CEDynamicTextField: React.ForwardRefExoticComponent<CETextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -2,12 +2,16 @@ import { default as React } from 'react';
|
|
|
2
2
|
export interface CEStepperProps {
|
|
3
3
|
steps: Array<{
|
|
4
4
|
label: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
meta?: string;
|
|
5
7
|
errorMessage?: string;
|
|
6
8
|
}>;
|
|
7
9
|
activeStep: number;
|
|
8
10
|
completedSteps: number[];
|
|
9
11
|
errorSteps?: number[];
|
|
12
|
+
loadingSteps?: number[];
|
|
10
13
|
size?: "small" | "medium" | "large";
|
|
14
|
+
direction?: "horizontal" | "vertical";
|
|
11
15
|
onStepClick?: (stepIndex: number) => void;
|
|
12
16
|
}
|
|
13
17
|
declare const CEStepper: React.FC<CEStepperProps>;
|
|
@@ -11,6 +11,7 @@ export interface ColumnConfig {
|
|
|
11
11
|
elementType?: ComponentType;
|
|
12
12
|
required?: boolean;
|
|
13
13
|
}
|
|
14
|
+
type FreezeColumnsInput = number | Array<string | number>;
|
|
14
15
|
interface CEDataGridDynamicTableProps {
|
|
15
16
|
title?: React.ReactNode;
|
|
16
17
|
jsonData: any[];
|
|
@@ -129,6 +130,18 @@ interface CEDataGridDynamicTableProps {
|
|
|
129
130
|
*/
|
|
130
131
|
customActions?: CustomAction[];
|
|
131
132
|
shouldColumnPersist?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Freeze columns on the left side of the grid.
|
|
135
|
+
* - number: freezes first N visible columns
|
|
136
|
+
* - (string | number)[]: freezes by ids/labels and/or 1-based visible indexes
|
|
137
|
+
*/
|
|
138
|
+
freezeColumns?: FreezeColumnsInput;
|
|
139
|
+
/** Initial freeze config for uncontrolled mode. */
|
|
140
|
+
defaultFreezeColumns?: FreezeColumnsInput;
|
|
141
|
+
/** Show pin and unpin controls in the Column Visibility modal. */
|
|
142
|
+
enableFreezeControls?: boolean;
|
|
143
|
+
/** Emits normalized frozen column ids when users update freeze settings from UI. */
|
|
144
|
+
onFreezeColumnsChange?: (frozenColumnIds: string[]) => void;
|
|
132
145
|
}
|
|
133
146
|
declare const CEDataGridDynamicTable: React.FC<CEDataGridDynamicTableProps>;
|
|
134
147
|
export default CEDataGridDynamicTable;
|
package/package.json
CHANGED