@uides/stepwise 2.2.1 → 2.2.3
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/CHANGELOG.md +11 -2
- package/generators/extractStepwisePossibleValues.d.mts +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/schemas/action.d.ts +48 -168
- package/schemas/action.js +34 -47
- package/schemas/field/afm/index.d.ts +158 -6
- package/schemas/field/afm/index.js +6 -9
- package/schemas/field/amka/index.d.ts +152 -8
- package/schemas/field/amka/index.js +3 -7
- package/schemas/field/attachment/index.d.ts +184 -16
- package/schemas/field/attachment/index.js +9 -22
- package/schemas/field/captcha/index.d.ts +156 -2
- package/schemas/field/captcha/index.js +6 -9
- package/schemas/field/choice/index.d.ts +188 -15
- package/schemas/field/choice/index.js +4 -9
- package/schemas/field/common.d.ts +92 -40
- package/schemas/field/common.js +78 -11
- package/schemas/field/date/index.d.ts +152 -38
- package/schemas/field/date/index.js +6 -33
- package/schemas/field/doc_subtitle/index.d.ts +158 -5
- package/schemas/field/doc_subtitle/index.js +5 -6
- package/schemas/field/doc_title/index.d.ts +154 -8
- package/schemas/field/doc_title/index.js +5 -12
- package/schemas/field/dynamically-filled-text/index.d.ts +170 -33
- package/schemas/field/dynamically-filled-text/index.js +6 -23
- package/schemas/field/email/index.d.ts +152 -8
- package/schemas/field/email/index.js +5 -9
- package/schemas/field/fillable-string/index.d.ts +156 -12
- package/schemas/field/fillable-string/index.js +4 -10
- package/schemas/field/five-block-date/index.d.ts +156 -2
- package/schemas/field/five-block-date/index.js +5 -4
- package/schemas/field/hidden/index.d.ts +161 -14
- package/schemas/field/hidden/index.js +7 -15
- package/schemas/field/hierarchical-selector/index.d.ts +176 -37
- package/schemas/field/hierarchical-selector/index.js +5 -21
- package/schemas/field/iban/index.d.ts +168 -6
- package/schemas/field/iban/index.js +3 -3
- package/schemas/field/image/index.d.ts +168 -16
- package/schemas/field/image/index.js +7 -23
- package/schemas/field/index.d.ts +2 -7
- package/schemas/field/index.js +8 -15
- package/schemas/field/int/index.d.ts +152 -8
- package/schemas/field/int/index.js +5 -9
- package/schemas/field/intl_mobile_phone/index.d.ts +156 -3
- package/schemas/field/intl_mobile_phone/index.js +5 -5
- package/schemas/field/lab-results/index.d.ts +156 -3
- package/schemas/field/lab-results/index.js +6 -6
- package/schemas/field/mobile_phone/index.d.ts +158 -5
- package/schemas/field/mobile_phone/index.js +5 -6
- package/schemas/field/multiple-choice/index.d.ts +180 -12
- package/schemas/field/multiple-choice/index.js +3 -8
- package/schemas/field/password/index.d.ts +156 -2
- package/schemas/field/password/index.js +5 -5
- package/schemas/field/pdf-image/index.d.ts +152 -14
- package/schemas/field/pdf-image/index.js +6 -18
- package/schemas/field/postal_code/index.d.ts +156 -4
- package/schemas/field/postal_code/index.js +6 -8
- package/schemas/field/preference-multiple-choice/index.d.ts +211 -17
- package/schemas/field/preference-multiple-choice/index.js +5 -9
- package/schemas/field/qrcode/index.d.ts +168 -19
- package/schemas/field/qrcode/index.js +6 -18
- package/schemas/field/quote/index.d.ts +170 -11
- package/schemas/field/quote/index.js +4 -12
- package/schemas/field/radio-choice/index.d.ts +172 -9
- package/schemas/field/radio-choice/index.js +4 -10
- package/schemas/field/rate/index.d.ts +150 -8
- package/schemas/field/rate/index.js +4 -7
- package/schemas/field/recipient/index.d.ts +158 -5
- package/schemas/field/recipient/index.js +5 -9
- package/schemas/field/redirect/index.d.ts +156 -6
- package/schemas/field/redirect/index.js +6 -9
- package/schemas/field/refcode/index.d.ts +168 -16
- package/schemas/field/refcode/index.js +6 -20
- package/schemas/field/string/index.d.ts +226 -65
- package/schemas/field/string/index.js +5 -54
- package/schemas/field/text/index.d.ts +170 -33
- package/schemas/field/text/index.js +5 -30
- package/schemas/field/three-block-date/index.d.ts +176 -12
- package/schemas/field/three-block-date/index.js +4 -10
- package/schemas/field/url/index.d.ts +204 -0
- package/schemas/field/url/index.js +16 -0
- package/schemas/fieldset/component-params.d.ts +9 -41
- package/schemas/fieldset/component-params.js +5 -29
- package/schemas/fieldset/display-components.d.ts +16 -244
- package/schemas/fieldset/display-components.js +6 -19
- package/schemas/fieldset/enums.d.ts +0 -22
- package/schemas/fieldset/enums.js +1 -15
- package/schemas/fieldset/index.d.ts +9 -93
- package/schemas/index.d.ts +1 -1
- package/schemas/index.js +1 -1
- package/schemas/step.d.ts +7 -0
- package/schemas/step.js +2 -1
- package/schemas/{template/template.d.ts → template.d.ts} +47 -23
- package/schemas/template.js +26 -0
- package/src/generators/actions-possible-values/document-anon-create.json +19 -0
- package/src/generators/actions-possible-values/document-backstep.json +19 -0
- package/src/generators/actions-possible-values/document-create-new.json +43 -0
- package/src/generators/actions-possible-values/document-create.json +20 -0
- package/src/generators/actions-possible-values/document-dismiss.json +36 -0
- package/src/generators/actions-possible-values/document-download-pdf.json +69 -0
- package/src/generators/actions-possible-values/document-email.json +42 -0
- package/src/generators/actions-possible-values/document-resend-otp.json +30 -0
- package/src/generators/actions-possible-values/document-revoke.json +46 -0
- package/src/generators/actions-possible-values/document-share.json +29 -0
- package/src/generators/actions-possible-values/document-sms.json +38 -0
- package/src/generators/actions-possible-values/document-temporary-save.json +28 -0
- package/src/generators/actions-possible-values/document-update.json +111 -0
- package/src/generators/actions-possible-values/entity-forward.json +31 -0
- package/src/generators/actions-possible-values/entity-reply.json +31 -0
- package/src/generators/actions-possible-values/entity-send-message.json +34 -0
- package/src/generators/actions-possible-values/hidden.json +22 -0
- package/src/generators/actions-possible-values/link.json +43 -0
- package/src/generators/extractStepwisePossibleValues.mjs +139 -0
- package/src/generators/fields-possible-values/afm.json +94 -0
- package/src/generators/fields-possible-values/amka.json +26 -0
- package/src/generators/fields-possible-values/attachment.json +89 -0
- package/src/generators/fields-possible-values/captcha.json +16 -0
- package/src/generators/fields-possible-values/choice.json +432 -0
- package/src/generators/fields-possible-values/date.json +57 -0
- package/src/generators/fields-possible-values/doc_subtitle.json +26 -0
- package/src/generators/fields-possible-values/doc_title.json +63 -0
- package/src/generators/fields-possible-values/dynamically-filled-text.json +47 -0
- package/src/generators/fields-possible-values/email.json +65 -0
- package/src/generators/fields-possible-values/fillable-string.json +47 -0
- package/src/generators/fields-possible-values/five-block-date.json +23 -0
- package/src/generators/fields-possible-values/hidden.json +140 -0
- package/src/generators/fields-possible-values/hierarchical-selector.json +84 -0
- package/src/generators/fields-possible-values/iban.json +35 -0
- package/src/generators/fields-possible-values/image.json +37 -0
- package/src/generators/fields-possible-values/int.json +52 -0
- package/src/generators/fields-possible-values/intl_mobile_phone.json +32 -0
- package/src/generators/fields-possible-values/lab-results.json +19 -0
- package/src/generators/fields-possible-values/mobile_phone.json +45 -0
- package/src/generators/fields-possible-values/multiple-choice.json +128 -0
- package/src/generators/fields-possible-values/password.json +20 -0
- package/src/generators/fields-possible-values/pdf-image.json +70 -0
- package/src/generators/fields-possible-values/postal_code.json +32 -0
- package/src/generators/fields-possible-values/preference-multiple-choice.json +53 -0
- package/src/generators/fields-possible-values/qrcode.json +75 -0
- package/src/generators/fields-possible-values/quote.json +71 -0
- package/src/generators/fields-possible-values/radio-choice.json +209 -0
- package/src/generators/fields-possible-values/rate.json +26 -0
- package/src/generators/fields-possible-values/recipient.json +46 -0
- package/src/generators/fields-possible-values/redirect.json +22 -0
- package/src/generators/fields-possible-values/refcode.json +89 -0
- package/src/generators/fields-possible-values/string.json +778 -0
- package/src/generators/fields-possible-values/text.json +105 -0
- package/src/generators/fields-possible-values/three-block-date.json +83 -0
- package/src/generators/fields-possible-values/url.json +23 -0
- package/src/generators/fieldsets-possible-values/form.json +311 -0
- package/src/generators/fieldsets-possible-values/hidden.json +107 -0
- package/src/generators/fieldsets-possible-values/unknown.json +69 -0
- package/src/generators/fieldsets-possible-values/values-list.json +364 -0
- package/src/schemas/action.ts +44 -58
- package/src/schemas/field/afm/index.ts +8 -6
- package/src/schemas/field/amka/index.ts +7 -9
- package/src/schemas/field/attachment/index.ts +9 -23
- package/src/schemas/field/captcha/index.ts +8 -3
- package/src/schemas/field/choice/index.ts +7 -5
- package/src/schemas/field/common.spec.ts +0 -3
- package/src/schemas/field/common.ts +115 -53
- package/src/schemas/field/date/index.ts +8 -24
- package/src/schemas/field/doc_subtitle/index.ts +7 -4
- package/src/schemas/field/doc_title/index.ts +7 -14
- package/src/schemas/field/dynamically-filled-text/index.ts +7 -15
- package/src/schemas/field/email/index.ts +7 -9
- package/src/schemas/field/fillable-string/index.ts +7 -11
- package/src/schemas/field/five-block-date/index.ts +7 -2
- package/src/schemas/field/hidden/index.ts +15 -40
- package/src/schemas/field/hierarchical-selector/index.ts +8 -18
- package/src/schemas/field/iban/index.ts +7 -3
- package/src/schemas/field/image/index.ts +8 -10
- package/src/schemas/field/index.ts +8 -33
- package/src/schemas/field/int/index.ts +7 -9
- package/src/schemas/field/intl_mobile_phone/index.ts +7 -3
- package/src/schemas/field/lab-results/index.ts +7 -3
- package/src/schemas/field/mobile_phone/index.ts +7 -4
- package/src/schemas/field/multiple-choice/index.ts +7 -5
- package/src/schemas/field/password/index.ts +8 -3
- package/src/schemas/field/pdf-image/index.ts +8 -12
- package/src/schemas/field/postal_code/index.ts +8 -5
- package/src/schemas/field/preference-multiple-choice/index.ts +8 -7
- package/src/schemas/field/qrcode/index.ts +7 -10
- package/src/schemas/field/quote/index.ts +8 -8
- package/src/schemas/field/radio-choice/index.ts +7 -5
- package/src/schemas/field/rate/index.ts +7 -8
- package/src/schemas/field/recipient/index.ts +7 -4
- package/src/schemas/field/redirect/index.ts +7 -6
- package/src/schemas/field/refcode/index.ts +7 -21
- package/src/schemas/field/string/index.ts +7 -42
- package/src/schemas/field/text/index.ts +8 -16
- package/src/schemas/field/three-block-date/index.ts +7 -6
- package/src/schemas/field/url/index.ts +24 -0
- package/src/schemas/fieldset/component-params.ts +4 -20
- package/src/schemas/fieldset/display-components.ts +5 -36
- package/src/schemas/fieldset/enums.ts +0 -38
- package/src/schemas/step.ts +1 -0
- package/src/schemas/{template/template-base.ts → template.ts} +30 -6
- package/src/utils/index.ts +69 -2
- package/utils/index.js +28 -2
- package/schemas/field/consent-content/index.d.ts +0 -68
- package/schemas/field/consent-content/index.js +0 -19
- package/schemas/field/image-crop/index.d.ts +0 -59
- package/schemas/field/image-crop/index.js +0 -19
- package/schemas/field/landline_phone/index.d.ts +0 -48
- package/schemas/field/landline_phone/index.js +0 -14
- package/schemas/field/link/index.d.ts +0 -50
- package/schemas/field/link/index.js +0 -16
- package/schemas/field/phone/index.d.ts +0 -48
- package/schemas/field/phone/index.js +0 -14
- package/schemas/field/url-param/index.d.ts +0 -57
- package/schemas/field/url-param/index.js +0 -14
- package/schemas/template/index.d.ts +0 -2
- package/schemas/template/index.js +0 -2
- package/schemas/template/template-base.d.ts +0 -53
- package/schemas/template/template-base.js +0 -15
- package/schemas/template/template-source.d.ts +0 -50
- package/schemas/template/template-source.js +0 -14
- package/schemas/template/template.js +0 -22
- package/src/schemas/field/consent-content/index.ts +0 -28
- package/src/schemas/field/image-crop/index.ts +0 -25
- package/src/schemas/field/landline_phone/index.ts +0 -18
- package/src/schemas/field/link/index.ts +0 -20
- package/src/schemas/field/phone/index.ts +0 -18
- package/src/schemas/field/url-param/index.ts +0 -23
- package/src/schemas/template/index.ts +0 -2
- package/src/schemas/template/template-source.ts +0 -88
- package/src/schemas/template/template.ts +0 -49
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Change Log - @uides/stepwise
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Tue, 26 May 2026 08:58:32 GMT and should not be manually modified. -->
|
|
4
|
+
|
|
5
|
+
<!-- Start content -->
|
|
6
|
+
|
|
7
|
+
## 2.2.2
|
|
8
|
+
|
|
9
|
+
Tue, 26 May 2026 08:58:32 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Ignore PDF/source-related validation errors (sangelopoulos@admin.grnet.gr)
|
|
4
14
|
|
|
5
15
|
## 2.0.8
|
|
6
16
|
Wed, 11 Feb 2026 14:46:37 GMT
|
|
@@ -49,4 +59,3 @@ Wed, 21 Jan 2026 15:58:34 GMT
|
|
|
49
59
|
|
|
50
60
|
- Remove unused template json files
|
|
51
61
|
- Update typescript version
|
|
52
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/index.js
CHANGED
package/package.json
CHANGED
package/schemas/action.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export declare const TemporarySaveSchema: v.StrictObjectSchema<{
|
|
|
60
60
|
}, undefined>, undefined>, undefined>;
|
|
61
61
|
}, undefined>;
|
|
62
62
|
export type TemporarySave = v.InferOutput<typeof TemporarySaveSchema>;
|
|
63
|
-
export declare const
|
|
63
|
+
export declare const DownloadPdfSchema: v.StrictObjectSchema<{
|
|
64
64
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
65
65
|
readonly component: v.OptionalSchema<v.LiteralSchema<"document-download-pdf", undefined>, undefined>;
|
|
66
66
|
} & {
|
|
@@ -124,7 +124,7 @@ export declare const PdfSchema: v.StrictObjectSchema<{
|
|
|
124
124
|
readonly sign: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
125
125
|
}, undefined>, undefined>;
|
|
126
126
|
}, undefined>;
|
|
127
|
-
export type Pdf = v.InferOutput<typeof
|
|
127
|
+
export type Pdf = v.InferOutput<typeof DownloadPdfSchema>;
|
|
128
128
|
export declare const ResendOtpSchema: v.StrictObjectSchema<{
|
|
129
129
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
130
130
|
readonly component: v.OptionalSchema<v.LiteralSchema<"document-resend-otp", undefined>, undefined>;
|
|
@@ -186,9 +186,9 @@ export declare const ResendOtpSchema: v.StrictObjectSchema<{
|
|
|
186
186
|
}, undefined>, undefined>, undefined>;
|
|
187
187
|
}, undefined>;
|
|
188
188
|
export type ResendOtp = v.InferOutput<typeof ResendOtpSchema>;
|
|
189
|
-
export declare const
|
|
189
|
+
export declare const DismissSchema: v.StrictObjectSchema<{
|
|
190
190
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
191
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"document-
|
|
191
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"document-dismiss", undefined>, undefined>;
|
|
192
192
|
} & {
|
|
193
193
|
/** The text to display on the button */
|
|
194
194
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -246,10 +246,10 @@ export declare const ResendEmailOtpSchema: v.StrictObjectSchema<{
|
|
|
246
246
|
}, undefined>, undefined>;
|
|
247
247
|
}, undefined>, undefined>, undefined>;
|
|
248
248
|
}, undefined>;
|
|
249
|
-
export type
|
|
250
|
-
export declare const
|
|
249
|
+
export type Cancel = v.InferOutput<typeof DismissSchema>;
|
|
250
|
+
export declare const UpdateSchema: v.StrictObjectSchema<{
|
|
251
251
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
252
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"document-
|
|
252
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"document-update", undefined>, undefined>;
|
|
253
253
|
} & {
|
|
254
254
|
/** The text to display on the button */
|
|
255
255
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -306,11 +306,16 @@ export declare const CancelSchema: v.StrictObjectSchema<{
|
|
|
306
306
|
readonly endpoint: v.StringSchema<undefined>;
|
|
307
307
|
}, undefined>, undefined>;
|
|
308
308
|
}, undefined>, undefined>, undefined>;
|
|
309
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
310
|
+
readonly issue: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
311
|
+
readonly mark_submitting: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
312
|
+
readonly 'ensure-no-input': v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
313
|
+
}, undefined>, undefined>;
|
|
309
314
|
}, undefined>;
|
|
310
|
-
export type
|
|
311
|
-
export declare const
|
|
315
|
+
export type Update = v.InferOutput<typeof UpdateSchema>;
|
|
316
|
+
export declare const CreateNewSchema: v.StrictObjectSchema<{
|
|
312
317
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
313
|
-
readonly component: v.OptionalSchema<v.
|
|
318
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"document-create-new", undefined>, undefined>;
|
|
314
319
|
} & {
|
|
315
320
|
/** The text to display on the button */
|
|
316
321
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -368,12 +373,10 @@ export declare const UpdateSchema: v.StrictObjectSchema<{
|
|
|
368
373
|
}, undefined>, undefined>;
|
|
369
374
|
}, undefined>, undefined>, undefined>;
|
|
370
375
|
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
371
|
-
readonly
|
|
372
|
-
readonly mark_submitting: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
373
|
-
readonly 'ensure-no-input': v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
376
|
+
readonly refname: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
374
377
|
}, undefined>, undefined>;
|
|
375
378
|
}, undefined>;
|
|
376
|
-
export type
|
|
379
|
+
export type CreateNew = v.InferOutput<typeof CreateNewSchema>;
|
|
377
380
|
export declare const CreateSchema: v.StrictObjectSchema<{
|
|
378
381
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
379
382
|
readonly component: v.OptionalSchema<v.LiteralSchema<"document-create", undefined>, undefined>;
|
|
@@ -433,9 +436,6 @@ export declare const CreateSchema: v.StrictObjectSchema<{
|
|
|
433
436
|
readonly endpoint: v.StringSchema<undefined>;
|
|
434
437
|
}, undefined>, undefined>;
|
|
435
438
|
}, undefined>, undefined>, undefined>;
|
|
436
|
-
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
437
|
-
readonly interactive: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
438
|
-
}, undefined>, undefined>;
|
|
439
439
|
}, undefined>;
|
|
440
440
|
export type Create = v.InferOutput<typeof CreateSchema>;
|
|
441
441
|
export declare const AnonCreateSchema: v.StrictObjectSchema<{
|
|
@@ -755,7 +755,7 @@ export declare const SmsSchema: v.StrictObjectSchema<{
|
|
|
755
755
|
}, undefined>, undefined>;
|
|
756
756
|
}, undefined>;
|
|
757
757
|
export type Sms = v.InferOutput<typeof SmsSchema>;
|
|
758
|
-
export declare const
|
|
758
|
+
export declare const EntitySendMessageSchema: v.StrictObjectSchema<{
|
|
759
759
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
760
760
|
readonly component: v.OptionalSchema<v.LiteralSchema<"entity-send-message", undefined>, undefined>;
|
|
761
761
|
} & {
|
|
@@ -817,11 +817,10 @@ export declare const CommunicationSchema: v.StrictObjectSchema<{
|
|
|
817
817
|
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
818
818
|
readonly 'contact-phone-field': v.StringSchema<undefined>;
|
|
819
819
|
readonly 'contact-email-field': v.StringSchema<undefined>;
|
|
820
|
-
readonly 'message-subject': v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
821
820
|
}, undefined>, undefined>;
|
|
822
821
|
}, undefined>;
|
|
823
|
-
export type Communication = v.InferOutput<typeof
|
|
824
|
-
export declare const
|
|
822
|
+
export type Communication = v.InferOutput<typeof EntitySendMessageSchema>;
|
|
823
|
+
export declare const EntityForwardSchema: v.StrictObjectSchema<{
|
|
825
824
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
826
825
|
readonly component: v.OptionalSchema<v.LiteralSchema<"entity-forward", undefined>, undefined>;
|
|
827
826
|
} & {
|
|
@@ -886,71 +885,10 @@ export declare const ForwardSchema: v.StrictObjectSchema<{
|
|
|
886
885
|
readonly message: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
887
886
|
}, undefined>, undefined>;
|
|
888
887
|
}, undefined>;
|
|
889
|
-
export type Forward = v.InferOutput<typeof
|
|
890
|
-
export declare const
|
|
888
|
+
export type Forward = v.InferOutput<typeof EntityForwardSchema>;
|
|
889
|
+
export declare const EntityReplySchema: v.StrictObjectSchema<{
|
|
891
890
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
892
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"entity-
|
|
893
|
-
} & {
|
|
894
|
-
/** The text to display on the button */
|
|
895
|
-
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
896
|
-
readonly icon: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
897
|
-
/** The explanatory title of the action */
|
|
898
|
-
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
899
|
-
/** An explanatory subtitle for the action */
|
|
900
|
-
readonly helptext: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
901
|
-
/**
|
|
902
|
-
* Whether it is considered a primary action
|
|
903
|
-
*
|
|
904
|
-
* This also determines the styling of the action button
|
|
905
|
-
*/
|
|
906
|
-
readonly primary: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
907
|
-
readonly url: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
908
|
-
/** @default false */
|
|
909
|
-
readonly self: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
910
|
-
/**
|
|
911
|
-
* Confirmation dialog title
|
|
912
|
-
*
|
|
913
|
-
* Title of dialog to display when the user clicks on the action button
|
|
914
|
-
*/
|
|
915
|
-
readonly confirm_title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
916
|
-
/**
|
|
917
|
-
* Confirmation dialog description
|
|
918
|
-
*
|
|
919
|
-
* Description of dialog to display when the user clicks on the action button
|
|
920
|
-
*/
|
|
921
|
-
readonly confirm_message: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
922
|
-
/**
|
|
923
|
-
* Confirmation dialog 'confirm' button label
|
|
924
|
-
*
|
|
925
|
-
* Label of 'confirm' button included in dialog displayed when the user clicks on the action button
|
|
926
|
-
*/
|
|
927
|
-
readonly confirm_confirm_label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
928
|
-
/**
|
|
929
|
-
* Confirmation dialog 'cancel' button label
|
|
930
|
-
*
|
|
931
|
-
* Label of 'cancel' button included in dialog displayed when the user clicks on the action button
|
|
932
|
-
*/
|
|
933
|
-
readonly confirm_cancel_label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
934
|
-
readonly warning: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
935
|
-
readonly autocall: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
936
|
-
readonly retry: v.NullishSchema<v.StrictObjectSchema<{
|
|
937
|
-
readonly retry_limit: v.NumberSchema<undefined>;
|
|
938
|
-
readonly retry_delay: v.NumberSchema<undefined>;
|
|
939
|
-
}, undefined>, undefined>;
|
|
940
|
-
readonly poll: v.NullishSchema<v.StrictObjectSchema<{
|
|
941
|
-
readonly retry: v.StrictObjectSchema<{
|
|
942
|
-
readonly retry_limit: v.NumberSchema<undefined>;
|
|
943
|
-
readonly retry_delay: v.NumberSchema<undefined>;
|
|
944
|
-
}, undefined>;
|
|
945
|
-
readonly id_field: v.StringSchema<undefined>;
|
|
946
|
-
readonly endpoint: v.StringSchema<undefined>;
|
|
947
|
-
}, undefined>, undefined>;
|
|
948
|
-
}, undefined>, undefined>, undefined>;
|
|
949
|
-
}, undefined>;
|
|
950
|
-
export type AuthorizedPdf = v.InferOutput<typeof AuthorizedPdfSchema>;
|
|
951
|
-
export declare const ReplySchema: v.StrictObjectSchema<{
|
|
952
|
-
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
953
|
-
readonly component: v.OptionalSchema<v.PicklistSchema<["entity-reply", "hidden"], undefined>, undefined>;
|
|
891
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"entity-reply", undefined>, undefined>;
|
|
954
892
|
} & {
|
|
955
893
|
/** The text to display on the button */
|
|
956
894
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1011,10 +949,10 @@ export declare const ReplySchema: v.StrictObjectSchema<{
|
|
|
1011
949
|
readonly 'reply-templates': v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>;
|
|
1012
950
|
}, undefined>, undefined>;
|
|
1013
951
|
}, undefined>;
|
|
1014
|
-
export type Reply = v.InferOutput<typeof
|
|
1015
|
-
export declare const
|
|
952
|
+
export type Reply = v.InferOutput<typeof EntityReplySchema>;
|
|
953
|
+
export declare const LinkActionSchema: v.StrictObjectSchema<{
|
|
1016
954
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
1017
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"
|
|
955
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"link", undefined>, undefined>;
|
|
1018
956
|
} & {
|
|
1019
957
|
/** The text to display on the button */
|
|
1020
958
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1072,10 +1010,10 @@ export declare const WebPrintSchema: v.StrictObjectSchema<{
|
|
|
1072
1010
|
}, undefined>, undefined>;
|
|
1073
1011
|
}, undefined>, undefined>, undefined>;
|
|
1074
1012
|
}, undefined>;
|
|
1075
|
-
export type
|
|
1076
|
-
export declare const
|
|
1013
|
+
export type LinkAction = v.InferOutput<typeof LinkActionSchema>;
|
|
1014
|
+
export declare const BackstepSchema: v.StrictObjectSchema<{
|
|
1077
1015
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
1078
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"
|
|
1016
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"document-backstep", undefined>, undefined>;
|
|
1079
1017
|
} & {
|
|
1080
1018
|
/** The text to display on the button */
|
|
1081
1019
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1133,10 +1071,10 @@ export declare const NewDeclOrTempSavePreviewSchema: v.StrictObjectSchema<{
|
|
|
1133
1071
|
}, undefined>, undefined>;
|
|
1134
1072
|
}, undefined>, undefined>, undefined>;
|
|
1135
1073
|
}, undefined>;
|
|
1136
|
-
export type
|
|
1137
|
-
export declare const
|
|
1074
|
+
export type Backstep = v.InferOutput<typeof BackstepSchema>;
|
|
1075
|
+
export declare const HiddenActionSchema: v.StrictObjectSchema<{
|
|
1138
1076
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
1139
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"
|
|
1077
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"hidden", undefined>, undefined>;
|
|
1140
1078
|
} & {
|
|
1141
1079
|
/** The text to display on the button */
|
|
1142
1080
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1193,8 +1131,9 @@ export declare const BackstepSchema: v.StrictObjectSchema<{
|
|
|
1193
1131
|
readonly endpoint: v.StringSchema<undefined>;
|
|
1194
1132
|
}, undefined>, undefined>;
|
|
1195
1133
|
}, undefined>, undefined>, undefined>;
|
|
1134
|
+
readonly 'component-params': v.NullishSchema<v.AnySchema, undefined>;
|
|
1196
1135
|
}, undefined>;
|
|
1197
|
-
export type
|
|
1136
|
+
export type HiddenAction = v.InferOutput<typeof BackstepSchema>;
|
|
1198
1137
|
/**
|
|
1199
1138
|
* Describes the action that can be performed on a step
|
|
1200
1139
|
*
|
|
@@ -1384,7 +1323,7 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
1384
1323
|
}, undefined>, undefined>, undefined>;
|
|
1385
1324
|
}, undefined>, v.StrictObjectSchema<{
|
|
1386
1325
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
1387
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"document-
|
|
1326
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"document-dismiss", undefined>, undefined>;
|
|
1388
1327
|
} & {
|
|
1389
1328
|
/** The text to display on the button */
|
|
1390
1329
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1443,7 +1382,7 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
1443
1382
|
}, undefined>, undefined>, undefined>;
|
|
1444
1383
|
}, undefined>, v.StrictObjectSchema<{
|
|
1445
1384
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
1446
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"document-
|
|
1385
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"document-update", undefined>, undefined>;
|
|
1447
1386
|
} & {
|
|
1448
1387
|
/** The text to display on the button */
|
|
1449
1388
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1500,9 +1439,14 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
1500
1439
|
readonly endpoint: v.StringSchema<undefined>;
|
|
1501
1440
|
}, undefined>, undefined>;
|
|
1502
1441
|
}, undefined>, undefined>, undefined>;
|
|
1442
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
1443
|
+
readonly issue: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1444
|
+
readonly mark_submitting: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1445
|
+
readonly 'ensure-no-input': v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1446
|
+
}, undefined>, undefined>;
|
|
1503
1447
|
}, undefined>, v.StrictObjectSchema<{
|
|
1504
1448
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
1505
|
-
readonly component: v.OptionalSchema<v.
|
|
1449
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"document-create-new", undefined>, undefined>;
|
|
1506
1450
|
} & {
|
|
1507
1451
|
/** The text to display on the button */
|
|
1508
1452
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1560,9 +1504,7 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
1560
1504
|
}, undefined>, undefined>;
|
|
1561
1505
|
}, undefined>, undefined>, undefined>;
|
|
1562
1506
|
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
1563
|
-
readonly
|
|
1564
|
-
readonly mark_submitting: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1565
|
-
readonly 'ensure-no-input': v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1507
|
+
readonly refname: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
1566
1508
|
}, undefined>, undefined>;
|
|
1567
1509
|
}, undefined>, v.StrictObjectSchema<{
|
|
1568
1510
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
@@ -1623,9 +1565,6 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
1623
1565
|
readonly endpoint: v.StringSchema<undefined>;
|
|
1624
1566
|
}, undefined>, undefined>;
|
|
1625
1567
|
}, undefined>, undefined>, undefined>;
|
|
1626
|
-
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
1627
|
-
readonly interactive: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1628
|
-
}, undefined>, undefined>;
|
|
1629
1568
|
}, undefined>, v.StrictObjectSchema<{
|
|
1630
1569
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
1631
1570
|
readonly component: v.OptionalSchema<v.LiteralSchema<"document-anon-create", undefined>, undefined>;
|
|
@@ -1995,7 +1934,6 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
1995
1934
|
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
1996
1935
|
readonly 'contact-phone-field': v.StringSchema<undefined>;
|
|
1997
1936
|
readonly 'contact-email-field': v.StringSchema<undefined>;
|
|
1998
|
-
readonly 'message-subject': v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
1999
1937
|
}, undefined>, undefined>;
|
|
2000
1938
|
}, undefined>, v.StrictObjectSchema<{
|
|
2001
1939
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
@@ -2063,66 +2001,7 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
2063
2001
|
}, undefined>, undefined>;
|
|
2064
2002
|
}, undefined>, v.StrictObjectSchema<{
|
|
2065
2003
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
2066
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"entity-
|
|
2067
|
-
} & {
|
|
2068
|
-
/** The text to display on the button */
|
|
2069
|
-
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2070
|
-
readonly icon: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2071
|
-
/** The explanatory title of the action */
|
|
2072
|
-
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2073
|
-
/** An explanatory subtitle for the action */
|
|
2074
|
-
readonly helptext: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2075
|
-
/**
|
|
2076
|
-
* Whether it is considered a primary action
|
|
2077
|
-
*
|
|
2078
|
-
* This also determines the styling of the action button
|
|
2079
|
-
*/
|
|
2080
|
-
readonly primary: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2081
|
-
readonly url: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2082
|
-
/** @default false */
|
|
2083
|
-
readonly self: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2084
|
-
/**
|
|
2085
|
-
* Confirmation dialog title
|
|
2086
|
-
*
|
|
2087
|
-
* Title of dialog to display when the user clicks on the action button
|
|
2088
|
-
*/
|
|
2089
|
-
readonly confirm_title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2090
|
-
/**
|
|
2091
|
-
* Confirmation dialog description
|
|
2092
|
-
*
|
|
2093
|
-
* Description of dialog to display when the user clicks on the action button
|
|
2094
|
-
*/
|
|
2095
|
-
readonly confirm_message: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2096
|
-
/**
|
|
2097
|
-
* Confirmation dialog 'confirm' button label
|
|
2098
|
-
*
|
|
2099
|
-
* Label of 'confirm' button included in dialog displayed when the user clicks on the action button
|
|
2100
|
-
*/
|
|
2101
|
-
readonly confirm_confirm_label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2102
|
-
/**
|
|
2103
|
-
* Confirmation dialog 'cancel' button label
|
|
2104
|
-
*
|
|
2105
|
-
* Label of 'cancel' button included in dialog displayed when the user clicks on the action button
|
|
2106
|
-
*/
|
|
2107
|
-
readonly confirm_cancel_label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
2108
|
-
readonly warning: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2109
|
-
readonly autocall: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2110
|
-
readonly retry: v.NullishSchema<v.StrictObjectSchema<{
|
|
2111
|
-
readonly retry_limit: v.NumberSchema<undefined>;
|
|
2112
|
-
readonly retry_delay: v.NumberSchema<undefined>;
|
|
2113
|
-
}, undefined>, undefined>;
|
|
2114
|
-
readonly poll: v.NullishSchema<v.StrictObjectSchema<{
|
|
2115
|
-
readonly retry: v.StrictObjectSchema<{
|
|
2116
|
-
readonly retry_limit: v.NumberSchema<undefined>;
|
|
2117
|
-
readonly retry_delay: v.NumberSchema<undefined>;
|
|
2118
|
-
}, undefined>;
|
|
2119
|
-
readonly id_field: v.StringSchema<undefined>;
|
|
2120
|
-
readonly endpoint: v.StringSchema<undefined>;
|
|
2121
|
-
}, undefined>, undefined>;
|
|
2122
|
-
}, undefined>, undefined>, undefined>;
|
|
2123
|
-
}, undefined>, v.StrictObjectSchema<{
|
|
2124
|
-
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
2125
|
-
readonly component: v.OptionalSchema<v.PicklistSchema<["entity-reply", "hidden"], undefined>, undefined>;
|
|
2004
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"entity-reply", undefined>, undefined>;
|
|
2126
2005
|
} & {
|
|
2127
2006
|
/** The text to display on the button */
|
|
2128
2007
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2184,7 +2063,7 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
2184
2063
|
}, undefined>, undefined>;
|
|
2185
2064
|
}, undefined>, v.StrictObjectSchema<{
|
|
2186
2065
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
2187
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"
|
|
2066
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"link", undefined>, undefined>;
|
|
2188
2067
|
} & {
|
|
2189
2068
|
/** The text to display on the button */
|
|
2190
2069
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2243,7 +2122,7 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
2243
2122
|
}, undefined>, undefined>, undefined>;
|
|
2244
2123
|
}, undefined>, v.StrictObjectSchema<{
|
|
2245
2124
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
2246
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"
|
|
2125
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"document-backstep", undefined>, undefined>;
|
|
2247
2126
|
} & {
|
|
2248
2127
|
/** The text to display on the button */
|
|
2249
2128
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2302,7 +2181,7 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
2302
2181
|
}, undefined>, undefined>, undefined>;
|
|
2303
2182
|
}, undefined>, v.StrictObjectSchema<{
|
|
2304
2183
|
readonly display: v.RecordSchema<v.PicklistSchema<["default", "web", "pdf"], undefined>, v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.LooseObjectSchema<{
|
|
2305
|
-
readonly component: v.OptionalSchema<v.LiteralSchema<"
|
|
2184
|
+
readonly component: v.OptionalSchema<v.LiteralSchema<"hidden", undefined>, undefined>;
|
|
2306
2185
|
} & {
|
|
2307
2186
|
/** The text to display on the button */
|
|
2308
2187
|
readonly label: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2359,6 +2238,7 @@ export declare const ActionSchema: v.VariantSchema<"display", [v.StrictObjectSch
|
|
|
2359
2238
|
readonly endpoint: v.StringSchema<undefined>;
|
|
2360
2239
|
}, undefined>, undefined>;
|
|
2361
2240
|
}, undefined>, undefined>, undefined>;
|
|
2241
|
+
readonly 'component-params': v.NullishSchema<v.AnySchema, undefined>;
|
|
2362
2242
|
}, undefined>], undefined>;
|
|
2363
2243
|
export type Action = v.InferOutput<typeof ActionSchema>;
|
|
2364
2244
|
export default Action;
|
package/schemas/action.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { any, boolean as external_valibot_boolean, literal, looseObject, nullish, number, partial,
|
|
1
|
+
import { any, boolean as external_valibot_boolean, literal, looseObject, nullish, number, partial, record, strictObject, string, variant } from "valibot";
|
|
2
2
|
import { DisplayLangSchema, DisplayModeSchema } from "./common.js";
|
|
3
3
|
const RetrySpecSchema = strictObject({
|
|
4
4
|
retry_limit: number(),
|
|
@@ -37,7 +37,7 @@ const TemporarySaveSchema = strictObject({
|
|
|
37
37
|
component: literal('document-temporary-save')
|
|
38
38
|
}))
|
|
39
39
|
});
|
|
40
|
-
const
|
|
40
|
+
const DownloadPdfSchema = strictObject({
|
|
41
41
|
display: createActionDisplay(strictObject({
|
|
42
42
|
component: literal('document-download-pdf')
|
|
43
43
|
})),
|
|
@@ -51,23 +51,14 @@ const ResendOtpSchema = strictObject({
|
|
|
51
51
|
component: literal('document-resend-otp')
|
|
52
52
|
}))
|
|
53
53
|
});
|
|
54
|
-
const
|
|
55
|
-
display: createActionDisplay(strictObject({
|
|
56
|
-
component: literal('document-resend-email-otp')
|
|
57
|
-
}))
|
|
58
|
-
});
|
|
59
|
-
const CancelSchema = strictObject({
|
|
54
|
+
const DismissSchema = strictObject({
|
|
60
55
|
display: createActionDisplay(strictObject({
|
|
61
56
|
component: literal('document-dismiss')
|
|
62
57
|
}))
|
|
63
58
|
});
|
|
64
59
|
const UpdateSchema = strictObject({
|
|
65
60
|
display: createActionDisplay(strictObject({
|
|
66
|
-
component:
|
|
67
|
-
'document-update',
|
|
68
|
-
'document-collect',
|
|
69
|
-
'document-issue-collected'
|
|
70
|
-
])
|
|
61
|
+
component: literal('document-update')
|
|
71
62
|
})),
|
|
72
63
|
'component-params': nullish(strictObject({
|
|
73
64
|
issue: nullish(external_valibot_boolean()),
|
|
@@ -75,12 +66,17 @@ const UpdateSchema = strictObject({
|
|
|
75
66
|
'ensure-no-input': nullish(external_valibot_boolean())
|
|
76
67
|
}))
|
|
77
68
|
});
|
|
78
|
-
const
|
|
69
|
+
const CreateNewSchema = strictObject({
|
|
79
70
|
display: createActionDisplay(strictObject({
|
|
80
|
-
component: literal('document-create')
|
|
71
|
+
component: literal('document-create-new')
|
|
81
72
|
})),
|
|
82
73
|
'component-params': nullish(strictObject({
|
|
83
|
-
|
|
74
|
+
refname: nullish(string())
|
|
75
|
+
}))
|
|
76
|
+
});
|
|
77
|
+
const CreateSchema = strictObject({
|
|
78
|
+
display: createActionDisplay(strictObject({
|
|
79
|
+
component: literal('document-create')
|
|
84
80
|
}))
|
|
85
81
|
});
|
|
86
82
|
const AnonCreateSchema = strictObject({
|
|
@@ -120,17 +116,16 @@ const SmsSchema = strictObject({
|
|
|
120
116
|
template: string()
|
|
121
117
|
}))
|
|
122
118
|
});
|
|
123
|
-
const
|
|
119
|
+
const EntitySendMessageSchema = strictObject({
|
|
124
120
|
display: createActionDisplay(strictObject({
|
|
125
121
|
component: literal('entity-send-message')
|
|
126
122
|
})),
|
|
127
123
|
'component-params': nullish(strictObject({
|
|
128
124
|
'contact-phone-field': string(),
|
|
129
|
-
'contact-email-field': string()
|
|
130
|
-
'message-subject': nullish(string())
|
|
125
|
+
'contact-email-field': string()
|
|
131
126
|
}))
|
|
132
127
|
});
|
|
133
|
-
const
|
|
128
|
+
const EntityForwardSchema = strictObject({
|
|
134
129
|
display: createActionDisplay(strictObject({
|
|
135
130
|
component: literal('entity-forward')
|
|
136
131
|
})),
|
|
@@ -140,28 +135,15 @@ const ForwardSchema = strictObject({
|
|
|
140
135
|
message: nullish(string())
|
|
141
136
|
}))
|
|
142
137
|
});
|
|
143
|
-
const
|
|
138
|
+
const EntityReplySchema = strictObject({
|
|
144
139
|
display: createActionDisplay(strictObject({
|
|
145
|
-
component: literal('entity-
|
|
146
|
-
}))
|
|
147
|
-
});
|
|
148
|
-
const ReplySchema = strictObject({
|
|
149
|
-
display: createActionDisplay(strictObject({
|
|
150
|
-
component: picklist([
|
|
151
|
-
'entity-reply',
|
|
152
|
-
'hidden'
|
|
153
|
-
])
|
|
140
|
+
component: literal('entity-reply')
|
|
154
141
|
})),
|
|
155
142
|
'component-params': nullish(strictObject({
|
|
156
143
|
'reply-templates': record(string(), any())
|
|
157
144
|
}))
|
|
158
145
|
});
|
|
159
|
-
const
|
|
160
|
-
display: createActionDisplay(strictObject({
|
|
161
|
-
component: literal('web-print')
|
|
162
|
-
}))
|
|
163
|
-
});
|
|
164
|
-
const NewDeclOrTempSavePreviewSchema = strictObject({
|
|
146
|
+
const LinkActionSchema = strictObject({
|
|
165
147
|
display: createActionDisplay(strictObject({
|
|
166
148
|
component: literal('link')
|
|
167
149
|
}))
|
|
@@ -171,26 +153,31 @@ const BackstepSchema = strictObject({
|
|
|
171
153
|
component: literal('document-backstep')
|
|
172
154
|
}))
|
|
173
155
|
});
|
|
156
|
+
const HiddenActionSchema = strictObject({
|
|
157
|
+
display: createActionDisplay(strictObject({
|
|
158
|
+
component: literal('hidden')
|
|
159
|
+
})),
|
|
160
|
+
'component-params': nullish(any())
|
|
161
|
+
});
|
|
174
162
|
const ActionSchema = variant('display', [
|
|
175
163
|
TemporarySaveSchema,
|
|
176
|
-
|
|
164
|
+
DownloadPdfSchema,
|
|
177
165
|
ResendOtpSchema,
|
|
178
|
-
|
|
179
|
-
CancelSchema,
|
|
166
|
+
DismissSchema,
|
|
180
167
|
UpdateSchema,
|
|
168
|
+
CreateNewSchema,
|
|
181
169
|
CreateSchema,
|
|
182
170
|
AnonCreateSchema,
|
|
183
171
|
RevokeSchema,
|
|
184
172
|
ShareSchema,
|
|
185
173
|
EmailSchema,
|
|
186
174
|
SmsSchema,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
BackstepSchema
|
|
175
|
+
EntitySendMessageSchema,
|
|
176
|
+
EntityForwardSchema,
|
|
177
|
+
EntityReplySchema,
|
|
178
|
+
LinkActionSchema,
|
|
179
|
+
BackstepSchema,
|
|
180
|
+
HiddenActionSchema
|
|
194
181
|
]);
|
|
195
182
|
const ActionsSchema = record(string(), ActionSchema);
|
|
196
|
-
export { ActionSchema, ActionsSchema, AnonCreateSchema,
|
|
183
|
+
export { ActionSchema, ActionsSchema, AnonCreateSchema, BackstepSchema, CreateNewSchema, CreateSchema, DismissSchema, DownloadPdfSchema, EmailSchema, EntityForwardSchema, EntityReplySchema, EntitySendMessageSchema, HiddenActionSchema, LinkActionSchema, ResendOtpSchema, RevokeSchema, ShareSchema, SmsSchema, TemporarySaveSchema, UpdateSchema };
|