@codezee/sixtify-brahma 0.2.328 → 0.2.330
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/package.json +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartCurrencyField.d.ts +44 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartCurrencyField.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/index.d.ts +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/index.d.ts.map +1 -1
- package/packages/shared-components/dist/index.cjs.js +1 -1
- package/packages/shared-components/dist/index.cjs.js.map +1 -1
- package/packages/shared-components/dist/index.esm.js +1 -1
- package/packages/shared-components/dist/index.esm.js.map +1 -1
package/package.json
CHANGED
package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartCurrencyField.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type SmartFieldSize } from "./smartFieldInputStyles";
|
|
2
|
+
import type { PredefinedCurrencyConfig } from "../../../FormFields/CurrencyField/predefinedOptions";
|
|
3
|
+
import type { ChangeEvent, InputHTMLAttributes } from "react";
|
|
4
|
+
export type SmartCurrencyFieldProps = {
|
|
5
|
+
errorMessage?: string;
|
|
6
|
+
size?: SmartFieldSize;
|
|
7
|
+
currencySymbol?: string;
|
|
8
|
+
decimalCharacter?: string;
|
|
9
|
+
digitGroupSeparator?: string;
|
|
10
|
+
decimalPlaces?: number;
|
|
11
|
+
decimalPlacesShownOnBlur?: number;
|
|
12
|
+
decimalPlacesShownOnFocus?: number;
|
|
13
|
+
minimumValue?: string | number;
|
|
14
|
+
maximumValue?: string | number;
|
|
15
|
+
outputFormat?: "string" | "number";
|
|
16
|
+
textAlign?: "right" | "left" | "center";
|
|
17
|
+
allowNegative?: boolean;
|
|
18
|
+
suffix?: string;
|
|
19
|
+
preDefined?: PredefinedCurrencyConfig;
|
|
20
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "onChange"> & {
|
|
21
|
+
value?: number | string | null;
|
|
22
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
23
|
+
};
|
|
24
|
+
export declare const SmartCurrencyField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
25
|
+
errorMessage?: string;
|
|
26
|
+
size?: SmartFieldSize;
|
|
27
|
+
currencySymbol?: string;
|
|
28
|
+
decimalCharacter?: string;
|
|
29
|
+
digitGroupSeparator?: string;
|
|
30
|
+
decimalPlaces?: number;
|
|
31
|
+
decimalPlacesShownOnBlur?: number;
|
|
32
|
+
decimalPlacesShownOnFocus?: number;
|
|
33
|
+
minimumValue?: string | number;
|
|
34
|
+
maximumValue?: string | number;
|
|
35
|
+
outputFormat?: "string" | "number";
|
|
36
|
+
textAlign?: "right" | "left" | "center";
|
|
37
|
+
allowNegative?: boolean;
|
|
38
|
+
suffix?: string;
|
|
39
|
+
preDefined?: PredefinedCurrencyConfig;
|
|
40
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "size"> & {
|
|
41
|
+
value?: number | string | null;
|
|
42
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
43
|
+
} & import("react").RefAttributes<HTMLInputElement>>>;
|
|
44
|
+
//# sourceMappingURL=SmartCurrencyField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartCurrencyField.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/EditableFields/SmartCurrencyField.tsx"],"names":[],"mappings":"AASA,OAAO,EAQL,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,KAAK,EACV,WAAW,EAEX,mBAAmB,EAEpB,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,uBAAuB,GAAG;IACpC,YAAY,CAAC,EAAE,MA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AAK,IAAI;qDAsZ5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/EditableFields/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/EditableFields/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
|