@saasquatch/mint-components 2.1.10-0 → 2.1.10-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/cjs/{ShadowViewAddon-a26deae6.js → ShadowViewAddon-c97e80de.js} +422 -19
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +1 -27
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +264 -36
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-757f921b.js} +5 -6
- package/dist/cjs/{sqm-portal-email-verification-view-c81fe7f1.js → sqm-portal-email-verification-view-abb773a7.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-3515e1e5.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-717d0633.js} +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +168 -25
- package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-b9e10f5d.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +136 -11
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +935 -48
- package/dist/collection/components/sqm-share-link/useShareLink.js +227 -14
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -19
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +0 -50
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +1 -59
- package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-33f1a8f7.js} +424 -22
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +1 -27
- package/dist/esm/sqm-big-stat_45.entry.js +264 -36
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js} +6 -7
- package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +5 -5
- package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
- package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +168 -25
- package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/ShadowViewAddon-33f1a8f7.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-ab0ea688.system.entry.js → p-00b235c5.system.entry.js} +1 -1
- package/dist/mint-components/p-08930b83.js +499 -0
- package/dist/mint-components/p-0b1e90fe.system.js +1 -0
- package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
- package/dist/mint-components/{p-25558a33.entry.js → p-13292317.entry.js} +1 -1
- package/dist/mint-components/{p-d65991d0.entry.js → p-13d1b10d.entry.js} +1 -1
- package/dist/mint-components/{p-d4570314.entry.js → p-1d92c169.entry.js} +1 -1
- package/dist/mint-components/{p-7161e1a6.js → p-2668335b.js} +1 -1
- package/dist/mint-components/{p-6e512063.entry.js → p-3af3e2c1.entry.js} +1 -1
- package/dist/mint-components/{p-5ff7b000.entry.js → p-40bad95a.entry.js} +1 -1
- package/dist/mint-components/{p-f35d856a.system.js → p-43c31fd5.system.js} +1 -1
- package/dist/mint-components/p-5492dd51.system.entry.js +1 -0
- package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
- package/dist/mint-components/{p-dac20392.system.js → p-686dd5eb.system.js} +1 -1
- package/dist/mint-components/{p-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
- package/dist/mint-components/p-76271ec4.entry.js +9 -0
- package/dist/mint-components/p-78b40f71.system.js +1 -0
- package/dist/mint-components/{p-cb0a5990.entry.js → p-7939e4af.entry.js} +1 -1
- package/dist/mint-components/{p-e6ace3ab.js → p-832aea99.js} +1 -1
- package/dist/mint-components/{p-6640bbd6.entry.js → p-8784539d.entry.js} +21 -21
- package/dist/mint-components/{p-b9f57e84.system.entry.js → p-8899ff38.system.entry.js} +1 -1
- package/dist/mint-components/{p-fbe00c97.system.entry.js → p-892797eb.system.entry.js} +1 -1
- package/dist/mint-components/{p-d997001a.js → p-8962e023.js} +1 -1
- package/dist/mint-components/{p-dd368927.system.entry.js → p-9390586b.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c46b4dd.system.js → p-a4825ec2.system.js} +1 -1
- package/dist/mint-components/{p-058aefe1.entry.js → p-af407cce.entry.js} +1 -1
- package/dist/mint-components/{p-56ca7e3c.js → p-b3ad957c.js} +1 -1
- package/dist/mint-components/{p-70570e4d.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-c67f8558.system.entry.js → p-bba16a46.system.entry.js} +1 -1
- package/dist/mint-components/{p-669d52c4.js → p-bee4af5d.js} +1 -1
- package/dist/mint-components/p-c3c8d4ee.system.entry.js +1 -0
- package/dist/mint-components/{p-cabf6326.js → p-c813ec64.js} +1 -1
- package/dist/mint-components/p-ca098be1.system.js +1 -1
- package/dist/mint-components/{p-18133026.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
- package/dist/mint-components/{p-3687d433.entry.js → p-d4f332a7.entry.js} +1 -1
- package/dist/mint-components/{p-692e14c5.system.js → p-d55c50af.system.js} +1 -1
- package/dist/mint-components/p-dd12c32a.system.entry.js +1 -0
- package/dist/mint-components/p-e30abc44.js +1 -0
- package/dist/mint-components/{p-fb5c9802.entry.js → p-e506bf7f.entry.js} +1 -1
- package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-e9485160.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0baeed0.entry.js → p-f6528f8a.entry.js} +1 -1
- package/dist/mint-components/{p-5141769d.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
- package/dist/mint-components/{p-e4f17c21.system.js → p-f8026ed6.system.js} +1 -1
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
- package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +41 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +195 -2
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +33 -4
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +0 -6
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +0 -8
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -10
- package/dist/types/components.d.ts +349 -38
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/ShadowViewAddon-47f1e579.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
- package/dist/mint-components/p-0614dcbc.entry.js +0 -9
- package/dist/mint-components/p-217dedde.js +0 -463
- package/dist/mint-components/p-55676213.entry.js +0 -1
- package/dist/mint-components/p-57ac2160.system.entry.js +0 -1
- package/dist/mint-components/p-abc28aeb.system.entry.js +0 -1
- package/dist/mint-components/p-b699f76e.system.js +0 -1
- package/dist/mint-components/p-b6a1e2ac.js +0 -1
- package/dist/mint-components/p-bf545082.system.entry.js +0 -1
- package/dist/mint-components/p-ce050888.system.js +0 -1
- package/dist/mint-components/p-e3497e0e.system.entry.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CopyTextViewProps } from "../views/copy-text-view";
|
|
2
|
+
export declare type ValidationErrorCode = "EXISTING_CODE_CONFLICT" | "INVALID_CHARACTER" | "BLOCKED_WORD" | null;
|
|
3
|
+
export interface ValidationErrorInfo {
|
|
4
|
+
code: ValidationErrorCode;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ShareLinkViewProps {
|
|
9
|
+
copyTextViewProps: CopyTextViewProps;
|
|
10
|
+
allowCustomization: boolean;
|
|
11
|
+
customizeLinkLabel: string;
|
|
12
|
+
saveLabelText: string;
|
|
13
|
+
savingLabelText: string;
|
|
14
|
+
cancelLabelText: string;
|
|
15
|
+
editLabelText: string;
|
|
16
|
+
charactersRemainingText: string;
|
|
17
|
+
validatingLabelText: string;
|
|
18
|
+
isEditing: boolean;
|
|
19
|
+
editValue: string;
|
|
20
|
+
domainPrefix: string;
|
|
21
|
+
editsRemaining: number;
|
|
22
|
+
maxEdits: number;
|
|
23
|
+
limitReached: boolean;
|
|
24
|
+
validationError: ValidationErrorInfo | null;
|
|
25
|
+
isValidating: boolean;
|
|
26
|
+
isSaving: boolean;
|
|
27
|
+
characterLimit: number;
|
|
28
|
+
minCharacters: number;
|
|
29
|
+
charactersRemaining: number;
|
|
30
|
+
editLimitText: string;
|
|
31
|
+
editLimitReachedText: string;
|
|
32
|
+
minCharactersText: string;
|
|
33
|
+
supportLinkText: string;
|
|
34
|
+
customizeDisabled: boolean;
|
|
35
|
+
customizeDisabledTooltip: string;
|
|
36
|
+
onCustomizeClick: () => void;
|
|
37
|
+
onEditValueChange: (value: string) => void;
|
|
38
|
+
onSave: () => void;
|
|
39
|
+
onCancel: () => void;
|
|
40
|
+
}
|
|
41
|
+
export declare function ShareLinkView(props: ShareLinkViewProps): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DemoData } from "../../global/demo";
|
|
2
|
-
import {
|
|
2
|
+
import { ShareLinkViewProps } from "./sqm-share-link-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Share Link
|
|
5
5
|
* @exampleGroup Sharing
|
|
@@ -90,11 +90,204 @@ export declare class ShareLink {
|
|
|
90
90
|
* @uiGroup Style
|
|
91
91
|
*/
|
|
92
92
|
buttonStyle?: "icon" | "button-outside" | "button-below";
|
|
93
|
+
/**
|
|
94
|
+
* Let advocates customize their share links up to 5 times.
|
|
95
|
+
*
|
|
96
|
+
* @uiName Allow customization
|
|
97
|
+
* @uiType boolean
|
|
98
|
+
* @uiGroup Customizable Vanity Link
|
|
99
|
+
* @uiWidget CustomLinkSwitch
|
|
100
|
+
* @requiredFlavor impact
|
|
101
|
+
*/
|
|
102
|
+
allowCustomization?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Text for the cancel button in editing mode
|
|
105
|
+
*
|
|
106
|
+
* @uiName Cancel button label
|
|
107
|
+
* @uiType string
|
|
108
|
+
* @uiGroup Customizable Vanity Link
|
|
109
|
+
* @requiredFlavor impact
|
|
110
|
+
*/
|
|
111
|
+
cancelLabelText?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Tooltip text shown when link customization is disabled
|
|
114
|
+
*
|
|
115
|
+
* @uiName Customize disabled tooltip
|
|
116
|
+
* @uiType string
|
|
117
|
+
* @uiGroup Customizable Vanity Link
|
|
118
|
+
* @requiredFlavor impact
|
|
119
|
+
*/
|
|
120
|
+
customizeDisabledTooltip?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Displayed below the share link.
|
|
123
|
+
*
|
|
124
|
+
* @uiName Customize link button label
|
|
125
|
+
* @uiType string
|
|
126
|
+
* @uiGroup Customizable Vanity Link
|
|
127
|
+
* @requiredFlavor impact
|
|
128
|
+
*/
|
|
129
|
+
customizeLinkButtonLabel?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
132
|
+
*
|
|
133
|
+
* @uiName Edit limit reached text
|
|
134
|
+
* @uiType string
|
|
135
|
+
* @uiWidget textarea
|
|
136
|
+
* @uiGroup Customizable Vanity Link
|
|
137
|
+
* @requiredFlavor impact
|
|
138
|
+
*/
|
|
139
|
+
editLimitReachedText?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Subtext shown while the user is customizing their URL.
|
|
142
|
+
*
|
|
143
|
+
* @uiName Edit limit text
|
|
144
|
+
* @uiType string
|
|
145
|
+
* @uiGroup Customizable Vanity Link
|
|
146
|
+
* @requiredFlavor impact
|
|
147
|
+
*/
|
|
148
|
+
editLimitText?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Description text shown when the link contains invalid special characters.
|
|
151
|
+
*
|
|
152
|
+
* @uiName Invalid characters error description
|
|
153
|
+
* @uiType string
|
|
154
|
+
* @uiWidget textarea
|
|
155
|
+
* @uiGroup Customizable Vanity Link
|
|
156
|
+
* @requiredFlavor impact
|
|
157
|
+
*/
|
|
158
|
+
invalidCharactersErrorDescription?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
161
|
+
*
|
|
162
|
+
* @uiName Invalid characters error title
|
|
163
|
+
* @uiType string
|
|
164
|
+
* @uiGroup Customizable Vanity Link
|
|
165
|
+
* @requiredFlavor impact
|
|
166
|
+
*/
|
|
167
|
+
invalidCharactersErrorTitle?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Description text shown when the link has already been taken
|
|
170
|
+
*
|
|
171
|
+
* @uiName Link taken error message
|
|
172
|
+
* @uiType string
|
|
173
|
+
* @uiWidget textarea
|
|
174
|
+
* @uiGroup Customizable Vanity Link
|
|
175
|
+
* @requiredFlavor impact
|
|
176
|
+
*/
|
|
177
|
+
linkTakenErrorDescription?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Title of the error message shown when the link has already been taken
|
|
180
|
+
*
|
|
181
|
+
* @uiName Link taken error title
|
|
182
|
+
* @uiType string
|
|
183
|
+
* @uiGroup Customizable Vanity Link
|
|
184
|
+
* @requiredFlavor impact
|
|
185
|
+
*/
|
|
186
|
+
linkTakenErrorTitle?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Description text shown when the link contains profanity or brand names.
|
|
189
|
+
*
|
|
190
|
+
* @uiName Restricted words error description
|
|
191
|
+
* @uiType string
|
|
192
|
+
* @uiWidget textarea
|
|
193
|
+
* @uiGroup Customizable Vanity Link
|
|
194
|
+
* @requiredFlavor impact
|
|
195
|
+
*/
|
|
196
|
+
restrictedWordsErrorDescription?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
199
|
+
*
|
|
200
|
+
* @uiName Restricted words error title
|
|
201
|
+
* @uiType string
|
|
202
|
+
* @uiGroup Customizable Vanity Link
|
|
203
|
+
* @requiredFlavor impact
|
|
204
|
+
*/
|
|
205
|
+
restrictedWordsErrorTitle?: string;
|
|
206
|
+
/**
|
|
207
|
+
* Text for the save button in editing mode
|
|
208
|
+
*
|
|
209
|
+
* @uiName Save button label
|
|
210
|
+
* @uiType string
|
|
211
|
+
* @uiGroup Customizable Vanity Link
|
|
212
|
+
* @requiredFlavor impact
|
|
213
|
+
*/
|
|
214
|
+
saveLabelText?: string;
|
|
215
|
+
/**
|
|
216
|
+
* Text for the save button while saving is in progress
|
|
217
|
+
*
|
|
218
|
+
* @uiName Saving button label
|
|
219
|
+
* @uiType string
|
|
220
|
+
* @uiGroup Customizable Vanity Link
|
|
221
|
+
* @requiredFlavor impact
|
|
222
|
+
*/
|
|
223
|
+
savingLabelText?: string;
|
|
224
|
+
/**
|
|
225
|
+
* Label shown above the link input while editing
|
|
226
|
+
*
|
|
227
|
+
* @uiName Edit input label
|
|
228
|
+
* @uiType string
|
|
229
|
+
* @uiGroup Customizable Vanity Link
|
|
230
|
+
* @requiredFlavor impact
|
|
231
|
+
*/
|
|
232
|
+
editLabelText?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
|
|
235
|
+
*
|
|
236
|
+
* @uiName Characters remaining text
|
|
237
|
+
* @uiType string
|
|
238
|
+
* @uiGroup Customizable Vanity Link
|
|
239
|
+
* @requiredFlavor impact
|
|
240
|
+
*/
|
|
241
|
+
charactersRemainingText?: string;
|
|
242
|
+
/**
|
|
243
|
+
* Text shown while the link is being validated
|
|
244
|
+
*
|
|
245
|
+
* @uiName Validating label
|
|
246
|
+
* @uiType string
|
|
247
|
+
* @uiGroup Customizable Vanity Link
|
|
248
|
+
* @requiredFlavor impact
|
|
249
|
+
*/
|
|
250
|
+
validatingLabelText?: string;
|
|
251
|
+
/**
|
|
252
|
+
* @uiName Min characters text
|
|
253
|
+
* @uiType string
|
|
254
|
+
* @uiGroup Customizable Vanity Link
|
|
255
|
+
* @requiredFlavor impact
|
|
256
|
+
*/
|
|
257
|
+
minCharactersText?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Display text for the support link in the edit limit reached message
|
|
260
|
+
*
|
|
261
|
+
* @uiName Support link text
|
|
262
|
+
* @uiType string
|
|
263
|
+
* @uiGroup Customizable Vanity Link
|
|
264
|
+
* @requiredFlavor impact
|
|
265
|
+
*/
|
|
266
|
+
supportLinkText?: string;
|
|
267
|
+
/**
|
|
268
|
+
* Title shown when saving fails with an unknown error
|
|
269
|
+
*
|
|
270
|
+
* @uiName Save error title
|
|
271
|
+
* @uiType string
|
|
272
|
+
* @uiGroup Customizable Vanity Link
|
|
273
|
+
* @requiredFlavor impact
|
|
274
|
+
*/
|
|
275
|
+
saveErrorTitle?: string;
|
|
276
|
+
/**
|
|
277
|
+
* Description shown when saving fails with an unknown error
|
|
278
|
+
*
|
|
279
|
+
* @uiName Save error description
|
|
280
|
+
* @uiType string
|
|
281
|
+
* @uiWidget textarea
|
|
282
|
+
* @uiGroup Customizable Vanity Link
|
|
283
|
+
* @requiredFlavor impact
|
|
284
|
+
*/
|
|
285
|
+
saveErrorDescription?: string;
|
|
93
286
|
/**
|
|
94
287
|
* @undocumented
|
|
95
288
|
* @uiType object
|
|
96
289
|
*/
|
|
97
|
-
demoData?: DemoData<
|
|
290
|
+
demoData?: DemoData<ShareLinkViewProps>;
|
|
98
291
|
constructor();
|
|
99
292
|
disconnectedCallback(): void;
|
|
100
293
|
render(): any;
|
|
@@ -1,9 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
interface ShareLinkProps {
|
|
1
|
+
import { ShareLinkViewProps } from "./sqm-share-link-view";
|
|
2
|
+
export interface ShareLinkProps {
|
|
3
3
|
programId?: string;
|
|
4
4
|
tooltiptext: string;
|
|
5
5
|
tooltiplifespan: number;
|
|
6
6
|
linkOverride?: string;
|
|
7
|
+
allowCustomization?: boolean;
|
|
8
|
+
customizeUrlText?: string;
|
|
9
|
+
customizeLinkButtonLabel?: string;
|
|
10
|
+
saveLabelText?: string;
|
|
11
|
+
savingLabelText?: string;
|
|
12
|
+
cancelLabelText?: string;
|
|
13
|
+
editLabelText?: string;
|
|
14
|
+
charactersRemainingText?: string;
|
|
15
|
+
validatingLabelText?: string;
|
|
16
|
+
textAlign?: "left" | "center" | "right";
|
|
17
|
+
buttonStyle?: "icon" | "button-outside" | "button-below";
|
|
18
|
+
backgroundColor?: string;
|
|
19
|
+
textColor?: string;
|
|
20
|
+
borderRadius?: string;
|
|
21
|
+
buttonType?: "primary" | "secondary";
|
|
22
|
+
copyButtonLabel?: string;
|
|
23
|
+
borderColor?: string;
|
|
24
|
+
linkTakenErrorTitle?: string;
|
|
25
|
+
linkTakenErrorDescription?: string;
|
|
26
|
+
invalidCharactersErrorTitle?: string;
|
|
27
|
+
invalidCharactersErrorDescription?: string;
|
|
28
|
+
restrictedWordsErrorTitle?: string;
|
|
29
|
+
restrictedWordsErrorDescription?: string;
|
|
30
|
+
editLimitText?: string;
|
|
31
|
+
editLimitReachedText?: string;
|
|
32
|
+
supportLinkText?: string;
|
|
33
|
+
customizeDisabledTooltip?: string;
|
|
34
|
+
minCharactersText?: string;
|
|
35
|
+
saveErrorTitle?: string;
|
|
36
|
+
saveErrorDescription?: string;
|
|
7
37
|
}
|
|
8
|
-
export declare function useShareLink(props: ShareLinkProps):
|
|
9
|
-
export {};
|
|
38
|
+
export declare function useShareLink(props: ShareLinkProps): ShareLinkViewProps;
|
|
@@ -156,19 +156,11 @@ export declare class BankingInfoForm {
|
|
|
156
156
|
* @uiName Branch code field label
|
|
157
157
|
*/
|
|
158
158
|
branchCodeLabel: string;
|
|
159
|
-
/**
|
|
160
|
-
* @uiName Branch name field label
|
|
161
|
-
*/
|
|
162
|
-
branchNameLabel: string;
|
|
163
159
|
/**
|
|
164
160
|
* Label text for the classification input field
|
|
165
161
|
* @uiName Classification field label
|
|
166
162
|
*/
|
|
167
163
|
classificationLabel: string;
|
|
168
|
-
/**
|
|
169
|
-
* @uiName Classification code field label
|
|
170
|
-
*/
|
|
171
|
-
classificationCodeLabel: string;
|
|
172
164
|
/**
|
|
173
165
|
* @uiName Taxpayer ID field label
|
|
174
166
|
*/
|
|
@@ -475,22 +475,12 @@ export declare class TaxAndCashMonolith {
|
|
|
475
475
|
* @uiGroup Step 4 Properties
|
|
476
476
|
*/
|
|
477
477
|
step4_branchCodeLabel: string;
|
|
478
|
-
/**
|
|
479
|
-
* @uiName Branch name field label
|
|
480
|
-
* @uiGroup Step 4 Properties
|
|
481
|
-
*/
|
|
482
|
-
step4_branchNameLabel: string;
|
|
483
478
|
/**
|
|
484
479
|
* Label text for the classification input field
|
|
485
480
|
* @uiName Classification field label
|
|
486
481
|
* @uiGroup Step 4 Properties
|
|
487
482
|
*/
|
|
488
483
|
step4_classificationLabel: string;
|
|
489
|
-
/**
|
|
490
|
-
* @uiName Classification code field label
|
|
491
|
-
* @uiGroup Step 4 Properties
|
|
492
|
-
*/
|
|
493
|
-
step4_classificationCodeLabel: string;
|
|
494
484
|
/**
|
|
495
485
|
* @uiName Taxpayer ID field label
|
|
496
486
|
* @uiGroup Step 4 Properties
|