magneto365.ui 2.75.10 → 2.75.11
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/assets/fd3c5f6d7a977109.svg +12 -0
- package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +1087 -890
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/atoms/Button/Button.interface.d.ts +9 -1
- package/dist/cjs/types/components/UI/atoms/HorizontalBar/HorizontalBar.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/atoms/HorizontalBar/HorizontalBar.interfaces.d.ts +40 -0
- package/dist/cjs/types/components/UI/atoms/HorizontalBar/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/atoms/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/TestsFormHandler.component.d.ts +4 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/TestsFormHandler.context.d.ts +7 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/TestsFormHandler.interface.d.ts +56 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/TestsFormHandlerContext.interface.d.ts +14 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/children/GlobalQuestion/GlobalQuestion.component.d.ts +4 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/children/GlobalQuestion/GlobalQuestion.interface.d.ts +46 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/children/GlobalQuestion/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/children/GlobalQuestionError/GlobalQuestionError.component.d.ts +4 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/children/GlobalQuestionError/GlobalQuestionError.interface.d.ts +6 -0
- package/dist/cjs/types/components/UI/template/TestsFormHandler/index.d.ts +5 -0
- package/dist/cjs/types/components/UI/template/index.d.ts +1 -0
- package/dist/cjs/types/constants/icons.constants.d.ts +1 -0
- package/dist/cjs/types/utils/colors/getContrastColor.d.ts +1 -0
- package/dist/cjs/types/utils/validateAnswers/validateStepAnswers.d.ts +12 -0
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +1083 -891
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/atoms/Button/Button.interface.d.ts +9 -1
- package/dist/esm/types/components/UI/atoms/HorizontalBar/HorizontalBar.component.d.ts +3 -0
- package/dist/esm/types/components/UI/atoms/HorizontalBar/HorizontalBar.interfaces.d.ts +40 -0
- package/dist/esm/types/components/UI/atoms/HorizontalBar/index.d.ts +1 -0
- package/dist/esm/types/components/UI/atoms/index.d.ts +1 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/TestsFormHandler.component.d.ts +4 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/TestsFormHandler.context.d.ts +7 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/TestsFormHandler.interface.d.ts +56 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/TestsFormHandlerContext.interface.d.ts +14 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/children/GlobalQuestion/GlobalQuestion.component.d.ts +4 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/children/GlobalQuestion/GlobalQuestion.interface.d.ts +46 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/children/GlobalQuestion/index.d.ts +1 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/children/GlobalQuestionError/GlobalQuestionError.component.d.ts +4 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/children/GlobalQuestionError/GlobalQuestionError.interface.d.ts +6 -0
- package/dist/esm/types/components/UI/template/TestsFormHandler/index.d.ts +5 -0
- package/dist/esm/types/components/UI/template/index.d.ts +1 -0
- package/dist/esm/types/constants/icons.constants.d.ts +1 -0
- package/dist/esm/types/utils/colors/getContrastColor.d.ts +1 -0
- package/dist/esm/types/utils/validateAnswers/validateStepAnswers.d.ts +12 -0
- package/dist/index.d.ts +178 -2
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export interface IButton {
|
|
|
8
8
|
/**
|
|
9
9
|
* Callback function to be executed when the save button is clicked.
|
|
10
10
|
*/
|
|
11
|
-
onClick
|
|
11
|
+
onClick?: () => void;
|
|
12
12
|
/**
|
|
13
13
|
* Button classname
|
|
14
14
|
*/
|
|
@@ -34,4 +34,12 @@ export interface IButton {
|
|
|
34
34
|
* Icon size
|
|
35
35
|
*/
|
|
36
36
|
iconSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Button type
|
|
39
|
+
*/
|
|
40
|
+
type?: 'button' | 'submit' | 'reset';
|
|
41
|
+
/**
|
|
42
|
+
* Disable the button
|
|
43
|
+
*/
|
|
44
|
+
disabled?: boolean;
|
|
37
45
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface IClassNames {
|
|
2
|
+
/**
|
|
3
|
+
* Custom styles for the bar
|
|
4
|
+
*/
|
|
5
|
+
bar?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Custom styles for the fill container
|
|
8
|
+
*/
|
|
9
|
+
container?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Custom styles for the text description
|
|
12
|
+
*/
|
|
13
|
+
text?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Custom styles for the fill value within the bar
|
|
16
|
+
*/
|
|
17
|
+
value?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Custom styles for the fill
|
|
20
|
+
*/
|
|
21
|
+
fill?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface IHorizontalBarProps {
|
|
24
|
+
/**
|
|
25
|
+
* Sets the value to show within the bar
|
|
26
|
+
*/
|
|
27
|
+
value: number;
|
|
28
|
+
/**
|
|
29
|
+
* Sets the text of the bar
|
|
30
|
+
*/
|
|
31
|
+
text?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Sets the range of the bar
|
|
34
|
+
*/
|
|
35
|
+
maxPercentage?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Sets custom classnames
|
|
38
|
+
*/
|
|
39
|
+
classNames?: IClassNames;
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HorizontalBar } from './HorizontalBar.component';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { IFormHandlerContext } from './TestsFormHandlerContext.interface';
|
|
3
|
+
export declare const FormHandlerProvider: React.FC<{
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const useFormHandler: () => IFormHandlerContext;
|
|
7
|
+
export default FormHandlerProvider;
|
package/dist/esm/types/components/UI/template/TestsFormHandler/TestsFormHandler.interface.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { AnswerType } from './children/GlobalQuestion/GlobalQuestion.interface';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export interface ICustomButtonText {
|
|
4
|
+
/**
|
|
5
|
+
* The text to display on the previous button
|
|
6
|
+
*/
|
|
7
|
+
previous: string;
|
|
8
|
+
/**
|
|
9
|
+
* The text to display on the next button
|
|
10
|
+
*/
|
|
11
|
+
next: string;
|
|
12
|
+
/**
|
|
13
|
+
* The text to display on the submit button
|
|
14
|
+
*/
|
|
15
|
+
finish: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IFormHandler {
|
|
18
|
+
/**
|
|
19
|
+
* Determines if the form should be displayed as multiple steps
|
|
20
|
+
*/
|
|
21
|
+
multiStep?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Function to customize the submit action
|
|
24
|
+
*/
|
|
25
|
+
onSubmit: (answers: {
|
|
26
|
+
[key: string]: AnswerType;
|
|
27
|
+
}) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Custom classname for the form container
|
|
30
|
+
*/
|
|
31
|
+
className?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Enable resend the test
|
|
34
|
+
*/
|
|
35
|
+
isDisabled?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Children components to render (questions)
|
|
38
|
+
*/
|
|
39
|
+
children: ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Total number of steps for multi-step forms
|
|
42
|
+
*/
|
|
43
|
+
totalSteps?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Current step for multi-step forms
|
|
46
|
+
*/
|
|
47
|
+
currentStep?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Callback for step changes
|
|
50
|
+
*/
|
|
51
|
+
onStepChange?: (step: number) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Object with custom texts for the form buttons
|
|
54
|
+
*/
|
|
55
|
+
customButtonText: ICustomButtonText;
|
|
56
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AnswerType } from './children/GlobalQuestion';
|
|
2
|
+
export interface IFormHandlerContext {
|
|
3
|
+
answers: {
|
|
4
|
+
[key: string]: AnswerType;
|
|
5
|
+
};
|
|
6
|
+
submitted: boolean;
|
|
7
|
+
handleChange: (questionId: string, value: AnswerType) => void;
|
|
8
|
+
setSubmitted: (value: boolean) => void;
|
|
9
|
+
currentStepQuestions: {
|
|
10
|
+
[key: string]: 'single' | 'multiple' | 'text';
|
|
11
|
+
};
|
|
12
|
+
registerQuestion: (questionId: string, questionType: 'single' | 'multiple' | 'text') => void;
|
|
13
|
+
unregisterQuestion: (questionId: string) => void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export interface IGlobalQuestionProps {
|
|
2
|
+
/**
|
|
3
|
+
* The question to be displayed
|
|
4
|
+
*/
|
|
5
|
+
question: IQuestion;
|
|
6
|
+
/**
|
|
7
|
+
* The text to be displayed in the error message
|
|
8
|
+
*/
|
|
9
|
+
errorText: string;
|
|
10
|
+
/**
|
|
11
|
+
* Index of the question (optional, will use context if not provided)
|
|
12
|
+
*/
|
|
13
|
+
idx?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface IQuestion {
|
|
16
|
+
/**
|
|
17
|
+
* Unique identifier for the question
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* The text of the question
|
|
22
|
+
*/
|
|
23
|
+
text: string;
|
|
24
|
+
/**
|
|
25
|
+
* The type of the question: single, multiple, or text
|
|
26
|
+
*/
|
|
27
|
+
type: 'single' | 'multiple' | 'text';
|
|
28
|
+
/**
|
|
29
|
+
* Array of options for the question, if any
|
|
30
|
+
*/
|
|
31
|
+
options?: IQuestionOptions[];
|
|
32
|
+
}
|
|
33
|
+
export interface IQuestionOptions {
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier for the option
|
|
36
|
+
*/
|
|
37
|
+
id: number;
|
|
38
|
+
/**
|
|
39
|
+
* The text of the option
|
|
40
|
+
*/
|
|
41
|
+
label: string;
|
|
42
|
+
}
|
|
43
|
+
export declare type AnswerType = string | IQuestionOptions | IQuestionOptions[];
|
|
44
|
+
export interface QuestionTypeValidators {
|
|
45
|
+
[key: string]: (answer: AnswerType) => boolean;
|
|
46
|
+
}
|
package/dist/esm/types/components/UI/template/TestsFormHandler/children/GlobalQuestion/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GlobalQuestion.interface';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './TestsFormHandler.interface';
|
|
2
|
+
export * from './children/GlobalQuestion/GlobalQuestion.interface';
|
|
3
|
+
export * from './TestsFormHandler.context';
|
|
4
|
+
export { default as TestFormHandler } from './TestsFormHandler.component';
|
|
5
|
+
export { default as GlobalQuestion } from './children/GlobalQuestion/GlobalQuestion.component';
|
|
@@ -192,5 +192,6 @@ export { default as WhatsAppDark } from '../assets/Whatsapp.svg';
|
|
|
192
192
|
export { default as X } from '../assets/X.svg';
|
|
193
193
|
export { default as Youtube } from '../assets/Youtube.svg';
|
|
194
194
|
export { default as YoutubeSolid } from '../assets/YoutubeSolid.svg';
|
|
195
|
+
export { default as InfoRed } from '../assets/info-circle-red.svg';
|
|
195
196
|
export { default as AdvertisementOutline } from '../assets/advertisement.svg';
|
|
196
197
|
export { default as AdvertisementBold } from '../assets/advertisementBold.svg';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getContrastColor: (hexColor: string) => "#000000" | "#ffffff";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AnswerType, IQuestion } from '@components/UI/template';
|
|
2
|
+
export declare const validateCurrentStepAnswers: (currentStepQuestions: {
|
|
3
|
+
[key: string]: "text" | "multiple" | "single";
|
|
4
|
+
}, answers: {
|
|
5
|
+
[key: string]: AnswerType;
|
|
6
|
+
}) => boolean;
|
|
7
|
+
export declare const questionTypeValidators: {
|
|
8
|
+
multiple: (answer: AnswerType) => boolean;
|
|
9
|
+
single: (answer: AnswerType) => boolean;
|
|
10
|
+
text: (answer: AnswerType) => boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const isMissingValidator: (answer: AnswerType, question: IQuestion) => boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -187,7 +187,7 @@ interface IButton {
|
|
|
187
187
|
/**
|
|
188
188
|
* Callback function to be executed when the save button is clicked.
|
|
189
189
|
*/
|
|
190
|
-
onClick
|
|
190
|
+
onClick?: () => void;
|
|
191
191
|
/**
|
|
192
192
|
* Button classname
|
|
193
193
|
*/
|
|
@@ -213,6 +213,14 @@ interface IButton {
|
|
|
213
213
|
* Icon size
|
|
214
214
|
*/
|
|
215
215
|
iconSize?: number;
|
|
216
|
+
/**
|
|
217
|
+
* Button type
|
|
218
|
+
*/
|
|
219
|
+
type?: 'button' | 'submit' | 'reset';
|
|
220
|
+
/**
|
|
221
|
+
* Disable the button
|
|
222
|
+
*/
|
|
223
|
+
disabled?: boolean;
|
|
216
224
|
}
|
|
217
225
|
|
|
218
226
|
/**
|
|
@@ -1417,6 +1425,49 @@ interface IInlineDetails {
|
|
|
1417
1425
|
|
|
1418
1426
|
declare function InlineDetails({ details, className }: Readonly<IInlineDetails>): JSX.Element;
|
|
1419
1427
|
|
|
1428
|
+
interface IClassNames {
|
|
1429
|
+
/**
|
|
1430
|
+
* Custom styles for the bar
|
|
1431
|
+
*/
|
|
1432
|
+
bar?: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* Custom styles for the fill container
|
|
1435
|
+
*/
|
|
1436
|
+
container?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* Custom styles for the text description
|
|
1439
|
+
*/
|
|
1440
|
+
text?: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* Custom styles for the fill value within the bar
|
|
1443
|
+
*/
|
|
1444
|
+
value?: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* Custom styles for the fill
|
|
1447
|
+
*/
|
|
1448
|
+
fill?: string;
|
|
1449
|
+
}
|
|
1450
|
+
interface IHorizontalBarProps {
|
|
1451
|
+
/**
|
|
1452
|
+
* Sets the value to show within the bar
|
|
1453
|
+
*/
|
|
1454
|
+
value: number;
|
|
1455
|
+
/**
|
|
1456
|
+
* Sets the text of the bar
|
|
1457
|
+
*/
|
|
1458
|
+
text?: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* Sets the range of the bar
|
|
1461
|
+
*/
|
|
1462
|
+
maxPercentage?: number;
|
|
1463
|
+
/**
|
|
1464
|
+
* Sets custom classnames
|
|
1465
|
+
*/
|
|
1466
|
+
classNames?: IClassNames;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
declare const HorizontalBar: React__default.FC<IHorizontalBarProps>;
|
|
1470
|
+
|
|
1420
1471
|
declare const ShareIcons: {
|
|
1421
1472
|
Facebook: {
|
|
1422
1473
|
icon: any;
|
|
@@ -7059,6 +7110,131 @@ interface IVacantPositions {
|
|
|
7059
7110
|
|
|
7060
7111
|
declare const VacantPositions: React__default.FC<IVacantPositions>;
|
|
7061
7112
|
|
|
7113
|
+
interface IGlobalQuestionProps {
|
|
7114
|
+
/**
|
|
7115
|
+
* The question to be displayed
|
|
7116
|
+
*/
|
|
7117
|
+
question: IQuestion;
|
|
7118
|
+
/**
|
|
7119
|
+
* The text to be displayed in the error message
|
|
7120
|
+
*/
|
|
7121
|
+
errorText: string;
|
|
7122
|
+
/**
|
|
7123
|
+
* Index of the question (optional, will use context if not provided)
|
|
7124
|
+
*/
|
|
7125
|
+
idx?: number;
|
|
7126
|
+
}
|
|
7127
|
+
interface IQuestion {
|
|
7128
|
+
/**
|
|
7129
|
+
* Unique identifier for the question
|
|
7130
|
+
*/
|
|
7131
|
+
id: string;
|
|
7132
|
+
/**
|
|
7133
|
+
* The text of the question
|
|
7134
|
+
*/
|
|
7135
|
+
text: string;
|
|
7136
|
+
/**
|
|
7137
|
+
* The type of the question: single, multiple, or text
|
|
7138
|
+
*/
|
|
7139
|
+
type: 'single' | 'multiple' | 'text';
|
|
7140
|
+
/**
|
|
7141
|
+
* Array of options for the question, if any
|
|
7142
|
+
*/
|
|
7143
|
+
options?: IQuestionOptions[];
|
|
7144
|
+
}
|
|
7145
|
+
interface IQuestionOptions {
|
|
7146
|
+
/**
|
|
7147
|
+
* Unique identifier for the option
|
|
7148
|
+
*/
|
|
7149
|
+
id: number;
|
|
7150
|
+
/**
|
|
7151
|
+
* The text of the option
|
|
7152
|
+
*/
|
|
7153
|
+
label: string;
|
|
7154
|
+
}
|
|
7155
|
+
declare type AnswerType = string | IQuestionOptions | IQuestionOptions[];
|
|
7156
|
+
interface QuestionTypeValidators {
|
|
7157
|
+
[key: string]: (answer: AnswerType) => boolean;
|
|
7158
|
+
}
|
|
7159
|
+
|
|
7160
|
+
interface ICustomButtonText {
|
|
7161
|
+
/**
|
|
7162
|
+
* The text to display on the previous button
|
|
7163
|
+
*/
|
|
7164
|
+
previous: string;
|
|
7165
|
+
/**
|
|
7166
|
+
* The text to display on the next button
|
|
7167
|
+
*/
|
|
7168
|
+
next: string;
|
|
7169
|
+
/**
|
|
7170
|
+
* The text to display on the submit button
|
|
7171
|
+
*/
|
|
7172
|
+
finish: string;
|
|
7173
|
+
}
|
|
7174
|
+
interface IFormHandler {
|
|
7175
|
+
/**
|
|
7176
|
+
* Determines if the form should be displayed as multiple steps
|
|
7177
|
+
*/
|
|
7178
|
+
multiStep?: boolean;
|
|
7179
|
+
/**
|
|
7180
|
+
* Function to customize the submit action
|
|
7181
|
+
*/
|
|
7182
|
+
onSubmit: (answers: {
|
|
7183
|
+
[key: string]: AnswerType;
|
|
7184
|
+
}) => void;
|
|
7185
|
+
/**
|
|
7186
|
+
* Custom classname for the form container
|
|
7187
|
+
*/
|
|
7188
|
+
className?: string;
|
|
7189
|
+
/**
|
|
7190
|
+
* Enable resend the test
|
|
7191
|
+
*/
|
|
7192
|
+
isDisabled?: boolean;
|
|
7193
|
+
/**
|
|
7194
|
+
* Children components to render (questions)
|
|
7195
|
+
*/
|
|
7196
|
+
children: ReactNode;
|
|
7197
|
+
/**
|
|
7198
|
+
* Total number of steps for multi-step forms
|
|
7199
|
+
*/
|
|
7200
|
+
totalSteps?: number;
|
|
7201
|
+
/**
|
|
7202
|
+
* Current step for multi-step forms
|
|
7203
|
+
*/
|
|
7204
|
+
currentStep?: number;
|
|
7205
|
+
/**
|
|
7206
|
+
* Callback for step changes
|
|
7207
|
+
*/
|
|
7208
|
+
onStepChange?: (step: number) => void;
|
|
7209
|
+
/**
|
|
7210
|
+
* Object with custom texts for the form buttons
|
|
7211
|
+
*/
|
|
7212
|
+
customButtonText: ICustomButtonText;
|
|
7213
|
+
}
|
|
7214
|
+
|
|
7215
|
+
interface IFormHandlerContext {
|
|
7216
|
+
answers: {
|
|
7217
|
+
[key: string]: AnswerType;
|
|
7218
|
+
};
|
|
7219
|
+
submitted: boolean;
|
|
7220
|
+
handleChange: (questionId: string, value: AnswerType) => void;
|
|
7221
|
+
setSubmitted: (value: boolean) => void;
|
|
7222
|
+
currentStepQuestions: {
|
|
7223
|
+
[key: string]: 'single' | 'multiple' | 'text';
|
|
7224
|
+
};
|
|
7225
|
+
registerQuestion: (questionId: string, questionType: 'single' | 'multiple' | 'text') => void;
|
|
7226
|
+
unregisterQuestion: (questionId: string) => void;
|
|
7227
|
+
}
|
|
7228
|
+
|
|
7229
|
+
declare const FormHandlerProvider: React__default.FC<{
|
|
7230
|
+
children: ReactNode;
|
|
7231
|
+
}>;
|
|
7232
|
+
declare const useFormHandler: () => IFormHandlerContext;
|
|
7233
|
+
|
|
7234
|
+
declare const TestFormHandler: React__default.FC<IFormHandler>;
|
|
7235
|
+
|
|
7236
|
+
declare const GlobalQuestion: React__default.FC<IGlobalQuestionProps>;
|
|
7237
|
+
|
|
7062
7238
|
declare const withClickOut: <T>(WrappedComponent: React__default.FC<T>) => React__default.FC<T>;
|
|
7063
7239
|
|
|
7064
7240
|
declare const withMegaMenuSideCards: <T>(WrappedComponent: React__default.FC<T>) => React__default.FC<{
|
|
@@ -7204,4 +7380,4 @@ declare type MagnetoUIText = 'sm-2' | 'md' | 'md-2' | 'lg' | 'xl' | '2xl' | '3xl
|
|
|
7204
7380
|
*/
|
|
7205
7381
|
declare type MagnetoUIWeight = 'normal' | 'bold' | 'black';
|
|
7206
7382
|
|
|
7207
|
-
export { Actions, Alert, AlertJobModal, AlertJobStatus, AlertJobStatusContainer, AlertJobStatusIcon, AlertsPanel, AlphabetFilter, AnalystTemplate, ApplicationButton, ApplicationSubtitle, ApplicationSummary, ApplicationText, ApplicationTitle, Avatar, Badge, BarChart, BarLoader, BarsChart, BrandMenu, BrandsContainer, BrandsMenuMobile, _default$3 as BrandsMenuPopover, Breadcrumb, Breadcrumbs, Button, ButtonElement, ButtonLink, CandidateNav, CandidateProfile, CandidateProfileTemplate, Carousel, CategoryGrid, _default as CategoryMenuCard, Checkbox, CitiesDetailDrawer, Collapse, CompanyCard, CompanyCardWithDescription, CompanyCardWithoutDescription, ComparativeCounter, ComponentProps, CreateAccountCTA, DateDropdown, DateInput, DatePicker, DatePickerResponsiveComponent, Divider, DotsLoader, Drawer, DrawerMenu, EAlertJobStatusIcon, EAlertJobStatusType, EAlertType, EExpandableInfoSize, EExpandableInfoVariant, ERadioType, ETypographyFontWeight, EmptyResult as EmptyResults, ExpandableInfo, FilterActions, FilterCard, FilterContainerMenu, FilterHeader, FilterMenuItem, FilterSearchItem, FlatLoader, Footer, FooterMenuLinks, FraudCardJob, FrequentSearch, HeaderAnalyst, HeaderDrawerCompany, HeaderDrawerTabs, HeaderTab, HeaderTabItem, HeaderTabs, HorizontalMenu, IActions, IAlert, IAlertJobStatus, IAlertsPanel, IAnalystProviderProps, IAnalystTemplateProps, IAvatar, IBreadcrumb, IBreadcrumbs, IBtnPaginationProps, IButton, IButtonLink, ICanApply, ICandidateNavButton, ICandidateNavContext, ICandidateProfileAvatar, ICandidateProfileTemplate, ICandidateProfileTemplateProfile, ICandidateProvider, ICandidateScreen, ICandidateTemplateContext, ICardsRef, ICarousel, ICategoryField, ICategoryGrid, ICategoryMenuCard, ICheckbox, ICitiesDetailDrawer, ICityDetail, ICollapseContext, ICompanyAnalyst, ICreatePaginationProps, ICreatePaginationResult, IDateDropdown, IDateInput, IDateList, IDatePicker, IDatePickerComponent, IDefaultFilter, IDefaultOrder, IDetailList, IDrawer, IDrawerOrganism, IDrawerPortal, IDynamicUrl, IEmptyResults, IExpandableInfoProps, IFieldsAlias, IFilter, IFilterActions, IFilterCard, IFilterHeader, IFilterMenuItem, IFilterRepository, IFilterSearchItem, IFilterValue, IFiltersRef, IFooterList, IFrequentSearch, IGetOptionsOnSearchProps, IHeaderAnalyst, IHeaderDrawerCompany, IHeaderDrawerTabs, IHeaderTab, IHeaderTabs, IHorizontalMenu, IHorizontalMenuOption, IImage, IInlineDetails, IJobApplyCard, IJobCard, IJobCompanyHeader, IJobCompanyLogo, IJobDetailCard, IJobDetails, IJobDetailsDrawer, IJobFooterCard, IJobHeader, IJobSkillsCard, IJobSuggestedDrawer, IJobVideo, IJobsActions, IJobsPage, ILinkProps, IListIcon, IListIconLink, IListMenuIcons, IListMenuItems, ILoading, ILoginHeader, ILoginJobsHeader, ILoginJobsTemplate, ILogoAnalyst, ILogoComponent, ILogout, ILogoutHeader, ILogoutJobsHeader, ILogoutJobsTemplate, ILogoutTemplate, IMainButton, IMegaMenu, IMegaMenuCard, IMegaMenuCards, IMegaMenuDrawer, IMegaMenuDrawerItem, IMegaMenuDrawerItemContent, IMegaMenuEmpty, IMegaMenuSideCards, IMegaMenuTab, IMenuCollapseChildren, IMenuDropdownProps, IMenuIcon, IMenuItem, IMenuItems, IMenuSearch, IMenuUser, IMessageProps, IMobileDatePicker, IMobileDrawer, IMobileDrawerMenu, IMobileJobDetailsDrawer, IMobileJobDetailsHeader, IMobileSearchbar, IMobileSortMenu, IModalAnalyst, IModalAnalystProps, IModalAnalystScreen, IModalProps, IMultiRangeSlider, INavMMenuAnalystRegionModal, INavMenuAnalystIcons, INavMenuAnalystOption, INavMenuAnalystProps, INavMenuAnalystQueryString, INavMenuAnalystRegion, INavMenuAnalystRegionModalProps, INavMenuAnalystSection, INavMenuDrawerAnalystProps, INotification, IOption, IOptionValues, IPaginationProps, IParagraph, IPopover, IPortalTooltipProps, IQualification, IQualificationStar, IRadioCommonProps, IRadioProps, IRatingBadge, ISaveButton, IScrollableTab, ISearchItem, ISearchRenderTypeOption, ISearchRenderTypeProps, ISearchbar, ISelect, ISetIsApplied, ISettings, IShareButton, IShareLink, IShareLinksActions, ISharePopover, ISideFilter, ISimilarCard, ISimilarCardData, ISimilarJobsCard, ISkill, ISortBar, ISortMenu, ISortMenuItem, ISubCompanyAnalyst, ISuggestedJobsPage, ISwitch, ITab, ITabButton, ITabItem, ITypographyBase, ITypographyEllipsis, ITypographyLink, ITypographyText, ITypographyTitle, IUnApplyWithChild, IUserAnalyst, IUserMenuAnalystAction, IUserMenuAnalystProps, IUserMenuAnalystQueryString, IUserMenuAnalystSection, IUserMenuButtonAnalystProps, IUserMenuWrapperAnalystProps, IUserTerm, IVacancies$1 as IVacancies, IVacantPositions, IValueSelect, IconItem, IconProps, IlistMenuUserProps, Image, ImageCard, InlineDetails, Input, InputFile, InputPlus, InputSearch, JobActions, JobApplyCard, JobCard, JobCardDesktop, JobCardMobile, JobCompanyHeader, JobCompanyLogo, JobDetailCard, JobDetailContainer, JobDetails, JobDetailsDrawer, JobFooterCard, JobHeader, JobRequirementsElement, JobSkillsCard, JobSuggestedDrawer, JobSuggestedHeader, JobSuggestedSimilarJobs, JobVideo, JobsPage, Link, LinkElement, LinkType, ListIconLink, ListMenuIcons, ListMenuItems, ListMenuText, ListSortMenu, Loading, LoginHeader, LoginJobsHeader, LoginJobsTemplate, LoginTemplate, LogoComponent, LogoutHeader, LogoutJobsHeader, LogoutJobsTemplate, LogoutTemplate, MagnetoResolution, MagnetoSocialMedia, MagnetoUIBorder, MagnetoUIColor, MagnetoUIGap, MagnetoUIMargin, MagnetoUIOpacity, MagnetoUIPadding, ContextAppProvider as MagnetoUIProvider, MagnetoUIRadius, MagnetoUIScale, MagnetoUIScreen, MagnetoUIShadow, MagnetoUIText, MagnetoUIWeight, MainButton, MegaMenu, MegaMenuCard, MegaMenuCards, MegaMenuDrawer, MegaMenuDrawerItem, MegaMenuEmpty, MegaMenuJobsTabs, MegaMenuPopover, MegaMenuSideCards, MegaMenuTab, MenuDropdown, MenuIcon, MenuItem, MenuItemInfo, MenuSearch, Message, MobileDatePicker, MobileDrawer, MobileDrawerMenu, MobileJobDetailsDrawer, MobileJobDetailsHeader, MobileSearchbar, MobileSortMenu, _default$2 as Modal, ModalAnalyst, ModalResponsive, MultiRangeSlider, MultipleSelectionEntry, NavMenuAnalyst, NavMenuAnalystRegionModal, NavMenuDrawerAnalyst, Notification, OneSelectionEntry, Pagination, Paragraph, Popover, PortalTooltip, ProcessesCard, Qualification, Radio, RatingBadge, RightsReservedText, SaveButton, ScoreLevel, ScoreLevelStatic, ScrollableTab, SearchButton, SearchItem, Searchbar, Select, Select2, ShareButton, SharePopover, SideFilter, SimilarCard, SimilarCardIcon, SimilarCardLogo, SimilarJobs, SimilarJobsCard, Skill, SortBar, _default$1 as SortMenu, SuggestedJobsPage, Switch, TCandidateNav, TCandidateNavOption, TCandidateNavOptions, TCandidateNavStep, TCandidateProfile, TCandidateProfileBody, TCandidateProfileHeader, TCandidateProfileTemplateMainNav, TCandidateProfileTemplateNav, TCandidateProfileToggler, TCollapse, TCollapseBody, TCollapseHeader, TCollapseToggler, TExpandableInfoSize, TExpandableInfoVariant, TInputFile, TMessageType, TToggleButtonList, TTypographyFontWeight, TTypographyParagraph, TVacantOption, TVacantOptionType, Tab, TabButton, TabButtonElement, TabItem, Tags as Tag, TextArea, TextCustom, TimeLineItemStatus, Timeline, TimelineEvent, TimelineEventProps, ToggleButton, ToggleButtonList, Tooltip, Typography, UserMenu, UserMenuAnalyst, UserMenuButtonAnalyst, UserMenuWrapperAnalyst, UserTermCheck, UserTermContent, UserTermHighlight, UserTermSubTitle, UserTermSubmit, UserTermText, UserTermTitle, UserTermUList, UserTerms, VacantPositions, useMediaQuery, withClickOut, withMegaMenuSideCards };
|
|
7383
|
+
export { Actions, Alert, AlertJobModal, AlertJobStatus, AlertJobStatusContainer, AlertJobStatusIcon, AlertsPanel, AlphabetFilter, AnalystTemplate, AnswerType, ApplicationButton, ApplicationSubtitle, ApplicationSummary, ApplicationText, ApplicationTitle, Avatar, Badge, BarChart, BarLoader, BarsChart, BrandMenu, BrandsContainer, BrandsMenuMobile, _default$3 as BrandsMenuPopover, Breadcrumb, Breadcrumbs, Button, ButtonElement, ButtonLink, CandidateNav, CandidateProfile, CandidateProfileTemplate, Carousel, CategoryGrid, _default as CategoryMenuCard, Checkbox, CitiesDetailDrawer, Collapse, CompanyCard, CompanyCardWithDescription, CompanyCardWithoutDescription, ComparativeCounter, ComponentProps, CreateAccountCTA, DateDropdown, DateInput, DatePicker, DatePickerResponsiveComponent, Divider, DotsLoader, Drawer, DrawerMenu, EAlertJobStatusIcon, EAlertJobStatusType, EAlertType, EExpandableInfoSize, EExpandableInfoVariant, ERadioType, ETypographyFontWeight, EmptyResult as EmptyResults, ExpandableInfo, FilterActions, FilterCard, FilterContainerMenu, FilterHeader, FilterMenuItem, FilterSearchItem, FlatLoader, Footer, FooterMenuLinks, FormHandlerProvider, FraudCardJob, FrequentSearch, GlobalQuestion, HeaderAnalyst, HeaderDrawerCompany, HeaderDrawerTabs, HeaderTab, HeaderTabItem, HeaderTabs, HorizontalBar, HorizontalMenu, IActions, IAlert, IAlertJobStatus, IAlertsPanel, IAnalystProviderProps, IAnalystTemplateProps, IAvatar, IBreadcrumb, IBreadcrumbs, IBtnPaginationProps, IButton, IButtonLink, ICanApply, ICandidateNavButton, ICandidateNavContext, ICandidateProfileAvatar, ICandidateProfileTemplate, ICandidateProfileTemplateProfile, ICandidateProvider, ICandidateScreen, ICandidateTemplateContext, ICardsRef, ICarousel, ICategoryField, ICategoryGrid, ICategoryMenuCard, ICheckbox, ICitiesDetailDrawer, ICityDetail, ICollapseContext, ICompanyAnalyst, ICreatePaginationProps, ICreatePaginationResult, ICustomButtonText, IDateDropdown, IDateInput, IDateList, IDatePicker, IDatePickerComponent, IDefaultFilter, IDefaultOrder, IDetailList, IDrawer, IDrawerOrganism, IDrawerPortal, IDynamicUrl, IEmptyResults, IExpandableInfoProps, IFieldsAlias, IFilter, IFilterActions, IFilterCard, IFilterHeader, IFilterMenuItem, IFilterRepository, IFilterSearchItem, IFilterValue, IFiltersRef, IFooterList, IFormHandler, IFrequentSearch, IGetOptionsOnSearchProps, IGlobalQuestionProps, IHeaderAnalyst, IHeaderDrawerCompany, IHeaderDrawerTabs, IHeaderTab, IHeaderTabs, IHorizontalMenu, IHorizontalMenuOption, IImage, IInlineDetails, IJobApplyCard, IJobCard, IJobCompanyHeader, IJobCompanyLogo, IJobDetailCard, IJobDetails, IJobDetailsDrawer, IJobFooterCard, IJobHeader, IJobSkillsCard, IJobSuggestedDrawer, IJobVideo, IJobsActions, IJobsPage, ILinkProps, IListIcon, IListIconLink, IListMenuIcons, IListMenuItems, ILoading, ILoginHeader, ILoginJobsHeader, ILoginJobsTemplate, ILogoAnalyst, ILogoComponent, ILogout, ILogoutHeader, ILogoutJobsHeader, ILogoutJobsTemplate, ILogoutTemplate, IMainButton, IMegaMenu, IMegaMenuCard, IMegaMenuCards, IMegaMenuDrawer, IMegaMenuDrawerItem, IMegaMenuDrawerItemContent, IMegaMenuEmpty, IMegaMenuSideCards, IMegaMenuTab, IMenuCollapseChildren, IMenuDropdownProps, IMenuIcon, IMenuItem, IMenuItems, IMenuSearch, IMenuUser, IMessageProps, IMobileDatePicker, IMobileDrawer, IMobileDrawerMenu, IMobileJobDetailsDrawer, IMobileJobDetailsHeader, IMobileSearchbar, IMobileSortMenu, IModalAnalyst, IModalAnalystProps, IModalAnalystScreen, IModalProps, IMultiRangeSlider, INavMMenuAnalystRegionModal, INavMenuAnalystIcons, INavMenuAnalystOption, INavMenuAnalystProps, INavMenuAnalystQueryString, INavMenuAnalystRegion, INavMenuAnalystRegionModalProps, INavMenuAnalystSection, INavMenuDrawerAnalystProps, INotification, IOption, IOptionValues, IPaginationProps, IParagraph, IPopover, IPortalTooltipProps, IQualification, IQualificationStar, IQuestion, IQuestionOptions, IRadioCommonProps, IRadioProps, IRatingBadge, ISaveButton, IScrollableTab, ISearchItem, ISearchRenderTypeOption, ISearchRenderTypeProps, ISearchbar, ISelect, ISetIsApplied, ISettings, IShareButton, IShareLink, IShareLinksActions, ISharePopover, ISideFilter, ISimilarCard, ISimilarCardData, ISimilarJobsCard, ISkill, ISortBar, ISortMenu, ISortMenuItem, ISubCompanyAnalyst, ISuggestedJobsPage, ISwitch, ITab, ITabButton, ITabItem, ITypographyBase, ITypographyEllipsis, ITypographyLink, ITypographyText, ITypographyTitle, IUnApplyWithChild, IUserAnalyst, IUserMenuAnalystAction, IUserMenuAnalystProps, IUserMenuAnalystQueryString, IUserMenuAnalystSection, IUserMenuButtonAnalystProps, IUserMenuWrapperAnalystProps, IUserTerm, IVacancies$1 as IVacancies, IVacantPositions, IValueSelect, IconItem, IconProps, IlistMenuUserProps, Image, ImageCard, InlineDetails, Input, InputFile, InputPlus, InputSearch, JobActions, JobApplyCard, JobCard, JobCardDesktop, JobCardMobile, JobCompanyHeader, JobCompanyLogo, JobDetailCard, JobDetailContainer, JobDetails, JobDetailsDrawer, JobFooterCard, JobHeader, JobRequirementsElement, JobSkillsCard, JobSuggestedDrawer, JobSuggestedHeader, JobSuggestedSimilarJobs, JobVideo, JobsPage, Link, LinkElement, LinkType, ListIconLink, ListMenuIcons, ListMenuItems, ListMenuText, ListSortMenu, Loading, LoginHeader, LoginJobsHeader, LoginJobsTemplate, LoginTemplate, LogoComponent, LogoutHeader, LogoutJobsHeader, LogoutJobsTemplate, LogoutTemplate, MagnetoResolution, MagnetoSocialMedia, MagnetoUIBorder, MagnetoUIColor, MagnetoUIGap, MagnetoUIMargin, MagnetoUIOpacity, MagnetoUIPadding, ContextAppProvider as MagnetoUIProvider, MagnetoUIRadius, MagnetoUIScale, MagnetoUIScreen, MagnetoUIShadow, MagnetoUIText, MagnetoUIWeight, MainButton, MegaMenu, MegaMenuCard, MegaMenuCards, MegaMenuDrawer, MegaMenuDrawerItem, MegaMenuEmpty, MegaMenuJobsTabs, MegaMenuPopover, MegaMenuSideCards, MegaMenuTab, MenuDropdown, MenuIcon, MenuItem, MenuItemInfo, MenuSearch, Message, MobileDatePicker, MobileDrawer, MobileDrawerMenu, MobileJobDetailsDrawer, MobileJobDetailsHeader, MobileSearchbar, MobileSortMenu, _default$2 as Modal, ModalAnalyst, ModalResponsive, MultiRangeSlider, MultipleSelectionEntry, NavMenuAnalyst, NavMenuAnalystRegionModal, NavMenuDrawerAnalyst, Notification, OneSelectionEntry, Pagination, Paragraph, Popover, PortalTooltip, ProcessesCard, Qualification, QuestionTypeValidators, Radio, RatingBadge, RightsReservedText, SaveButton, ScoreLevel, ScoreLevelStatic, ScrollableTab, SearchButton, SearchItem, Searchbar, Select, Select2, ShareButton, SharePopover, SideFilter, SimilarCard, SimilarCardIcon, SimilarCardLogo, SimilarJobs, SimilarJobsCard, Skill, SortBar, _default$1 as SortMenu, SuggestedJobsPage, Switch, TCandidateNav, TCandidateNavOption, TCandidateNavOptions, TCandidateNavStep, TCandidateProfile, TCandidateProfileBody, TCandidateProfileHeader, TCandidateProfileTemplateMainNav, TCandidateProfileTemplateNav, TCandidateProfileToggler, TCollapse, TCollapseBody, TCollapseHeader, TCollapseToggler, TExpandableInfoSize, TExpandableInfoVariant, TInputFile, TMessageType, TToggleButtonList, TTypographyFontWeight, TTypographyParagraph, TVacantOption, TVacantOptionType, Tab, TabButton, TabButtonElement, TabItem, Tags as Tag, TestFormHandler, TextArea, TextCustom, TimeLineItemStatus, Timeline, TimelineEvent, TimelineEventProps, ToggleButton, ToggleButtonList, Tooltip, Typography, UserMenu, UserMenuAnalyst, UserMenuButtonAnalyst, UserMenuWrapperAnalyst, UserTermCheck, UserTermContent, UserTermHighlight, UserTermSubTitle, UserTermSubmit, UserTermText, UserTermTitle, UserTermUList, UserTerms, VacantPositions, useFormHandler, useMediaQuery, withClickOut, withMegaMenuSideCards };
|
package/package.json
CHANGED