@saasquatch/mint-components 1.6.1-2 → 1.6.1-5
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/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +15 -12
- package/dist/cjs/sqm-empty_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-qa.cjs.entry.js +110 -0
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +12 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-brand/sqm-brand.js +2 -6
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +3 -0
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +11 -10
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +3 -3
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +1 -0
- package/dist/collection/components/sqm-qa/sqm-qa.js +519 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +18 -6
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +4 -0
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +2 -2
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +33 -24
- package/dist/collection/components/sqm-text/sqm-text.js +1 -0
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -0
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.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 +15 -12
- package/dist/esm/sqm-empty_5.entry.js +1 -1
- package/dist/esm/sqm-qa.entry.js +106 -0
- package/dist/esm/sqm-referral-table_11.entry.js +12 -0
- package/dist/esm/sqm-stencilbook.entry.js +3 -3
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-qa.entry.js +1 -0
- 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-0221bfef.system.entry.js +1 -0
- package/dist/mint-components/p-72751bb7.entry.js +1 -0
- package/dist/mint-components/p-77f8351e.system.entry.js +1 -0
- package/dist/mint-components/p-94096609.system.js +1 -1
- package/dist/mint-components/p-987ab546.entry.js +9 -0
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +2 -3
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -0
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +4 -1
- package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +7 -8
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +3 -3
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +1 -0
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +111 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +12 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +1 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +22 -12
- package/dist/types/components/sqm-text/sqm-text.d.ts +1 -0
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components.d.ts +291 -50
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-37ea62c3.entry.js +0 -9
- package/dist/mint-components/p-6e1ed926.system.entry.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -1
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
2
|
+
import { Component, Prop, h } from "@stencil/core";
|
|
3
|
+
/**
|
|
4
|
+
* @uiName QA Component
|
|
5
|
+
*/
|
|
6
|
+
export class ShareButton {
|
|
7
|
+
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* Description here
|
|
10
|
+
* @uiName Text Input
|
|
11
|
+
*/
|
|
12
|
+
this.textInput = "short text string";
|
|
13
|
+
/**
|
|
14
|
+
* Description here
|
|
15
|
+
* @uiName Number Input
|
|
16
|
+
*/
|
|
17
|
+
this.numberInput = 5;
|
|
18
|
+
/**
|
|
19
|
+
* Description here
|
|
20
|
+
* @uiName Boolean Switch
|
|
21
|
+
*/
|
|
22
|
+
this.booleanSwitch = true;
|
|
23
|
+
/**
|
|
24
|
+
* Description here
|
|
25
|
+
* @uiName Text Area Input
|
|
26
|
+
* @uiWidget Text Area
|
|
27
|
+
*/
|
|
28
|
+
this.textAreaInput = "Really Really Really long text";
|
|
29
|
+
/**
|
|
30
|
+
* Description here
|
|
31
|
+
* @uiName String Enum Select
|
|
32
|
+
* @enum ["option1","option2","option3"]
|
|
33
|
+
* @enumNames ["Option 1", "Option 2", "Option 3"]
|
|
34
|
+
*/
|
|
35
|
+
this.stringEnumSelect = "option2";
|
|
36
|
+
/**
|
|
37
|
+
* Description here
|
|
38
|
+
* @uiName Number Enum Select
|
|
39
|
+
* @enum [1,2,3]
|
|
40
|
+
* @enumNames ["Option 1", "Option 2", "Option 3"]
|
|
41
|
+
*/
|
|
42
|
+
this.numberEnumSelect = 3;
|
|
43
|
+
/**
|
|
44
|
+
* Description here
|
|
45
|
+
* @uiName Color
|
|
46
|
+
* @uiWidget color
|
|
47
|
+
* @format color
|
|
48
|
+
*/
|
|
49
|
+
this.color = "blue";
|
|
50
|
+
/**
|
|
51
|
+
* Description here
|
|
52
|
+
* @uiName Image Upload
|
|
53
|
+
* @uiWidget imageUpload
|
|
54
|
+
* @format url
|
|
55
|
+
*/
|
|
56
|
+
this.imageUpload = "https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png";
|
|
57
|
+
/**
|
|
58
|
+
* Description here
|
|
59
|
+
* @uiName Date Interval
|
|
60
|
+
* @uiWidget dateInterval
|
|
61
|
+
* @format date-interval
|
|
62
|
+
*/
|
|
63
|
+
this.dateInterval = "2020-07-07T12:00:00-08:00/2021-08-08T12:00:00-08:00";
|
|
64
|
+
/**
|
|
65
|
+
* Description here
|
|
66
|
+
* @uiName Stat Selector
|
|
67
|
+
* @uiWidget statTypeSelectWidget
|
|
68
|
+
*/
|
|
69
|
+
this.statSelector = "/referralCount";
|
|
70
|
+
/**
|
|
71
|
+
* Description here
|
|
72
|
+
* @uiName Program Selector
|
|
73
|
+
* @uiWidget programSelector
|
|
74
|
+
*/
|
|
75
|
+
this.programSelector = "program1";
|
|
76
|
+
/**
|
|
77
|
+
* Description here
|
|
78
|
+
* @uiName Number Max 7
|
|
79
|
+
*/
|
|
80
|
+
this.max = 6;
|
|
81
|
+
/**
|
|
82
|
+
* Description here
|
|
83
|
+
* @uiName Number Min 7
|
|
84
|
+
* @min 7
|
|
85
|
+
*/
|
|
86
|
+
this.min = 8;
|
|
87
|
+
/**
|
|
88
|
+
* Description here
|
|
89
|
+
* @uiName String Max Length 10
|
|
90
|
+
* @maxLength 10
|
|
91
|
+
*/
|
|
92
|
+
this.maxLength = "default";
|
|
93
|
+
/**
|
|
94
|
+
* Description here
|
|
95
|
+
* @uiName String Min Length 10
|
|
96
|
+
* @minLength 10
|
|
97
|
+
*/
|
|
98
|
+
this.minLength = "default text";
|
|
99
|
+
withHooks(this);
|
|
100
|
+
}
|
|
101
|
+
disconnectedCallback() { }
|
|
102
|
+
render() {
|
|
103
|
+
return (h("div", null,
|
|
104
|
+
h("h1", null, "I am the QA Component")));
|
|
105
|
+
}
|
|
106
|
+
static get is() { return "sqm-qa"; }
|
|
107
|
+
static get encapsulation() { return "shadow"; }
|
|
108
|
+
static get properties() { return {
|
|
109
|
+
"textInput": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "string",
|
|
114
|
+
"resolved": "string",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": true,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [{
|
|
121
|
+
"text": "Text Input",
|
|
122
|
+
"name": "uiName"
|
|
123
|
+
}],
|
|
124
|
+
"text": "Description here"
|
|
125
|
+
},
|
|
126
|
+
"attribute": "text-input",
|
|
127
|
+
"reflect": false,
|
|
128
|
+
"defaultValue": "\"short text string\""
|
|
129
|
+
},
|
|
130
|
+
"numberInput": {
|
|
131
|
+
"type": "number",
|
|
132
|
+
"mutable": false,
|
|
133
|
+
"complexType": {
|
|
134
|
+
"original": "number",
|
|
135
|
+
"resolved": "number",
|
|
136
|
+
"references": {}
|
|
137
|
+
},
|
|
138
|
+
"required": false,
|
|
139
|
+
"optional": true,
|
|
140
|
+
"docs": {
|
|
141
|
+
"tags": [{
|
|
142
|
+
"text": "Number Input",
|
|
143
|
+
"name": "uiName"
|
|
144
|
+
}],
|
|
145
|
+
"text": "Description here"
|
|
146
|
+
},
|
|
147
|
+
"attribute": "number-input",
|
|
148
|
+
"reflect": false,
|
|
149
|
+
"defaultValue": "5"
|
|
150
|
+
},
|
|
151
|
+
"booleanSwitch": {
|
|
152
|
+
"type": "boolean",
|
|
153
|
+
"mutable": false,
|
|
154
|
+
"complexType": {
|
|
155
|
+
"original": "boolean",
|
|
156
|
+
"resolved": "boolean",
|
|
157
|
+
"references": {}
|
|
158
|
+
},
|
|
159
|
+
"required": false,
|
|
160
|
+
"optional": true,
|
|
161
|
+
"docs": {
|
|
162
|
+
"tags": [{
|
|
163
|
+
"text": "Boolean Switch",
|
|
164
|
+
"name": "uiName"
|
|
165
|
+
}],
|
|
166
|
+
"text": "Description here"
|
|
167
|
+
},
|
|
168
|
+
"attribute": "boolean-switch",
|
|
169
|
+
"reflect": false,
|
|
170
|
+
"defaultValue": "true"
|
|
171
|
+
},
|
|
172
|
+
"textAreaInput": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"mutable": false,
|
|
175
|
+
"complexType": {
|
|
176
|
+
"original": "string",
|
|
177
|
+
"resolved": "string",
|
|
178
|
+
"references": {}
|
|
179
|
+
},
|
|
180
|
+
"required": false,
|
|
181
|
+
"optional": true,
|
|
182
|
+
"docs": {
|
|
183
|
+
"tags": [{
|
|
184
|
+
"text": "Text Area Input",
|
|
185
|
+
"name": "uiName"
|
|
186
|
+
}, {
|
|
187
|
+
"text": "Text Area",
|
|
188
|
+
"name": "uiWidget"
|
|
189
|
+
}],
|
|
190
|
+
"text": "Description here"
|
|
191
|
+
},
|
|
192
|
+
"attribute": "text-area-input",
|
|
193
|
+
"reflect": false,
|
|
194
|
+
"defaultValue": "\"Really Really Really long text\""
|
|
195
|
+
},
|
|
196
|
+
"stringEnumSelect": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"mutable": false,
|
|
199
|
+
"complexType": {
|
|
200
|
+
"original": "string",
|
|
201
|
+
"resolved": "string",
|
|
202
|
+
"references": {}
|
|
203
|
+
},
|
|
204
|
+
"required": false,
|
|
205
|
+
"optional": true,
|
|
206
|
+
"docs": {
|
|
207
|
+
"tags": [{
|
|
208
|
+
"text": "String Enum Select",
|
|
209
|
+
"name": "uiName"
|
|
210
|
+
}, {
|
|
211
|
+
"text": undefined,
|
|
212
|
+
"name": "enum"
|
|
213
|
+
}, {
|
|
214
|
+
"text": "[\"Option 1\", \"Option 2\", \"Option 3\"]",
|
|
215
|
+
"name": "enumNames"
|
|
216
|
+
}],
|
|
217
|
+
"text": "Description here"
|
|
218
|
+
},
|
|
219
|
+
"attribute": "string-enum-select",
|
|
220
|
+
"reflect": false,
|
|
221
|
+
"defaultValue": "\"option2\""
|
|
222
|
+
},
|
|
223
|
+
"numberEnumSelect": {
|
|
224
|
+
"type": "number",
|
|
225
|
+
"mutable": false,
|
|
226
|
+
"complexType": {
|
|
227
|
+
"original": "number",
|
|
228
|
+
"resolved": "number",
|
|
229
|
+
"references": {}
|
|
230
|
+
},
|
|
231
|
+
"required": false,
|
|
232
|
+
"optional": true,
|
|
233
|
+
"docs": {
|
|
234
|
+
"tags": [{
|
|
235
|
+
"text": "Number Enum Select",
|
|
236
|
+
"name": "uiName"
|
|
237
|
+
}, {
|
|
238
|
+
"text": undefined,
|
|
239
|
+
"name": "enum"
|
|
240
|
+
}, {
|
|
241
|
+
"text": "[\"Option 1\", \"Option 2\", \"Option 3\"]",
|
|
242
|
+
"name": "enumNames"
|
|
243
|
+
}],
|
|
244
|
+
"text": "Description here"
|
|
245
|
+
},
|
|
246
|
+
"attribute": "number-enum-select",
|
|
247
|
+
"reflect": false,
|
|
248
|
+
"defaultValue": "3"
|
|
249
|
+
},
|
|
250
|
+
"color": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"mutable": false,
|
|
253
|
+
"complexType": {
|
|
254
|
+
"original": "string",
|
|
255
|
+
"resolved": "string",
|
|
256
|
+
"references": {}
|
|
257
|
+
},
|
|
258
|
+
"required": false,
|
|
259
|
+
"optional": true,
|
|
260
|
+
"docs": {
|
|
261
|
+
"tags": [{
|
|
262
|
+
"text": "Color",
|
|
263
|
+
"name": "uiName"
|
|
264
|
+
}, {
|
|
265
|
+
"text": "color",
|
|
266
|
+
"name": "uiWidget"
|
|
267
|
+
}, {
|
|
268
|
+
"text": "color",
|
|
269
|
+
"name": "format"
|
|
270
|
+
}],
|
|
271
|
+
"text": "Description here"
|
|
272
|
+
},
|
|
273
|
+
"attribute": "color",
|
|
274
|
+
"reflect": false,
|
|
275
|
+
"defaultValue": "\"blue\""
|
|
276
|
+
},
|
|
277
|
+
"imageUpload": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"mutable": false,
|
|
280
|
+
"complexType": {
|
|
281
|
+
"original": "string",
|
|
282
|
+
"resolved": "string",
|
|
283
|
+
"references": {}
|
|
284
|
+
},
|
|
285
|
+
"required": false,
|
|
286
|
+
"optional": true,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [{
|
|
289
|
+
"text": "Image Upload",
|
|
290
|
+
"name": "uiName"
|
|
291
|
+
}, {
|
|
292
|
+
"text": "imageUpload",
|
|
293
|
+
"name": "uiWidget"
|
|
294
|
+
}, {
|
|
295
|
+
"text": "url",
|
|
296
|
+
"name": "format"
|
|
297
|
+
}],
|
|
298
|
+
"text": "Description here"
|
|
299
|
+
},
|
|
300
|
+
"attribute": "image-upload",
|
|
301
|
+
"reflect": false,
|
|
302
|
+
"defaultValue": "\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\""
|
|
303
|
+
},
|
|
304
|
+
"dateInterval": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"mutable": false,
|
|
307
|
+
"complexType": {
|
|
308
|
+
"original": "string",
|
|
309
|
+
"resolved": "string",
|
|
310
|
+
"references": {}
|
|
311
|
+
},
|
|
312
|
+
"required": false,
|
|
313
|
+
"optional": true,
|
|
314
|
+
"docs": {
|
|
315
|
+
"tags": [{
|
|
316
|
+
"text": "Date Interval",
|
|
317
|
+
"name": "uiName"
|
|
318
|
+
}, {
|
|
319
|
+
"text": "dateInterval",
|
|
320
|
+
"name": "uiWidget"
|
|
321
|
+
}, {
|
|
322
|
+
"text": "date-interval",
|
|
323
|
+
"name": "format"
|
|
324
|
+
}],
|
|
325
|
+
"text": "Description here"
|
|
326
|
+
},
|
|
327
|
+
"attribute": "date-interval",
|
|
328
|
+
"reflect": false,
|
|
329
|
+
"defaultValue": "\"2020-07-07T12:00:00-08:00/2021-08-08T12:00:00-08:00\""
|
|
330
|
+
},
|
|
331
|
+
"statSelector": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"mutable": false,
|
|
334
|
+
"complexType": {
|
|
335
|
+
"original": "string",
|
|
336
|
+
"resolved": "string",
|
|
337
|
+
"references": {}
|
|
338
|
+
},
|
|
339
|
+
"required": false,
|
|
340
|
+
"optional": true,
|
|
341
|
+
"docs": {
|
|
342
|
+
"tags": [{
|
|
343
|
+
"text": "Stat Selector",
|
|
344
|
+
"name": "uiName"
|
|
345
|
+
}, {
|
|
346
|
+
"text": "statTypeSelectWidget",
|
|
347
|
+
"name": "uiWidget"
|
|
348
|
+
}],
|
|
349
|
+
"text": "Description here"
|
|
350
|
+
},
|
|
351
|
+
"attribute": "stat-selector",
|
|
352
|
+
"reflect": false,
|
|
353
|
+
"defaultValue": "\"/referralCount\""
|
|
354
|
+
},
|
|
355
|
+
"programSelector": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"mutable": false,
|
|
358
|
+
"complexType": {
|
|
359
|
+
"original": "string",
|
|
360
|
+
"resolved": "string",
|
|
361
|
+
"references": {}
|
|
362
|
+
},
|
|
363
|
+
"required": false,
|
|
364
|
+
"optional": true,
|
|
365
|
+
"docs": {
|
|
366
|
+
"tags": [{
|
|
367
|
+
"text": "Program Selector",
|
|
368
|
+
"name": "uiName"
|
|
369
|
+
}, {
|
|
370
|
+
"text": "programSelector",
|
|
371
|
+
"name": "uiWidget"
|
|
372
|
+
}],
|
|
373
|
+
"text": "Description here"
|
|
374
|
+
},
|
|
375
|
+
"attribute": "program-selector",
|
|
376
|
+
"reflect": false,
|
|
377
|
+
"defaultValue": "\"program1\""
|
|
378
|
+
},
|
|
379
|
+
"stringRequired": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"mutable": false,
|
|
382
|
+
"complexType": {
|
|
383
|
+
"original": "string",
|
|
384
|
+
"resolved": "string",
|
|
385
|
+
"references": {}
|
|
386
|
+
},
|
|
387
|
+
"required": false,
|
|
388
|
+
"optional": true,
|
|
389
|
+
"docs": {
|
|
390
|
+
"tags": [{
|
|
391
|
+
"text": "String Required",
|
|
392
|
+
"name": "uiName"
|
|
393
|
+
}, {
|
|
394
|
+
"text": undefined,
|
|
395
|
+
"name": "required"
|
|
396
|
+
}],
|
|
397
|
+
"text": "Description here"
|
|
398
|
+
},
|
|
399
|
+
"attribute": "string-required",
|
|
400
|
+
"reflect": false
|
|
401
|
+
},
|
|
402
|
+
"numberRequired": {
|
|
403
|
+
"type": "number",
|
|
404
|
+
"mutable": false,
|
|
405
|
+
"complexType": {
|
|
406
|
+
"original": "number",
|
|
407
|
+
"resolved": "number",
|
|
408
|
+
"references": {}
|
|
409
|
+
},
|
|
410
|
+
"required": false,
|
|
411
|
+
"optional": true,
|
|
412
|
+
"docs": {
|
|
413
|
+
"tags": [{
|
|
414
|
+
"text": "Number Required",
|
|
415
|
+
"name": "uiName"
|
|
416
|
+
}, {
|
|
417
|
+
"text": undefined,
|
|
418
|
+
"name": "required"
|
|
419
|
+
}],
|
|
420
|
+
"text": "Description here"
|
|
421
|
+
},
|
|
422
|
+
"attribute": "number-required",
|
|
423
|
+
"reflect": false
|
|
424
|
+
},
|
|
425
|
+
"max": {
|
|
426
|
+
"type": "number",
|
|
427
|
+
"mutable": false,
|
|
428
|
+
"complexType": {
|
|
429
|
+
"original": "number",
|
|
430
|
+
"resolved": "number",
|
|
431
|
+
"references": {}
|
|
432
|
+
},
|
|
433
|
+
"required": false,
|
|
434
|
+
"optional": true,
|
|
435
|
+
"docs": {
|
|
436
|
+
"tags": [{
|
|
437
|
+
"text": "Number Max 7",
|
|
438
|
+
"name": "uiName"
|
|
439
|
+
}],
|
|
440
|
+
"text": "Description here"
|
|
441
|
+
},
|
|
442
|
+
"attribute": "max",
|
|
443
|
+
"reflect": false,
|
|
444
|
+
"defaultValue": "6"
|
|
445
|
+
},
|
|
446
|
+
"min": {
|
|
447
|
+
"type": "number",
|
|
448
|
+
"mutable": false,
|
|
449
|
+
"complexType": {
|
|
450
|
+
"original": "number",
|
|
451
|
+
"resolved": "number",
|
|
452
|
+
"references": {}
|
|
453
|
+
},
|
|
454
|
+
"required": false,
|
|
455
|
+
"optional": true,
|
|
456
|
+
"docs": {
|
|
457
|
+
"tags": [{
|
|
458
|
+
"text": "Number Min 7",
|
|
459
|
+
"name": "uiName"
|
|
460
|
+
}, {
|
|
461
|
+
"text": "7",
|
|
462
|
+
"name": "min"
|
|
463
|
+
}],
|
|
464
|
+
"text": "Description here"
|
|
465
|
+
},
|
|
466
|
+
"attribute": "min",
|
|
467
|
+
"reflect": false,
|
|
468
|
+
"defaultValue": "8"
|
|
469
|
+
},
|
|
470
|
+
"maxLength": {
|
|
471
|
+
"type": "string",
|
|
472
|
+
"mutable": false,
|
|
473
|
+
"complexType": {
|
|
474
|
+
"original": "string",
|
|
475
|
+
"resolved": "string",
|
|
476
|
+
"references": {}
|
|
477
|
+
},
|
|
478
|
+
"required": false,
|
|
479
|
+
"optional": true,
|
|
480
|
+
"docs": {
|
|
481
|
+
"tags": [{
|
|
482
|
+
"text": "String Max Length 10",
|
|
483
|
+
"name": "uiName"
|
|
484
|
+
}, {
|
|
485
|
+
"text": "10",
|
|
486
|
+
"name": "maxLength"
|
|
487
|
+
}],
|
|
488
|
+
"text": "Description here"
|
|
489
|
+
},
|
|
490
|
+
"attribute": "max-length",
|
|
491
|
+
"reflect": false,
|
|
492
|
+
"defaultValue": "\"default\""
|
|
493
|
+
},
|
|
494
|
+
"minLength": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"mutable": false,
|
|
497
|
+
"complexType": {
|
|
498
|
+
"original": "string",
|
|
499
|
+
"resolved": "string",
|
|
500
|
+
"references": {}
|
|
501
|
+
},
|
|
502
|
+
"required": false,
|
|
503
|
+
"optional": true,
|
|
504
|
+
"docs": {
|
|
505
|
+
"tags": [{
|
|
506
|
+
"text": "String Min Length 10",
|
|
507
|
+
"name": "uiName"
|
|
508
|
+
}, {
|
|
509
|
+
"text": "10",
|
|
510
|
+
"name": "minLength"
|
|
511
|
+
}],
|
|
512
|
+
"text": "Description here"
|
|
513
|
+
},
|
|
514
|
+
"attribute": "min-length",
|
|
515
|
+
"reflect": false,
|
|
516
|
+
"defaultValue": "\"default text\""
|
|
517
|
+
}
|
|
518
|
+
}; }
|
|
519
|
+
}
|
|
@@ -15,7 +15,7 @@ export class ReferralCard {
|
|
|
15
15
|
* @uiName Vertical Aligment
|
|
16
16
|
* @uiType string
|
|
17
17
|
* @uiEnum ["start", "center", "end"]
|
|
18
|
-
* @uiEnumNames ["
|
|
18
|
+
* @uiEnumNames ["Top", "Center", "Bottom"]
|
|
19
19
|
*/
|
|
20
20
|
this.verticalAlignment = "start";
|
|
21
21
|
withHooks(this);
|
|
@@ -53,7 +53,7 @@ export class ReferralCard {
|
|
|
53
53
|
"text": "[\"start\", \"center\", \"end\"]",
|
|
54
54
|
"name": "uiEnum"
|
|
55
55
|
}, {
|
|
56
|
-
"text": "[\"
|
|
56
|
+
"text": "[\"Top\", \"Center\", \"Bottom\"]",
|
|
57
57
|
"name": "uiEnumNames"
|
|
58
58
|
}],
|
|
59
59
|
"text": ""
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js
CHANGED
|
@@ -14,28 +14,40 @@ export class ReferralTableRewardsColumn {
|
|
|
14
14
|
*/
|
|
15
15
|
this.columnTitle = "Rewards";
|
|
16
16
|
/**
|
|
17
|
+
* Text shown in the reward status badge.
|
|
18
|
+
*
|
|
17
19
|
* @uiName Reward Status Text
|
|
18
20
|
* @uiWidget textArea
|
|
19
21
|
*/
|
|
20
22
|
this.statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";
|
|
21
23
|
/**
|
|
24
|
+
* Additional status text shown in the details drop down.
|
|
25
|
+
*
|
|
22
26
|
* @uiName Reward Status Long Text
|
|
23
27
|
* @uiWidget textArea
|
|
24
28
|
*/
|
|
25
29
|
this.statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }";
|
|
26
30
|
/**
|
|
31
|
+
* Shown in the dropdown details when a reward has an associated fuel tank code.
|
|
32
|
+
*
|
|
27
33
|
* @uiName Fuel Tank Code Text
|
|
28
34
|
*/
|
|
29
35
|
this.fuelTankText = "Your code is";
|
|
30
36
|
/**
|
|
37
|
+
* Shown in the dropdown details when a reward has been received.’
|
|
38
|
+
*
|
|
31
39
|
* @uiName Reward Received Text
|
|
32
40
|
*/
|
|
33
41
|
this.rewardReceivedText = "Reward received on";
|
|
34
42
|
/**
|
|
43
|
+
* Shown in the dropdown details when a reward has an expiry date.
|
|
44
|
+
*
|
|
35
45
|
* @uiName Reward Expiring Text
|
|
36
46
|
*/
|
|
37
47
|
this.expiringText = "Expiring in";
|
|
38
48
|
/**
|
|
49
|
+
* Shown in the dropdown details when a reward is pending.
|
|
50
|
+
*
|
|
39
51
|
* @uiName Reward Pending Text
|
|
40
52
|
*/
|
|
41
53
|
this.pendingForText = "{status} for {date}";
|
|
@@ -112,7 +124,7 @@ export class ReferralTableRewardsColumn {
|
|
|
112
124
|
"text": "textArea",
|
|
113
125
|
"name": "uiWidget"
|
|
114
126
|
}],
|
|
115
|
-
"text": ""
|
|
127
|
+
"text": "Text shown in the reward status badge."
|
|
116
128
|
},
|
|
117
129
|
"attribute": "status-text",
|
|
118
130
|
"reflect": false,
|
|
@@ -136,7 +148,7 @@ export class ReferralTableRewardsColumn {
|
|
|
136
148
|
"text": "textArea",
|
|
137
149
|
"name": "uiWidget"
|
|
138
150
|
}],
|
|
139
|
-
"text": ""
|
|
151
|
+
"text": "Additional status text shown in the details drop down."
|
|
140
152
|
},
|
|
141
153
|
"attribute": "status-long-text",
|
|
142
154
|
"reflect": false,
|
|
@@ -157,7 +169,7 @@ export class ReferralTableRewardsColumn {
|
|
|
157
169
|
"text": "Fuel Tank Code Text",
|
|
158
170
|
"name": "uiName"
|
|
159
171
|
}],
|
|
160
|
-
"text": ""
|
|
172
|
+
"text": "Shown in the dropdown details when a reward has an associated fuel tank code."
|
|
161
173
|
},
|
|
162
174
|
"attribute": "fuel-tank-text",
|
|
163
175
|
"reflect": false,
|
|
@@ -178,7 +190,7 @@ export class ReferralTableRewardsColumn {
|
|
|
178
190
|
"text": "Reward Received Text",
|
|
179
191
|
"name": "uiName"
|
|
180
192
|
}],
|
|
181
|
-
"text": ""
|
|
193
|
+
"text": "Shown in the dropdown details when a reward has been received.\u2019"
|
|
182
194
|
},
|
|
183
195
|
"attribute": "reward-received-text",
|
|
184
196
|
"reflect": false,
|
|
@@ -199,7 +211,7 @@ export class ReferralTableRewardsColumn {
|
|
|
199
211
|
"text": "Reward Expiring Text",
|
|
200
212
|
"name": "uiName"
|
|
201
213
|
}],
|
|
202
|
-
"text": ""
|
|
214
|
+
"text": "Shown in the dropdown details when a reward has an expiry date."
|
|
203
215
|
},
|
|
204
216
|
"attribute": "expiring-text",
|
|
205
217
|
"reflect": false,
|
|
@@ -220,7 +232,7 @@ export class ReferralTableRewardsColumn {
|
|
|
220
232
|
"text": "Reward Pending Text",
|
|
221
233
|
"name": "uiName"
|
|
222
234
|
}],
|
|
223
|
-
"text": ""
|
|
235
|
+
"text": "Shown in the dropdown details when a reward is pending."
|
|
224
236
|
},
|
|
225
237
|
"attribute": "pending-for-text",
|
|
226
238
|
"reflect": false,
|
|
@@ -91,6 +91,7 @@ export class SqmRewardExchangeList {
|
|
|
91
91
|
this.doneText = "Done";
|
|
92
92
|
/**
|
|
93
93
|
* @uiName Select Amount Text
|
|
94
|
+
* @uiWidget textArea
|
|
94
95
|
*/
|
|
95
96
|
this.selectText = "Select amount to receive";
|
|
96
97
|
/**
|
|
@@ -500,6 +501,9 @@ export class SqmRewardExchangeList {
|
|
|
500
501
|
"tags": [{
|
|
501
502
|
"text": "Select Amount Text",
|
|
502
503
|
"name": "uiName"
|
|
504
|
+
}, {
|
|
505
|
+
"text": "textArea",
|
|
506
|
+
"name": "uiWidget"
|
|
503
507
|
}],
|
|
504
508
|
"text": ""
|
|
505
509
|
},
|
|
@@ -13,7 +13,7 @@ import deepmerge from "deepmerge";
|
|
|
13
13
|
export class ShareCode {
|
|
14
14
|
constructor() {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Shown inside a tooltip after someone has successfully copied the link to their clipboard.
|
|
17
17
|
*
|
|
18
18
|
* @uiName Tooltip Text
|
|
19
19
|
*/
|
|
@@ -75,7 +75,7 @@ export class ShareCode {
|
|
|
75
75
|
"text": "Tooltip Text",
|
|
76
76
|
"name": "uiName"
|
|
77
77
|
}],
|
|
78
|
-
"text": "
|
|
78
|
+
"text": "Shown inside a tooltip after someone has successfully copied the link to their clipboard."
|
|
79
79
|
},
|
|
80
80
|
"attribute": "tooltip-text",
|
|
81
81
|
"reflect": false,
|
|
@@ -13,7 +13,7 @@ import deepmerge from "deepmerge";
|
|
|
13
13
|
export class ShareLink {
|
|
14
14
|
constructor() {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Shown inside a tooltip after someone has successfully copied the link to their clipboard.
|
|
17
17
|
*
|
|
18
18
|
* @uiName Tooltip Text
|
|
19
19
|
*/
|
|
@@ -75,7 +75,7 @@ export class ShareLink {
|
|
|
75
75
|
"text": "Tooltip Text",
|
|
76
76
|
"name": "uiName"
|
|
77
77
|
}],
|
|
78
|
-
"text": "
|
|
78
|
+
"text": "Shown inside a tooltip after someone has successfully copied the link to their clipboard."
|
|
79
79
|
},
|
|
80
80
|
"attribute": "tooltip-text",
|
|
81
81
|
"reflect": false,
|