@saasquatch/vanilla-components 1.2.3-0 → 1.2.4-0
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/{WidgetHost-18a663ee.js → WidgetHost-d7b870ce.js} +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sqh-close-button.cjs.entry.js +9 -4
- package/dist/cjs/sqh-copy-button_12.cjs.entry.js +184 -9
- package/dist/cjs/sqh-referral-code.cjs.entry.js +1 -1
- package/dist/cjs/sqh-rewards-actions.cjs.entry.js +15 -0
- package/dist/cjs/widget-components.cjs.js +1 -1
- package/dist/collection/components/close-button/close-button.js +14 -3
- package/dist/collection/components/copy-button/copy-button.js +117 -24
- package/dist/collection/components/copy-link-button/copy-link-button.js +60 -12
- package/dist/collection/components/global-container/global-container.js +53 -10
- package/dist/collection/components/image-component/image-component.js +54 -12
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +41 -11
- package/dist/collection/components/referral-code/referral-code.js +3 -0
- package/dist/collection/components/referral-component/referral-component.js +28 -10
- package/dist/collection/components/referral-list/referral-list.js +320 -59
- package/dist/collection/components/rewards-actions/rewards-actions.js +33 -6
- package/dist/collection/components/share-button/share-button.js +76 -22
- package/dist/collection/components/share-button-container/share-button-container.js +1097 -164
- package/dist/collection/components/stat-component/stat-component.js +40 -10
- package/dist/collection/components/stats-container/stats-container.js +30 -6
- package/dist/collection/components/text-component/text-component.js +70 -43
- package/dist/collection/services/WidgetHost.js +1 -0
- package/dist/esm/{WidgetHost-d643a9de.js → WidgetHost-a27e693d.js} +1 -0
- package/dist/esm/loader.mjs +1 -1
- package/dist/esm/sqh-close-button.entry.js +9 -4
- package/dist/esm/sqh-copy-button_12.entry.js +183 -8
- package/dist/esm/sqh-referral-code.entry.js +1 -1
- package/dist/esm/sqh-rewards-actions.entry.js +15 -0
- package/dist/esm/widget-components.mjs +1 -1
- package/dist/esm-es5/{WidgetHost-d643a9de.js → WidgetHost-a27e693d.js} +2 -2
- package/dist/esm-es5/loader.mjs +1 -1
- package/dist/esm-es5/sqh-close-button.entry.js +15 -10
- package/dist/esm-es5/sqh-copy-button_12.entry.js +201 -26
- package/dist/esm-es5/sqh-referral-code.entry.js +1 -1
- package/dist/esm-es5/sqh-rewards-actions.entry.js +15 -0
- package/dist/esm-es5/widget-components.mjs +1 -1
- package/dist/types/components/close-button/close-button.d.ts +9 -1
- package/dist/types/components/copy-button/copy-button.d.ts +81 -0
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +42 -0
- package/dist/types/components/global-container/global-container.d.ts +37 -0
- package/dist/types/components/image-component/image-component.d.ts +41 -0
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +33 -1
- package/dist/types/components/referral-code/referral-code.d.ts +3 -0
- package/dist/types/components/referral-component/referral-component.d.ts +28 -0
- package/dist/types/components/referral-list/referral-list.d.ts +205 -0
- package/dist/types/components/rewards-actions/rewards-actions.d.ts +18 -0
- package/dist/types/components/share-button/share-button.d.ts +64 -0
- package/dist/types/components/share-button-container/share-button-container.d.ts +584 -0
- package/dist/types/components/stat-component/stat-component.d.ts +31 -0
- package/dist/types/components/stats-container/stats-container.d.ts +21 -0
- package/dist/types/components/text-component/text-component.d.ts +62 -1
- package/dist/types/components.d.ts +2052 -2
- package/dist/widget-components/p-58be1132.system.js +1 -1
- package/dist/widget-components/{p-afd88281.entry.js → p-650d012d.entry.js} +1 -1
- package/dist/widget-components/p-908068c2.system.entry.js +1 -0
- package/dist/widget-components/{p-b4a53a7e.js → p-9525bf4a.js} +1 -0
- package/dist/widget-components/{p-3a627e51.system.js → p-9adc7c50.system.js} +1 -1
- package/dist/widget-components/{p-fd5e98db.system.entry.js → p-c0cdba77.system.entry.js} +1 -1
- package/dist/widget-components/{p-126c2b5d.entry.js → p-d4b27c72.entry.js} +1 -1
- package/dist/widget-components/{p-10f0b8fc.entry.js → p-d7059393.entry.js} +3 -3
- package/dist/widget-components/{p-edc35bc4.system.entry.js → p-fba5ea7f.system.entry.js} +2 -2
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/docs/raisins.json +1 -0
- package/package.json +12 -5
- package/dist/widget-components/p-023e8818.system.entry.js +0 -1
|
@@ -4,7 +4,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { r as registerInstance, h, c as createEvent, g as getElement } from './index-8ea8b6d8.js';
|
|
6
6
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-1d681858.js';
|
|
7
|
-
import { A as API } from './WidgetHost-
|
|
7
|
+
import { A as API } from './WidgetHost-a27e693d.js';
|
|
8
8
|
/////////////////////////////////////
|
|
9
9
|
////// ////
|
|
10
10
|
///// Color Utility Functions /////
|
|
@@ -2296,35 +2296,35 @@ var ImageComponent = /** @class */ (function () {
|
|
|
2296
2296
|
}());
|
|
2297
2297
|
ImageComponent.style = imageComponentCss;
|
|
2298
2298
|
var partnerStatComponentCss = "sqh-partner-stat-component{text-align:center;width:140px;float:left}sqh-partner-stat-component>div{padding:10px}sqh-partner-stat-component .stat-value{font-size:20px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-partner-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-partner-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-partner-stat-component:first-child{border-radius:4px 4px 0 0}sqh-partner-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-partner-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-partner-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
|
|
2299
|
-
var
|
|
2300
|
-
function
|
|
2299
|
+
var PartnerStatComponent = /** @class */ (function () {
|
|
2300
|
+
function PartnerStatComponent(hostRef) {
|
|
2301
2301
|
registerInstance(this, hostRef);
|
|
2302
2302
|
this.statTypeUpdated = createEvent(this, "statTypeUpdated", 7);
|
|
2303
2303
|
this.statAdded = createEvent(this, "statAdded", 7);
|
|
2304
2304
|
}
|
|
2305
|
-
|
|
2305
|
+
PartnerStatComponent.prototype.componentWillLoad = function () {
|
|
2306
2306
|
this.statAddedHandler(this.elem);
|
|
2307
2307
|
};
|
|
2308
|
-
|
|
2308
|
+
PartnerStatComponent.prototype.stattypeHandler = function (newValue, oldValue) {
|
|
2309
2309
|
if (newValue !== oldValue)
|
|
2310
2310
|
this.statTypeUpdatedHandler(this.elem);
|
|
2311
2311
|
};
|
|
2312
|
-
|
|
2312
|
+
PartnerStatComponent.prototype.statAddedHandler = function (stat) {
|
|
2313
2313
|
this.statAdded.emit(stat);
|
|
2314
2314
|
};
|
|
2315
|
-
|
|
2315
|
+
PartnerStatComponent.prototype.statTypeUpdatedHandler = function (stat) {
|
|
2316
2316
|
this.statTypeUpdated.emit(stat);
|
|
2317
2317
|
};
|
|
2318
|
-
|
|
2318
|
+
PartnerStatComponent.prototype.render = function () {
|
|
2319
2319
|
var clz = css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), this.statcolor);
|
|
2320
2320
|
return (!this.ishidden && (h("div", { class: clz }, h("div", { class: "stat-value" }, this.statvalue), h("div", { class: "stat-description" }, this.statdescription))));
|
|
2321
2321
|
};
|
|
2322
|
-
Object.defineProperty(
|
|
2322
|
+
Object.defineProperty(PartnerStatComponent.prototype, "elem", {
|
|
2323
2323
|
get: function () { return getElement(this); },
|
|
2324
2324
|
enumerable: false,
|
|
2325
2325
|
configurable: true
|
|
2326
2326
|
});
|
|
2327
|
-
Object.defineProperty(
|
|
2327
|
+
Object.defineProperty(PartnerStatComponent, "watchers", {
|
|
2328
2328
|
get: function () {
|
|
2329
2329
|
return {
|
|
2330
2330
|
"stattype": ["stattypeHandler"]
|
|
@@ -2333,9 +2333,9 @@ var StatComponent = /** @class */ (function () {
|
|
|
2333
2333
|
enumerable: false,
|
|
2334
2334
|
configurable: true
|
|
2335
2335
|
});
|
|
2336
|
-
return
|
|
2336
|
+
return PartnerStatComponent;
|
|
2337
2337
|
}());
|
|
2338
|
-
|
|
2338
|
+
PartnerStatComponent.style = partnerStatComponentCss;
|
|
2339
2339
|
var TYPE;
|
|
2340
2340
|
(function (TYPE) {
|
|
2341
2341
|
/**
|
|
@@ -6717,7 +6717,7 @@ var ReferralList = /** @class */ (function () {
|
|
|
6717
6717
|
this.loading = true;
|
|
6718
6718
|
var target = event.target;
|
|
6719
6719
|
target.innerText = "...";
|
|
6720
|
-
this.getReferrals(offset).then(function (res) {
|
|
6720
|
+
this.getReferrals(this.showreferrer, offset).then(function (res) {
|
|
6721
6721
|
target.innerText =
|
|
6722
6722
|
offset > _this_1.offset ? _this_1.paginatemore : _this_1.paginateless;
|
|
6723
6723
|
_this_1.referrals = res.referrals.data;
|
|
@@ -6833,33 +6833,204 @@ var shareButtonContainerCss = "sqh-share-button-container{text-align:center;disp
|
|
|
6833
6833
|
var ShareButtonContainer = /** @class */ (function () {
|
|
6834
6834
|
function ShareButtonContainer(hostRef) {
|
|
6835
6835
|
registerInstance(this, hostRef);
|
|
6836
|
+
/**
|
|
6837
|
+
* Email button icon
|
|
6838
|
+
*
|
|
6839
|
+
* @uiName Email Icon
|
|
6840
|
+
* @uiGroup Email
|
|
6841
|
+
*/
|
|
6836
6842
|
this.emailicon = "mail";
|
|
6843
|
+
/**
|
|
6844
|
+
* CSS Class name used to style the Email button
|
|
6845
|
+
*
|
|
6846
|
+
* @uiName Email Class Name
|
|
6847
|
+
* @uiGroup Email
|
|
6848
|
+
*/
|
|
6837
6849
|
this.emailclassName = "email-share";
|
|
6850
|
+
/**
|
|
6851
|
+
* Facebook button icon
|
|
6852
|
+
*
|
|
6853
|
+
* @uiName Facebook Icon
|
|
6854
|
+
* @uiGroup Facebook
|
|
6855
|
+
*/
|
|
6838
6856
|
this.facebookicon = "facebook";
|
|
6857
|
+
/**
|
|
6858
|
+
* Number to horizontally align the facebook button icon
|
|
6859
|
+
*
|
|
6860
|
+
* @uiName Facebook Icon Horizontal
|
|
6861
|
+
* @uiGroup Facebook
|
|
6862
|
+
*/
|
|
6839
6863
|
this.facebookiconhorizontal = 9;
|
|
6864
|
+
/**
|
|
6865
|
+
* Size of the facebook button icon
|
|
6866
|
+
*
|
|
6867
|
+
* @uiName Facebook Icon Size
|
|
6868
|
+
* @uiGroup Facebook
|
|
6869
|
+
*/
|
|
6840
6870
|
this.facebookiconsize = 1.2;
|
|
6871
|
+
/**
|
|
6872
|
+
* Twitter button icon
|
|
6873
|
+
*
|
|
6874
|
+
* @uiName Twitter Icon
|
|
6875
|
+
* @uiGroup Twitter
|
|
6876
|
+
*/
|
|
6841
6877
|
this.twittericon = "twitter";
|
|
6878
|
+
/**
|
|
6879
|
+
* Number to horizontally align the twitter button icon
|
|
6880
|
+
*
|
|
6881
|
+
* @uiName Twitter Icon Horizontal
|
|
6882
|
+
* @uiGroup Twitter
|
|
6883
|
+
*/
|
|
6842
6884
|
this.twittericonhorizontal = 9;
|
|
6885
|
+
/**
|
|
6886
|
+
* Size of the twitter button icon
|
|
6887
|
+
*
|
|
6888
|
+
* @uiName Twitter Icon Size
|
|
6889
|
+
* @uiGroup Twitter
|
|
6890
|
+
*/
|
|
6843
6891
|
this.twittericonsize = 1.2;
|
|
6892
|
+
/**
|
|
6893
|
+
* SMS button icon
|
|
6894
|
+
*
|
|
6895
|
+
* @uiName SMS Icon
|
|
6896
|
+
* @uiGroup SMS
|
|
6897
|
+
*/
|
|
6844
6898
|
this.smsicon = "chat";
|
|
6899
|
+
/**
|
|
6900
|
+
* Color of the text inside the WhatsApp button
|
|
6901
|
+
*
|
|
6902
|
+
* @uiName WhatsApp Text Color
|
|
6903
|
+
* @uiGroup WhatsApp
|
|
6904
|
+
* @uiWidget color
|
|
6905
|
+
* @format color
|
|
6906
|
+
* @default "#ffffff"
|
|
6907
|
+
*/
|
|
6845
6908
|
this.whatsapptextcolor = "#fff";
|
|
6909
|
+
/**
|
|
6910
|
+
* WhatsApp button icon
|
|
6911
|
+
*
|
|
6912
|
+
* @uiName WhatsApp Icon
|
|
6913
|
+
* @uiGroup WhatsApp
|
|
6914
|
+
*/
|
|
6846
6915
|
this.whatsappicon = "whatsapp";
|
|
6916
|
+
/**
|
|
6917
|
+
* Number to horizontally align the WhatsApp button icon
|
|
6918
|
+
*
|
|
6919
|
+
* @uiName WhatsApp Icon Horizontal
|
|
6920
|
+
* @uiGroup WhatsApp
|
|
6921
|
+
*/
|
|
6847
6922
|
this.whatsappiconhorizontal = 7;
|
|
6923
|
+
/**
|
|
6924
|
+
* Number to vertically align the WhatsApp button icon
|
|
6925
|
+
*
|
|
6926
|
+
* @uiName WhatsApp Icon Vertical
|
|
6927
|
+
* @uiGroup WhatsApp
|
|
6928
|
+
*/
|
|
6848
6929
|
this.whatsappiconvertical = 2;
|
|
6930
|
+
/**
|
|
6931
|
+
* Size of the WhatsApp button icon
|
|
6932
|
+
*
|
|
6933
|
+
* @uiName WhatsApp Icon Size
|
|
6934
|
+
* @uiGroup WhatsApp
|
|
6935
|
+
*/
|
|
6849
6936
|
this.whatsappiconsize = 1.4;
|
|
6937
|
+
/**
|
|
6938
|
+
* Linkedin button icon
|
|
6939
|
+
*
|
|
6940
|
+
* @uiName Linkedin Icon
|
|
6941
|
+
* @uiGroup LinkedIn
|
|
6942
|
+
*/
|
|
6850
6943
|
this.linkedinicon = "linkedin";
|
|
6944
|
+
/**
|
|
6945
|
+
* Size of the Linkedin button icon
|
|
6946
|
+
*
|
|
6947
|
+
* @uiName Linkedin Icon Size
|
|
6948
|
+
* @uiGroup LinkedIn
|
|
6949
|
+
*/
|
|
6851
6950
|
this.linkediniconsize = 1.2;
|
|
6951
|
+
/**
|
|
6952
|
+
* Pinterest button icon
|
|
6953
|
+
*
|
|
6954
|
+
* @uiName Pinterest Icon
|
|
6955
|
+
* @uiGroup Pinterest
|
|
6956
|
+
*/
|
|
6852
6957
|
this.pinteresticon = "pinterest";
|
|
6958
|
+
/**
|
|
6959
|
+
* Number to horizontally align the Pinterest button icon
|
|
6960
|
+
*
|
|
6961
|
+
* @uiName Pinterest Icon Horizontal
|
|
6962
|
+
* @uiGroup Pinterest
|
|
6963
|
+
*/
|
|
6853
6964
|
this.pinteresticonhorizontal = 9;
|
|
6965
|
+
/**
|
|
6966
|
+
* Number to vertically align the Pinterest button icon
|
|
6967
|
+
*
|
|
6968
|
+
* @uiName Pinterest Icon Vertical
|
|
6969
|
+
* @uiGroup Pinterest
|
|
6970
|
+
*/
|
|
6854
6971
|
this.pinteresticonvertical = 4;
|
|
6972
|
+
/**
|
|
6973
|
+
* Size of the Pinterest button icon
|
|
6974
|
+
*
|
|
6975
|
+
* @uiName Pinterest Icon Size
|
|
6976
|
+
* @uiGroup Pinterest
|
|
6977
|
+
*/
|
|
6855
6978
|
this.pinteresticonsize = 1.2;
|
|
6979
|
+
/**
|
|
6980
|
+
* Messenger button icon
|
|
6981
|
+
*
|
|
6982
|
+
* @uiName Messenger Icon
|
|
6983
|
+
* @uiGroup Messenger
|
|
6984
|
+
*/
|
|
6856
6985
|
this.messengericon = "messenger";
|
|
6986
|
+
/**
|
|
6987
|
+
* Number to horizontally align the Messenger button icon
|
|
6988
|
+
*
|
|
6989
|
+
* @uiName Messenger Icon Horizontal
|
|
6990
|
+
* @uiGroup Messenger
|
|
6991
|
+
*/
|
|
6857
6992
|
this.messengericonhorizontal = 7;
|
|
6993
|
+
/**
|
|
6994
|
+
* Number to vertically align the Messenger button icon
|
|
6995
|
+
*
|
|
6996
|
+
* @uiName Messenger Icon Vertical
|
|
6997
|
+
* @uiGroup Messenger
|
|
6998
|
+
*/
|
|
6858
6999
|
this.messengericonvertical = 3;
|
|
7000
|
+
/**
|
|
7001
|
+
* Size of the Messenger button icon
|
|
7002
|
+
*
|
|
7003
|
+
* @uiName Messenger Icon Size
|
|
7004
|
+
* @uiGroup Messenger
|
|
7005
|
+
*/
|
|
6859
7006
|
this.messengericonsize = 1.4;
|
|
7007
|
+
/**
|
|
7008
|
+
* Line button icon
|
|
7009
|
+
*
|
|
7010
|
+
* @uiName Line Icon
|
|
7011
|
+
* @uiGroup Line Messenger
|
|
7012
|
+
*/
|
|
6860
7013
|
this.lineicon = "line";
|
|
7014
|
+
/**
|
|
7015
|
+
* Number to horizontally align the Line button icon
|
|
7016
|
+
*
|
|
7017
|
+
* @uiName Line Icon Horizontal
|
|
7018
|
+
* @uiGroup Line Messenger
|
|
7019
|
+
*/
|
|
6861
7020
|
this.lineiconhorizontal = -2;
|
|
7021
|
+
/**
|
|
7022
|
+
* Number to vertically align the Line button icon
|
|
7023
|
+
*
|
|
7024
|
+
* @uiName Line Icon Vertical
|
|
7025
|
+
* @uiGroup Line Messenger
|
|
7026
|
+
*/
|
|
6862
7027
|
this.lineiconvertical = -5;
|
|
7028
|
+
/**
|
|
7029
|
+
* Size of the Line button icon
|
|
7030
|
+
*
|
|
7031
|
+
* @uiName Line Icon Size
|
|
7032
|
+
* @uiGroup Line Messenger
|
|
7033
|
+
*/
|
|
6863
7034
|
this.lineiconsize = 2.2;
|
|
6864
7035
|
}
|
|
6865
7036
|
ShareButtonContainer.prototype.componentWillLoad = function () {
|
|
@@ -6916,35 +7087,35 @@ var ShareButtonContainer = /** @class */ (function () {
|
|
|
6916
7087
|
}());
|
|
6917
7088
|
ShareButtonContainer.style = shareButtonContainerCss;
|
|
6918
7089
|
var statComponentCss = "sqh-stat-component{text-align:center;width:140px;float:left}sqh-stat-component>div{padding:10px}sqh-stat-component .stat-value{white-space:nowrap;font-size:30px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-stat-component:first-child{border-radius:4px 4px 0 0}sqh-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
|
|
6919
|
-
var StatComponent
|
|
6920
|
-
function StatComponent
|
|
7090
|
+
var StatComponent = /** @class */ (function () {
|
|
7091
|
+
function StatComponent(hostRef) {
|
|
6921
7092
|
registerInstance(this, hostRef);
|
|
6922
7093
|
this.statTypeUpdated = createEvent(this, "statTypeUpdated", 7);
|
|
6923
7094
|
this.statAdded = createEvent(this, "statAdded", 7);
|
|
6924
7095
|
}
|
|
6925
|
-
StatComponent
|
|
7096
|
+
StatComponent.prototype.componentWillLoad = function () {
|
|
6926
7097
|
this.statAddedHandler(this.elem);
|
|
6927
7098
|
};
|
|
6928
|
-
StatComponent
|
|
7099
|
+
StatComponent.prototype.stattypeHandler = function (newValue, oldValue) {
|
|
6929
7100
|
if (newValue !== oldValue)
|
|
6930
7101
|
this.statTypeUpdatedHandler(this.elem);
|
|
6931
7102
|
};
|
|
6932
|
-
StatComponent
|
|
7103
|
+
StatComponent.prototype.statAddedHandler = function (stat) {
|
|
6933
7104
|
this.statAdded.emit(stat);
|
|
6934
7105
|
};
|
|
6935
|
-
StatComponent
|
|
7106
|
+
StatComponent.prototype.statTypeUpdatedHandler = function (stat) {
|
|
6936
7107
|
this.statTypeUpdated.emit(stat);
|
|
6937
7108
|
};
|
|
6938
|
-
StatComponent
|
|
7109
|
+
StatComponent.prototype.render = function () {
|
|
6939
7110
|
var clz = css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), this.statcolor);
|
|
6940
7111
|
return (!this.ishidden && (h("div", { class: clz }, h("div", { class: "stat-value" }, this.statvalue), h("div", { class: "stat-description" }, this.statdescription))));
|
|
6941
7112
|
};
|
|
6942
|
-
Object.defineProperty(StatComponent
|
|
7113
|
+
Object.defineProperty(StatComponent.prototype, "elem", {
|
|
6943
7114
|
get: function () { return getElement(this); },
|
|
6944
7115
|
enumerable: false,
|
|
6945
7116
|
configurable: true
|
|
6946
7117
|
});
|
|
6947
|
-
Object.defineProperty(StatComponent
|
|
7118
|
+
Object.defineProperty(StatComponent, "watchers", {
|
|
6948
7119
|
get: function () {
|
|
6949
7120
|
return {
|
|
6950
7121
|
"stattype": ["stattypeHandler"]
|
|
@@ -6953,9 +7124,9 @@ var StatComponent$1 = /** @class */ (function () {
|
|
|
6953
7124
|
enumerable: false,
|
|
6954
7125
|
configurable: true
|
|
6955
7126
|
});
|
|
6956
|
-
return StatComponent
|
|
7127
|
+
return StatComponent;
|
|
6957
7128
|
}());
|
|
6958
|
-
StatComponent
|
|
7129
|
+
StatComponent.style = statComponentCss;
|
|
6959
7130
|
/**
|
|
6960
7131
|
* Tokenize input string.
|
|
6961
7132
|
*/
|
|
@@ -7256,6 +7427,11 @@ var statsContainerCss = "sqh-stats-container{display:-ms-flexbox;display:flex;-m
|
|
|
7256
7427
|
var StatsContainer = /** @class */ (function () {
|
|
7257
7428
|
function StatsContainer(hostRef) {
|
|
7258
7429
|
registerInstance(this, hostRef);
|
|
7430
|
+
/**
|
|
7431
|
+
* Hide the component
|
|
7432
|
+
*
|
|
7433
|
+
* @uiName Is Hidden
|
|
7434
|
+
*/
|
|
7259
7435
|
this.ishidden = false;
|
|
7260
7436
|
this.statPaths = [
|
|
7261
7437
|
"/rewardBalance/:type/:unit/:valuetype?/:isGlobal?",
|
|
@@ -9456,7 +9632,6 @@ var textComponentCss = "sqh-text-component{display:block}sqh-text-component p{ma
|
|
|
9456
9632
|
var TextComponent = /** @class */ (function () {
|
|
9457
9633
|
function TextComponent(hostRef) {
|
|
9458
9634
|
registerInstance(this, hostRef);
|
|
9459
|
-
this.padding = "10px 20px 15px";
|
|
9460
9635
|
}
|
|
9461
9636
|
TextComponent.prototype.render = function () {
|
|
9462
9637
|
var regex = /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/i;
|
|
@@ -9481,5 +9656,5 @@ var TextComponent = /** @class */ (function () {
|
|
|
9481
9656
|
return TextComponent;
|
|
9482
9657
|
}());
|
|
9483
9658
|
TextComponent.style = textComponentCss;
|
|
9484
|
-
export { CopyButton as sqh_copy_button, CopyLinkButton as sqh_copy_link_button, GlobalContainer as sqh_global_container, ImageComponent as sqh_image_component,
|
|
9659
|
+
export { CopyButton as sqh_copy_button, CopyLinkButton as sqh_copy_link_button, GlobalContainer as sqh_global_container, ImageComponent as sqh_image_component, PartnerStatComponent as sqh_partner_stat_component, ReferralComponent as sqh_referral_component, ReferralList as sqh_referral_list, ShareButton as sqh_share_button, ShareButtonContainer as sqh_share_button_container, StatComponent as sqh_stat_component, StatsContainer as sqh_stats_container, TextComponent as sqh_text_component };
|
|
9485
9660
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-8ea8b6d8.js';
|
|
2
2
|
import './_commonjsHelpers-1d681858.js';
|
|
3
|
-
import { A as API } from './WidgetHost-
|
|
3
|
+
import { A as API } from './WidgetHost-a27e693d.js';
|
|
4
4
|
var referralCodeCss = "sqh-referral-code{display:inline}sqh-referral-code span{font-family:inherit;font-size:inherit;color:inherit;overflow-wrap:break-word}";
|
|
5
5
|
var ReferralCode = /** @class */ (function () {
|
|
6
6
|
function ReferralCode(hostRef) {
|
|
@@ -3,8 +3,23 @@ var rewardsActionsCss = "sqh-rewards-actions .squatch-referrals-actions{text-ali
|
|
|
3
3
|
var RewardsActions = /** @class */ (function () {
|
|
4
4
|
function RewardsActions(hostRef) {
|
|
5
5
|
registerInstance(this, hostRef);
|
|
6
|
+
/**
|
|
7
|
+
* Text inside the previous button
|
|
8
|
+
*
|
|
9
|
+
* @uiName Previous Button Text
|
|
10
|
+
*/
|
|
6
11
|
this.previoustext = "Previous";
|
|
12
|
+
/**
|
|
13
|
+
* Text inside the hide button
|
|
14
|
+
*
|
|
15
|
+
* @uiName Hide Button Text
|
|
16
|
+
*/
|
|
7
17
|
this.hidetext = "Hide";
|
|
18
|
+
/**
|
|
19
|
+
* Text inside the next button
|
|
20
|
+
*
|
|
21
|
+
* @uiName Next Button Text
|
|
22
|
+
*/
|
|
8
23
|
this.nexttext = "Next";
|
|
9
24
|
}
|
|
10
25
|
RewardsActions.prototype.render = function () {
|
|
@@ -2,5 +2,5 @@ import { b as bootstrapLazy } from './index-8ea8b6d8.js';
|
|
|
2
2
|
import { p as patchBrowser } from './en-be593af0.js';
|
|
3
3
|
import './_commonjsHelpers-1d681858.js';
|
|
4
4
|
patchBrowser().then(function (options) {
|
|
5
|
-
return bootstrapLazy([["sqh-close-button", [[0, "sqh-close-button", { "text": [1] }, [[0, "click", "handleClick"]]]]], ["sqh-referral-code", [[0, "sqh-referral-code", { "referralcode": [32] }]]], ["sqh-rewards-actions", [[0, "sqh-rewards-actions", { "previoustext": [1], "hidetext": [1], "nexttext": [1] }]]], ["sqh-copy-button_12", [[0, "sqh-referral-list", { "ishidden": [4], "paginatemore": [1], "paginateless": [1], "noreferralsyet": [1], "referralnamecolor": [1], "referraltextcolor": [1], "unknownuser": [1], "showexpiry": [4], "shownotes": [4], "redeemedvalue": [1], "showreferrer": [4], "referrercontent": [1], "referrervalue": [1], "rewardcolor": [1], "customernotecolor": [1], "usefirstreward": [4], "convertedcontent": [1], "valuecontent": [1], "pendingcolor": [1], "pendingcontent": [1], "pendingvalue": [1], "expiredcolor": [1], "expiredcontent": [1], "expiredvalue": [1], "expiresvalue": [1], "cancelledcolor": [1], "cancelledcontent": [1], "cancelledvalue": [1], "internationalization": [4], "referrals": [32], "referralsCount": [32], "referredBy": [32], "rewards": [32], "loading": [32], "offset": [32], "locale": [32] }], [0, "sqh-share-button-container", { "ishidden": [4], "emaildisplayrule": [1], "emailtext": [1], "emailbackgroundcolor": [1], "emailtextcolor": [1], "emailicon": [1], "emailclassName": [1, "emailclass-name"], "emailiconhorizontal": [2], "emailiconvertical": [2], "emailiconsize": [2], "facebookdisplayrule": [1], "facebooktext": [1], "facebookbackgroundcolor": [1], "facebooktextcolor": [1], "facebookicon": [1], "facebookclassName": [1, "facebookclass-name"], "facebookiconhorizontal": [2], "facebookiconvertical": [2], "facebookiconsize": [2], "twitterdisplayrule": [1], "twittertext": [1], "twitterbackgroundcolor": [1], "twittertextcolor": [1], "twittericon": [1], "twitterclassName": [1, "twitterclass-name"], "twittericonhorizontal": [2], "twittericonvertical": [2], "twittericonsize": [2], "smsdisplayrule": [1], "smstext": [1], "smsbackgroundcolor": [1], "smstextcolor": [1], "smsicon": [1], "smsclassName": [1, "smsclass-name"], "smsiconhorizontal": [2], "smsiconvertical": [2], "smsiconsize": [2], "whatsappdisplayrule": [1], "whatsapptext": [1], "whatsappbackgroundcolor": [1], "whatsapptextcolor": [1], "whatsappicon": [1], "whatsappclassName": [1, "whatsappclass-name"], "whatsappiconhorizontal": [2], "whatsappiconvertical": [2], "whatsappiconsize": [2], "linkedindisplayrule": [1], "linkedintext": [1], "linkedinbackgroundcolor": [1], "linkedintextcolor": [1], "linkedinicon": [1], "linkedinclassName": [1, "linkedinclass-name"], "linkediniconhorizontal": [2], "linkediniconvertical": [2], "linkediniconsize": [2], "pinterestdisplayrule": [1], "pinteresttext": [1], "pinterestbackgroundcolor": [1], "pinteresttextcolor": [1], "pinteresticon": [1], "pinterestclassName": [1, "pinterestclass-name"], "pinteresticonhorizontal": [2], "pinteresticonvertical": [2], "pinteresticonsize": [2], "messengerdisplayrule": [1], "messengertext": [1], "messengerbackgroundcolor": [1], "messengertextcolor": [1], "messengericon": [1], "messengerclassName": [1, "messengerclass-name"], "messengericonhorizontal": [2], "messengericonvertical": [2], "messengericonsize": [2], "linedisplayrule": [1], "linetext": [1], "linebackgroundcolor": [1], "linetextcolor": [1], "lineicon": [1], "lineclassName": [1, "lineclass-name"], "lineiconhorizontal": [2], "lineiconvertical": [2], "lineiconsize": [2], "emailurl": [32], "facebookurl": [32], "twitterurl": [32], "smsurl": [32], "whatsappurl": [32], "linkedinurl": [32], "pinteresturl": [32], "messengerurl": [32], "lineurl": [32] }], [0, "sqh-copy-button", { "ishidden": [4], "text": [1], "width": [2], "backgroundcolor": [1], "borderradius": [2], "textcolor": [1], "fontsize": [2], "copysuccess": [1], "copyfailure": [1], "rewardkey": [1], "codefontsize": [2], "codefontcolor": [1], "fueltankcode": [32] }], [0, "sqh-copy-link-button", { "ishidden": [4], "text": [1], "copysuccess": [1], "copyfailure": [1], "buttoncolor": [1], "textcolor": [1], "sharelink": [32] }], [4, "sqh-global-container", { "background": [1], "loadingcolor": [1], "fontfamily": [1], "maxwidth": [1], "poweredby": [4] }], [0, "sqh-image-component", { "ishidden": [4], "url": [1], "width": [2], "borderradius": [2], "alignment": [1], "css": [1] }], [0, "sqh-partner-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [0, "sqh-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [4, "sqh-stats-container", { "ishidden": [4], "paddingtop": [1], "paddingbottom": [1], "loading": [32], "stats": [32] }, [[0, "statTypeUpdated", "statTypeUpdatedHandler"], [0, "statAdded", "statAddedHandler"]]], [0, "sqh-text-component", { "ishidden": [4], "ismarkdown": [4], "text": [1], "fontfamily": [1], "color": [1], "fontsize": [1], "paddingtop": [1], "paddingbottom": [1], "
|
|
5
|
+
return bootstrapLazy([["sqh-close-button", [[0, "sqh-close-button", { "text": [1] }, [[0, "click", "handleClick"]]]]], ["sqh-referral-code", [[0, "sqh-referral-code", { "referralcode": [32] }]]], ["sqh-rewards-actions", [[0, "sqh-rewards-actions", { "previoustext": [1], "hidetext": [1], "nexttext": [1] }]]], ["sqh-copy-button_12", [[0, "sqh-referral-list", { "ishidden": [4], "paginatemore": [1], "paginateless": [1], "noreferralsyet": [1], "referralnamecolor": [1], "referraltextcolor": [1], "unknownuser": [1], "showexpiry": [4], "shownotes": [4], "redeemedvalue": [1], "showreferrer": [4], "referrercontent": [1], "referrervalue": [1], "rewardcolor": [1], "customernotecolor": [1], "usefirstreward": [4], "convertedcontent": [1], "valuecontent": [1], "pendingcolor": [1], "pendingcontent": [1], "pendingvalue": [1], "expiredcolor": [1], "expiredcontent": [1], "expiredvalue": [1], "expiresvalue": [1], "cancelledcolor": [1], "cancelledcontent": [1], "cancelledvalue": [1], "internationalization": [4], "referrals": [32], "referralsCount": [32], "referredBy": [32], "rewards": [32], "loading": [32], "offset": [32], "locale": [32] }], [0, "sqh-share-button-container", { "ishidden": [4], "emaildisplayrule": [1], "emailtext": [1], "emailbackgroundcolor": [1], "emailtextcolor": [1], "emailicon": [1], "emailclassName": [1, "emailclass-name"], "emailiconhorizontal": [2], "emailiconvertical": [2], "emailiconsize": [2], "facebookdisplayrule": [1], "facebooktext": [1], "facebookbackgroundcolor": [1], "facebooktextcolor": [1], "facebookicon": [1], "facebookclassName": [1, "facebookclass-name"], "facebookiconhorizontal": [2], "facebookiconvertical": [2], "facebookiconsize": [2], "twitterdisplayrule": [1], "twittertext": [1], "twitterbackgroundcolor": [1], "twittertextcolor": [1], "twittericon": [1], "twitterclassName": [1, "twitterclass-name"], "twittericonhorizontal": [2], "twittericonvertical": [2], "twittericonsize": [2], "smsdisplayrule": [1], "smstext": [1], "smsbackgroundcolor": [1], "smstextcolor": [1], "smsicon": [1], "smsclassName": [1, "smsclass-name"], "smsiconhorizontal": [2], "smsiconvertical": [2], "smsiconsize": [2], "whatsappdisplayrule": [1], "whatsapptext": [1], "whatsappbackgroundcolor": [1], "whatsapptextcolor": [1], "whatsappicon": [1], "whatsappclassName": [1, "whatsappclass-name"], "whatsappiconhorizontal": [2], "whatsappiconvertical": [2], "whatsappiconsize": [2], "linkedindisplayrule": [1], "linkedintext": [1], "linkedinbackgroundcolor": [1], "linkedintextcolor": [1], "linkedinicon": [1], "linkedinclassName": [1, "linkedinclass-name"], "linkediniconhorizontal": [2], "linkediniconvertical": [2], "linkediniconsize": [2], "pinterestdisplayrule": [1], "pinteresttext": [1], "pinterestbackgroundcolor": [1], "pinteresttextcolor": [1], "pinteresticon": [1], "pinterestclassName": [1, "pinterestclass-name"], "pinteresticonhorizontal": [2], "pinteresticonvertical": [2], "pinteresticonsize": [2], "messengerdisplayrule": [1], "messengertext": [1], "messengerbackgroundcolor": [1], "messengertextcolor": [1], "messengericon": [1], "messengerclassName": [1, "messengerclass-name"], "messengericonhorizontal": [2], "messengericonvertical": [2], "messengericonsize": [2], "linedisplayrule": [1], "linetext": [1], "linebackgroundcolor": [1], "linetextcolor": [1], "lineicon": [1], "lineclassName": [1, "lineclass-name"], "lineiconhorizontal": [2], "lineiconvertical": [2], "lineiconsize": [2], "emailurl": [32], "facebookurl": [32], "twitterurl": [32], "smsurl": [32], "whatsappurl": [32], "linkedinurl": [32], "pinteresturl": [32], "messengerurl": [32], "lineurl": [32] }], [0, "sqh-copy-button", { "ishidden": [4], "text": [1], "width": [2], "backgroundcolor": [1], "borderradius": [2], "textcolor": [1], "fontsize": [2], "copysuccess": [1], "copyfailure": [1], "rewardkey": [1], "codefontsize": [2], "codefontcolor": [1], "fueltankcode": [32] }], [0, "sqh-copy-link-button", { "ishidden": [4], "text": [1], "copysuccess": [1], "copyfailure": [1], "buttoncolor": [1], "textcolor": [1], "sharelink": [32] }], [4, "sqh-global-container", { "background": [1], "loadingcolor": [1], "fontfamily": [1], "maxwidth": [1], "poweredby": [4] }], [0, "sqh-image-component", { "ishidden": [4], "url": [1], "width": [2], "borderradius": [2], "alignment": [1], "css": [1] }], [0, "sqh-partner-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [0, "sqh-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [4, "sqh-stats-container", { "ishidden": [4], "paddingtop": [1], "paddingbottom": [1], "loading": [32], "stats": [32] }, [[0, "statTypeUpdated", "statTypeUpdatedHandler"], [0, "statAdded", "statAddedHandler"]]], [0, "sqh-text-component", { "ishidden": [4], "ismarkdown": [4], "text": [1], "fontfamily": [1], "color": [1], "fontsize": [1], "paddingtop": [1], "paddingbottom": [1], "textalign": [1], "background": [1], "height": [1] }], [0, "sqh-referral-component", { "referral": [16], "referraltype": [1], "referralvariables": [16], "unknownuser": [16], "locale": [1] }], [0, "sqh-share-button", { "displayrule": [1], "text": [1], "backgroundcolor": [1], "textcolor": [1], "icon": [1], "buttonClassName": [1, "button-class-name"], "iconhorizontal": [2], "iconvertical": [2], "iconsize": [2], "type": [1], "url": [1] }]]]], options);
|
|
6
6
|
});
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Close Button
|
|
3
|
+
*/
|
|
4
|
+
export declare class CloseButton {
|
|
5
|
+
/**
|
|
6
|
+
* The text shown inside the close button.
|
|
7
|
+
*
|
|
8
|
+
* @uiName Button Text
|
|
9
|
+
*/
|
|
2
10
|
text: string;
|
|
3
11
|
closeButton: HTMLElement;
|
|
4
12
|
handleClick(): void;
|
|
@@ -1,16 +1,97 @@
|
|
|
1
1
|
import Clipboard from "clipboard";
|
|
2
|
+
/**
|
|
3
|
+
* @uiName Copy Button
|
|
4
|
+
*/
|
|
2
5
|
export declare class CopyButton {
|
|
6
|
+
/**
|
|
7
|
+
* Hide or show the component
|
|
8
|
+
*
|
|
9
|
+
* @uiName Hide Button
|
|
10
|
+
* @default undefined
|
|
11
|
+
*/
|
|
3
12
|
ishidden: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Text shown inside the copy button.
|
|
15
|
+
*
|
|
16
|
+
* @uiName Button Text
|
|
17
|
+
* @default "COPY CODE"
|
|
18
|
+
*/
|
|
4
19
|
text: string;
|
|
20
|
+
/**
|
|
21
|
+
* Sets a maximum width on the copy button.
|
|
22
|
+
*
|
|
23
|
+
* @uiName Max Width
|
|
24
|
+
* @default 170
|
|
25
|
+
*/
|
|
5
26
|
width: number;
|
|
27
|
+
/**
|
|
28
|
+
* Background & border color of the copy button.
|
|
29
|
+
*
|
|
30
|
+
* @uiName Background Color
|
|
31
|
+
* @uiWidget color
|
|
32
|
+
* @format color
|
|
33
|
+
* @default #35b21e
|
|
34
|
+
*/
|
|
6
35
|
backgroundcolor: string;
|
|
36
|
+
/**
|
|
37
|
+
* Configure border radius with pixel amount
|
|
38
|
+
*
|
|
39
|
+
* @uiName Border Radius
|
|
40
|
+
* @default 4
|
|
41
|
+
*/
|
|
7
42
|
borderradius: number;
|
|
43
|
+
/**
|
|
44
|
+
* Color of text inside the copy button.
|
|
45
|
+
*
|
|
46
|
+
* @uiName Text Color
|
|
47
|
+
* @uiWidget color
|
|
48
|
+
* @format color
|
|
49
|
+
* @default #ffffff
|
|
50
|
+
*/
|
|
8
51
|
textcolor: string;
|
|
52
|
+
/**
|
|
53
|
+
* Font size of the copy button text.
|
|
54
|
+
*
|
|
55
|
+
* @uiName Font Size
|
|
56
|
+
* @default 14
|
|
57
|
+
*/
|
|
9
58
|
fontsize: number;
|
|
59
|
+
/**
|
|
60
|
+
* Shown when the code is successfully copied to the users clipboard.
|
|
61
|
+
*
|
|
62
|
+
* @uiName Copy Success Text
|
|
63
|
+
* @default "copied!"
|
|
64
|
+
*/
|
|
10
65
|
copysuccess: string;
|
|
66
|
+
/**
|
|
67
|
+
* Shown when the button has failed to copy the code to the users clipboard.
|
|
68
|
+
*
|
|
69
|
+
* @uiName Copy Failure Text
|
|
70
|
+
* @default "Press Ctrl+C to copy"
|
|
71
|
+
*/
|
|
11
72
|
copyfailure: string;
|
|
73
|
+
/**
|
|
74
|
+
* rewardkey is used to get the fuel tank code for a user.
|
|
75
|
+
*
|
|
76
|
+
* @uiName Reward Key
|
|
77
|
+
* @default "referredReward"
|
|
78
|
+
*/
|
|
12
79
|
rewardkey: string;
|
|
80
|
+
/**
|
|
81
|
+
* Font size of the fuel tank code.
|
|
82
|
+
*
|
|
83
|
+
* @uiName Code Font Size
|
|
84
|
+
* @default 14
|
|
85
|
+
*/
|
|
13
86
|
codefontsize: number;
|
|
87
|
+
/**
|
|
88
|
+
* Text color of the fuel tank code.
|
|
89
|
+
*
|
|
90
|
+
* @uiName Code Font Color
|
|
91
|
+
* @uiWidget color
|
|
92
|
+
* @format color
|
|
93
|
+
* @default #000000
|
|
94
|
+
*/
|
|
14
95
|
codefontcolor: string;
|
|
15
96
|
fueltankcode: string;
|
|
16
97
|
componentWillLoad(): Promise<void>;
|
|
@@ -1,10 +1,52 @@
|
|
|
1
1
|
import Clipboard from "clipboard";
|
|
2
|
+
/**
|
|
3
|
+
* @uiName Copy Link Button
|
|
4
|
+
*/
|
|
2
5
|
export declare class CopyLinkButton {
|
|
6
|
+
/**
|
|
7
|
+
* Hide or show the component
|
|
8
|
+
*
|
|
9
|
+
* @uiName Hide Button
|
|
10
|
+
*/
|
|
3
11
|
ishidden: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Text shown inside the copy button.
|
|
14
|
+
*
|
|
15
|
+
* @uiName Button Text
|
|
16
|
+
* @default "Copy"
|
|
17
|
+
*/
|
|
4
18
|
text: string;
|
|
19
|
+
/**
|
|
20
|
+
* Shown when the code is successfully copied to the users clipboard.
|
|
21
|
+
*
|
|
22
|
+
* @uiName Copy Success Text
|
|
23
|
+
* @default "copied!"
|
|
24
|
+
*/
|
|
5
25
|
copysuccess: string;
|
|
26
|
+
/**
|
|
27
|
+
* Shown when the button has failed to copy the code to the users clipboard.
|
|
28
|
+
*
|
|
29
|
+
* @uiName Copy Failure Text
|
|
30
|
+
* @default "Press Ctrl+C to copy"
|
|
31
|
+
*/
|
|
6
32
|
copyfailure: string;
|
|
33
|
+
/**
|
|
34
|
+
* Background & border color of the copy button.
|
|
35
|
+
*
|
|
36
|
+
* @uiName Button Color
|
|
37
|
+
* @uiWidget color
|
|
38
|
+
* @format color
|
|
39
|
+
* @default "#5C6164"
|
|
40
|
+
*/
|
|
7
41
|
buttoncolor: string;
|
|
42
|
+
/**
|
|
43
|
+
* Color of text inside the copy button.
|
|
44
|
+
*
|
|
45
|
+
* @uiName Text Color
|
|
46
|
+
* @uiWidget color
|
|
47
|
+
* @format color
|
|
48
|
+
* @default "#FFFFFF"
|
|
49
|
+
*/
|
|
8
50
|
textcolor: string;
|
|
9
51
|
sharelink: string;
|
|
10
52
|
componentWillLoad(): any;
|
|
@@ -1,8 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Global Container
|
|
3
|
+
* @slots [{"name":"", "title":"Widget Content"}]
|
|
4
|
+
*/
|
|
1
5
|
export declare class GlobalContainer {
|
|
6
|
+
/**
|
|
7
|
+
* Configure the background color.
|
|
8
|
+
*
|
|
9
|
+
* @uiName Background Color
|
|
10
|
+
* @uiWidget color
|
|
11
|
+
* @format color
|
|
12
|
+
* @default "#ffffff"
|
|
13
|
+
*/
|
|
2
14
|
background: string;
|
|
15
|
+
/**
|
|
16
|
+
* Configure the color of the loading state.
|
|
17
|
+
*
|
|
18
|
+
* @uiName Loading Color
|
|
19
|
+
* @uiWidget color
|
|
20
|
+
* @format color
|
|
21
|
+
*/
|
|
3
22
|
loadingcolor: string;
|
|
23
|
+
/**
|
|
24
|
+
* Font family used inside the container.
|
|
25
|
+
*
|
|
26
|
+
* @uiName Font Family
|
|
27
|
+
* @default "Roboto"
|
|
28
|
+
* @uiEnum ["Roboto", "Artifakt Element", "Helvetica Neue,Helvetica,Arial,sans-serif", "Lato,sans-serif", "Times New Roman", "Arial", "Courier", "Tahoma", "Verdana", "Georgia"]
|
|
29
|
+
* @uiEnumNames ["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"]
|
|
30
|
+
*/
|
|
4
31
|
fontfamily: string;
|
|
32
|
+
/**
|
|
33
|
+
* Maximum width on the container.
|
|
34
|
+
*
|
|
35
|
+
* @uiName Max Width
|
|
36
|
+
*/
|
|
5
37
|
maxwidth: string;
|
|
38
|
+
/**
|
|
39
|
+
* Show and hide the powered by SaaSquatch link. Can only be disabled on Pro plans.
|
|
40
|
+
*
|
|
41
|
+
* @uiName Show Powered By
|
|
42
|
+
*/
|
|
6
43
|
poweredby: boolean;
|
|
7
44
|
LoadingState(props: any): any;
|
|
8
45
|
render(): any;
|