@salutejs/plasma-new-hope 0.144.0-canary.1430.10833771822.0 → 0.145.0-canary.1418.10848257808.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. package/emotion/cjs/components/Mask/Mask.js +213 -0
  2. package/emotion/cjs/components/Mask/Mask.types.js +5 -0
  3. package/emotion/cjs/components/Mask/index.js +12 -0
  4. package/emotion/cjs/components/Mask/utils/constants.js +29 -0
  5. package/emotion/cjs/components/Mask/utils/createMask.js +50 -0
  6. package/emotion/cjs/components/Mask/utils/mask.js +241 -0
  7. package/emotion/cjs/components/Mask/utils/parseMask.js +36 -0
  8. package/emotion/cjs/components/Mask/utils/processInput.js +52 -0
  9. package/emotion/cjs/components/Mask/utils/processMask.js +99 -0
  10. package/emotion/cjs/components/Mask/utils/selection.js +48 -0
  11. package/emotion/cjs/examples/plasma_b2c/components/Mask/Mask.js +9 -0
  12. package/emotion/cjs/examples/plasma_b2c/components/Mask/Mask.stories.tsx +125 -0
  13. package/emotion/es/components/Mask/Mask.js +205 -0
  14. package/emotion/es/components/Mask/Mask.types.js +1 -0
  15. package/emotion/es/components/Mask/index.js +1 -0
  16. package/emotion/es/components/Mask/utils/constants.js +23 -0
  17. package/emotion/es/components/Mask/utils/createMask.js +44 -0
  18. package/emotion/es/components/Mask/utils/mask.js +235 -0
  19. package/emotion/es/components/Mask/utils/parseMask.js +30 -0
  20. package/emotion/es/components/Mask/utils/processInput.js +46 -0
  21. package/emotion/es/components/Mask/utils/processMask.js +93 -0
  22. package/emotion/es/components/Mask/utils/selection.js +42 -0
  23. package/emotion/es/examples/plasma_b2c/components/Mask/Mask.js +3 -0
  24. package/emotion/es/examples/plasma_b2c/components/Mask/Mask.stories.tsx +125 -0
  25. package/package.json +2 -2
  26. package/styled-components/cjs/components/Mask/Mask.js +213 -0
  27. package/styled-components/cjs/components/Mask/Mask.types.js +5 -0
  28. package/styled-components/cjs/components/Mask/index.js +12 -0
  29. package/styled-components/cjs/components/Mask/utils/constants.js +29 -0
  30. package/styled-components/cjs/components/Mask/utils/createMask.js +50 -0
  31. package/styled-components/cjs/components/Mask/utils/mask.js +241 -0
  32. package/styled-components/cjs/components/Mask/utils/parseMask.js +36 -0
  33. package/styled-components/cjs/components/Mask/utils/processInput.js +52 -0
  34. package/styled-components/cjs/components/Mask/utils/processMask.js +99 -0
  35. package/styled-components/cjs/components/Mask/utils/selection.js +48 -0
  36. package/styled-components/cjs/examples/plasma_b2c/components/Mask/Mask.js +9 -0
  37. package/styled-components/cjs/examples/plasma_b2c/components/Mask/Mask.stories.tsx +125 -0
  38. package/styled-components/es/components/Mask/Mask.js +205 -0
  39. package/styled-components/es/components/Mask/Mask.types.js +1 -0
  40. package/styled-components/es/components/Mask/index.js +1 -0
  41. package/styled-components/es/components/Mask/utils/constants.js +23 -0
  42. package/styled-components/es/components/Mask/utils/createMask.js +44 -0
  43. package/styled-components/es/components/Mask/utils/mask.js +235 -0
  44. package/styled-components/es/components/Mask/utils/parseMask.js +30 -0
  45. package/styled-components/es/components/Mask/utils/processInput.js +46 -0
  46. package/styled-components/es/components/Mask/utils/processMask.js +93 -0
  47. package/styled-components/es/components/Mask/utils/selection.js +42 -0
  48. package/styled-components/es/examples/plasma_b2c/components/Mask/Mask.js +3 -0
  49. package/styled-components/es/examples/plasma_b2c/components/Mask/Mask.stories.tsx +125 -0
  50. package/types/components/Mask/Mask.d.ts +5 -0
  51. package/types/components/Mask/Mask.d.ts.map +1 -0
  52. package/types/components/Mask/Mask.types.d.ts +84 -0
  53. package/types/components/Mask/Mask.types.d.ts.map +1 -0
  54. package/types/components/Mask/index.d.ts +2 -0
  55. package/types/components/Mask/index.d.ts.map +1 -0
  56. package/types/components/Mask/utils/constants.d.ts +15 -0
  57. package/types/components/Mask/utils/constants.d.ts.map +1 -0
  58. package/types/components/Mask/utils/createMask.d.ts +19 -0
  59. package/types/components/Mask/utils/createMask.d.ts.map +1 -0
  60. package/types/components/Mask/utils/mask.d.ts +42 -0
  61. package/types/components/Mask/utils/mask.d.ts.map +1 -0
  62. package/types/components/Mask/utils/parseMask.d.ts +3 -0
  63. package/types/components/Mask/utils/parseMask.d.ts.map +1 -0
  64. package/types/components/Mask/utils/processInput.d.ts +13 -0
  65. package/types/components/Mask/utils/processInput.d.ts.map +1 -0
  66. package/types/components/Mask/utils/processMask.d.ts +7 -0
  67. package/types/components/Mask/utils/processMask.d.ts.map +1 -0
  68. package/types/components/Mask/utils/selection.d.ts +10 -0
  69. package/types/components/Mask/utils/selection.d.ts.map +1 -0
  70. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +191 -0
  71. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -0
