@reqquest/ui 1.8.0 → 1.8.1
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/registry.d.ts
CHANGED
|
@@ -107,6 +107,28 @@ export interface PromptDefinition {
|
|
|
107
107
|
* A boolean value will result in a default skeleton loader.
|
|
108
108
|
*/
|
|
109
109
|
loader?: Loader;
|
|
110
|
+
/**
|
|
111
|
+
* This is the same applicantPromptPage CSS configurations that exist at the UIConfig (global applicant page prompt) level. Used in a situation where a specific prompt
|
|
112
|
+
* requires a specific layout that doesn't match default. This will override global configuration
|
|
113
|
+
*/
|
|
114
|
+
applicantPromptPage?: ApplicantPromptPageDefinition;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Applicant prompts are wrapped by the default CL Form component, so any styling applied within the svelte prompt
|
|
118
|
+
* is independent (does not influence) of the layout of form elements that exist as part of the CL Form (eg. Validation notices).
|
|
119
|
+
* This can result in inconsistencies in desired layouts as CL Form elements are default left aligned while prompts could expect/desire
|
|
120
|
+
* center alignment. This property allows the developer to set the global prompt page Form CSS class variable. This can be overwritten at the
|
|
121
|
+
* individual prompt level if specific prompts desire specific layouts. This definition is used for defining those elements if required
|
|
122
|
+
*/
|
|
123
|
+
export interface ApplicantPromptPageDefinition {
|
|
124
|
+
/**
|
|
125
|
+
* CSS class settings specific to the Form component that wraps the prompt
|
|
126
|
+
*/
|
|
127
|
+
formClass?: string;
|
|
128
|
+
/**
|
|
129
|
+
* CSS class settings specific to the corrections inline notification within the Form
|
|
130
|
+
*/
|
|
131
|
+
invalidatedInlineNotificationClass?: string;
|
|
110
132
|
}
|
|
111
133
|
export interface Terminologies {
|
|
112
134
|
/**
|
|
@@ -160,6 +182,14 @@ export interface UIConfig {
|
|
|
160
182
|
* Defaults to 30 if not specified.
|
|
161
183
|
*/
|
|
162
184
|
applicantDashboardRecentDays?: number;
|
|
185
|
+
/**
|
|
186
|
+
* Applicant prompts are wrapped by the default CL Form component, so any styling applied within the svelte prompt
|
|
187
|
+
* is independent (does not influence) of the layout of form elements that exist as part of the CL Form (eg. Validation notices).
|
|
188
|
+
* This can result in inconsistencies in desired layouts as CL Form elements are default left aligned while prompts could expect/desire
|
|
189
|
+
* center alignment. This property allows the developer to set the global prompt page Form CSS class variable. This can be overwritten at the
|
|
190
|
+
* individual prompt level if specific prompts desire specific layouts
|
|
191
|
+
*/
|
|
192
|
+
applicantPromptPage?: ApplicantPromptPageDefinition;
|
|
163
193
|
/**
|
|
164
194
|
* Applicant Review submission page title and subtitle text.
|
|
165
195
|
*/
|
|
@@ -271,7 +271,7 @@ export type AppRequestPhase = 'ACCEPTANCE' | 'COMPLETE' | 'STARTED' | 'SUBMITTED
|
|
|
271
271
|
* the database and the status of each application.
|
|
272
272
|
*
|
|
273
273
|
*/
|
|
274
|
-
export type AppRequestStatus = 'ACCEPTANCE' | 'ACCEPTED' | 'APPROVAL' | 'APPROVED' | 'CANCELLED' | 'DISQUALIFIED' | 'NOT_ACCEPTED' | 'NOT_APPROVED' | 'PREAPPROVAL' | 'READY_TO_ACCEPT' | 'READY_TO_SUBMIT' | 'REVIEW_COMPLETE' | 'STARTED' | 'WITHDRAWN';
|
|
274
|
+
export type AppRequestStatus = 'ACCEPTANCE' | 'ACCEPTED' | 'APPROVAL' | 'APPROVED' | 'CANCELLED' | 'DISQUALIFIED' | 'NOT_ACCEPTED' | 'NOT_APPROVED' | 'PREAPPROVAL' | 'READY_TO_ACCEPT' | 'READY_TO_SUBMIT' | 'REVIEW_IN_PROGRESS' | 'REVIEW_COMPLETE' | 'STARTED' | 'WITHDRAWN';
|
|
275
275
|
/** An application represents the applicant applying to a specific program. Each appRequest has multiple applications - one per program defined in the system. Some applications are mutually exclusive and/or will be eliminated early based on PREQUAL requirements, but they all technically exist in the data model - there is no concept of picking one application over another, just two applications where one dies and the other survives. */
|
|
276
276
|
export interface Application {
|
|
277
277
|
actions: ApplicationActions;
|
|
@@ -353,7 +353,7 @@ export interface ApplicationMetricTiming {
|
|
|
353
353
|
* is computed based on the status of the appRequest and of the requirements for the program.
|
|
354
354
|
*
|
|
355
355
|
*/
|
|
356
|
-
export type ApplicationPhase = 'ACCEPTANCE' | 'APPROVAL' | 'COMPLETE' | 'PREAPPROVAL' | 'PREQUAL' | 'QUALIFICATION' | 'READY_FOR_WORKFLOW' | 'READY_TO_ACCEPT' | 'READY_TO_COMPLETE' | 'READY_TO_SUBMIT' | 'REVIEW_COMPLETE' | 'WORKFLOW_BLOCKING' | 'WORKFLOW_NONBLOCKING';
|
|
356
|
+
export type ApplicationPhase = 'ACCEPTANCE' | 'APPROVAL' | 'COMPLETE' | 'PREAPPROVAL' | 'PREQUAL' | 'QUALIFICATION' | 'READY_FOR_WORKFLOW' | 'READY_TO_ACCEPT' | 'READY_TO_COMPLETE' | 'READY_TO_SUBMIT' | 'REVIEW_COMPLETE' | 'REVIEW_IN_PROGRESS' | 'WORKFLOW_BLOCKING' | 'WORKFLOW_NONBLOCKING';
|
|
357
357
|
/** The specific instance of a requirement on a particular application. Stores the status of the requirement, e.g. being satisfied or not. */
|
|
358
358
|
export interface ApplicationRequirement {
|
|
359
359
|
application: Application;
|
|
@@ -2193,6 +2193,7 @@ export declare const enumAppRequestStatus: {
|
|
|
2193
2193
|
READY_TO_ACCEPT: "READY_TO_ACCEPT";
|
|
2194
2194
|
READY_TO_SUBMIT: "READY_TO_SUBMIT";
|
|
2195
2195
|
REVIEW_COMPLETE: "REVIEW_COMPLETE";
|
|
2196
|
+
REVIEW_IN_PROGRESS: "REVIEW_IN_PROGRESS";
|
|
2196
2197
|
STARTED: "STARTED";
|
|
2197
2198
|
WITHDRAWN: "WITHDRAWN";
|
|
2198
2199
|
};
|
|
@@ -2208,6 +2209,7 @@ export declare const enumApplicationPhase: {
|
|
|
2208
2209
|
READY_TO_COMPLETE: "READY_TO_COMPLETE";
|
|
2209
2210
|
READY_TO_SUBMIT: "READY_TO_SUBMIT";
|
|
2210
2211
|
REVIEW_COMPLETE: "REVIEW_COMPLETE";
|
|
2212
|
+
REVIEW_IN_PROGRESS: "REVIEW_IN_PROGRESS";
|
|
2211
2213
|
WORKFLOW_BLOCKING: "WORKFLOW_BLOCKING";
|
|
2212
2214
|
WORKFLOW_NONBLOCKING: "WORKFLOW_NONBLOCKING";
|
|
2213
2215
|
};
|
|
@@ -346,6 +346,7 @@ export const enumAppRequestStatus = {
|
|
|
346
346
|
READY_TO_ACCEPT: 'READY_TO_ACCEPT',
|
|
347
347
|
READY_TO_SUBMIT: 'READY_TO_SUBMIT',
|
|
348
348
|
REVIEW_COMPLETE: 'REVIEW_COMPLETE',
|
|
349
|
+
REVIEW_IN_PROGRESS: 'REVIEW_IN_PROGRESS',
|
|
349
350
|
STARTED: 'STARTED',
|
|
350
351
|
WITHDRAWN: 'WITHDRAWN'
|
|
351
352
|
};
|
|
@@ -361,6 +362,7 @@ export const enumApplicationPhase = {
|
|
|
361
362
|
READY_TO_COMPLETE: 'READY_TO_COMPLETE',
|
|
362
363
|
READY_TO_SUBMIT: 'READY_TO_SUBMIT',
|
|
363
364
|
REVIEW_COMPLETE: 'REVIEW_COMPLETE',
|
|
365
|
+
REVIEW_IN_PROGRESS: 'REVIEW_IN_PROGRESS',
|
|
364
366
|
WORKFLOW_BLOCKING: 'WORKFLOW_BLOCKING',
|
|
365
367
|
WORKFLOW_NONBLOCKING: 'WORKFLOW_NONBLOCKING'
|
|
366
368
|
};
|