@verdocs/js-sdk 4.2.35 → 4.2.37
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/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -32
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +6 -6
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -514,6 +514,7 @@ interface IEnvelopeField {
|
|
|
514
514
|
type: TFieldType;
|
|
515
515
|
/** If true, the field will be required */
|
|
516
516
|
required: boolean | null;
|
|
517
|
+
/** @deprecated. Use top-level fields instead. */
|
|
517
518
|
settings: IEnvelopeFieldSettings | null;
|
|
518
519
|
validator: string | null;
|
|
519
520
|
/** If set, the placeholder/label for the field. */
|
|
@@ -534,6 +535,8 @@ interface IEnvelopeField {
|
|
|
534
535
|
default: string | null;
|
|
535
536
|
/** The placeholder to show in the field. */
|
|
536
537
|
placeholder: string | null;
|
|
538
|
+
/** For text boxes, allows more than one line of text to be entered. */
|
|
539
|
+
multiline: boolean;
|
|
537
540
|
/** For fields that support grouping (radio buttons and check boxes) the value selected will be stored under this name. */
|
|
538
541
|
group: string | null;
|
|
539
542
|
value: string | null;
|
|
@@ -829,6 +832,7 @@ interface ITemplateField {
|
|
|
829
832
|
document_id: string;
|
|
830
833
|
type: TFieldType;
|
|
831
834
|
required: boolean;
|
|
835
|
+
/** @deprecated. Use top-level fields instead. */
|
|
832
836
|
settings: ITemplateFieldSetting | null;
|
|
833
837
|
page: number;
|
|
834
838
|
validator: string | null;
|
|
@@ -845,6 +849,8 @@ interface ITemplateField {
|
|
|
845
849
|
default: string | null;
|
|
846
850
|
/** The placeholder to show in the field. */
|
|
847
851
|
placeholder: string | null;
|
|
852
|
+
/** For text boxes, allows more than one line of text to be entered. */
|
|
853
|
+
multiline: boolean;
|
|
848
854
|
/** For fields that support grouping (radio buttons and check boxes) the value selected will be stored under this name. */
|
|
849
855
|
group: string | null;
|
|
850
856
|
}
|
|
@@ -894,7 +900,6 @@ type TFieldType = "signature" | "initial" | "checkbox_group" | "checkbox" | "rad
|
|
|
894
900
|
declare const FIELD_TYPES: TFieldType[];
|
|
895
901
|
declare const DEFAULT_FIELD_WIDTHS: Record<TFieldType, number>;
|
|
896
902
|
declare const DEFAULT_FIELD_HEIGHTS: Record<TFieldType, number>;
|
|
897
|
-
declare const DEFAULT_FIELD_SETTINGS: Record<TFieldType, ITemplateFieldSetting>;
|
|
898
903
|
type TEnvironment = "verdocs" | "verdocs-stage";
|
|
899
904
|
type TSessionChangedListener = (endpoint: VerdocsEndpoint, session: TSession, profile: IProfile | null) => void;
|
|
900
905
|
interface VerdocsEndpointOptions {
|
|
@@ -2646,4 +2651,4 @@ declare const decodeJWTBody: (token: string) => any;
|
|
|
2646
2651
|
* the presence of the `document_id` field, which will only be present for signing sessions.
|
|
2647
2652
|
*/
|
|
2648
2653
|
declare const decodeAccessTokenBody: (token: string) => TSession;
|
|
2649
|
-
export { TRequestStatus, TTemplateSenderType, TTemplateAction, TRecipientAction, TEnvelopeStatus, TRecipientStatus, TRecipientType, TSortTemplateBy, TAccessKeyType, TApiKeyPermission, THistoryEvent, TEventDetail, TEnvelopeUpdateResult, TFieldType, FIELD_TYPES, DEFAULT_FIELD_WIDTHS, DEFAULT_FIELD_HEIGHTS,
|
|
2654
|
+
export { TRequestStatus, TTemplateSenderType, TTemplateAction, TRecipientAction, TEnvelopeStatus, TRecipientStatus, TRecipientType, TSortTemplateBy, TAccessKeyType, TApiKeyPermission, THistoryEvent, TEventDetail, TEnvelopeUpdateResult, TFieldType, FIELD_TYPES, DEFAULT_FIELD_WIDTHS, DEFAULT_FIELD_HEIGHTS, IChannel, IDisabledChannel, INotification, IApiKey, IGroup, IGroupProfile, IOAuth2App, IOrganization, IOrganizationInvitation, IPendingWebhook, IProfile, IUser, IWebhookEvents, IWebhook, IInPersonAccessKey, IInAppAccessKey, IEmailAccessKey, ISMSAccessKey, TAccessKey, IEnvelope, IEnvelopeDocument, IEnvelopeField, IEnvelopeFieldOptions, IEnvelopeFieldSettings, IEnvelopeHistory, IInitial, IKbaPINRequired, IRecipient, IReminder, IRole, ISignature, ITemplate, ITemplateDocument, ITemplateField, ITextFieldSetting, ITemplateFieldSetting, TEnvironment, TSessionChangedListener, VerdocsEndpointOptions, VerdocsEndpoint, createEnvelope, getEnvelopesSummary, getEnvelopeRecipients, getEnvelope, getEnvelopeDocument, getDocumentDownloadLink, getDocumentPreviewLink, cancelEnvelope, getEnvelopeFile, updateEnvelopeField, updateEnvelopeFieldSignature, updateEnvelopeFieldInitials, uploadEnvelopeFieldAttachment, deleteEnvelopeFieldAttachment, getFieldAttachment, getEnvelopeDocumentPageDisplayUri, ITimeRange, IListEnvelopesParams, getEnvelopes, createInitials, IRecipientKbaStepNone, IRecipientKbaStepComplete, IRecipientKbaStepPin, IRecipientKbaStepIdentity, IRecipientKbaStepChallenge, IRecipientKbaStepFailed, TRecipientKbaStep, getKbaStep, submitKbaPin, IKbaIdentity, submitKbaIdentity, IKbaChallengeResponse, submitKbaChallengeResponse, updateRecipient, envelopeRecipientSubmit, envelopeRecipientDecline, envelopeRecipientChangeOwner, envelopeRecipientAgree, envelopeRecipientUpdateName, envelopeRecipientPrepare, ISignerTokenResponse, getSigningSession, getSignerToken, getInPersonLink, sendDelegate, resendInvitation, createEnvelopeReminder, getEnvelopeReminder, updateEnvelopeReminder, deleteEnvelopeReminder, userIsEnvelopeOwner, userIsEnvelopeRecipient, envelopeIsActive, envelopeIsComplete, userCanCancelEnvelope, userCanFinishEnvelope, recipientHasAction, getRecipientsWithActions, recipientCanAct, userCanAct, userCanSignNow, getNextRecipient, createSignature, getSignatures, getSignature, deleteSignature, IEnvelopesSearchResult, IEnvelopesSummary, IDocumentSearchOptions, ICreateEnvelopeRole, IEnvelopeSummaries, IInPersonLinkResponse, IUpdateRecipientSubmitParams, IUpdateRecipientDeclineParams, IUpdateRecipientClaimEnvelope, IUpdateRecipientStatus, IUpdateRecipientAgreedParams, IUpdateRecipientNameParams, IUpdateRecipientPrepareParams, ICreateEnvelopeReminderRequest, ICreateEnvelopeRequest, getApiKeys, createApiKey, rotateApiKey, updateApiKey, deleteApiKey, getGroups, getGroup, createGroup, addGroupMember, deleteGroupMember, updateGroup, getOrganizationInvitations, createOrganizationInvitation, deleteOrganizationInvitation, updateOrganizationInvitation, resendOrganizationInvitation, getOrganizationInvitation, acceptOrganizationInvitation, declineOrganizationInvitation, getOrganizationMembers, deleteOrganizationMember, updateOrganizationMember, getOrganization, updateOrganization, updateOrganizationLogo, updateOrganizationThumbnail, ICreateApiKeyRequest, IUpdateApiKeyRequest, ICreateInvitationRequest, IAcceptOrganizationInvitationRequest, ISetWebhookRequest, getWebhooks, setWebhooks, TTemplatePermissionCreatePublic, TTemplatePermissionCreateOrg, TTemplatePermissionCreatePersonal, TTemplatePermissionDelete, TTemplatePermissionVisibility, TTemplateMemberRead, TTemplateMemberWrite, TTemplateMemberDelete, TTemplateMemberVisibility, TTemplatePermission, TAccountPermissionOwnerAdd, TAccountPermissionOwnerRemove, TAccountPermissionAdminAdd, TAccountPermissionAdminRemove, TAccountPermissionMemberView, TAccountPermissionMemberAdd, TAccountPermissionMemberRemove, TAccountPermission, TOrgPermissionCreate, TOrgPermissionView, TOrgPermissionUpdate, TOrgPermissionDelete, TOrgPermissionTransfer, TOrgPermissionList, TOrgPermission, TEnvelopePermissionCreate, TEnvelopePermissionCancel, TEnvelopePermissionView, TEnvelopePermissionOrg, TEnvelopePermission, TPermission, TRole, RolePermissions, userHasPermissions, ISigningSession, IUserSession, IIdToken, TSessionType, TSession, TActiveSession, canPerformTemplateAction, hasRequiredPermissions, createField, updateField, deleteField, userIsTemplateCreator, userHasSharedTemplate, userCanCreatePersonalTemplate, userCanCreateOrgTemplate, userCanCreatePublicTemplate, userCanReadTemplate, userCanUpdateTemplate, userCanMakeTemplatePrivate, userCanMakeTemplateShared, userCanMakeTemplatePublic, userCanChangeOrgVisibility, userCanDeleteTemplate, userCanSendTemplate, userCanCreateTemplate, userCanBuildTemplate, getFieldsForRole, userCanPreviewTemplate, ICreateTemplateReminderRequest, createTemplateReminder, getTemplateReminder, updateTemplateReminder, deleteTemplateReminder, createTemplateRole, updateTemplateRole, deleteTemplateRole, getStars, toggleStar, addTemplateTag, getTemplateTags, deleteTemplateTag, createTag, getTag, getAllTags, ITemplateSortBy, IGetTemplatesParams, getTemplates, getTemplate, IDocumentFromUri, IDocumentFromData, ITemplateCreateParams, createTemplate, ITemplateCreateFromSharepointParams, createTemplateFromSharepoint, updateTemplate, deleteTemplate, getTemplateDocuments, getTemplateDocument, createTemplateDocument, deleteTemplateDocument, getTemplateDocumentFile, getTemplateDocumentThumbnail, getTemplateDocumentPageDisplayUri, ITemplateTag, ITag, IStar, ITemplateSearchResult, IValidator, getValidators, getValidator, isValidEmail, isValidPhone, isValidRoleName, isValidTag, IROPCRequest, IClientCredentialsRequest, IRefreshTokenRequest, TAuthenticationRequest, authenticate, refreshToken, changePassword, resetPassword, resendVerification, verifyEmail, getMyUser, getNotifications, getProfiles, getCurrentProfile, switchProfile, updateProfile, deleteProfile, createProfile, updateProfilePhoto, ICreateProfileRequest, IUpdateProfileRequest, IAuthenticateResponse, IChangePasswordRequest, IChangePasswordResponse, IResetPasswordRequest, IResetPasswordResponse, IVerifyEmailRequest, getRGB, getRGBA, nameToRGBA, getRoleColor, formatShortTimeAgo, getRTop, getRLeft, getRValue, blobToBase64, rescale, fileToDataUrl, downloadBlob, Countries, getCountryByCode, isFrenchGuiana, isGuadeloupe, isMartinique, isMayotte, getPlusOneCountry, isCanada, isAmericanSamoa, isDominicanRepublic, isPuertoRico, getMatchingCountry, integerSequence, formatFullName, formatInitials, fullNameToInitials, capitalize, convertToE164, AtoB, decodeJWTBody, decodeAccessTokenBody, IFileWithData, ICountry };
|
package/dist/index.d.ts
CHANGED
|
@@ -514,6 +514,7 @@ interface IEnvelopeField {
|
|
|
514
514
|
type: TFieldType;
|
|
515
515
|
/** If true, the field will be required */
|
|
516
516
|
required: boolean | null;
|
|
517
|
+
/** @deprecated. Use top-level fields instead. */
|
|
517
518
|
settings: IEnvelopeFieldSettings | null;
|
|
518
519
|
validator: string | null;
|
|
519
520
|
/** If set, the placeholder/label for the field. */
|
|
@@ -534,6 +535,8 @@ interface IEnvelopeField {
|
|
|
534
535
|
default: string | null;
|
|
535
536
|
/** The placeholder to show in the field. */
|
|
536
537
|
placeholder: string | null;
|
|
538
|
+
/** For text boxes, allows more than one line of text to be entered. */
|
|
539
|
+
multiline: boolean;
|
|
537
540
|
/** For fields that support grouping (radio buttons and check boxes) the value selected will be stored under this name. */
|
|
538
541
|
group: string | null;
|
|
539
542
|
value: string | null;
|
|
@@ -829,6 +832,7 @@ interface ITemplateField {
|
|
|
829
832
|
document_id: string;
|
|
830
833
|
type: TFieldType;
|
|
831
834
|
required: boolean;
|
|
835
|
+
/** @deprecated. Use top-level fields instead. */
|
|
832
836
|
settings: ITemplateFieldSetting | null;
|
|
833
837
|
page: number;
|
|
834
838
|
validator: string | null;
|
|
@@ -845,6 +849,8 @@ interface ITemplateField {
|
|
|
845
849
|
default: string | null;
|
|
846
850
|
/** The placeholder to show in the field. */
|
|
847
851
|
placeholder: string | null;
|
|
852
|
+
/** For text boxes, allows more than one line of text to be entered. */
|
|
853
|
+
multiline: boolean;
|
|
848
854
|
/** For fields that support grouping (radio buttons and check boxes) the value selected will be stored under this name. */
|
|
849
855
|
group: string | null;
|
|
850
856
|
}
|
|
@@ -894,7 +900,6 @@ type TFieldType = "signature" | "initial" | "checkbox_group" | "checkbox" | "rad
|
|
|
894
900
|
declare const FIELD_TYPES: TFieldType[];
|
|
895
901
|
declare const DEFAULT_FIELD_WIDTHS: Record<TFieldType, number>;
|
|
896
902
|
declare const DEFAULT_FIELD_HEIGHTS: Record<TFieldType, number>;
|
|
897
|
-
declare const DEFAULT_FIELD_SETTINGS: Record<TFieldType, ITemplateFieldSetting>;
|
|
898
903
|
type TEnvironment = "verdocs" | "verdocs-stage";
|
|
899
904
|
type TSessionChangedListener = (endpoint: VerdocsEndpoint, session: TSession, profile: IProfile | null) => void;
|
|
900
905
|
interface VerdocsEndpointOptions {
|
|
@@ -2646,4 +2651,4 @@ declare const decodeJWTBody: (token: string) => any;
|
|
|
2646
2651
|
* the presence of the `document_id` field, which will only be present for signing sessions.
|
|
2647
2652
|
*/
|
|
2648
2653
|
declare const decodeAccessTokenBody: (token: string) => TSession;
|
|
2649
|
-
export { TRequestStatus, TTemplateSenderType, TTemplateAction, TRecipientAction, TEnvelopeStatus, TRecipientStatus, TRecipientType, TSortTemplateBy, TAccessKeyType, TApiKeyPermission, THistoryEvent, TEventDetail, TEnvelopeUpdateResult, TFieldType, FIELD_TYPES, DEFAULT_FIELD_WIDTHS, DEFAULT_FIELD_HEIGHTS,
|
|
2654
|
+
export { TRequestStatus, TTemplateSenderType, TTemplateAction, TRecipientAction, TEnvelopeStatus, TRecipientStatus, TRecipientType, TSortTemplateBy, TAccessKeyType, TApiKeyPermission, THistoryEvent, TEventDetail, TEnvelopeUpdateResult, TFieldType, FIELD_TYPES, DEFAULT_FIELD_WIDTHS, DEFAULT_FIELD_HEIGHTS, IChannel, IDisabledChannel, INotification, IApiKey, IGroup, IGroupProfile, IOAuth2App, IOrganization, IOrganizationInvitation, IPendingWebhook, IProfile, IUser, IWebhookEvents, IWebhook, IInPersonAccessKey, IInAppAccessKey, IEmailAccessKey, ISMSAccessKey, TAccessKey, IEnvelope, IEnvelopeDocument, IEnvelopeField, IEnvelopeFieldOptions, IEnvelopeFieldSettings, IEnvelopeHistory, IInitial, IKbaPINRequired, IRecipient, IReminder, IRole, ISignature, ITemplate, ITemplateDocument, ITemplateField, ITextFieldSetting, ITemplateFieldSetting, TEnvironment, TSessionChangedListener, VerdocsEndpointOptions, VerdocsEndpoint, createEnvelope, getEnvelopesSummary, getEnvelopeRecipients, getEnvelope, getEnvelopeDocument, getDocumentDownloadLink, getDocumentPreviewLink, cancelEnvelope, getEnvelopeFile, updateEnvelopeField, updateEnvelopeFieldSignature, updateEnvelopeFieldInitials, uploadEnvelopeFieldAttachment, deleteEnvelopeFieldAttachment, getFieldAttachment, getEnvelopeDocumentPageDisplayUri, ITimeRange, IListEnvelopesParams, getEnvelopes, createInitials, IRecipientKbaStepNone, IRecipientKbaStepComplete, IRecipientKbaStepPin, IRecipientKbaStepIdentity, IRecipientKbaStepChallenge, IRecipientKbaStepFailed, TRecipientKbaStep, getKbaStep, submitKbaPin, IKbaIdentity, submitKbaIdentity, IKbaChallengeResponse, submitKbaChallengeResponse, updateRecipient, envelopeRecipientSubmit, envelopeRecipientDecline, envelopeRecipientChangeOwner, envelopeRecipientAgree, envelopeRecipientUpdateName, envelopeRecipientPrepare, ISignerTokenResponse, getSigningSession, getSignerToken, getInPersonLink, sendDelegate, resendInvitation, createEnvelopeReminder, getEnvelopeReminder, updateEnvelopeReminder, deleteEnvelopeReminder, userIsEnvelopeOwner, userIsEnvelopeRecipient, envelopeIsActive, envelopeIsComplete, userCanCancelEnvelope, userCanFinishEnvelope, recipientHasAction, getRecipientsWithActions, recipientCanAct, userCanAct, userCanSignNow, getNextRecipient, createSignature, getSignatures, getSignature, deleteSignature, IEnvelopesSearchResult, IEnvelopesSummary, IDocumentSearchOptions, ICreateEnvelopeRole, IEnvelopeSummaries, IInPersonLinkResponse, IUpdateRecipientSubmitParams, IUpdateRecipientDeclineParams, IUpdateRecipientClaimEnvelope, IUpdateRecipientStatus, IUpdateRecipientAgreedParams, IUpdateRecipientNameParams, IUpdateRecipientPrepareParams, ICreateEnvelopeReminderRequest, ICreateEnvelopeRequest, getApiKeys, createApiKey, rotateApiKey, updateApiKey, deleteApiKey, getGroups, getGroup, createGroup, addGroupMember, deleteGroupMember, updateGroup, getOrganizationInvitations, createOrganizationInvitation, deleteOrganizationInvitation, updateOrganizationInvitation, resendOrganizationInvitation, getOrganizationInvitation, acceptOrganizationInvitation, declineOrganizationInvitation, getOrganizationMembers, deleteOrganizationMember, updateOrganizationMember, getOrganization, updateOrganization, updateOrganizationLogo, updateOrganizationThumbnail, ICreateApiKeyRequest, IUpdateApiKeyRequest, ICreateInvitationRequest, IAcceptOrganizationInvitationRequest, ISetWebhookRequest, getWebhooks, setWebhooks, TTemplatePermissionCreatePublic, TTemplatePermissionCreateOrg, TTemplatePermissionCreatePersonal, TTemplatePermissionDelete, TTemplatePermissionVisibility, TTemplateMemberRead, TTemplateMemberWrite, TTemplateMemberDelete, TTemplateMemberVisibility, TTemplatePermission, TAccountPermissionOwnerAdd, TAccountPermissionOwnerRemove, TAccountPermissionAdminAdd, TAccountPermissionAdminRemove, TAccountPermissionMemberView, TAccountPermissionMemberAdd, TAccountPermissionMemberRemove, TAccountPermission, TOrgPermissionCreate, TOrgPermissionView, TOrgPermissionUpdate, TOrgPermissionDelete, TOrgPermissionTransfer, TOrgPermissionList, TOrgPermission, TEnvelopePermissionCreate, TEnvelopePermissionCancel, TEnvelopePermissionView, TEnvelopePermissionOrg, TEnvelopePermission, TPermission, TRole, RolePermissions, userHasPermissions, ISigningSession, IUserSession, IIdToken, TSessionType, TSession, TActiveSession, canPerformTemplateAction, hasRequiredPermissions, createField, updateField, deleteField, userIsTemplateCreator, userHasSharedTemplate, userCanCreatePersonalTemplate, userCanCreateOrgTemplate, userCanCreatePublicTemplate, userCanReadTemplate, userCanUpdateTemplate, userCanMakeTemplatePrivate, userCanMakeTemplateShared, userCanMakeTemplatePublic, userCanChangeOrgVisibility, userCanDeleteTemplate, userCanSendTemplate, userCanCreateTemplate, userCanBuildTemplate, getFieldsForRole, userCanPreviewTemplate, ICreateTemplateReminderRequest, createTemplateReminder, getTemplateReminder, updateTemplateReminder, deleteTemplateReminder, createTemplateRole, updateTemplateRole, deleteTemplateRole, getStars, toggleStar, addTemplateTag, getTemplateTags, deleteTemplateTag, createTag, getTag, getAllTags, ITemplateSortBy, IGetTemplatesParams, getTemplates, getTemplate, IDocumentFromUri, IDocumentFromData, ITemplateCreateParams, createTemplate, ITemplateCreateFromSharepointParams, createTemplateFromSharepoint, updateTemplate, deleteTemplate, getTemplateDocuments, getTemplateDocument, createTemplateDocument, deleteTemplateDocument, getTemplateDocumentFile, getTemplateDocumentThumbnail, getTemplateDocumentPageDisplayUri, ITemplateTag, ITag, IStar, ITemplateSearchResult, IValidator, getValidators, getValidator, isValidEmail, isValidPhone, isValidRoleName, isValidTag, IROPCRequest, IClientCredentialsRequest, IRefreshTokenRequest, TAuthenticationRequest, authenticate, refreshToken, changePassword, resetPassword, resendVerification, verifyEmail, getMyUser, getNotifications, getProfiles, getCurrentProfile, switchProfile, updateProfile, deleteProfile, createProfile, updateProfilePhoto, ICreateProfileRequest, IUpdateProfileRequest, IAuthenticateResponse, IChangePasswordRequest, IChangePasswordResponse, IResetPasswordRequest, IResetPasswordResponse, IVerifyEmailRequest, getRGB, getRGBA, nameToRGBA, getRoleColor, formatShortTimeAgo, getRTop, getRLeft, getRValue, blobToBase64, rescale, fileToDataUrl, downloadBlob, Countries, getCountryByCode, isFrenchGuiana, isGuadeloupe, isMartinique, isMayotte, getPlusOneCountry, isCanada, isAmericanSamoa, isDominicanRepublic, isPuertoRico, getMatchingCountry, integerSequence, formatFullName, formatInitials, fullNameToInitials, capitalize, convertToE164, AtoB, decodeJWTBody, decodeAccessTokenBody, IFileWithData, ICountry };
|
package/dist/index.js
CHANGED
|
@@ -9,6 +9,7 @@ const FIELD_TYPES = [
|
|
|
9
9
|
'date',
|
|
10
10
|
'dropdown',
|
|
11
11
|
'timestamp',
|
|
12
|
+
/** @deprecated. Use `textbox` with multiLine set to > 1 */
|
|
12
13
|
'textarea',
|
|
13
14
|
'checkbox',
|
|
14
15
|
'radio',
|
|
@@ -45,37 +46,6 @@ const DEFAULT_FIELD_HEIGHTS = {
|
|
|
45
46
|
attachment: 24,
|
|
46
47
|
payment: 24,
|
|
47
48
|
};
|
|
48
|
-
const DEFAULT_FIELD_SETTINGS = {
|
|
49
|
-
signature: { result: '' },
|
|
50
|
-
initial: { result: '' },
|
|
51
|
-
date: { width: 75, height: 15, result: '' },
|
|
52
|
-
timestamp: { width: 130, height: 15 },
|
|
53
|
-
textbox: { width: 150, height: 15, result: '', leading: 0, alignment: 0, upperCase: false },
|
|
54
|
-
textarea: { width: 150, height: 15, result: '', leading: 16, alignment: 0, upperCase: false },
|
|
55
|
-
checkbox: {},
|
|
56
|
-
checkbox_group: {
|
|
57
|
-
minimum_checked: 0,
|
|
58
|
-
maximum_checked: 1000,
|
|
59
|
-
options: [
|
|
60
|
-
// { id: `${field.name}-1`, value: 'Option 1', checked: false, x, y },
|
|
61
|
-
],
|
|
62
|
-
},
|
|
63
|
-
radio_button_group: {
|
|
64
|
-
options: [
|
|
65
|
-
// { id: `${field.name}-1`, value: 'Option 1', selected: false, x, y }
|
|
66
|
-
],
|
|
67
|
-
},
|
|
68
|
-
radio: {},
|
|
69
|
-
dropdown: {
|
|
70
|
-
width: 85,
|
|
71
|
-
height: 20,
|
|
72
|
-
value: null,
|
|
73
|
-
placeholder: 'Choose',
|
|
74
|
-
options: [{ id: 'option-1', value: 'Option 1' }],
|
|
75
|
-
},
|
|
76
|
-
attachment: {},
|
|
77
|
-
payment: {},
|
|
78
|
-
};
|
|
79
49
|
|
|
80
50
|
/**
|
|
81
51
|
* Given a `rgba(r,g,b,a)` string value, returns the hex equivalent, dropping the alpha channel.
|
|
@@ -2858,7 +2828,6 @@ const isValidTag = (value, tags) => TagRegEx.test(value) || tags.findIndex((tag)
|
|
|
2858
2828
|
exports.AtoB = AtoB;
|
|
2859
2829
|
exports.Countries = Countries;
|
|
2860
2830
|
exports.DEFAULT_FIELD_HEIGHTS = DEFAULT_FIELD_HEIGHTS;
|
|
2861
|
-
exports.DEFAULT_FIELD_SETTINGS = DEFAULT_FIELD_SETTINGS;
|
|
2862
2831
|
exports.DEFAULT_FIELD_WIDTHS = DEFAULT_FIELD_WIDTHS;
|
|
2863
2832
|
exports.FIELD_TYPES = FIELD_TYPES;
|
|
2864
2833
|
exports.RolePermissions = RolePermissions;
|