@saasquatch/mint-components 1.5.5 → 1.5.6-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/sqm-big-stat_35.cjs.entry.js +135 -69
- package/dist/cjs/sqm-empty_5.cjs.entry.js +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +15 -7
- package/dist/cjs/sqm-password-field.cjs.entry.js +5 -2
- 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 +18 -8
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +12 -10
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +21 -8
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -4
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +7 -79
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +2 -2
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +13 -8
- package/dist/collection/components/sqm-brand/sqm-brand.js +1 -1
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -0
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +11 -10
- 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/sqm-empty.js +1 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +3 -3
- package/dist/collection/components/sqm-hero/sqm-hero.js +23 -15
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +7 -3
- package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +3 -0
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +2 -74
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +10 -8
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +4 -4
- 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 +9 -6
- 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 +34 -22
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +5 -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 +42 -26
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +31 -21
- 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 +36 -28
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +23 -21
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +4 -4
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -0
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +11 -9
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +11 -6
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +23 -14
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +21 -13
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +1 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +1 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +13 -8
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +1 -0
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +25 -15
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +7 -7
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +7 -7
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +3 -2
- package/dist/collection/components/sqm-tab/sqm-tab.js +1 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +95 -8
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +2 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +4 -2
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +4 -4
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +6 -5
- package/dist/esm/sqm-big-stat_35.entry.js +135 -69
- package/dist/esm/sqm-empty_5.entry.js +2 -2
- package/dist/esm/sqm-hero.entry.js +15 -7
- package/dist/esm/sqm-password-field.entry.js +5 -2
- 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 +18 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +12 -10
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +21 -8
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -4
- package/dist/esm/sqm-stencilbook.entry.js +7 -79
- package/dist/esm-es5/sqm-big-stat_35.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-951e7817.system.entry.js → p-25ac7c14.system.entry.js} +1 -1
- package/dist/mint-components/p-5bef951d.system.entry.js +1 -0
- package/dist/mint-components/p-94096609.system.js +1 -1
- package/dist/mint-components/{p-87ffb558.entry.js → p-c7b0f076.entry.js} +2 -2
- 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 +12 -5
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -1
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -0
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +6 -5
- 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 +10 -7
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +8 -2
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +20 -8
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +5 -1
- package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +3 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +7 -7
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +4 -4
- 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 +4 -2
- 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 +5 -2
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +21 -6
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +20 -8
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +6 -3
- 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 +25 -9
- 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 +18 -8
- 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 +20 -12
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +12 -10
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +2 -2
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +7 -4
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +7 -2
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +15 -6
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +17 -9
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +8 -3
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +24 -9
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -2
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +3 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +2 -1
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +1 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +34 -8
- 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 +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +4 -2
- 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 +3 -2
- package/dist/types/components.d.ts +478 -318
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +8 -3
- package/dist/mint-components/p-64cc1a70.system.entry.js +0 -1
|
@@ -16,76 +16,94 @@ export class TaskCard {
|
|
|
16
16
|
this.ignored = true;
|
|
17
17
|
/**
|
|
18
18
|
* @uiName Reward Amount
|
|
19
|
+
* @uiGroup Reward
|
|
19
20
|
*/
|
|
20
21
|
this.rewardAmount = "0";
|
|
21
22
|
/**
|
|
22
23
|
* @uiName Reward Unit
|
|
24
|
+
* @uiGroup Reward
|
|
23
25
|
*/
|
|
24
26
|
this.rewardUnit = "Points";
|
|
25
27
|
/**
|
|
26
28
|
* @uiName Title Text
|
|
29
|
+
* @uiGroup Task
|
|
27
30
|
*/
|
|
28
31
|
this.cardTitle = "Title Text";
|
|
29
32
|
/**
|
|
30
33
|
* @uiName Description Text
|
|
34
|
+
* @uiGroup Task
|
|
31
35
|
*/
|
|
32
36
|
this.description = "";
|
|
33
37
|
/**
|
|
34
38
|
* @uiName Goal Repeatable
|
|
39
|
+
* @uiGroup Goal
|
|
35
40
|
*/
|
|
36
41
|
this.repeatable = false;
|
|
37
42
|
/**
|
|
38
43
|
* The number of times a reward can be earned. Use zero for no limit (the default).
|
|
39
44
|
*
|
|
40
45
|
* @uiName Repeat Amount
|
|
46
|
+
* @uiGroup Reward
|
|
41
47
|
*/
|
|
42
48
|
this.finite = 0;
|
|
43
49
|
/**
|
|
44
50
|
* @uiName Show Progress Bar
|
|
51
|
+
* @uiGroup Goal
|
|
45
52
|
*/
|
|
46
53
|
this.showProgressBar = false;
|
|
47
54
|
/**
|
|
48
55
|
* Sets the goal for users progress to know when a task has been completed. If repeatable is checked, repeatable goals is an increment of this.
|
|
49
56
|
*
|
|
50
57
|
* @uiName Goal Completion Number
|
|
58
|
+
* @uiGroup Goal
|
|
51
59
|
*/
|
|
52
60
|
this.goal = 1;
|
|
53
61
|
/**
|
|
54
62
|
* @uiName Progress Bar Steps
|
|
63
|
+
* @uiGroup Goal
|
|
55
64
|
*/
|
|
56
65
|
this.steps = false;
|
|
57
66
|
/**
|
|
58
67
|
* @uiName Progress Bar Unit
|
|
68
|
+
* @uiGroup Goal
|
|
59
69
|
*/
|
|
60
70
|
this.progressBarUnit = "";
|
|
61
71
|
/**
|
|
62
72
|
* @uiName Expiry Date Message
|
|
73
|
+
* @uiGroup Task
|
|
63
74
|
*/
|
|
64
75
|
this.expiryMessage = "Ends {endDate}";
|
|
65
76
|
/**
|
|
66
77
|
* Shown to users before the start of the task duration.
|
|
67
78
|
*
|
|
68
79
|
* @uiName Start Date Message
|
|
80
|
+
* @uiGroup Task
|
|
69
81
|
*/
|
|
70
82
|
this.startsOnMessage = "Starts {startDate}";
|
|
71
83
|
/**
|
|
72
84
|
* Shown to users after the end of the task duration.
|
|
73
85
|
*
|
|
74
86
|
* @uiName Ended Date Message
|
|
87
|
+
* @uiGroup Task
|
|
75
88
|
*/
|
|
76
89
|
this.endedMessage = "Ended {endDate}";
|
|
77
90
|
/**
|
|
78
91
|
* Displays the amount of times that a user has completed a repeatable task.
|
|
79
92
|
*
|
|
80
93
|
* @uiName Completed Count Text
|
|
94
|
+
* @uiGroup Task
|
|
81
95
|
*/
|
|
82
96
|
this.completedText = "Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}";
|
|
83
97
|
/**
|
|
84
98
|
* @uiName CTA Button Text
|
|
99
|
+
* @uiGroup CTA Button
|
|
85
100
|
*/
|
|
86
101
|
this.buttonText = "Complete Action";
|
|
87
102
|
/**
|
|
88
|
-
*
|
|
103
|
+
* CTA Button Link Opens in New Tab
|
|
104
|
+
* @uiName Open In New Tab
|
|
105
|
+
* @uiGroup CTA Button
|
|
106
|
+
* @default undefined
|
|
89
107
|
*/
|
|
90
108
|
this.openNewTab = false;
|
|
91
109
|
withHooks(this);
|
|
@@ -123,6 +141,9 @@ export class TaskCard {
|
|
|
123
141
|
"tags": [{
|
|
124
142
|
"text": "Reward Amount",
|
|
125
143
|
"name": "uiName"
|
|
144
|
+
}, {
|
|
145
|
+
"text": "Reward",
|
|
146
|
+
"name": "uiGroup"
|
|
126
147
|
}],
|
|
127
148
|
"text": ""
|
|
128
149
|
},
|
|
@@ -144,6 +165,9 @@ export class TaskCard {
|
|
|
144
165
|
"tags": [{
|
|
145
166
|
"text": "Reward Unit",
|
|
146
167
|
"name": "uiName"
|
|
168
|
+
}, {
|
|
169
|
+
"text": "Reward",
|
|
170
|
+
"name": "uiGroup"
|
|
147
171
|
}],
|
|
148
172
|
"text": ""
|
|
149
173
|
},
|
|
@@ -165,6 +189,9 @@ export class TaskCard {
|
|
|
165
189
|
"tags": [{
|
|
166
190
|
"text": "Title Text",
|
|
167
191
|
"name": "uiName"
|
|
192
|
+
}, {
|
|
193
|
+
"text": "Task",
|
|
194
|
+
"name": "uiGroup"
|
|
168
195
|
}],
|
|
169
196
|
"text": ""
|
|
170
197
|
},
|
|
@@ -186,6 +213,9 @@ export class TaskCard {
|
|
|
186
213
|
"tags": [{
|
|
187
214
|
"text": "Description Text",
|
|
188
215
|
"name": "uiName"
|
|
216
|
+
}, {
|
|
217
|
+
"text": "Task",
|
|
218
|
+
"name": "uiGroup"
|
|
189
219
|
}],
|
|
190
220
|
"text": ""
|
|
191
221
|
},
|
|
@@ -207,6 +237,9 @@ export class TaskCard {
|
|
|
207
237
|
"tags": [{
|
|
208
238
|
"text": "Goal Repeatable",
|
|
209
239
|
"name": "uiName"
|
|
240
|
+
}, {
|
|
241
|
+
"text": "Goal",
|
|
242
|
+
"name": "uiGroup"
|
|
210
243
|
}],
|
|
211
244
|
"text": ""
|
|
212
245
|
},
|
|
@@ -228,6 +261,9 @@ export class TaskCard {
|
|
|
228
261
|
"tags": [{
|
|
229
262
|
"text": "Repeat Amount",
|
|
230
263
|
"name": "uiName"
|
|
264
|
+
}, {
|
|
265
|
+
"text": "Reward",
|
|
266
|
+
"name": "uiGroup"
|
|
231
267
|
}],
|
|
232
268
|
"text": "The number of times a reward can be earned. Use zero for no limit (the default)."
|
|
233
269
|
},
|
|
@@ -249,6 +285,9 @@ export class TaskCard {
|
|
|
249
285
|
"tags": [{
|
|
250
286
|
"text": "Show Progress Bar",
|
|
251
287
|
"name": "uiName"
|
|
288
|
+
}, {
|
|
289
|
+
"text": "Goal",
|
|
290
|
+
"name": "uiGroup"
|
|
252
291
|
}],
|
|
253
292
|
"text": ""
|
|
254
293
|
},
|
|
@@ -270,6 +309,9 @@ export class TaskCard {
|
|
|
270
309
|
"tags": [{
|
|
271
310
|
"text": "Goal Completion Number",
|
|
272
311
|
"name": "uiName"
|
|
312
|
+
}, {
|
|
313
|
+
"text": "Goal",
|
|
314
|
+
"name": "uiGroup"
|
|
273
315
|
}],
|
|
274
316
|
"text": "Sets the goal for users progress to know when a task has been completed. If repeatable is checked, repeatable goals is an increment of this."
|
|
275
317
|
},
|
|
@@ -291,6 +333,9 @@ export class TaskCard {
|
|
|
291
333
|
"tags": [{
|
|
292
334
|
"text": "Progress Bar Steps",
|
|
293
335
|
"name": "uiName"
|
|
336
|
+
}, {
|
|
337
|
+
"text": "Goal",
|
|
338
|
+
"name": "uiGroup"
|
|
294
339
|
}],
|
|
295
340
|
"text": ""
|
|
296
341
|
},
|
|
@@ -312,6 +357,9 @@ export class TaskCard {
|
|
|
312
357
|
"tags": [{
|
|
313
358
|
"text": "Progress Bar Unit",
|
|
314
359
|
"name": "uiName"
|
|
360
|
+
}, {
|
|
361
|
+
"text": "Goal",
|
|
362
|
+
"name": "uiGroup"
|
|
315
363
|
}],
|
|
316
364
|
"text": ""
|
|
317
365
|
},
|
|
@@ -333,6 +381,9 @@ export class TaskCard {
|
|
|
333
381
|
"tags": [{
|
|
334
382
|
"text": "Expiry Date Message",
|
|
335
383
|
"name": "uiName"
|
|
384
|
+
}, {
|
|
385
|
+
"text": "Task",
|
|
386
|
+
"name": "uiGroup"
|
|
336
387
|
}],
|
|
337
388
|
"text": ""
|
|
338
389
|
},
|
|
@@ -359,7 +410,10 @@ export class TaskCard {
|
|
|
359
410
|
"name": "uiWidget"
|
|
360
411
|
}, {
|
|
361
412
|
"text": "{\"allowPastDates\":true, \"months\": 1}",
|
|
362
|
-
"name": "
|
|
413
|
+
"name": "uiWidgetOptions"
|
|
414
|
+
}, {
|
|
415
|
+
"text": "Reward",
|
|
416
|
+
"name": "uiGroup"
|
|
363
417
|
}],
|
|
364
418
|
"text": ""
|
|
365
419
|
},
|
|
@@ -380,6 +434,9 @@ export class TaskCard {
|
|
|
380
434
|
"tags": [{
|
|
381
435
|
"text": "Start Date Message",
|
|
382
436
|
"name": "uiName"
|
|
437
|
+
}, {
|
|
438
|
+
"text": "Task",
|
|
439
|
+
"name": "uiGroup"
|
|
383
440
|
}],
|
|
384
441
|
"text": "Shown to users before the start of the task duration."
|
|
385
442
|
},
|
|
@@ -406,7 +463,10 @@ export class TaskCard {
|
|
|
406
463
|
"name": "uiWidget"
|
|
407
464
|
}, {
|
|
408
465
|
"text": "{\"allowPastDates\":true, \"months\": 1}",
|
|
409
|
-
"name": "
|
|
466
|
+
"name": "uiWidgetOptions"
|
|
467
|
+
}, {
|
|
468
|
+
"text": "Task",
|
|
469
|
+
"name": "uiGroup"
|
|
410
470
|
}],
|
|
411
471
|
"text": "Timeframe that the task card will be shown"
|
|
412
472
|
},
|
|
@@ -427,6 +487,9 @@ export class TaskCard {
|
|
|
427
487
|
"tags": [{
|
|
428
488
|
"text": "Ended Date Message",
|
|
429
489
|
"name": "uiName"
|
|
490
|
+
}, {
|
|
491
|
+
"text": "Task",
|
|
492
|
+
"name": "uiGroup"
|
|
430
493
|
}],
|
|
431
494
|
"text": "Shown to users after the end of the task duration."
|
|
432
495
|
},
|
|
@@ -448,6 +511,9 @@ export class TaskCard {
|
|
|
448
511
|
"tags": [{
|
|
449
512
|
"text": "Completed Count Text",
|
|
450
513
|
"name": "uiName"
|
|
514
|
+
}, {
|
|
515
|
+
"text": "Task",
|
|
516
|
+
"name": "uiGroup"
|
|
451
517
|
}],
|
|
452
518
|
"text": "Displays the amount of times that a user has completed a repeatable task."
|
|
453
519
|
},
|
|
@@ -469,6 +535,9 @@ export class TaskCard {
|
|
|
469
535
|
"tags": [{
|
|
470
536
|
"text": "CTA Button Text",
|
|
471
537
|
"name": "uiName"
|
|
538
|
+
}, {
|
|
539
|
+
"text": "CTA Button",
|
|
540
|
+
"name": "uiGroup"
|
|
472
541
|
}],
|
|
473
542
|
"text": ""
|
|
474
543
|
},
|
|
@@ -490,6 +559,9 @@ export class TaskCard {
|
|
|
490
559
|
"tags": [{
|
|
491
560
|
"text": "CTA Button Link",
|
|
492
561
|
"name": "uiName"
|
|
562
|
+
}, {
|
|
563
|
+
"text": "CTA Button",
|
|
564
|
+
"name": "uiGroup"
|
|
493
565
|
}],
|
|
494
566
|
"text": ""
|
|
495
567
|
},
|
|
@@ -508,10 +580,16 @@ export class TaskCard {
|
|
|
508
580
|
"optional": false,
|
|
509
581
|
"docs": {
|
|
510
582
|
"tags": [{
|
|
511
|
-
"text": "
|
|
583
|
+
"text": "Open In New Tab",
|
|
512
584
|
"name": "uiName"
|
|
585
|
+
}, {
|
|
586
|
+
"text": "CTA Button",
|
|
587
|
+
"name": "uiGroup"
|
|
588
|
+
}, {
|
|
589
|
+
"text": "undefined",
|
|
590
|
+
"name": "default"
|
|
513
591
|
}],
|
|
514
|
-
"text": ""
|
|
592
|
+
"text": "CTA Button Link Opens in New Tab"
|
|
515
593
|
},
|
|
516
594
|
"attribute": "open-new-tab",
|
|
517
595
|
"reflect": false,
|
|
@@ -536,7 +614,10 @@ export class TaskCard {
|
|
|
536
614
|
"name": "uiName"
|
|
537
615
|
}, {
|
|
538
616
|
"text": "{\"version\": 1.1}",
|
|
539
|
-
"name": "
|
|
617
|
+
"name": "uiWidgetOptions"
|
|
618
|
+
}, {
|
|
619
|
+
"text": "Goal",
|
|
620
|
+
"name": "uiGroup"
|
|
540
621
|
}],
|
|
541
622
|
"text": "Select what type of stat to display for the goal. Manual paths are also supported."
|
|
542
623
|
},
|
|
@@ -555,8 +636,11 @@ export class TaskCard {
|
|
|
555
636
|
"optional": true,
|
|
556
637
|
"docs": {
|
|
557
638
|
"tags": [{
|
|
558
|
-
"text": "
|
|
639
|
+
"text": "Task Card Button Event Key",
|
|
559
640
|
"name": "uiName"
|
|
641
|
+
}, {
|
|
642
|
+
"text": "CTA Button",
|
|
643
|
+
"name": "uiGroup"
|
|
560
644
|
}],
|
|
561
645
|
"text": "Optionally send an event to SaaSquatch when a user clicks the CTA. This field configured what key of the event sent is."
|
|
562
646
|
},
|
|
@@ -575,8 +659,11 @@ export class TaskCard {
|
|
|
575
659
|
"optional": true,
|
|
576
660
|
"docs": {
|
|
577
661
|
"tags": [{
|
|
578
|
-
"text": "Program ID
|
|
662
|
+
"text": "Program ID Override",
|
|
579
663
|
"name": "uiName"
|
|
664
|
+
}, {
|
|
665
|
+
"text": "Goal",
|
|
666
|
+
"name": "uiGroup"
|
|
580
667
|
}],
|
|
581
668
|
"text": "The ID of the program that is used to scope the task card. Defaults to the program context when no ID is specified."
|
|
582
669
|
},
|
|
@@ -5,6 +5,8 @@ import { getProps } from "../../utils/utils";
|
|
|
5
5
|
import { TimelineEntryView } from "./sqm-timeline-entry-view";
|
|
6
6
|
/**
|
|
7
7
|
* @uiName Timeline Entry
|
|
8
|
+
* @validParents ["sqm-timeline"]
|
|
9
|
+
* @example Timeline Entry - <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" icon="circle" > </sqm-timeline-entry>
|
|
8
10
|
*/
|
|
9
11
|
export class TimelineReward {
|
|
10
12
|
constructor() {
|
|
@@ -2,8 +2,10 @@ import { withHooks } from "@saasquatch/stencil-hooks";
|
|
|
2
2
|
import { Component, h, Prop, State } from "@stencil/core";
|
|
3
3
|
import { useChildElements } from "../../tables/useChildElements";
|
|
4
4
|
/**
|
|
5
|
-
* @uiName Timeline
|
|
6
|
-
|
|
5
|
+
* @uiName Program Timeline
|
|
6
|
+
* @slots [{"name":"","title":"Timeline","validChildren":["sqm-timeline-entry"]}]
|
|
7
|
+
* @examples Program Timeline - <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$200" unit="visa giftcard" desc="Our sales team qualifies your friend as a good fit for our Enterprise plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$1000" unit="visa giftcard" desc="Your friend purchases an Enterprise plan" icon="circle" > </sqm-timeline-entry></sqm-timeline>
|
|
8
|
+
*/
|
|
7
9
|
export class Timeline {
|
|
8
10
|
constructor() {
|
|
9
11
|
this.ignored = true;
|
|
@@ -15,14 +15,14 @@ export class TitledSection {
|
|
|
15
15
|
*/
|
|
16
16
|
this.textAlign = "left";
|
|
17
17
|
/**
|
|
18
|
-
* @uiName Label
|
|
18
|
+
* @uiName Label Margin Style
|
|
19
19
|
* @uiType string
|
|
20
20
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
21
21
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
22
22
|
*/
|
|
23
23
|
this.labelMargin = "small";
|
|
24
24
|
/**
|
|
25
|
-
* @uiName Section
|
|
25
|
+
* @uiName Section Padding
|
|
26
26
|
* @uiType string
|
|
27
27
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
28
28
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
@@ -106,7 +106,7 @@ export class TitledSection {
|
|
|
106
106
|
"optional": false,
|
|
107
107
|
"docs": {
|
|
108
108
|
"tags": [{
|
|
109
|
-
"text": "Label
|
|
109
|
+
"text": "Label Margin Style",
|
|
110
110
|
"name": "uiName"
|
|
111
111
|
}, {
|
|
112
112
|
"text": "string",
|
|
@@ -141,7 +141,7 @@ export class TitledSection {
|
|
|
141
141
|
"optional": false,
|
|
142
142
|
"docs": {
|
|
143
143
|
"tags": [{
|
|
144
|
-
"text": "Section
|
|
144
|
+
"text": "Section Padding",
|
|
145
145
|
"name": "uiName"
|
|
146
146
|
}, {
|
|
147
147
|
"text": "string",
|
|
@@ -11,11 +11,12 @@ export class UserName {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this._ignored = true;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Fallback name for unknown users
|
|
15
|
+
* @uiName Fallback Name
|
|
15
16
|
*/
|
|
16
17
|
this.fallback = "Anonymous User";
|
|
17
18
|
/**
|
|
18
|
-
* @uiName Loading
|
|
19
|
+
* @uiName Loading Text
|
|
19
20
|
*/
|
|
20
21
|
this.loadingText = "...";
|
|
21
22
|
withHooks(this);
|
|
@@ -40,10 +41,10 @@ export class UserName {
|
|
|
40
41
|
"optional": false,
|
|
41
42
|
"docs": {
|
|
42
43
|
"tags": [{
|
|
43
|
-
"text": "Fallback
|
|
44
|
+
"text": "Fallback Name",
|
|
44
45
|
"name": "uiName"
|
|
45
46
|
}],
|
|
46
|
-
"text": ""
|
|
47
|
+
"text": "Fallback name for unknown users"
|
|
47
48
|
},
|
|
48
49
|
"attribute": "fallback",
|
|
49
50
|
"reflect": false,
|
|
@@ -61,7 +62,7 @@ export class UserName {
|
|
|
61
62
|
"optional": false,
|
|
62
63
|
"docs": {
|
|
63
64
|
"tags": [{
|
|
64
|
-
"text": "Loading
|
|
65
|
+
"text": "Loading Text",
|
|
65
66
|
"name": "uiName"
|
|
66
67
|
}],
|
|
67
68
|
"text": ""
|