@@ -0,0 +1,15 @@
1
+ export declare const charType: {
2
+ readonly User: 1;
3
+ readonly Char: 2;
4
+ readonly Mask: 3;
5
+ };
6
+ export declare const keyboardCode: {
7
+ Backspace: string;
8
+ Delete: string;
9
+ };
10
+ export declare const escapeChar = "\\";
11
+ export declare const defaultFormatChars: {
12
+ str: string;
13
+ regexp: RegExp;
14
+ }[];
15
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/Mask/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;CAIX,CAAC;AAEX,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAEF,eAAO,MAAM,UAAU,OAAO,CAAC;AAE/B,eAAO,MAAM,kBAAkB;;;GAiB9B,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { CreateInputArgs, InputValueInfo } from '../Mask.types';
2
+ import { Mask } from './mask';
3
+ export declare const defaults: {
4
+ maskFormat: {
5
+ str: string;
6
+ regexp: RegExp;
7
+ }[];
8
+ maskChar: string;
9
+ showMask: boolean;
10
+ removeSelectedRange: (args: {
11
+ value: InputValueInfo[];
12
+ selection: import("../Mask.types").SelectRange;
13
+ maskChar: string;
14
+ maskString: string;
15
+ }) => InputValueInfo[];
16
+ showPrefix: boolean;
17
+ };
18
+ export declare const createMask: (params: CreateInputArgs) => Mask;
19
+ //# sourceMappingURL=createMask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createMask.d.ts","sourceRoot":"","sources":["../../../../src/components/Mask/utils/createMask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;CAMpB,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,eAAe,KAAG,IA+BpD,CAAC"}
@@ -0,0 +1,42 @@
1
+ import type { InputState, InputValueInfo, ReformatFn, MaskInfo, MaskItemsMap, SelectRange } from '../Mask.types';
2
+ export declare class Mask {
3
+ selection: SelectRange;
4
+ value: Array<InputValueInfo> | string;
5
+ maskedValue: string;
6
+ visibleValue: string;
7
+ mask: Array<MaskInfo>;
8
+ maskChar: string;
9
+ maskFormatMap: MaskItemsMap;
10
+ showPrefix: boolean;
11
+ callbacks: Array<(state: InputState) => any>;
12
+ maskString?: string;
13
+ reformat?: ReformatFn;
14
+ constructor(showPrefix: boolean, maskChar: string, maskString?: string, reformat?: ReformatFn);
15
+ private get parseMaskFormat();
16
+ get getSelection(): {
17
+ start: number;
18
+ end: number;
19
+ };
20
+ get getState(): {
21
+ value: string | InputValueInfo[];
22
+ maskedValue: string;
23
+ visibleValue: string;
24
+ selection: SelectRange;
25
+ };
26
+ set setSelection(newSelection: SelectRange);
27
+ set setShowStartChars(show: boolean);
28
+ updateMask(newMask?: string): void;
29
+ updateMaskChar(newMaskChar: string): void;
30
+ updateMaskString(newMaskString: string): void;
31
+ updateReformat(newReformat: ReformatFn): void;
32
+ updateValue(data: string | Array<InputValueInfo>): void;
33
+ removePreviousOrSelected(): void;
34
+ removeNextOrSelected(): void;
35
+ paste(value: string): void;
36
+ input(input: string): void;
37
+ applyChanges(result: InputState): void;
38
+ subscribe(callback: (state: InputState) => any): void;
39
+ unsubscribe(callback: (state: InputState) => any): void;
40
+ notify(): void;
41
+ }
42
+ //# sourceMappingURL=mask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mask.d.ts","sourceRoot":"","sources":["../../../../src/components/Mask/utils/mask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjH,qBAAa,IAAI;IACb,SAAS,EAAE,WAAW,CAAC;IAEvB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,MAAM,CAAC;IAEtC,WAAW,EAAE,MAAM,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IAErB,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,EAAE,YAAY,CAAC;IAE5B,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,KAAK,CAAC,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG,CAAC,CAAC;IAE7C,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,EAAE,UAAU,CAAC;gBAEV,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,UAAU;IAe7F,OAAO,KAAK,eAAe,GAK1B;IAED,IAAI,YAAY;;;MAIf;IAED,IAAI,QAAQ;;;;;MAOX;IAED,IAAI,YAAY,CAAC,YAAY,EAAE,WAAW,EAEzC;IAED,IAAI,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAElC;IAED,UAAU,CAAC,OAAO,CAAC,EAAE,MAAM;IAK3B,cAAc,CAAC,WAAW,EAAE,MAAM;IAUlC,gBAAgB,CAAC,aAAa,EAAE,MAAM;IAUtC,cAAc,CAAC,WAAW,EAAE,UAAU;IAKtC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC;IA6BhD,wBAAwB;IAUxB,oBAAoB;IASpB,KAAK,CAAC,KAAK,EAAE,MAAM;IAInB,KAAK,CAAC,KAAK,EAAE,MAAM;IA6BnB,YAAY,CAAC,MAAM,EAAE,UAAU;IAoB/B,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG;IAI9C,WAAW,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG;IAIhD,MAAM;CAMT"}
@@ -0,0 +1,3 @@
1
+ import type { MaskInfo, MaskItemsMap } from '../Mask.types';
2
+ export declare const parseMask: (mask?: string | undefined, format?: MaskItemsMap | undefined) => Array<MaskInfo>;
3
+ //# sourceMappingURL=parseMask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseMask.d.ts","sourceRoot":"","sources":["../../../../src/components/Mask/utils/parseMask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI5D,eAAO,MAAM,SAAS,oEAA2C,MAAM,QAAQ,CAoC9E,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { InputState, InputValueInfo, MaskInfo, SelectRange } from '../Mask.types';
2
+ declare type ProcessInputArgs = {
3
+ data: Array<InputValueInfo>;
4
+ selection: SelectRange;
5
+ mask: Array<MaskInfo>;
6
+ maskChar?: string;
7
+ maskString?: string;
8
+ showPrefix?: boolean;
9
+ input?: string;
10
+ };
11
+ export declare const processInput: (args: ProcessInputArgs) => InputState;
12
+ export {};
13
+ //# sourceMappingURL=processInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Mask/utils/processInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKvF,aAAK,gBAAgB,GAAG;IACpB,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC5B,SAAS,EAAE,WAAW,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,gBAAgB,KAAG,UAoCrD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { MaskInfo, SelectRange, InputValueInfo } from '../Mask.types';
2
+ export declare const processMask: (data: Array<InputValueInfo>, mask: Array<MaskInfo>, input: string, maskChar: string, maskString: string, selection: SelectRange) => {
3
+ value: InputValueInfo[];
4
+ maskedValue: string;
5
+ inputValuesApplied: number;
6
+ };
7
+ //# sourceMappingURL=processMask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processMask.d.ts","sourceRoot":"","sources":["../../../../src/components/Mask/utils/processMask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAI3E,eAAO,MAAM,WAAW,SACd,MAAM,cAAc,CAAC,QACrB,MAAM,QAAQ,CAAC,SACd,MAAM,YACH,MAAM,cACJ,MAAM,aACP,WAAW;;;;CAqHzB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { InputValueInfo, SelectRange } from '../Mask.types';
2
+ declare type RemoveSelectionRangeArgs = {
3
+ value: Array<InputValueInfo>;
4
+ selection: SelectRange;
5
+ maskChar: string;
6
+ maskString: string;
7
+ };
8
+ export declare const removeSelectedRange: (args: RemoveSelectionRangeArgs) => Array<InputValueInfo>;
9
+ export {};
10
+ //# sourceMappingURL=selection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../../src/components/Mask/utils/selection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAIjE,aAAK,wBAAwB,GAAG;IAC5B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC7B,SAAS,EAAE,WAAW,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC;AA4BF,eAAO,MAAM,mBAAmB,SAAU,wBAAwB,KAAG,MAAM,cAAc,CAoBxF,CAAC"}
@@ -0,0 +1,191 @@
1
+ /// <reference types="react" />
2
+ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<import("../../../../engines/types").PropsType<{
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ positive: import("@linaria/core").LinariaClassName;
6
+ warning: import("@linaria/core").LinariaClassName;
7
+ negative: import("@linaria/core").LinariaClassName;
8
+ };
9
+ size: {
10
+ l: import("@linaria/core").LinariaClassName;
11
+ m: import("@linaria/core").LinariaClassName;
12
+ s: import("@linaria/core").LinariaClassName;
13
+ xs: import("@linaria/core").LinariaClassName;
14
+ };
15
+ labelPlacement: {
16
+ inner: import("@linaria/core").LinariaClassName;
17
+ outer: import("@linaria/core").LinariaClassName;
18
+ };
19
+ disabled: {
20
+ true: import("@linaria/core").LinariaClassName;
21
+ };
22
+ readOnly: {
23
+ true: import("@linaria/core").LinariaClassName;
24
+ };
25
+ }> & {
26
+ size?: string | undefined;
27
+ view?: string | undefined;
28
+ readOnly?: boolean | undefined;
29
+ disabled?: boolean | undefined;
30
+ } & {
31
+ label?: string | undefined;
32
+ labelPlacement?: "inner" | "outer" | undefined;
33
+ leftHelper?: string | undefined;
34
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
35
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
+ textBefore?: string | undefined;
37
+ textAfter?: string | undefined;
38
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
39
+ } & {
40
+ requiredPlacement?: "left" | "right" | undefined;
41
+ } & {
42
+ required: true;
43
+ optional?: false | undefined;
44
+ } & {
45
+ chips?: undefined;
46
+ onChangeChips?: undefined;
47
+ enumerationType?: "plain" | undefined;
48
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
49
+ } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("../../../../components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("../../../../engines/types").PropsType<{
50
+ view: {
51
+ default: import("@linaria/core").LinariaClassName;
52
+ positive: import("@linaria/core").LinariaClassName;
53
+ warning: import("@linaria/core").LinariaClassName;
54
+ negative: import("@linaria/core").LinariaClassName;
55
+ };
56
+ size: {
57
+ l: import("@linaria/core").LinariaClassName;
58
+ m: import("@linaria/core").LinariaClassName;
59
+ s: import("@linaria/core").LinariaClassName;
60
+ xs: import("@linaria/core").LinariaClassName;
61
+ };
62
+ labelPlacement: {
63
+ inner: import("@linaria/core").LinariaClassName;
64
+ outer: import("@linaria/core").LinariaClassName;
65
+ };
66
+ disabled: {
67
+ true: import("@linaria/core").LinariaClassName;
68
+ };
69
+ readOnly: {
70
+ true: import("@linaria/core").LinariaClassName;
71
+ };
72
+ }> & {
73
+ size?: string | undefined;
74
+ view?: string | undefined;
75
+ readOnly?: boolean | undefined;
76
+ disabled?: boolean | undefined;
77
+ } & {
78
+ label?: string | undefined;
79
+ labelPlacement?: "inner" | "outer" | undefined;
80
+ leftHelper?: string | undefined;
81
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
82
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
83
+ textBefore?: string | undefined;
84
+ textAfter?: string | undefined;
85
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
86
+ } & {
87
+ requiredPlacement?: "left" | "right" | undefined;
88
+ } & {
89
+ required: true;
90
+ optional?: false | undefined;
91
+ } & {
92
+ enumerationType: "chip";
93
+ onSearch?: undefined;
94
+ chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
95
+ onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
96
+ } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("../../../../components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("../../../../engines/types").PropsType<{
97
+ view: {
98
+ default: import("@linaria/core").LinariaClassName;
99
+ positive: import("@linaria/core").LinariaClassName;
100
+ warning: import("@linaria/core").LinariaClassName;
101
+ negative: import("@linaria/core").LinariaClassName;
102
+ };
103
+ size: {
104
+ l: import("@linaria/core").LinariaClassName;
105
+ m: import("@linaria/core").LinariaClassName;
106
+ s: import("@linaria/core").LinariaClassName;
107
+ xs: import("@linaria/core").LinariaClassName;
108
+ };
109
+ labelPlacement: {
110
+ inner: import("@linaria/core").LinariaClassName;
111
+ outer: import("@linaria/core").LinariaClassName;
112
+ };
113
+ disabled: {
114
+ true: import("@linaria/core").LinariaClassName;
115
+ };
116
+ readOnly: {
117
+ true: import("@linaria/core").LinariaClassName;
118
+ };
119
+ }> & {
120
+ size?: string | undefined;
121
+ view?: string | undefined;
122
+ readOnly?: boolean | undefined;
123
+ disabled?: boolean | undefined;
124
+ } & {
125
+ label?: string | undefined;
126
+ labelPlacement?: "inner" | "outer" | undefined;
127
+ leftHelper?: string | undefined;
128
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
129
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
130
+ textBefore?: string | undefined;
131
+ textAfter?: string | undefined;
132
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
133
+ } & {
134
+ requiredPlacement?: "left" | "right" | undefined;
135
+ } & {
136
+ optional?: true | undefined;
137
+ required?: false | undefined;
138
+ } & {
139
+ chips?: undefined;
140
+ onChangeChips?: undefined;
141
+ enumerationType?: "plain" | undefined;
142
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
143
+ } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("../../../../components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("../../../../engines/types").PropsType<{
144
+ view: {
145
+ default: import("@linaria/core").LinariaClassName;
146
+ positive: import("@linaria/core").LinariaClassName;
147
+ warning: import("@linaria/core").LinariaClassName;
148
+ negative: import("@linaria/core").LinariaClassName;
149
+ };
150
+ size: {
151
+ l: import("@linaria/core").LinariaClassName;
152
+ m: import("@linaria/core").LinariaClassName;
153
+ s: import("@linaria/core").LinariaClassName;
154
+ xs: import("@linaria/core").LinariaClassName;
155
+ };
156
+ labelPlacement: {
157
+ inner: import("@linaria/core").LinariaClassName;
158
+ outer: import("@linaria/core").LinariaClassName;
159
+ };
160
+ disabled: {
161
+ true: import("@linaria/core").LinariaClassName;
162
+ };
163
+ readOnly: {
164
+ true: import("@linaria/core").LinariaClassName;
165
+ };
166
+ }> & {
167
+ size?: string | undefined;
168
+ view?: string | undefined;
169
+ readOnly?: boolean | undefined;
170
+ disabled?: boolean | undefined;
171
+ } & {
172
+ label?: string | undefined;
173
+ labelPlacement?: "inner" | "outer" | undefined;
174
+ leftHelper?: string | undefined;
175
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
176
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
177
+ textBefore?: string | undefined;
178
+ textAfter?: string | undefined;
179
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
180
+ } & {
181
+ requiredPlacement?: "left" | "right" | undefined;
182
+ } & {
183
+ optional?: true | undefined;
184
+ required?: false | undefined;
185
+ } & {
186
+ enumerationType: "chip";
187
+ onSearch?: undefined;
188
+ chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
189
+ onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
190
+ } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("../../../../components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
191
+ //# sourceMappingURL=Mask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mask.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Mask/Mask.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2QAAyB,CAAC"}