@eric-emg/symphiq-components 1.2.308 → 1.2.309
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/fesm2022/symphiq-components.mjs +29 -10
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +5 -1
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -53821,7 +53821,7 @@ function SymphiqConnectGaDashboardComponent_Conditional_22_Template(rf, ctx) { i
|
|
|
53821
53821
|
i0.ɵɵconditionalCreate(13, SymphiqConnectGaDashboardComponent_Conditional_22_Conditional_13_Template, 1, 0)(14, SymphiqConnectGaDashboardComponent_Conditional_22_Conditional_14_Template, 1, 0);
|
|
53822
53822
|
i0.ɵɵelementEnd();
|
|
53823
53823
|
i0.ɵɵelementStart(15, "div", 29)(16, "button", 30);
|
|
53824
|
-
i0.ɵɵlistener("click", function SymphiqConnectGaDashboardComponent_Conditional_22_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.
|
|
53824
|
+
i0.ɵɵlistener("click", function SymphiqConnectGaDashboardComponent_Conditional_22_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onGoogleButtonClick()); });
|
|
53825
53825
|
i0.ɵɵelement(17, "div", 31);
|
|
53826
53826
|
i0.ɵɵelementStart(18, "div", 32)(19, "div", 33);
|
|
53827
53827
|
i0.ɵɵnamespaceSVG();
|
|
@@ -54215,8 +54215,10 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54215
54215
|
this.isExpanded = signal(false, ...(ngDevMode ? [{ debugName: "isExpanded" }] : []));
|
|
54216
54216
|
this.isEditingProperty = signal(false, ...(ngDevMode ? [{ debugName: "isEditingProperty" }] : []));
|
|
54217
54217
|
this.isReconnecting = signal(false, ...(ngDevMode ? [{ debugName: "isReconnecting" }] : []));
|
|
54218
|
+
this.internalConnecting = signal(false, ...(ngDevMode ? [{ debugName: "internalConnecting" }] : []));
|
|
54218
54219
|
this.currentEditingPropertyId = signal(undefined, ...(ngDevMode ? [{ debugName: "currentEditingPropertyId" }] : []));
|
|
54219
54220
|
this.currentSelectingPropertyId = signal(undefined, ...(ngDevMode ? [{ debugName: "currentSelectingPropertyId" }] : []));
|
|
54221
|
+
this.isConnecting = computed(() => this.isConnectingToGoogle() || this.internalConnecting(), ...(ngDevMode ? [{ debugName: "isConnecting" }] : []));
|
|
54220
54222
|
this.sortedGaProperties = computed(() => {
|
|
54221
54223
|
const properties = this.gaProperties();
|
|
54222
54224
|
if (!properties)
|
|
@@ -54306,6 +54308,12 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54306
54308
|
}
|
|
54307
54309
|
}
|
|
54308
54310
|
}, ...(ngDevMode ? [{ debugName: "embeddedScrollEffect" }] : []));
|
|
54311
|
+
this.propertiesReceivedEffect = effect(() => {
|
|
54312
|
+
const properties = this.gaProperties();
|
|
54313
|
+
if (properties && properties.length > 0) {
|
|
54314
|
+
this.internalConnecting.set(false);
|
|
54315
|
+
}
|
|
54316
|
+
}, ...(ngDevMode ? [{ debugName: "propertiesReceivedEffect" }] : []));
|
|
54309
54317
|
this.scrollProgress = computed(() => this.headerScrollService.scrollProgress(), ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
|
|
54310
54318
|
this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
|
|
54311
54319
|
}
|
|
@@ -54374,8 +54382,19 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54374
54382
|
cancelReconnectMode() {
|
|
54375
54383
|
this.isReconnecting.set(false);
|
|
54376
54384
|
}
|
|
54385
|
+
onGoogleButtonClick() {
|
|
54386
|
+
this.internalConnecting.set(true);
|
|
54387
|
+
this.googleButtonClick.emit();
|
|
54388
|
+
}
|
|
54377
54389
|
useDifferentGoogleAccount() {
|
|
54378
54390
|
this.isReconnecting.set(true);
|
|
54391
|
+
const element = this.scrollElement();
|
|
54392
|
+
if (element) {
|
|
54393
|
+
element.scrollTo({ top: 0, behavior: 'smooth' });
|
|
54394
|
+
}
|
|
54395
|
+
else {
|
|
54396
|
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
54397
|
+
}
|
|
54379
54398
|
}
|
|
54380
54399
|
getContainerClasses() {
|
|
54381
54400
|
return this.isLightMode()
|
|
@@ -54625,13 +54644,13 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54625
54644
|
i0.ɵɵadvance(2);
|
|
54626
54645
|
i0.ɵɵproperty("viewMode", ctx.viewMode())("currentStepId", ctx.JourneyStepIdEnum.CONNECT_GA4)("showNextStepAction", ctx.showNextStepAction())("forDemo", ctx.forDemo())("maxAccessibleStepId", ctx.maxAccessibleStepId());
|
|
54627
54646
|
i0.ɵɵadvance(3);
|
|
54628
|
-
i0.ɵɵconditional(ctx.
|
|
54647
|
+
i0.ɵɵconditional(ctx.isConnecting() ? 21 : -1);
|
|
54629
54648
|
i0.ɵɵadvance();
|
|
54630
|
-
i0.ɵɵconditional(ctx.isConnectState() && !ctx.
|
|
54649
|
+
i0.ɵɵconditional(ctx.isConnectState() && !ctx.isConnecting() ? 22 : -1);
|
|
54631
54650
|
i0.ɵɵadvance();
|
|
54632
|
-
i0.ɵɵconditional(ctx.isSelectionState() && !ctx.
|
|
54651
|
+
i0.ɵɵconditional(ctx.isSelectionState() && !ctx.isConnecting() ? 23 : -1);
|
|
54633
54652
|
i0.ɵɵadvance();
|
|
54634
|
-
i0.ɵɵconditional(ctx.isSelectedState() && !ctx.
|
|
54653
|
+
i0.ɵɵconditional(ctx.isSelectedState() && !ctx.isConnecting() ? 24 : -1);
|
|
54635
54654
|
i0.ɵɵadvance();
|
|
54636
54655
|
i0.ɵɵconditional(ctx.showSubmitButton() ? 25 : -1);
|
|
54637
54656
|
} }, dependencies: [CommonModule, i1$1.NgClass, JourneyProgressIndicatorComponent, IndeterminateSpinnerComponent], styles: ["[_nghost-%COMP%]{display:block}.animated-bubbles[_ngcontent-%COMP%]{overflow:hidden}.animated-bubbles[_ngcontent-%COMP%]:before, .animated-bubbles[_ngcontent-%COMP%]:after{content:\"\";position:absolute;border-radius:50%;animation:_ngcontent-%COMP%_float 20s infinite ease-in-out;opacity:.05}.animated-bubbles[_ngcontent-%COMP%]:before{width:600px;height:600px;background:radial-gradient(circle,#3b82f6 0%,transparent 70%);top:-300px;left:-300px;animation-delay:-5s}.animated-bubbles[_ngcontent-%COMP%]:after{width:800px;height:800px;background:radial-gradient(circle,#06b6d4 0%,transparent 70%);bottom:-400px;right:-400px;animation-delay:-10s}.animated-bubbles.light-mode[_ngcontent-%COMP%]:before, .animated-bubbles.light-mode[_ngcontent-%COMP%]:after{opacity:.03}@keyframes _ngcontent-%COMP%_float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(50px,-50px) scale(1.1)}66%{transform:translate(-30px,30px) scale(.9)}}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-appearance:none;background-color:#fff;background-image:none;border:1px solid #747775;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#1f1f1f;cursor:pointer;font-family:Roboto,arial,sans-serif;font-size:14px;height:40px;letter-spacing:.25px;outline:none;overflow:hidden;padding:0 12px;position:relative;text-align:center;-webkit-transition:background-color .218s,border-color .218s,box-shadow .218s;transition:background-color .218s,border-color .218s,box-shadow .218s;vertical-align:middle;white-space:nowrap;width:auto;max-width:400px;min-width:min-content}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%] .gsi-material-button-icon[_ngcontent-%COMP%]{height:20px;margin-right:12px;min-width:20px;width:20px}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%] .gsi-material-button-content-wrapper[_ngcontent-%COMP%]{-webkit-align-items:center;align-items:center;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;justify-content:space-between;position:relative;width:100%}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%] .gsi-material-button-contents[_ngcontent-%COMP%]{-webkit-flex-grow:1;flex-grow:1;font-family:Roboto,arial,sans-serif;font-weight:500;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%] .gsi-material-button-state[_ngcontent-%COMP%]{-webkit-transition:opacity .218s;transition:opacity .218s;inset:0;opacity:0;position:absolute}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:disabled{cursor:default;background-color:#ffffff61;border-color:#1f1f1f1f}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:disabled .gsi-material-button-contents[_ngcontent-%COMP%]{opacity:38%}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:disabled .gsi-material-button-icon[_ngcontent-%COMP%]{opacity:38%}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:not(:disabled):active .gsi-material-button-state[_ngcontent-%COMP%], .light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:not(:disabled):focus .gsi-material-button-state[_ngcontent-%COMP%]{background-color:#303030;opacity:12%}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:not(:disabled):hover{-webkit-box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.light[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:not(:disabled):hover .gsi-material-button-state[_ngcontent-%COMP%]{background-color:#303030;opacity:8%}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-appearance:none;background-color:#131314;background-image:none;border:1px solid #747775;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#e3e3e3;cursor:pointer;font-family:Roboto,arial,sans-serif;font-size:14px;height:40px;letter-spacing:.25px;outline:none;overflow:hidden;padding:0 12px;position:relative;text-align:center;-webkit-transition:background-color .218s,border-color .218s,box-shadow .218s;transition:background-color .218s,border-color .218s,box-shadow .218s;vertical-align:middle;white-space:nowrap;width:auto;max-width:400px;min-width:min-content;border-color:#8e918f}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%] .gsi-material-button-icon[_ngcontent-%COMP%]{height:20px;margin-right:12px;min-width:20px;width:20px}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%] .gsi-material-button-content-wrapper[_ngcontent-%COMP%]{-webkit-align-items:center;align-items:center;display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;justify-content:space-between;position:relative;width:100%}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%] .gsi-material-button-contents[_ngcontent-%COMP%]{-webkit-flex-grow:1;flex-grow:1;font-family:Roboto,arial,sans-serif;font-weight:500;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%] .gsi-material-button-state[_ngcontent-%COMP%]{-webkit-transition:opacity .218s;transition:opacity .218s;inset:0;opacity:0;position:absolute}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:disabled{cursor:default;background-color:#13131461;border-color:#8e918f1f}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:disabled .gsi-material-button-state[_ngcontent-%COMP%]{background-color:#e3e3e31f}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:disabled .gsi-material-button-contents[_ngcontent-%COMP%]{opacity:38%}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:disabled .gsi-material-button-icon[_ngcontent-%COMP%]{opacity:38%}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:not(:disabled):active .gsi-material-button-state[_ngcontent-%COMP%], .dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:not(:disabled):focus .gsi-material-button-state[_ngcontent-%COMP%]{background-color:#fff;opacity:12%}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:not(:disabled):hover{-webkit-box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.dark[_nghost-%COMP%] .gsi-material-button[_ngcontent-%COMP%]:not(:disabled):hover .gsi-material-button-state[_ngcontent-%COMP%]{background-color:#fff;opacity:8%}"], changeDetection: 0 }); }
|
|
@@ -54707,7 +54726,7 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54707
54726
|
<main class="relative pb-32">
|
|
54708
54727
|
<div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
54709
54728
|
<!-- Connecting to Google State -->
|
|
54710
|
-
@if (
|
|
54729
|
+
@if (isConnecting()) {
|
|
54711
54730
|
<div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden mb-8">
|
|
54712
54731
|
<div [ngClass]="contentClasses()" class="px-8 py-16">
|
|
54713
54732
|
<div class="flex flex-col items-center justify-center text-center">
|
|
@@ -54727,7 +54746,7 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54727
54746
|
}
|
|
54728
54747
|
|
|
54729
54748
|
<!-- Connect to Google State -->
|
|
54730
|
-
@if (isConnectState() && !
|
|
54749
|
+
@if (isConnectState() && !isConnecting()) {
|
|
54731
54750
|
<div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden mb-8">
|
|
54732
54751
|
<div [ngClass]="contentClasses()" class="px-8 py-8">
|
|
54733
54752
|
<div class="flex items-start gap-6">
|
|
@@ -54767,7 +54786,7 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54767
54786
|
</p>
|
|
54768
54787
|
|
|
54769
54788
|
<div class="mb-6">
|
|
54770
|
-
<button type="button" class="gsi-material-button" (click)="
|
|
54789
|
+
<button type="button" class="gsi-material-button" (click)="onGoogleButtonClick()">
|
|
54771
54790
|
<div class="gsi-material-button-state"></div>
|
|
54772
54791
|
<div class="gsi-material-button-content-wrapper">
|
|
54773
54792
|
<div class="gsi-material-button-icon">
|
|
@@ -54823,7 +54842,7 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54823
54842
|
}
|
|
54824
54843
|
|
|
54825
54844
|
<!-- Property Selection State -->
|
|
54826
|
-
@if (isSelectionState() && !
|
|
54845
|
+
@if (isSelectionState() && !isConnecting()) {
|
|
54827
54846
|
<div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden mb-8">
|
|
54828
54847
|
<div [ngClass]="contentClasses()" class="px-8 py-8">
|
|
54829
54848
|
<div class="flex items-start gap-6">
|
|
@@ -54931,7 +54950,7 @@ class SymphiqConnectGaDashboardComponent {
|
|
|
54931
54950
|
}
|
|
54932
54951
|
|
|
54933
54952
|
<!-- Selected Property State -->
|
|
54934
|
-
@if (isSelectedState() && !
|
|
54953
|
+
@if (isSelectedState() && !isConnecting()) {
|
|
54935
54954
|
<div [ngClass]="containerClasses()" class="rounded-2xl border shadow-lg overflow-hidden mb-8">
|
|
54936
54955
|
<div [ngClass]="contentClasses()" class="px-8 py-8">
|
|
54937
54956
|
<div class="flex items-start gap-6">
|