@saasquatch/mint-components 1.5.5-1 → 1.5.5-2
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-1716c9f5.js → ShadowViewAddon-1bbdf477.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +126 -161
- package/dist/cjs/sqm-empty_5.cjs.entry.js +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +7 -15
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +15 -8
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -5
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +8 -18
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +10 -12
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -21
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +300 -98
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +2 -2
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +7 -13
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +10 -11
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +4 -4
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -5
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +9 -9
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -0
- package/dist/collection/components/sqm-empty/sqm-empty.js +0 -1
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +3 -3
- package/dist/collection/components/sqm-hero/sqm-hero.js +15 -23
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +3 -7
- package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +0 -3
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +147 -27
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +56 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +70 -20
- package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +42 -19
- package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +18 -0
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +28 -8
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +15 -8
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +4 -4
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +3 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +1 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -1
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +6 -9
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +11 -11
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +22 -34
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +4 -4
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +8 -8
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +8 -8
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +26 -42
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +21 -31
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +2 -2
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +28 -36
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +21 -23
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +4 -4
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +9 -11
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +6 -10
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +14 -23
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +15 -22
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +8 -12
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +15 -18
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +7 -6
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +7 -6
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +8 -96
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -1
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +4 -4
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +5 -6
- package/dist/esm/{ShadowViewAddon-16edf1a4.js → ShadowViewAddon-e2996624.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_35.entry.js +127 -162
- package/dist/esm/sqm-empty_5.entry.js +2 -2
- package/dist/esm/sqm-hero.entry.js +7 -15
- package/dist/esm/sqm-leaderboard-rank.entry.js +15 -8
- package/dist/esm/sqm-password-field.entry.js +2 -5
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +8 -18
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +10 -12
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +8 -21
- package/dist/esm/sqm-rewards-table_9.entry.js +4 -8
- package/dist/esm/sqm-stencilbook.entry.js +300 -98
- package/dist/esm-es5/ShadowViewAddon-e2996624.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-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-232672a2.entry.js +13 -0
- package/dist/mint-components/{p-294c486f.js → p-3facf714.js} +1 -1
- package/dist/mint-components/p-64cc1a70.system.entry.js +1 -0
- package/dist/mint-components/p-87ffb558.entry.js +9 -0
- package/dist/mint-components/p-91acec3d.entry.js +159 -0
- package/dist/mint-components/p-94096609.system.js +1 -1
- package/dist/mint-components/p-951e7817.system.entry.js +1 -0
- package/dist/mint-components/p-ba99d04e.system.entry.js +1 -0
- package/dist/mint-components/p-d3cc0d60.system.js +1 -0
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +2 -2
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +4 -12
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +5 -6
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -2
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +3 -3
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +7 -10
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +0 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +2 -8
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +8 -20
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -5
- package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +0 -3
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +2 -1
- package/dist/types/components/sqm-leaderboard/UseLeaderboard.stories.d.ts +18 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +2 -2
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +25 -9
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +4 -2
- package/dist/types/components/sqm-leaderboard-rank/LeaderboardRank.stories.d.ts +5 -0
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +14 -7
- package/dist/types/components/sqm-leaderboard-rank/useLeaderboardRank.d.ts +2 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +2 -2
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +2 -4
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +1 -1
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +1 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +2 -5
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +6 -21
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -20
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -5
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +4 -4
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +4 -4
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +9 -25
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -1
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +8 -18
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -1
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +12 -20
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +10 -12
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +2 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +4 -7
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +2 -6
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +6 -15
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +9 -16
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +3 -7
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +9 -17
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +2 -2
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +2 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +8 -35
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -1
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -2
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -3
- package/dist/types/components.d.ts +372 -494
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -8
- package/dist/esm-es5/ShadowViewAddon-16edf1a4.js +0 -1
- package/dist/mint-components/p-075154b7.entry.js +0 -13
- package/dist/mint-components/p-20305fa4.system.entry.js +0 -1
- package/dist/mint-components/p-4ccb3b36.system.entry.js +0 -1
- package/dist/mint-components/p-62cc7fae.entry.js +0 -9
- package/dist/mint-components/p-6ce2e2eb.system.entry.js +0 -1
- package/dist/mint-components/p-acc840a5.system.js +0 -1
- package/dist/mint-components/p-dbf1beab.entry.js +0 -150
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +0 -1
|
@@ -15,14 +15,14 @@ export interface LeaderboardViewProps {
|
|
|
15
15
|
data: {
|
|
16
16
|
rankType: string;
|
|
17
17
|
leaderboard: {
|
|
18
|
-
|
|
18
|
+
textValue: string;
|
|
19
19
|
rank: number;
|
|
20
20
|
firstName: string;
|
|
21
21
|
lastInitial: string;
|
|
22
22
|
rowNumber: number;
|
|
23
23
|
}[];
|
|
24
24
|
viewerRank?: {
|
|
25
|
-
|
|
25
|
+
textValue: string;
|
|
26
26
|
rank: number;
|
|
27
27
|
firstName: string;
|
|
28
28
|
lastInitial: string;
|
|
@@ -4,6 +4,13 @@ import { LeaderboardViewProps } from "./sqm-leaderboard-view";
|
|
|
4
4
|
* @uiName Leaderboard
|
|
5
5
|
*/
|
|
6
6
|
export declare class Leaderboard {
|
|
7
|
+
/**
|
|
8
|
+
* Filters leaderboard to show only data from this program. Defaults to the program context where this leaderboard is.
|
|
9
|
+
* If no program ID is set or provided by context, then a global leaderboard is shown.
|
|
10
|
+
*
|
|
11
|
+
* @uiName Program
|
|
12
|
+
*/
|
|
13
|
+
programId?: string;
|
|
7
14
|
/**
|
|
8
15
|
* @uiName User Column Heading
|
|
9
16
|
*/
|
|
@@ -13,15 +20,15 @@ export declare class Leaderboard {
|
|
|
13
20
|
*/
|
|
14
21
|
statsheading: string;
|
|
15
22
|
/**
|
|
16
|
-
* @uiName Rank Heading
|
|
23
|
+
* @uiName Rank Column Heading
|
|
17
24
|
*/
|
|
18
25
|
rankheading?: string;
|
|
19
26
|
/**
|
|
20
|
-
* @uiName Show
|
|
27
|
+
* @uiName Show Rank Column
|
|
21
28
|
*/
|
|
22
29
|
showRank: boolean;
|
|
23
30
|
/**
|
|
24
|
-
* Hide the
|
|
31
|
+
* Hide the viewer's leaderboard row if not in the top 10.
|
|
25
32
|
*
|
|
26
33
|
* @uiName Hide Viewing User
|
|
27
34
|
*/
|
|
@@ -36,21 +43,30 @@ export declare class Leaderboard {
|
|
|
36
43
|
/**
|
|
37
44
|
* @uiName Leaderboard Type
|
|
38
45
|
* @uiType string
|
|
39
|
-
* @uiEnum ["topStartedReferrers", "topConvertedReferrers"]
|
|
40
|
-
* @uiEnumNames ["Top Started Referrers", "Top Converted Referrers"]
|
|
46
|
+
* @uiEnum ["topStartedReferrers", "topConvertedReferrers", "topPointEarners"]
|
|
47
|
+
* @uiEnumNames ["Top Started Referrers", "Top Converted Referrers", "Top Point Earners"]
|
|
41
48
|
*/
|
|
42
|
-
leaderboardType: "topStartedReferrers" | "topConvertedReferrers";
|
|
49
|
+
leaderboardType: "topStartedReferrers" | "topConvertedReferrers" | "topPointEarners";
|
|
43
50
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
51
|
+
* Text displayed for users without names in the leaderboard
|
|
52
|
+
*
|
|
53
|
+
* @uiName Anonymous User Name
|
|
46
54
|
*/
|
|
47
55
|
anonymousUser: string;
|
|
48
56
|
/**
|
|
57
|
+
* Only count leaderboard activity within a given interval
|
|
58
|
+
*
|
|
49
59
|
* @uiName Leaderboard Time Interval
|
|
50
60
|
* @uiWidget DateRange
|
|
51
|
-
* @
|
|
61
|
+
* @uiOptions {"allowPastDates":true, "months": 1}
|
|
52
62
|
*/
|
|
53
63
|
interval: string;
|
|
64
|
+
/**
|
|
65
|
+
* Control the maximum amount of rows displayed on the leaderboard.
|
|
66
|
+
*
|
|
67
|
+
* @uiName Maximum Rows Number
|
|
68
|
+
*/
|
|
69
|
+
maxRows: number;
|
|
54
70
|
/**
|
|
55
71
|
* @undocumented
|
|
56
72
|
* @uiType object
|
|
@@ -8,7 +8,9 @@ export interface LeaderboardProps {
|
|
|
8
8
|
showRank?: boolean;
|
|
9
9
|
hideViewer?: boolean;
|
|
10
10
|
rankType: "rowNumber" | "rank" | "denseRank";
|
|
11
|
-
leaderboardType: "topStartedReferrers" | "topConvertedReferrers";
|
|
11
|
+
leaderboardType: "topStartedReferrers" | "topConvertedReferrers" | "topPointEarners";
|
|
12
|
+
maxRows: number;
|
|
13
|
+
programId?: string;
|
|
12
14
|
interval: string;
|
|
13
15
|
empty: VNode;
|
|
14
16
|
loadingstate: VNode;
|
|
@@ -20,7 +22,7 @@ export declare type Rank = {
|
|
|
20
22
|
rowNumber: number;
|
|
21
23
|
};
|
|
22
24
|
export declare type Leaderboard = {
|
|
23
|
-
|
|
25
|
+
textValue: string;
|
|
24
26
|
rank: number;
|
|
25
27
|
firstName: string;
|
|
26
28
|
lastInitial: string;
|
|
@@ -5,7 +5,7 @@ import { DemoData } from "../../global/demo";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class LeaderboardRank {
|
|
7
7
|
/**
|
|
8
|
-
* @uiName Default
|
|
8
|
+
* @uiName Default rank
|
|
9
9
|
* @uiType string
|
|
10
10
|
* @uiEnum ["rowNumber", "rank", "denseRank"]
|
|
11
11
|
* @uiEnumNames ["Row Number", "Rank", "Dense Rank"]
|
|
@@ -16,22 +16,29 @@ export declare class LeaderboardRank {
|
|
|
16
16
|
*/
|
|
17
17
|
rankText: string;
|
|
18
18
|
/**
|
|
19
|
-
* @uiName Leaderboard
|
|
19
|
+
* @uiName Leaderboard type
|
|
20
20
|
* @uiType string
|
|
21
|
-
* @uiEnum ["topStartedReferrers", "topConvertedReferrers"]
|
|
22
|
-
* @uiEnumNames ["Top Started Referrers", "Top Converted Referrers"]
|
|
21
|
+
* @uiEnum ["topStartedReferrers", "topConvertedReferrers", "topPointEarners"]
|
|
22
|
+
* @uiEnumNames ["Top Started Referrers", "Top Converted Referrers", "Top Point Earners"]
|
|
23
23
|
*/
|
|
24
|
-
leaderboardType: "topStartedReferrers" | "topConvertedReferrers";
|
|
24
|
+
leaderboardType: "topStartedReferrers" | "topConvertedReferrers" | "topPointEarners";
|
|
25
25
|
/**
|
|
26
26
|
* @uiName Unranked Text
|
|
27
27
|
*/
|
|
28
28
|
unrankedText: string;
|
|
29
29
|
/**
|
|
30
|
-
* @uiName Leaderboard
|
|
30
|
+
* @uiName Leaderboard time interval
|
|
31
31
|
* @uiWidget DateRange
|
|
32
|
-
* @
|
|
32
|
+
* @uiOptions {"allowPastDates":true, "months": 1}
|
|
33
33
|
*/
|
|
34
34
|
interval: string;
|
|
35
|
+
/**
|
|
36
|
+
* Filters leaderboard to show only data from this program. Defaults to the program context where this leaderboard is.
|
|
37
|
+
* If no program ID is set or provided by context, then a global leaderboard is shown.
|
|
38
|
+
*
|
|
39
|
+
* @uiName Program
|
|
40
|
+
*/
|
|
41
|
+
programId?: string;
|
|
35
42
|
/**
|
|
36
43
|
* @undocumented
|
|
37
44
|
* @uiType object
|
|
@@ -2,7 +2,8 @@ import { LeaderboardRankViewProps } from "./sqm-leaderboard-rank-view";
|
|
|
2
2
|
export interface LeaderboardRankProps {
|
|
3
3
|
rankType: "rowNumber" | "rank" | "denseRank";
|
|
4
4
|
rankText: string;
|
|
5
|
-
leaderboardType: "topStartedReferrers" | "topConvertedReferrers";
|
|
5
|
+
leaderboardType: "topStartedReferrers" | "topConvertedReferrers" | "topPointEarners";
|
|
6
|
+
programId?: string;
|
|
6
7
|
unrankedText: string;
|
|
7
8
|
interval: string;
|
|
8
9
|
}
|
|
@@ -6,11 +6,11 @@ import { NameFieldsViewProps } from "./sqm-name-fields-view";
|
|
|
6
6
|
export declare class NameFields {
|
|
7
7
|
ignored: boolean;
|
|
8
8
|
/**
|
|
9
|
-
* @uiName First
|
|
9
|
+
* @uiName First name field label
|
|
10
10
|
*/
|
|
11
11
|
firstNameLabel: string;
|
|
12
12
|
/**
|
|
13
|
-
* @uiName Last
|
|
13
|
+
* @uiName Last name field label
|
|
14
14
|
*/
|
|
15
15
|
lastNameLabel: string;
|
|
16
16
|
/**
|
|
@@ -6,13 +6,11 @@ import { DemoData } from "../../global/demo";
|
|
|
6
6
|
export declare class NavigationMenu {
|
|
7
7
|
ignored: boolean;
|
|
8
8
|
/**
|
|
9
|
-
* @uiName Include
|
|
9
|
+
* @uiName Include dropdown menu
|
|
10
10
|
*/
|
|
11
11
|
includeDropdown: boolean;
|
|
12
12
|
/**
|
|
13
|
-
* Label on the header menu
|
|
14
|
-
*
|
|
15
|
-
* @uiName Menu Label
|
|
13
|
+
* @uiName Label on the header menu
|
|
16
14
|
*/
|
|
17
15
|
menuLabel: string;
|
|
18
16
|
/**
|
|
@@ -14,14 +14,11 @@ export interface PasswordFieldViewDemoProps {
|
|
|
14
14
|
export declare class PortalPasswordField {
|
|
15
15
|
ignored: boolean;
|
|
16
16
|
/**
|
|
17
|
-
* Label for password field
|
|
18
|
-
*
|
|
19
|
-
* @uiName Password Label
|
|
17
|
+
* @uiName Label for password field
|
|
20
18
|
*/
|
|
21
19
|
fieldLabel: string;
|
|
22
20
|
/**
|
|
23
|
-
* Enable live password validation
|
|
24
|
-
* @uiName Enable Validation
|
|
21
|
+
* @uiName Enable live password validation
|
|
25
22
|
*/
|
|
26
23
|
enableValidation: boolean;
|
|
27
24
|
/**
|
|
@@ -1,37 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @uiName Popup
|
|
2
|
+
* @uiName Popup container for widgets
|
|
3
3
|
*/
|
|
4
4
|
export declare class PopupContainer {
|
|
5
|
-
/**
|
|
6
|
-
* Show Powered By SaaSquatch link
|
|
7
|
-
*
|
|
8
|
-
* @uiName Show Powered By
|
|
9
|
-
*/
|
|
5
|
+
/** @uiName Show SaaSquatch Powered By messaging */
|
|
10
6
|
poweredBy: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Display a close button on the popup
|
|
13
|
-
*
|
|
14
|
-
* @uiName Show Close Button
|
|
15
|
-
*/
|
|
7
|
+
/** @uiName Display a close button on the popup */
|
|
16
8
|
closeButton: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Text inside the close button
|
|
19
|
-
*
|
|
20
|
-
* @uiName Close Button Text
|
|
21
|
-
*/
|
|
9
|
+
/** @uiName Text to be used as the close button */
|
|
22
10
|
closeButtonText: string;
|
|
23
11
|
/**
|
|
24
|
-
* Specify padding on the popup contents when in embedded mode
|
|
25
|
-
*
|
|
26
|
-
* @uiName Embed Padding
|
|
12
|
+
* @uiName Specify padding on the popup contents when in embedded mode
|
|
27
13
|
* @uiType string
|
|
28
14
|
* @uiEnum ["none", "small", "medium", "large"]
|
|
29
15
|
* @uiEnumNames ["None", "Small", "Medium", "Large"]
|
|
30
16
|
*/
|
|
31
17
|
embedPadding?: "none" | "small" | "medium" | "large";
|
|
32
18
|
/**
|
|
33
|
-
* Specify padding on the popup contents when in popup mode
|
|
34
|
-
* @uiName Popup Padding
|
|
19
|
+
* @uiName Specify padding on the popup contents when in popup mode
|
|
35
20
|
* @uiType string
|
|
36
21
|
* @uiEnum ["none", "small", "medium", "large"]
|
|
37
22
|
* @uiEnumNames ["None", "Small", "Medium", "Large"]
|
|
@@ -6,47 +6,35 @@ import { DemoData } from "../../global/demo";
|
|
|
6
6
|
export declare class PortalChangePassword {
|
|
7
7
|
ignored: boolean;
|
|
8
8
|
/**
|
|
9
|
-
* @uiName Change
|
|
9
|
+
* @uiName Change password modal header
|
|
10
10
|
*/
|
|
11
11
|
modalChangePasswordHeader: string;
|
|
12
12
|
/**
|
|
13
|
-
* Modal cancel button text
|
|
14
|
-
*
|
|
15
|
-
* @uiName Cancel Button Text
|
|
13
|
+
* @uiName Modal cancel password change button text
|
|
16
14
|
*/
|
|
17
15
|
cancelText: string;
|
|
18
16
|
/**
|
|
19
|
-
* Modal change password button text
|
|
20
|
-
*
|
|
21
|
-
* @uiName Change Password Button Text
|
|
17
|
+
* @uiName Modal change password button text
|
|
22
18
|
*/
|
|
23
19
|
changePasswordButtonText: string;
|
|
24
20
|
/**
|
|
25
|
-
* Password input field label
|
|
26
|
-
*
|
|
27
|
-
* @uiName Password Label
|
|
21
|
+
* @uiName Password input field label
|
|
28
22
|
*/
|
|
29
23
|
passwordFieldLabel: string;
|
|
30
24
|
/**
|
|
31
|
-
* Password confirmation input field label
|
|
32
|
-
*
|
|
33
|
-
* @uiName Confirm Password Label
|
|
25
|
+
* @uiName Password confirmation input field label
|
|
34
26
|
*/
|
|
35
27
|
confirmPasswordFieldLabel: string;
|
|
36
28
|
/**
|
|
37
|
-
* Successful password change message
|
|
38
|
-
*
|
|
39
|
-
* @uiName Successful Message
|
|
29
|
+
* @uiName Successful password change message
|
|
40
30
|
*/
|
|
41
31
|
successMessage: string;
|
|
42
32
|
/**
|
|
43
|
-
* Portal change password section header
|
|
44
|
-
*
|
|
45
|
-
* @uiName Change Password Header
|
|
33
|
+
* @uiName Portal change password section header
|
|
46
34
|
*/
|
|
47
35
|
portalChangePasswordHeader: string;
|
|
48
36
|
/**
|
|
49
|
-
* @uiName
|
|
37
|
+
* @uiName Portal change password button text
|
|
50
38
|
*/
|
|
51
39
|
portalChangePasswordButtonText: string;
|
|
52
40
|
/**
|
|
@@ -25,7 +25,7 @@ export declare class PortalContainer {
|
|
|
25
25
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
26
26
|
*/
|
|
27
27
|
gap: Spacing;
|
|
28
|
-
/** @uiName Minimum
|
|
28
|
+
/** @uiName Minimum width */
|
|
29
29
|
minWidth?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @uiName Display
|
|
@@ -35,9 +35,7 @@ export declare class PortalContainer {
|
|
|
35
35
|
*/
|
|
36
36
|
display: "grid" | "flex";
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* @uiName Justify Content
|
|
38
|
+
* @uiName Justify content
|
|
41
39
|
* @uiType string
|
|
42
40
|
* @uiEnum ["start", "center", "end", "space-between", "space-around", "space-evenly"]
|
|
43
41
|
* @uiEnumNames ["Start", "Center", "End", "Space Between", "Space Around", "Space Evenly"]
|
|
@@ -48,7 +46,7 @@ export declare class PortalContainer {
|
|
|
48
46
|
*/
|
|
49
47
|
maxWidth?: string;
|
|
50
48
|
/**
|
|
51
|
-
* @uiName Center
|
|
49
|
+
* @uiName Center content
|
|
52
50
|
*/
|
|
53
51
|
center?: boolean;
|
|
54
52
|
constructor();
|
package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts
CHANGED
|
@@ -8,19 +8,19 @@ export declare class PortalEmailVerification {
|
|
|
8
8
|
/**
|
|
9
9
|
* The page that users are redirected to from the verification email.
|
|
10
10
|
*
|
|
11
|
-
* @uiName Email
|
|
11
|
+
* @uiName Email redirection base path
|
|
12
12
|
*/
|
|
13
13
|
redirectPath: string;
|
|
14
14
|
/**
|
|
15
|
-
* @uiName Email
|
|
15
|
+
* @uiName Email verification header text
|
|
16
16
|
*/
|
|
17
17
|
emailVerificationHeader: string;
|
|
18
18
|
/**
|
|
19
|
-
* @uiName Re-send
|
|
19
|
+
* @uiName Re-send email button text
|
|
20
20
|
*/
|
|
21
21
|
resendEmailButtonText: string;
|
|
22
22
|
/**
|
|
23
|
-
* @uiName Email
|
|
23
|
+
* @uiName Email verification body text
|
|
24
24
|
*/
|
|
25
25
|
verifyMessage: string;
|
|
26
26
|
/**
|
|
@@ -8,19 +8,19 @@ export declare class PortalForgotPassword {
|
|
|
8
8
|
/**
|
|
9
9
|
* The page that users are redirected to from the password reset email.
|
|
10
10
|
*
|
|
11
|
-
* @uiName Email
|
|
11
|
+
* @uiName Email redirection base path
|
|
12
12
|
*/
|
|
13
13
|
redirectPath: string;
|
|
14
14
|
/**
|
|
15
|
-
* @uiName Email
|
|
15
|
+
* @uiName Email label
|
|
16
16
|
*/
|
|
17
17
|
emailLabel: string;
|
|
18
18
|
/**
|
|
19
|
-
* @uiName Password
|
|
19
|
+
* @uiName Password reset button text
|
|
20
20
|
*/
|
|
21
21
|
submitLabel: string;
|
|
22
22
|
/**
|
|
23
|
-
* @uiName
|
|
23
|
+
* @uiName Routing path to login page
|
|
24
24
|
*/
|
|
25
25
|
loginPath: string;
|
|
26
26
|
/**
|
|
@@ -6,55 +6,39 @@ import { PortalLoginViewProps } from "./sqm-portal-login-view";
|
|
|
6
6
|
export declare class PortalLogin {
|
|
7
7
|
ignored: boolean;
|
|
8
8
|
/**
|
|
9
|
-
* Page navigated to after sign-in
|
|
10
|
-
*
|
|
11
|
-
* @uiName Next Page Path
|
|
9
|
+
* @uiName Page navigated to after sign-in
|
|
12
10
|
*/
|
|
13
11
|
nextPage: string;
|
|
14
12
|
/**
|
|
15
|
-
* Label for email field
|
|
16
|
-
*
|
|
17
|
-
* @uiName Email Label
|
|
13
|
+
* @uiName Label for email field
|
|
18
14
|
*/
|
|
19
15
|
emailLabel: string;
|
|
20
16
|
/**
|
|
21
|
-
* Label for password field
|
|
22
|
-
*
|
|
23
|
-
* @uiName Password Label
|
|
17
|
+
* @uiName Label for password field
|
|
24
18
|
*/
|
|
25
19
|
passwordLabel: string;
|
|
26
20
|
/**
|
|
27
|
-
* Label for submit button
|
|
28
|
-
*
|
|
29
|
-
* @uiName Submit Button Text
|
|
21
|
+
* @uiName Label for submit button
|
|
30
22
|
*/
|
|
31
23
|
submitLabel: string;
|
|
32
24
|
/**
|
|
33
|
-
* Label for forgotten password button
|
|
34
|
-
*
|
|
35
|
-
* @uiName Forgot Password Text
|
|
25
|
+
* @uiName Label for forgotten password button
|
|
36
26
|
*/
|
|
37
27
|
forgotPasswordLabel: string;
|
|
38
28
|
/**
|
|
39
|
-
* Label for register button
|
|
40
|
-
*
|
|
41
|
-
* @uiName Register Button Text
|
|
29
|
+
* @uiName Label for register navigation button
|
|
42
30
|
*/
|
|
43
31
|
registerLabel: string;
|
|
44
32
|
/**
|
|
45
|
-
* @uiName Heading
|
|
33
|
+
* @uiName Heading label
|
|
46
34
|
*/
|
|
47
35
|
pageLabel: string;
|
|
48
36
|
/**
|
|
49
|
-
* Register
|
|
50
|
-
*
|
|
51
|
-
* @uiName Register Path
|
|
37
|
+
* @uiName Register button redirection path
|
|
52
38
|
*/
|
|
53
39
|
registerPath: string;
|
|
54
40
|
/**
|
|
55
|
-
* Forgot password redirect path
|
|
56
|
-
*
|
|
57
|
-
* @uiName Forgot Password Path
|
|
41
|
+
* @uiName Forgot password button redirect path
|
|
58
42
|
*/
|
|
59
43
|
forgotPasswordPath: string;
|
|
60
44
|
/**
|
|
@@ -6,45 +6,35 @@ import { DemoData } from "../../global/demo";
|
|
|
6
6
|
export declare class PortalProfile {
|
|
7
7
|
ignored: boolean;
|
|
8
8
|
/**
|
|
9
|
-
* First name input field label
|
|
10
|
-
*
|
|
11
|
-
* @uiName First Name Label
|
|
9
|
+
* @uiName First name input field label
|
|
12
10
|
*/
|
|
13
11
|
firstnametext: string;
|
|
14
12
|
/**
|
|
15
|
-
* Last name input field label
|
|
16
|
-
*
|
|
17
|
-
* @uiName Last Name Label
|
|
13
|
+
* @uiName Last name input field label
|
|
18
14
|
*/
|
|
19
15
|
lastnametext: string;
|
|
20
16
|
/**
|
|
21
|
-
* Email input field label
|
|
22
|
-
*
|
|
23
|
-
* @uiName Email Label
|
|
17
|
+
* @uiName Email input field label
|
|
24
18
|
*/
|
|
25
19
|
emailtext: string;
|
|
26
20
|
/**
|
|
27
|
-
* Country input field label
|
|
28
|
-
*
|
|
29
|
-
* @uiName Country Label
|
|
21
|
+
* @uiName Country input field label
|
|
30
22
|
*/
|
|
31
23
|
countrytext: string;
|
|
32
24
|
/**
|
|
33
|
-
* @uiName Edit
|
|
25
|
+
* @uiName Edit profile header
|
|
34
26
|
*/
|
|
35
27
|
editProfileHeader: string;
|
|
36
28
|
/**
|
|
37
|
-
* @uiName Edit
|
|
29
|
+
* @uiName Edit profile sub header
|
|
38
30
|
*/
|
|
39
31
|
editProfileSubHeader: string;
|
|
40
32
|
/**
|
|
41
|
-
* @uiName
|
|
33
|
+
* @uiName Text for the submit changes button
|
|
42
34
|
*/
|
|
43
35
|
submitChangeButtonText: string;
|
|
44
36
|
/**
|
|
45
|
-
* Show or hide
|
|
46
|
-
*
|
|
47
|
-
* @uiName Show Country Field
|
|
37
|
+
* @uiName Show or hide country field
|
|
48
38
|
*/
|
|
49
39
|
showCountry: boolean;
|
|
50
40
|
/**
|
|
@@ -6,61 +6,53 @@ import { PortalRegisterViewProps } from "./sqm-portal-register-view";
|
|
|
6
6
|
export declare class PortalRegister {
|
|
7
7
|
ignored: boolean;
|
|
8
8
|
/**
|
|
9
|
-
* Page navigated to after registration
|
|
10
|
-
*
|
|
11
|
-
* @uiName Next Page
|
|
9
|
+
* @uiName Page navigated to after registration
|
|
12
10
|
*/
|
|
13
11
|
nextPage: string;
|
|
14
12
|
/**
|
|
15
13
|
* The page that users are redirected to from the verification email.
|
|
16
14
|
*
|
|
17
|
-
* @uiName Email
|
|
15
|
+
* @uiName Email redirection base path
|
|
18
16
|
*/
|
|
19
17
|
redirectPath: string;
|
|
20
18
|
/**
|
|
21
|
-
* @uiName
|
|
19
|
+
* @uiName Label for email field
|
|
22
20
|
*/
|
|
23
21
|
emailLabel: string;
|
|
24
22
|
/**
|
|
25
|
-
* @uiName
|
|
23
|
+
* @uiName Label for password field
|
|
26
24
|
*/
|
|
27
25
|
passwordLabel: string;
|
|
28
26
|
/**
|
|
29
|
-
* @uiName
|
|
27
|
+
* @uiName Label for submit button
|
|
30
28
|
*/
|
|
31
29
|
submitLabel: string;
|
|
32
30
|
/**
|
|
33
|
-
* @uiName
|
|
31
|
+
* @uiName Label for login navigation button
|
|
34
32
|
*/
|
|
35
33
|
loginLabel: string;
|
|
36
34
|
/**
|
|
37
|
-
* @uiName
|
|
35
|
+
* @uiName Label for confirm password field
|
|
38
36
|
*/
|
|
39
37
|
confirmPasswordLabel: string;
|
|
40
38
|
/**
|
|
41
|
-
* Show
|
|
42
|
-
*
|
|
43
|
-
* @uiName Show Confirm Password Field
|
|
39
|
+
* @uiName Show confirm password field
|
|
44
40
|
*/
|
|
45
41
|
confirmPassword: boolean;
|
|
46
42
|
/**
|
|
47
|
-
* @uiName
|
|
43
|
+
* @uiName Use password field with live validation
|
|
48
44
|
*/
|
|
49
45
|
enablePasswordValidation: boolean;
|
|
50
46
|
/**
|
|
51
|
-
* Hide default input fields to use custom fields
|
|
52
|
-
*
|
|
53
|
-
* @uiName Hide Default Inputs
|
|
47
|
+
* @uiName Hide default input fields to use custom fields
|
|
54
48
|
*/
|
|
55
49
|
hideInputs: boolean;
|
|
56
50
|
/**
|
|
57
|
-
* @uiName Heading
|
|
51
|
+
* @uiName Heading label
|
|
58
52
|
*/
|
|
59
53
|
pageLabel: string;
|
|
60
54
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* @uiName Login Path
|
|
55
|
+
* @uiName Sign in button redirection path
|
|
64
56
|
*/
|
|
65
57
|
loginPath: string;
|
|
66
58
|
/**
|