@softpak/components 21.3.15 → 21.3.17
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/softpak-components-spx-inputs.mjs +3 -3
- package/fesm2022/softpak-components-spx-inputs.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-suggestion.mjs +8 -3
- package/fesm2022/softpak-components-spx-suggestion.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-translate.mjs +4 -4
- package/fesm2022/softpak-components-spx-translate.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-welcome.mjs +23 -2
- package/fesm2022/softpak-components-spx-welcome.mjs.map +1 -1
- package/package.json +1 -1
- package/tailwind.css +1 -1
- package/types/softpak-components-spx-channel-selection.d.ts +3 -3
- package/types/softpak-components-spx-inputs.d.ts +4 -1
- package/types/softpak-components-spx-suggestion.d.ts +5 -1
- package/types/softpak-components-spx-welcome.d.ts +5 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, viewChild, HostListener, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { NgClass } from '@angular/common';
|
|
4
|
+
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
|
3
5
|
import { SpxHaptics } from '@softpak/components/spx-haptics';
|
|
4
6
|
|
|
5
7
|
class SpxSuggestionComponent {
|
|
@@ -8,6 +10,9 @@ class SpxSuggestionComponent {
|
|
|
8
10
|
this.spxFocused = input(...(ngDevMode ? [undefined, { debugName: "spxFocused" }] : []));
|
|
9
11
|
this.spxSelected = input(...(ngDevMode ? [undefined, { debugName: "spxSelected" }] : []));
|
|
10
12
|
this.spxTabbable = input(...(ngDevMode ? [undefined, { debugName: "spxTabbable" }] : []));
|
|
13
|
+
this.spxIcon = input(...(ngDevMode ? [undefined, { debugName: "spxIcon" }] : []));
|
|
14
|
+
this.spxIconClass = input(...(ngDevMode ? [undefined, { debugName: "spxIconClass" }] : []));
|
|
15
|
+
this.spxBgClass = input(...(ngDevMode ? [undefined, { debugName: "spxBgClass" }] : []));
|
|
11
16
|
this.suggestionRef = viewChild('suggestionRef', ...(ngDevMode ? [{ debugName: "suggestionRef" }] : []));
|
|
12
17
|
this.spxHaptics = new SpxHaptics();
|
|
13
18
|
// For haptics
|
|
@@ -30,12 +35,12 @@ class SpxSuggestionComponent {
|
|
|
30
35
|
};
|
|
31
36
|
}
|
|
32
37
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: SpxSuggestionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: SpxSuggestionComponent, isStandalone: true, selector: "spx-suggestion", inputs: { spxDisabled: { classPropertyName: "spxDisabled", publicName: "spxDisabled", isSignal: true, isRequired: false, transformFunction: null }, spxFocused: { classPropertyName: "spxFocused", publicName: "spxFocused", isSignal: true, isRequired: false, transformFunction: null }, spxSelected: { classPropertyName: "spxSelected", publicName: "spxSelected", isSignal: true, isRequired: false, transformFunction: null }, spxTabbable: { classPropertyName: "spxTabbable", publicName: "spxTabbable", isSignal: true, isRequired: false, transformFunction: null }, spxIcon: { classPropertyName: "spxIcon", publicName: "spxIcon", isSignal: true, isRequired: false, transformFunction: null }, spxIconClass: { classPropertyName: "spxIconClass", publicName: "spxIconClass", isSignal: true, isRequired: false, transformFunction: null }, spxBgClass: { classPropertyName: "spxBgClass", publicName: "spxBgClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "document:pointerup": "onDocumentPointerUp($event)" } }, viewQueries: [{ propertyName: "suggestionRef", first: true, predicate: ["suggestionRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<button\n #suggestionRef\n type=\"button\"\n class=\"spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-left truncate outline-none relative overflow-hidden\"\n [class.bg-sky-100]=\"!this.spxSelected() && !this.spxDisabled() && !this.spxBgClass()\"\n [class.focus:ring-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.hover:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.active:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.bg-gray-200]=\"this.spxDisabled() && !this.spxSelected()\"\n [class.bg-gray-400]=\"this.spxDisabled() && this.spxSelected()\"\n [class.cursor-not-allowed]=\"this.spxDisabled()\"\n [class.opacity-60]=\"this.spxDisabled()\"\n [class.bg-gradient-to-r]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.from-teal-400]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.to-teal-600]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.font-bold]=\"this.spxSelected()\"\n [attr.tabindex]=\"this.spxTabbable() && !this.spxDisabled() ? 0 : -1\"\n [class.ring-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-offset-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-blue-500]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [ngClass]=\"(!this.spxSelected() && !this.spxDisabled() && this.spxBgClass()) ? this.spxBgClass()! : ''\"\n (pointerdown)=\"this.handlePress()\">\n @if (this.spxIcon()) {\n <fa-icon [icon]=\"this.spxIcon()!\" class=\"absolute right-2 top-1/2 -translate-y-1/2 text-lg opacity-30\" [ngClass]=\"this.spxIconClass() ?? ''\"></fa-icon>\n }\n <div class=\"text-ellipsis overflow-hidden whitespace-nowrap\"><ng-content></ng-content></div>\n </button>", styles: [""], dependencies: [{ kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34
39
|
}
|
|
35
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: SpxSuggestionComponent, decorators: [{
|
|
36
41
|
type: Component,
|
|
37
|
-
args: [{ selector: 'spx-suggestion', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n #suggestionRef\n type=\"button\"\n class=\"spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-left truncate outline-none\"\n [class.bg-sky-100]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.focus:ring-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.hover:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.active:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.bg-gray-200]=\"this.spxDisabled() && !this.spxSelected()\"\n [class.bg-gray-400]=\"this.spxDisabled() && this.spxSelected()\"\n [class.cursor-not-allowed]=\"this.spxDisabled()\"\n [class.opacity-60]=\"this.spxDisabled()\"\n [class.bg-gradient-to-r]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.from-teal-400]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.to-teal-600]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.font-bold]=\"this.spxSelected()\"\n [attr.tabindex]=\"this.spxTabbable() && !this.spxDisabled() ? 0 : -1\"\n [class.ring-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-offset-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-blue-500]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n (pointerdown)=\"this.handlePress()\">\n <div class=\"text-ellipsis overflow-hidden whitespace-nowrap\"><ng-content></ng-content></div>\n </button>" }]
|
|
38
|
-
}], propDecorators: { spxDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxDisabled", required: false }] }], spxFocused: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxFocused", required: false }] }], spxSelected: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxSelected", required: false }] }], spxTabbable: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxTabbable", required: false }] }], suggestionRef: [{ type: i0.ViewChild, args: ['suggestionRef', { isSignal: true }] }], onDocumentPointerUp: [{
|
|
42
|
+
args: [{ selector: 'spx-suggestion', standalone: true, imports: [FaIconComponent, NgClass], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n #suggestionRef\n type=\"button\"\n class=\"spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-left truncate outline-none relative overflow-hidden\"\n [class.bg-sky-100]=\"!this.spxSelected() && !this.spxDisabled() && !this.spxBgClass()\"\n [class.focus:ring-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.hover:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.active:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.bg-gray-200]=\"this.spxDisabled() && !this.spxSelected()\"\n [class.bg-gray-400]=\"this.spxDisabled() && this.spxSelected()\"\n [class.cursor-not-allowed]=\"this.spxDisabled()\"\n [class.opacity-60]=\"this.spxDisabled()\"\n [class.bg-gradient-to-r]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.from-teal-400]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.to-teal-600]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.font-bold]=\"this.spxSelected()\"\n [attr.tabindex]=\"this.spxTabbable() && !this.spxDisabled() ? 0 : -1\"\n [class.ring-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-offset-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-blue-500]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [ngClass]=\"(!this.spxSelected() && !this.spxDisabled() && this.spxBgClass()) ? this.spxBgClass()! : ''\"\n (pointerdown)=\"this.handlePress()\">\n @if (this.spxIcon()) {\n <fa-icon [icon]=\"this.spxIcon()!\" class=\"absolute right-2 top-1/2 -translate-y-1/2 text-lg opacity-30\" [ngClass]=\"this.spxIconClass() ?? ''\"></fa-icon>\n }\n <div class=\"text-ellipsis overflow-hidden whitespace-nowrap\"><ng-content></ng-content></div>\n </button>" }]
|
|
43
|
+
}], propDecorators: { spxDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxDisabled", required: false }] }], spxFocused: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxFocused", required: false }] }], spxSelected: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxSelected", required: false }] }], spxTabbable: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxTabbable", required: false }] }], spxIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxIcon", required: false }] }], spxIconClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxIconClass", required: false }] }], spxBgClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "spxBgClass", required: false }] }], suggestionRef: [{ type: i0.ViewChild, args: ['suggestionRef', { isSignal: true }] }], onDocumentPointerUp: [{
|
|
39
44
|
type: HostListener,
|
|
40
45
|
args: ['document:pointerup', ['$event']]
|
|
41
46
|
}] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-suggestion.mjs","sources":["../../../../projects/softpak/components/spx-suggestion/spx-suggestion.component.ts","../../../../projects/softpak/components/spx-suggestion/spx-suggestion.component.html","../../../../projects/softpak/components/spx-suggestion/softpak-components-spx-suggestion.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, HostListener, input, viewChild } from '@angular/core';\n\nimport { SpxHaptics } from '@softpak/components/spx-haptics';\n\n@Component({\n selector: 'spx-suggestion',\n standalone: true,\n templateUrl: './spx-suggestion.component.html',\n styleUrl: './spx-suggestion.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SpxSuggestionComponent {\n spxDisabled = input<boolean>();\n spxFocused = input<boolean>();\n spxSelected = input<boolean>();\n spxTabbable = input<boolean>();\n suggestionRef = viewChild<ElementRef<HTMLButtonElement>>('suggestionRef');\n private spxHaptics: SpxHaptics = new SpxHaptics();\n\n // For haptics\n handlePress = async () => {\n if (this.spxDisabled()) {\n return;\n }\n this.spxHaptics.pressDown();\n };\n\n @HostListener('document:pointerup', ['$event'])\n onDocumentPointerUp = async (event: PointerEvent) => {\n if (this.spxDisabled()) {\n return;\n }\n\n const btn = this.suggestionRef()?.nativeElement;\n if (!btn) {\n return;\n }\n\n const wasInsideElement = btn.contains(event.target as Node);\n this.spxHaptics.pointerUp(wasInsideElement);\n };\n // End haptics\n}\n","<button\n #suggestionRef\n type=\"button\"\n class=\"spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-left truncate outline-none\"\n [class.bg-sky-100]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.focus:ring-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.hover:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.active:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.bg-gray-200]=\"this.spxDisabled() && !this.spxSelected()\"\n [class.bg-gray-400]=\"this.spxDisabled() && this.spxSelected()\"\n [class.cursor-not-allowed]=\"this.spxDisabled()\"\n [class.opacity-60]=\"this.spxDisabled()\"\n [class.bg-gradient-to-r]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.from-teal-400]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.to-teal-600]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.font-bold]=\"this.spxSelected()\"\n [attr.tabindex]=\"this.spxTabbable() && !this.spxDisabled() ? 0 : -1\"\n [class.ring-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-offset-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-blue-500]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n (pointerdown)=\"this.handlePress()\">\n <div class=\"text-ellipsis overflow-hidden whitespace-nowrap\"><ng-content></ng-content></div>\n </button>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-suggestion.mjs","sources":["../../../../projects/softpak/components/spx-suggestion/spx-suggestion.component.ts","../../../../projects/softpak/components/spx-suggestion/spx-suggestion.component.html","../../../../projects/softpak/components/spx-suggestion/softpak-components-spx-suggestion.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, HostListener, input, viewChild } from '@angular/core';\nimport { NgClass } from '@angular/common';\n\nimport { FaIconComponent, IconDefinition } from '@fortawesome/angular-fontawesome';\nimport { SpxHaptics } from '@softpak/components/spx-haptics';\n\n@Component({\n selector: 'spx-suggestion',\n standalone: true,\n imports: [FaIconComponent, NgClass],\n templateUrl: './spx-suggestion.component.html',\n styleUrl: './spx-suggestion.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SpxSuggestionComponent {\n spxDisabled = input<boolean>();\n spxFocused = input<boolean>();\n spxSelected = input<boolean>();\n spxTabbable = input<boolean>();\n spxIcon = input<IconDefinition>();\n spxIconClass = input<string>();\n spxBgClass = input<string>();\n suggestionRef = viewChild<ElementRef<HTMLButtonElement>>('suggestionRef');\n private spxHaptics: SpxHaptics = new SpxHaptics();\n\n // For haptics\n handlePress = async () => {\n if (this.spxDisabled()) {\n return;\n }\n this.spxHaptics.pressDown();\n };\n\n @HostListener('document:pointerup', ['$event'])\n onDocumentPointerUp = async (event: PointerEvent) => {\n if (this.spxDisabled()) {\n return;\n }\n\n const btn = this.suggestionRef()?.nativeElement;\n if (!btn) {\n return;\n }\n\n const wasInsideElement = btn.contains(event.target as Node);\n this.spxHaptics.pointerUp(wasInsideElement);\n };\n // End haptics\n}\n","<button\n #suggestionRef\n type=\"button\"\n class=\"spx-suggestion block rounded text-gray-900 text-sm p-3 w-full text-left truncate outline-none relative overflow-hidden\"\n [class.bg-sky-100]=\"!this.spxSelected() && !this.spxDisabled() && !this.spxBgClass()\"\n [class.focus:ring-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.hover:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.active:bg-sky-300]=\"!this.spxSelected() && !this.spxDisabled()\"\n [class.bg-gray-200]=\"this.spxDisabled() && !this.spxSelected()\"\n [class.bg-gray-400]=\"this.spxDisabled() && this.spxSelected()\"\n [class.cursor-not-allowed]=\"this.spxDisabled()\"\n [class.opacity-60]=\"this.spxDisabled()\"\n [class.bg-gradient-to-r]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.from-teal-400]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.to-teal-600]=\"this.spxSelected() && !this.spxDisabled()\"\n [class.font-bold]=\"this.spxSelected()\"\n [attr.tabindex]=\"this.spxTabbable() && !this.spxDisabled() ? 0 : -1\"\n [class.ring-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-offset-2]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [class.ring-blue-500]=\"this.spxFocused() && this.spxTabbable() && !this.spxDisabled()\"\n [ngClass]=\"(!this.spxSelected() && !this.spxDisabled() && this.spxBgClass()) ? this.spxBgClass()! : ''\"\n (pointerdown)=\"this.handlePress()\">\n @if (this.spxIcon()) {\n <fa-icon [icon]=\"this.spxIcon()!\" class=\"absolute right-2 top-1/2 -translate-y-1/2 text-lg opacity-30\" [ngClass]=\"this.spxIconClass() ?? ''\"></fa-icon>\n }\n <div class=\"text-ellipsis overflow-hidden whitespace-nowrap\"><ng-content></ng-content></div>\n </button>","/**\n * Generated bundle index. Do not ed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AAA;kBARlC,SAAS;+BACE,gBAAgB,EAAA,UAAA,EACd,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,EAAE,OAAO,CAAC,EAAA,eAAA,EAGlB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4yDAAA,EAAA;2wBAUU,eAAe,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,mBAAA,EAAA,CAAA;sBAWvE,YAAY;uBAAC,oBAAoB,EAAE,CAAC,QAAQ,CAAC;;;AEjChD;;AAEG;;;;"}
|
|
@@ -104,8 +104,8 @@ const SpxTranslateEn = {
|
|
|
104
104
|
[spxTextUpdateLiveChannel]: "live update channel",
|
|
105
105
|
[spxTextUpdateLiveBundle]: "downloaded live bundle",
|
|
106
106
|
[spxTextUpdateNextVersionNumber]: "next live version number",
|
|
107
|
-
[spxTextDoYouComeHereOften]: "Do you
|
|
108
|
-
[spxTextFavorite]: "
|
|
107
|
+
[spxTextDoYouComeHereOften]: "Do you visit this company often?",
|
|
108
|
+
[spxTextFavorite]: "Mark as favourite",
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
const SpxTranslateNl = {
|
|
@@ -160,8 +160,8 @@ const SpxTranslateNl = {
|
|
|
160
160
|
[spxTextUpdateLiveChannel]: "live update kanaal",
|
|
161
161
|
[spxTextUpdateLiveBundle]: "gedownloade live bundle",
|
|
162
162
|
[spxTextUpdateNextVersionNumber]: "volgende live versionnumber",
|
|
163
|
-
[spxTextDoYouComeHereOften]: "
|
|
164
|
-
[spxTextFavorite]: "
|
|
163
|
+
[spxTextDoYouComeHereOften]: "Bezoekt u dit bedrijf vaker?",
|
|
164
|
+
[spxTextFavorite]: "Markeer als favoriet",
|
|
165
165
|
};
|
|
166
166
|
|
|
167
167
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-translate.mjs","sources":["../../../../projects/softpak/components/spx-translate/spx-translate._const.ts","../../../../projects/softpak/components/spx-translate/spx-translate.en.ts","../../../../projects/softpak/components/spx-translate/spx-translate.nl.ts","../../../../projects/softpak/components/spx-translate/softpak-components-spx-translate.ts"],"sourcesContent":["export const spxTextCheckingForUpdates = 'spxTextCheckingForUpdates';\nexport const spxTextOneMomentPlease = 'spxTextOneMomentPlease';\nexport const spxTextPatchAvailable = 'spxTextPatchAvailable';\nexport const spxTextUpdateAvailable = 'spxTextUpdateAvailable';\nexport const spxTextReadyToBeInstalled = 'spxTextReadyToBeInstalled';\nexport const spxTextUpdate = 'spxTextUpdate';\nexport const spxTextOpenAppStore = 'spxTextOpenAppStore';\nexport const spxTextChannel = 'spxTextChannel';\nexport const spxTextCompany = 'spxTextCompany';\nexport const spxTextSelect = 'spxTextSelect';\nexport const spxTextSelectYourCompany = 'spxSelectYourCompany';\nexport const spxTextChange = 'spxTextChange';\nexport const spxText404PageNotFound = \"spxText404PageNotFound\";\nexport const spxTextPageNotFound = \"spxTextPageNotFound\";\nexport const spxTextPageNotFoundDescription = \"spxTextPageNotFoundDescription\";\nexport const spxTextGoHome = \"spxTextGoHome\";\nexport const spxTextTooLong = \"spxTextTooLong\";\nexport const spxTextTooShort = \"spxTextTooShort\";\nexport const spxTextTooHigh = \"spxTextTooHigh\";\nexport const spxTextTooLow = \"spxTextTooLow\";\nexport const spxTextPatternNotValid = \"spxTextPatternNotValid\";\nexport const spxTextRequired = \"spxTextRequired\";\nexport const spxTextChoosePast = \"spxTextChoosePast\";\nexport const spxTextChooseFuture = \"spxTextChooseFuture\";\nexport const spxTextChooseValidMonth = \"spxTextChooseValidMonth\";\nexport const spxTextDateMayNotBeFuture = \"spxTextDateMayNotBeFuture\";\nexport const spxTextDateMayNotBePast = \"spxTextDateMayNotBePast\";\nexport const spxTextInvalidCode = \"spxTextInvalidCode\";\nexport const spxTextLiveUpdateChannelSetFailed = \"spxTextLiveUpdateChannelSetFailed\";\nexport const spxTextLiveUpdateChannelSetFailedWithReason = \"spxTextLiveUpdateChannelSetFailedWithReason\";\nexport const spxTextLiveUpdateCheckFailed = \"spxTextLiveUpdateCheckFailed\";\nexport const spxTextLiveUpdateCheckFailedWithReason = \"spxTextLiveUpdateCheckFailedWithReason\";\nexport const spxTextUpdateErrorReason = \"spxTextUpdateErrorReason\";\nexport const spxTextUpdateAppVersion = \"spxTextUpdateAppVersion\";\nexport const spxTextUpdateBinaryVersionGroup = \"spxTextUpdateBinaryVersionGroup\";\nexport const spxTextUpdateBuildVersion = \"spxTextUpdateBuildVersion\";\nexport const spxTextUpdateCurrentVersionNumber = \"spxTextUpdateCurrentVersionNumber\";\nexport const spxTextUpdateLastCheck = \"spxTextUpdateLastCheck\";\nexport const spxTextUpdateLiveBundle = \"spxTextUpdateLiveBundle\";\nexport const spxTextUpdateLiveChannel = \"spxTextUpdateLiveChannel\";\nexport const spxTextUpdateNextVersionNumber = \"spxTextUpdateNextVersionNumber\";\nexport const spxTextUpdateStatus = \"spxTextUpdateStatus\";\nexport const spxTextUpdateStatusCompleted = \"spxTextUpdateStatusCompleted\";\nexport const spxTextUpdateStatusFailed = \"spxTextUpdateStatusFailed\";\nexport const spxTextUpdateStatusPreparing = \"spxTextUpdateStatusPreparing\";\nexport const spxTextUpdateStatusReloading = \"spxTextUpdateStatusReloading\";\nexport const spxTextUpdateStatusSyncing = \"spxTextUpdateStatusSyncing\";\nexport const spxTextUpdateStatusUpdateReady = \"spxTextUpdateStatusUpdateReady\";\nexport const spxTextUpdateStatusUpToDate = \"spxTextUpdateStatusUpToDate\";\nexport const spxTextUpdateStatusWebNotAvailable = \"spxTextUpdateStatusWebNotAvailable\";\nexport const spxTextUpdateVersionInfo = \"spxTextUpdateVersionInfo\";\nexport const spxTextDoYouComeHereOften = \"spxTextDoYouComeHereOften\";\nexport const spxTextFavorite = \"spxTextFavorite\";\n\nexport interface SpxTranslateI {\n [spxTextChange]: string;\n [spxTextCheckingForUpdates]: string;\n [spxTextOneMomentPlease]: string;\n [spxTextPatchAvailable]: string;\n [spxTextUpdateAvailable]: string;\n [spxTextReadyToBeInstalled]: string;\n [spxTextUpdate]: string;\n [spxTextOpenAppStore]: string;\n [spxTextChannel]: string;\n [spxTextCompany]: string;\n [spxTextSelect]: string;\n [spxTextSelectYourCompany]: string;\n [spxText404PageNotFound]: string;\n [spxTextPageNotFound]: string;\n [spxTextPageNotFoundDescription]: string;\n [spxTextGoHome]: string;\n [spxTextInvalidCode]: string;\n [spxTextTooLong]: string;\n [spxTextTooShort]: string;\n [spxTextTooHigh]: string;\n [spxTextTooLow]: string;\n [spxTextPatternNotValid]: string;\n [spxTextRequired]: string;\n [spxTextChoosePast]: string;\n [spxTextChooseFuture]: string;\n [spxTextChooseValidMonth]: string;\n [spxTextDateMayNotBeFuture]: string;\n [spxTextDateMayNotBePast]: string;\n [spxTextInvalidCode]: string;\n [spxTextLiveUpdateChannelSetFailed]: string;\n [spxTextLiveUpdateChannelSetFailedWithReason]: string;\n [spxTextLiveUpdateCheckFailed]: string;\n [spxTextLiveUpdateCheckFailedWithReason]: string;\n [spxTextUpdateErrorReason]: string;\n [spxTextUpdateAppVersion]: string;\n [spxTextUpdateBinaryVersionGroup]: string;\n [spxTextUpdateBuildVersion]: string;\n [spxTextUpdateCurrentVersionNumber]: string;\n [spxTextUpdateLastCheck]: string;\n [spxTextUpdateLiveBundle]: string;\n [spxTextUpdateLiveChannel]: string;\n [spxTextUpdateNextVersionNumber]: string;\n [spxTextUpdateStatus]: string;\n [spxTextUpdateStatusCompleted]: string;\n [spxTextUpdateStatusFailed]: string;\n [spxTextUpdateStatusPreparing]: string;\n [spxTextUpdateStatusReloading]: string;\n [spxTextUpdateStatusSyncing]: string;\n [spxTextUpdateStatusUpdateReady]: string;\n [spxTextUpdateStatusUpToDate]: string;\n [spxTextUpdateStatusWebNotAvailable]: string;\n [spxTextUpdateVersionInfo]: string;\n [spxTextDoYouComeHereOften]: string;\n [spxTextFavorite]: string;\n}\n","import {\n spxText404PageNotFound,\n spxTextChange,\n spxTextChannel,\n spxTextCheckingForUpdates,\n spxTextChooseFuture,\n spxTextChoosePast,\n spxTextChooseValidMonth,\n spxTextCompany,\n spxTextDateMayNotBeFuture,\n spxTextDateMayNotBePast,\n spxTextGoHome,\n spxTextInvalidCode,\n spxTextLiveUpdateCheckFailed,\n spxTextLiveUpdateCheckFailedWithReason,\n spxTextLiveUpdateChannelSetFailed,\n spxTextLiveUpdateChannelSetFailedWithReason,\n spxTextOneMomentPlease,\n spxTextOpenAppStore,\n spxTextPageNotFound,\n spxTextPageNotFoundDescription,\n spxTextPatchAvailable,\n spxTextPatternNotValid,\n spxTextReadyToBeInstalled,\n spxTextRequired,\n spxTextSelect,\n spxTextSelectYourCompany,\n spxTextTooHigh,\n spxTextTooLong,\n spxTextTooLow,\n spxTextTooShort,\n spxTextUpdate,\n spxTextUpdateAppVersion,\n spxTextUpdateAvailable,\n spxTextUpdateBinaryVersionGroup,\n spxTextUpdateBuildVersion,\n spxTextUpdateCurrentVersionNumber,\n spxTextUpdateErrorReason,\n spxTextUpdateLastCheck,\n spxTextUpdateLiveBundle,\n spxTextUpdateLiveChannel,\n spxTextUpdateNextVersionNumber,\n spxTextUpdateStatus,\n spxTextUpdateStatusCompleted,\n spxTextUpdateStatusFailed,\n spxTextUpdateStatusPreparing,\n spxTextUpdateStatusReloading,\n spxTextUpdateStatusSyncing,\n spxTextUpdateStatusUpdateReady,\n spxTextUpdateStatusUpToDate,\n spxTextUpdateStatusWebNotAvailable,\n spxTextUpdateVersionInfo,\n spxTextDoYouComeHereOften,\n spxTextFavorite,\n SpxTranslateI\n} from \"./spx-translate._const\";\n\nexport const SpxTranslateEn: SpxTranslateI = {\n [spxTextCheckingForUpdates]: 'checking for updates',\n [spxTextOneMomentPlease]: 'one moment please',\n [spxTextReadyToBeInstalled]: 'ready to be installed',\n [spxTextPatchAvailable]: 'patch available',\n [spxTextUpdateAvailable]: 'update available',\n [spxTextUpdate]: 'update',\n [spxTextOpenAppStore]: 'open app store',\n [spxTextChannel]: 'channel',\n [spxTextCompany]: 'company',\n [spxTextSelect]: 'select',\n [spxTextSelectYourCompany]: 'select your company',\n [spxTextChange]: 'change',\n [spxText404PageNotFound]: \"404 page not found\",\n [spxTextPageNotFound]: \"Page not found\",\n [spxTextPageNotFoundDescription]: \"Sorry, the page you’re looking for doesn’t exist or has been moved.\",\n [spxTextGoHome]: \"Go home\",\n [spxTextTooLong]: \"'{{fieldLabel}}' is too long (the maximum length is {{error}})\",\n [spxTextTooShort]: \"'{{fieldLabel}}' is too short (the minimum length is {{error}})\",\n [spxTextTooHigh]: \"The value of '{{fieldLabel}}' is too high, the maximum is {{error}}.\",\n [spxTextTooLow]: \"The value of '{{fieldLabel}}' is too low, the minimum is {{error}}.\",\n [spxTextPatternNotValid]: \"The pattern of '{{fieldLabel}}' is not valid.\",\n [spxTextRequired]: \"The field '{{fieldLabel}}' is required.\",\n [spxTextChoosePast]: \"Please choose a year between 1991 and the current year.\",\n [spxTextChooseFuture]: \"Please choose a year between the current year and 2050.\",\n [spxTextChooseValidMonth]: \"Please choose a valid month (a value between 01 and 12).\",\n [spxTextDateMayNotBeFuture]: \"The selected date may not be in the future.\",\n [spxTextDateMayNotBePast]: \"The selected date may not be in the past.\",\n [spxTextInvalidCode]: \"The {{codeName}} code {{codeCode}} does not exist.\",\n [spxTextLiveUpdateChannelSetFailed]: \"Channel selected, but live update channel could not be set.\",\n [spxTextLiveUpdateChannelSetFailedWithReason]: \"Channel selected, but live update channel could not be set: {{reason}}.\",\n [spxTextLiveUpdateCheckFailed]: \"Unable to check for updates right now. Please try again later.\",\n [spxTextLiveUpdateCheckFailedWithReason]: \"Unable to check for updates: {{reason}}.\",\n [spxTextUpdateErrorReason]: \"error details\",\n [spxTextUpdateLastCheck]: \"last successful check\",\n [spxTextUpdateStatus]: \"status\",\n [spxTextUpdateStatusPreparing]: \"preparing update check\",\n [spxTextUpdateStatusSyncing]: \"synchronizing update information\",\n [spxTextUpdateStatusReloading]: \"reloading app with downloaded update\",\n [spxTextUpdateStatusCompleted]: \"update check completed\",\n [spxTextUpdateStatusUpToDate]: \"app is up to date\",\n [spxTextUpdateStatusUpdateReady]: \"update downloaded\",\n [spxTextUpdateStatusFailed]: \"update check failed\",\n [spxTextUpdateStatusWebNotAvailable]: \"live update is not available on web\",\n [spxTextUpdateVersionInfo]: \"version information\",\n [spxTextUpdateAppVersion]: \"app version\",\n [spxTextUpdateBuildVersion]: \"build version\",\n [spxTextUpdateBinaryVersionGroup]: \"binary version group\",\n [spxTextUpdateCurrentVersionNumber]: \"current live version number\",\n [spxTextUpdateLiveChannel]: \"live update channel\",\n [spxTextUpdateLiveBundle]: \"downloaded live bundle\",\n [spxTextUpdateNextVersionNumber]: \"next live version number\",\n [spxTextDoYouComeHereOften]: \"Do you come here often?\",\n [spxTextFavorite]: \"Favorite\",\n}\n","import {\n spxText404PageNotFound,\n spxTextChange,\n spxTextChannel,\n spxTextCheckingForUpdates,\n spxTextChooseFuture,\n spxTextChoosePast,\n spxTextChooseValidMonth,\n spxTextCompany,\n spxTextDateMayNotBeFuture,\n spxTextDateMayNotBePast,\n spxTextGoHome,\n spxTextInvalidCode,\n spxTextLiveUpdateCheckFailed,\n spxTextLiveUpdateCheckFailedWithReason,\n spxTextLiveUpdateChannelSetFailed,\n spxTextLiveUpdateChannelSetFailedWithReason,\n spxTextOneMomentPlease,\n spxTextOpenAppStore,\n spxTextPageNotFound,\n spxTextPageNotFoundDescription,\n spxTextPatchAvailable,\n spxTextPatternNotValid,\n spxTextReadyToBeInstalled,\n spxTextRequired,\n spxTextSelect,\n spxTextSelectYourCompany,\n spxTextTooHigh,\n spxTextTooLong,\n spxTextTooLow,\n spxTextTooShort,\n spxTextUpdate,\n spxTextUpdateAppVersion,\n spxTextUpdateAvailable,\n spxTextUpdateBinaryVersionGroup,\n spxTextUpdateBuildVersion,\n spxTextUpdateCurrentVersionNumber,\n spxTextUpdateErrorReason,\n spxTextUpdateLastCheck,\n spxTextUpdateLiveBundle,\n spxTextUpdateLiveChannel,\n spxTextUpdateNextVersionNumber,\n spxTextUpdateStatus,\n spxTextUpdateStatusCompleted,\n spxTextUpdateStatusFailed,\n spxTextUpdateStatusPreparing,\n spxTextUpdateStatusReloading,\n spxTextUpdateStatusSyncing,\n spxTextUpdateStatusUpdateReady,\n spxTextUpdateStatusUpToDate,\n spxTextUpdateStatusWebNotAvailable,\n spxTextUpdateVersionInfo,\n spxTextDoYouComeHereOften,\n spxTextFavorite,\n SpxTranslateI\n} from \"./spx-translate._const\";\n\nexport const SpxTranslateNl: SpxTranslateI = {\n [spxTextCheckingForUpdates]: 'controleren op updates',\n [spxTextOneMomentPlease]: 'een moment geduld alstublieft',\n [spxTextReadyToBeInstalled]: 'ready to be installed',\n [spxTextPatchAvailable]: 'patch available',\n [spxTextUpdateAvailable]: 'update available',\n [spxTextUpdate]: 'updaten',\n [spxTextOpenAppStore]: 'open app store',\n [spxTextChannel]: 'kanaal',\n [spxTextCompany]: 'bedrijf',\n [spxTextSelect]: 'selecteer',\n [spxTextSelectYourCompany]: 'selecteer uw bedrijf',\n [spxTextChange]: 'wissel',\n [spxText404PageNotFound]: \"404 pagina niet gevonden\",\n [spxTextPageNotFound]: \"Pagina niet gevonden\",\n [spxTextPageNotFoundDescription]: \"Sorry, de pagina die u zoekt bestaat niet of is verplaatst.\",\n [spxTextGoHome]: \"Ga naar het hoofdscherm\",\n [spxTextInvalidCode]: \"De {{codeName}} code {{codeCode}} is ongeldig.\",\n [spxTextTooLong]: \"De waarde van '{{fieldLabel}}' is te lang (de maximale lengte is {{error}}).\",\n [spxTextTooShort]: \"De waarde van '{{fieldLabel}}' is te kort (de minimale lengte is {{error}}).\",\n [spxTextTooHigh]: \"De waarde van '{{fieldLabel}}' is te hoog (de maximale waarde is {{error}}).\",\n [spxTextTooLow]: \"De waarde van '{{fieldLabel}}' is te laag (de minimale waarde is {{error}}).\",\n [spxTextPatternNotValid]: \"Het patroon van '{{fieldLabel}}' is ongeldig.\",\n [spxTextRequired]: \"Het veld '{{fieldLabel}}' is verplicht.\",\n [spxTextChoosePast]: \"Kies een jaar tussen 1991 en het huidige jaar.\",\n [spxTextChooseFuture]: \"Kies een jaar tussen het huidige jaar en 2050.\",\n [spxTextChooseValidMonth]: \"Kies een geldige maand (een waarde tussen 01 en 12).\",\n [spxTextDateMayNotBeFuture]: \"De geselecteerde datum mag niet in de toekomst liggen.\",\n [spxTextDateMayNotBePast]: \"De geselecteerde datum mag niet in het verleden liggen.\",\n [spxTextLiveUpdateChannelSetFailed]: \"Kanaal geselecteerd, maar het live update kanaal kon niet worden ingesteld.\",\n [spxTextLiveUpdateChannelSetFailedWithReason]: \"Kanaal geselecteerd, maar het live update kanaal kon niet worden ingesteld: {{reason}}.\",\n [spxTextLiveUpdateCheckFailed]: \"Kan nu niet op updates controleren. Probeer het later opnieuw.\",\n [spxTextLiveUpdateCheckFailedWithReason]: \"Kan nu niet op updates controleren: {{reason}}.\",\n [spxTextUpdateErrorReason]: \"foutdetails\",\n [spxTextUpdateLastCheck]: \"laatste succesvolle controle\",\n [spxTextUpdateStatus]: \"status\",\n [spxTextUpdateStatusPreparing]: \"updatecontrole voorbereiden\",\n [spxTextUpdateStatusSyncing]: \"update-informatie synchroniseren\",\n [spxTextUpdateStatusReloading]: \"app herladen met gedownloade update\",\n [spxTextUpdateStatusCompleted]: \"updatecontrole voltooid\",\n [spxTextUpdateStatusUpToDate]: \"app is up-to-date\",\n [spxTextUpdateStatusUpdateReady]: \"update gedownload\",\n [spxTextUpdateStatusFailed]: \"updatecontrole mislukt\",\n [spxTextUpdateStatusWebNotAvailable]: \"live update is niet beschikbaar op web\",\n [spxTextUpdateVersionInfo]: \"versie-informatie\",\n [spxTextUpdateAppVersion]: \"app-versie\",\n [spxTextUpdateBuildVersion]: \"build-versie\",\n [spxTextUpdateBinaryVersionGroup]: \"binaire versiegroep\",\n [spxTextUpdateCurrentVersionNumber]: \"huidige live versionnumber\",\n [spxTextUpdateLiveChannel]: \"live update kanaal\",\n [spxTextUpdateLiveBundle]: \"gedownloade live bundle\",\n [spxTextUpdateNextVersionNumber]: \"volgende live versionnumber\",\n [spxTextDoYouComeHereOften]: \"Komt u hier vaker?\",\n [spxTextFavorite]: \"Favoriet\",\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAO,MAAM,yBAAyB,GAAG;AAClC,MAAM,sBAAsB,GAAG;AAC/B,MAAM,qBAAqB,GAAG;AAC9B,MAAM,sBAAsB,GAAG;AAC/B,MAAM,yBAAyB,GAAG;AAClC,MAAM,aAAa,GAAG;AACtB,MAAM,mBAAmB,GAAG;AAC5B,MAAM,cAAc,GAAG;AACvB,MAAM,cAAc,GAAG;AACvB,MAAM,aAAa,GAAG;AACtB,MAAM,wBAAwB,GAAG;AACjC,MAAM,aAAa,GAAG;AACtB,MAAM,sBAAsB,GAAG;AAC/B,MAAM,mBAAmB,GAAG;AAC5B,MAAM,8BAA8B,GAAG;AACvC,MAAM,aAAa,GAAG;AACtB,MAAM,cAAc,GAAG;AACvB,MAAM,eAAe,GAAG;AACxB,MAAM,cAAc,GAAG;AACvB,MAAM,aAAa,GAAG;AACtB,MAAM,sBAAsB,GAAG;AAC/B,MAAM,eAAe,GAAG;AACxB,MAAM,iBAAiB,GAAG;AAC1B,MAAM,mBAAmB,GAAG;AAC5B,MAAM,uBAAuB,GAAG;AAChC,MAAM,yBAAyB,GAAG;AAClC,MAAM,uBAAuB,GAAG;AAChC,MAAM,kBAAkB,GAAG;AAC3B,MAAM,iCAAiC,GAAG;AAC1C,MAAM,2CAA2C,GAAG;AACpD,MAAM,4BAA4B,GAAG;AACrC,MAAM,sCAAsC,GAAG;AAC/C,MAAM,wBAAwB,GAAG;AACjC,MAAM,uBAAuB,GAAG;AAChC,MAAM,+BAA+B,GAAG;AACxC,MAAM,yBAAyB,GAAG;AAClC,MAAM,iCAAiC,GAAG;AAC1C,MAAM,sBAAsB,GAAG;AAC/B,MAAM,uBAAuB,GAAG;AAChC,MAAM,wBAAwB,GAAG;AACjC,MAAM,8BAA8B,G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wB,GAAG,mBAAmB;IAC/C,CAAC,uBAAuB,GAAG,YAAY;IACvC,CAAC,yBAAyB,GAAG,cAAc;IAC3C,CAAC,+BAA+B,GAAG,qBAAqB;IACxD,CAAC,iCAAiC,GAAG,4BAA4B;IACjE,CAAC,wBAAwB,GAAG,oBAAoB;IAChD,CAAC,uBAAuB,GAAG,yBAAyB;IACpD,CAAC,8BAA8B,GAAG,6BAA6B;IAC/D,CAAC,yBAAyB,GAAG,oBAAoB;IACjD,CAAC,eAAe,GAAG,UAAU;;;AC9G/B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-translate.mjs","sources":["../../../../projects/softpak/components/spx-translate/spx-translate._const.ts","../../../../projects/softpak/components/spx-translate/spx-translate.en.ts","../../../../projects/softpak/components/spx-translate/spx-translate.nl.ts","../../../../projects/softpak/components/spx-translate/softpak-components-spx-translate.ts"],"sourcesContent":["export const spxTextCheckingForUpdates = 'spxTextCheckingForUpdates';\nexport const spxTextOneMomentPlease = 'spxTextOneMomentPlease';\nexport const spxTextPatchAvailable = 'spxTextPatchAvailable';\nexport const spxTextUpdateAvailable = 'spxTextUpdateAvailable';\nexport const spxTextReadyToBeInstalled = 'spxTextReadyToBeInstalled';\nexport const spxTextUpdate = 'spxTextUpdate';\nexport const spxTextOpenAppStore = 'spxTextOpenAppStore';\nexport const spxTextChannel = 'spxTextChannel';\nexport const spxTextCompany = 'spxTextCompany';\nexport const spxTextSelect = 'spxTextSelect';\nexport const spxTextSelectYourCompany = 'spxSelectYourCompany';\nexport const spxTextChange = 'spxTextChange';\nexport const spxText404PageNotFound = \"spxText404PageNotFound\";\nexport const spxTextPageNotFound = \"spxTextPageNotFound\";\nexport const spxTextPageNotFoundDescription = \"spxTextPageNotFoundDescription\";\nexport const spxTextGoHome = \"spxTextGoHome\";\nexport const spxTextTooLong = \"spxTextTooLong\";\nexport const spxTextTooShort = \"spxTextTooShort\";\nexport const spxTextTooHigh = \"spxTextTooHigh\";\nexport const spxTextTooLow = \"spxTextTooLow\";\nexport const spxTextPatternNotValid = \"spxTextPatternNotValid\";\nexport const spxTextRequired = \"spxTextRequired\";\nexport const spxTextChoosePast = \"spxTextChoosePast\";\nexport const spxTextChooseFuture = \"spxTextChooseFuture\";\nexport const spxTextChooseValidMonth = \"spxTextChooseValidMonth\";\nexport const spxTextDateMayNotBeFuture = \"spxTextDateMayNotBeFuture\";\nexport const spxTextDateMayNotBePast = \"spxTextDateMayNotBePast\";\nexport const spxTextInvalidCode = \"spxTextInvalidCode\";\nexport const spxTextLiveUpdateChannelSetFailed = \"spxTextLiveUpdateChannelSetFailed\";\nexport const spxTextLiveUpdateChannelSetFailedWithReason = \"spxTextLiveUpdateChannelSetFailedWithReason\";\nexport const spxTextLiveUpdateCheckFailed = \"spxTextLiveUpdateCheckFailed\";\nexport const spxTextLiveUpdateCheckFailedWithReason = \"spxTextLiveUpdateCheckFailedWithReason\";\nexport const spxTextUpdateErrorReason = \"spxTextUpdateErrorReason\";\nexport const spxTextUpdateAppVersion = \"spxTextUpdateAppVersion\";\nexport const spxTextUpdateBinaryVersionGroup = \"spxTextUpdateBinaryVersionGroup\";\nexport const spxTextUpdateBuildVersion = \"spxTextUpdateBuildVersion\";\nexport const spxTextUpdateCurrentVersionNumber = \"spxTextUpdateCurrentVersionNumber\";\nexport const spxTextUpdateLastCheck = \"spxTextUpdateLastCheck\";\nexport const spxTextUpdateLiveBundle = \"spxTextUpdateLiveBundle\";\nexport const spxTextUpdateLiveChannel = \"spxTextUpdateLiveChannel\";\nexport const spxTextUpdateNextVersionNumber = \"spxTextUpdateNextVersionNumber\";\nexport const spxTextUpdateStatus = \"spxTextUpdateStatus\";\nexport const spxTextUpdateStatusCompleted = \"spxTextUpdateStatusCompleted\";\nexport const spxTextUpdateStatusFailed = \"spxTextUpdateStatusFailed\";\nexport const spxTextUpdateStatusPreparing = \"spxTextUpdateStatusPreparing\";\nexport const spxTextUpdateStatusReloading = \"spxTextUpdateStatusReloading\";\nexport const spxTextUpdateStatusSyncing = \"spxTextUpdateStatusSyncing\";\nexport const spxTextUpdateStatusUpdateReady = \"spxTextUpdateStatusUpdateReady\";\nexport const spxTextUpdateStatusUpToDate = \"spxTextUpdateStatusUpToDate\";\nexport const spxTextUpdateStatusWebNotAvailable = \"spxTextUpdateStatusWebNotAvailable\";\nexport const spxTextUpdateVersionInfo = \"spxTextUpdateVersionInfo\";\nexport const spxTextDoYouComeHereOften = \"spxTextDoYouComeHereOften\";\nexport const spxTextFavorite = \"spxTextFavorite\";\n\nexport interface SpxTranslateI {\n [spxTextChange]: string;\n [spxTextCheckingForUpdates]: string;\n [spxTextOneMomentPlease]: string;\n [spxTextPatchAvailable]: string;\n [spxTextUpdateAvailable]: string;\n [spxTextReadyToBeInstalled]: string;\n [spxTextUpdate]: string;\n [spxTextOpenAppStore]: string;\n [spxTextChannel]: string;\n [spxTextCompany]: string;\n [spxTextSelect]: string;\n [spxTextSelectYourCompany]: string;\n [spxText404PageNotFound]: string;\n [spxTextPageNotFound]: string;\n [spxTextPageNotFoundDescription]: string;\n [spxTextGoHome]: string;\n [spxTextInvalidCode]: string;\n [spxTextTooLong]: string;\n [spxTextTooShort]: string;\n [spxTextTooHigh]: string;\n [spxTextTooLow]: string;\n [spxTextPatternNotValid]: string;\n [spxTextRequired]: string;\n [spxTextChoosePast]: string;\n [spxTextChooseFuture]: string;\n [spxTextChooseValidMonth]: string;\n [spxTextDateMayNotBeFuture]: string;\n [spxTextDateMayNotBePast]: string;\n [spxTextInvalidCode]: string;\n [spxTextLiveUpdateChannelSetFailed]: string;\n [spxTextLiveUpdateChannelSetFailedWithReason]: string;\n [spxTextLiveUpdateCheckFailed]: string;\n [spxTextLiveUpdateCheckFailedWithReason]: string;\n [spxTextUpdateErrorReason]: string;\n [spxTextUpdateAppVersion]: string;\n [spxTextUpdateBinaryVersionGroup]: string;\n [spxTextUpdateBuildVersion]: string;\n [spxTextUpdateCurrentVersionNumber]: string;\n [spxTextUpdateLastCheck]: string;\n [spxTextUpdateLiveBundle]: string;\n [spxTextUpdateLiveChannel]: string;\n [spxTextUpdateNextVersionNumber]: string;\n [spxTextUpdateStatus]: string;\n [spxTextUpdateStatusCompleted]: string;\n [spxTextUpdateStatusFailed]: string;\n [spxTextUpdateStatusPreparing]: string;\n [spxTextUpdateStatusReloading]: string;\n [spxTextUpdateStatusSyncing]: string;\n [spxTextUpdateStatusUpdateReady]: string;\n [spxTextUpdateStatusUpToDate]: string;\n [spxTextUpdateStatusWebNotAvailable]: string;\n [spxTextUpdateVersionInfo]: string;\n [spxTextDoYouComeHereOften]: string;\n [spxTextFavorite]: string;\n}\n","import {\n spxText404PageNotFound,\n spxTextChange,\n spxTextChannel,\n spxTextCheckingForUpdates,\n spxTextChooseFuture,\n spxTextChoosePast,\n spxTextChooseValidMonth,\n spxTextCompany,\n spxTextDateMayNotBeFuture,\n spxTextDateMayNotBePast,\n spxTextGoHome,\n spxTextInvalidCode,\n spxTextLiveUpdateCheckFailed,\n spxTextLiveUpdateCheckFailedWithReason,\n spxTextLiveUpdateChannelSetFailed,\n spxTextLiveUpdateChannelSetFailedWithReason,\n spxTextOneMomentPlease,\n spxTextOpenAppStore,\n spxTextPageNotFound,\n spxTextPageNotFoundDescription,\n spxTextPatchAvailable,\n spxTextPatternNotValid,\n spxTextReadyToBeInstalled,\n spxTextRequired,\n spxTextSelect,\n spxTextSelectYourCompany,\n spxTextTooHigh,\n spxTextTooLong,\n spxTextTooLow,\n spxTextTooShort,\n spxTextUpdate,\n spxTextUpdateAppVersion,\n spxTextUpdateAvailable,\n spxTextUpdateBinaryVersionGroup,\n spxTextUpdateBuildVersion,\n spxTextUpdateCurrentVersionNumber,\n spxTextUpdateErrorReason,\n spxTextUpdateLastCheck,\n spxTextUpdateLiveBundle,\n spxTextUpdateLiveChannel,\n spxTextUpdateNextVersionNumber,\n spxTextUpdateStatus,\n spxTextUpdateStatusCompleted,\n spxTextUpdateStatusFailed,\n spxTextUpdateStatusPreparing,\n spxTextUpdateStatusReloading,\n spxTextUpdateStatusSyncing,\n spxTextUpdateStatusUpdateReady,\n spxTextUpdateStatusUpToDate,\n spxTextUpdateStatusWebNotAvailable,\n spxTextUpdateVersionInfo,\n spxTextDoYouComeHereOften,\n spxTextFavorite,\n SpxTranslateI\n} from \"./spx-translate._const\";\n\nexport const SpxTranslateEn: SpxTranslateI = {\n [spxTextCheckingForUpdates]: 'checking for updates',\n [spxTextOneMomentPlease]: 'one moment please',\n [spxTextReadyToBeInstalled]: 'ready to be installed',\n [spxTextPatchAvailable]: 'patch available',\n [spxTextUpdateAvailable]: 'update available',\n [spxTextUpdate]: 'update',\n [spxTextOpenAppStore]: 'open app store',\n [spxTextChannel]: 'channel',\n [spxTextCompany]: 'company',\n [spxTextSelect]: 'select',\n [spxTextSelectYourCompany]: 'select your company',\n [spxTextChange]: 'change',\n [spxText404PageNotFound]: \"404 page not found\",\n [spxTextPageNotFound]: \"Page not found\",\n [spxTextPageNotFoundDescription]: \"Sorry, the page you’re looking for doesn’t exist or has been moved.\",\n [spxTextGoHome]: \"Go home\",\n [spxTextTooLong]: \"'{{fieldLabel}}' is too long (the maximum length is {{error}})\",\n [spxTextTooShort]: \"'{{fieldLabel}}' is too short (the minimum length is {{error}})\",\n [spxTextTooHigh]: \"The value of '{{fieldLabel}}' is too high, the maximum is {{error}}.\",\n [spxTextTooLow]: \"The value of '{{fieldLabel}}' is too low, the minimum is {{error}}.\",\n [spxTextPatternNotValid]: \"The pattern of '{{fieldLabel}}' is not valid.\",\n [spxTextRequired]: \"The field '{{fieldLabel}}' is required.\",\n [spxTextChoosePast]: \"Please choose a year between 1991 and the current year.\",\n [spxTextChooseFuture]: \"Please choose a year between the current year and 2050.\",\n [spxTextChooseValidMonth]: \"Please choose a valid month (a value between 01 and 12).\",\n [spxTextDateMayNotBeFuture]: \"The selected date may not be in the future.\",\n [spxTextDateMayNotBePast]: \"The selected date may not be in the past.\",\n [spxTextInvalidCode]: \"The {{codeName}} code {{codeCode}} does not exist.\",\n [spxTextLiveUpdateChannelSetFailed]: \"Channel selected, but live update channel could not be set.\",\n [spxTextLiveUpdateChannelSetFailedWithReason]: \"Channel selected, but live update channel could not be set: {{reason}}.\",\n [spxTextLiveUpdateCheckFailed]: \"Unable to check for updates right now. Please try again later.\",\n [spxTextLiveUpdateCheckFailedWithReason]: \"Unable to check for updates: {{reason}}.\",\n [spxTextUpdateErrorReason]: \"error details\",\n [spxTextUpdateLastCheck]: \"last successful check\",\n [spxTextUpdateStatus]: \"status\",\n [spxTextUpdateStatusPreparing]: \"preparing update check\",\n [spxTextUpdateStatusSyncing]: \"synchronizing update information\",\n [spxTextUpdateStatusReloading]: \"reloading app with downloaded update\",\n [spxTextUpdateStatusCompleted]: \"update check completed\",\n [spxTextUpdateStatusUpToDate]: \"app is up to date\",\n [spxTextUpdateStatusUpdateReady]: \"update downloaded\",\n [spxTextUpdateStatusFailed]: \"update check failed\",\n [spxTextUpdateStatusWebNotAvailable]: \"live update is not available on web\",\n [spxTextUpdateVersionInfo]: \"version information\",\n [spxTextUpdateAppVersion]: \"app version\",\n [spxTextUpdateBuildVersion]: \"build version\",\n [spxTextUpdateBinaryVersionGroup]: \"binary version group\",\n [spxTextUpdateCurrentVersionNumber]: \"current live version number\",\n [spxTextUpdateLiveChannel]: \"live update channel\",\n [spxTextUpdateLiveBundle]: \"downloaded live bundle\",\n [spxTextUpdateNextVersionNumber]: \"next live version number\",\n [spxTextDoYouComeHereOften]: \"Do you visit this company often?\",\n [spxTextFavorite]: \"Mark as favourite\",\n}\n","import {\n spxText404PageNotFound,\n spxTextChange,\n spxTextChannel,\n spxTextCheckingForUpdates,\n spxTextChooseFuture,\n spxTextChoosePast,\n spxTextChooseValidMonth,\n spxTextCompany,\n spxTextDateMayNotBeFuture,\n spxTextDateMayNotBePast,\n spxTextGoHome,\n spxTextInvalidCode,\n spxTextLiveUpdateCheckFailed,\n spxTextLiveUpdateCheckFailedWithReason,\n spxTextLiveUpdateChannelSetFailed,\n spxTextLiveUpdateChannelSetFailedWithReason,\n spxTextOneMomentPlease,\n spxTextOpenAppStore,\n spxTextPageNotFound,\n spxTextPageNotFoundDescription,\n spxTextPatchAvailable,\n spxTextPatternNotValid,\n spxTextReadyToBeInstalled,\n spxTextRequired,\n spxTextSelect,\n spxTextSelectYourCompany,\n spxTextTooHigh,\n spxTextTooLong,\n spxTextTooLow,\n spxTextTooShort,\n spxTextUpdate,\n spxTextUpdateAppVersion,\n spxTextUpdateAvailable,\n spxTextUpdateBinaryVersionGroup,\n spxTextUpdateBuildVersion,\n spxTextUpdateCurrentVersionNumber,\n spxTextUpdateErrorReason,\n spxTextUpdateLastCheck,\n spxTextUpdateLiveBundle,\n spxTextUpdateLiveChannel,\n spxTextUpdateNextVersionNumber,\n spxTextUpdateStatus,\n spxTextUpdateStatusCompleted,\n spxTextUpdateStatusFailed,\n spxTextUpdateStatusPreparing,\n spxTextUpdateStatusReloading,\n spxTextUpdateStatusSyncing,\n spxTextUpdateStatusUpdateReady,\n spxTextUpdateStatusUpToDate,\n spxTextUpdateStatusWebNotAvailable,\n spxTextUpdateVersionInfo,\n spxTextDoYouComeHereOften,\n spxTextFavorite,\n SpxTranslateI\n} from \"./spx-translate._const\";\n\nexport const SpxTranslateNl: SpxTranslateI = {\n [spxTextCheckingForUpdates]: 'controleren op updates',\n [spxTextOneMomentPlease]: 'een moment geduld alstublieft',\n [spxTextReadyToBeInstalled]: 'ready to be installed',\n [spxTextPatchAvailable]: 'patch available',\n [spxTextUpdateAvailable]: 'update available',\n [spxTextUpdate]: 'updaten',\n [spxTextOpenAppStore]: 'open app store',\n [spxTextChannel]: 'kanaal',\n [spxTextCompany]: 'bedrijf',\n [spxTextSelect]: 'selecteer',\n [spxTextSelectYourCompany]: 'selecteer uw bedrijf',\n [spxTextChange]: 'wissel',\n [spxText404PageNotFound]: \"404 pagina niet gevonden\",\n [spxTextPageNotFound]: \"Pagina niet gevonden\",\n [spxTextPageNotFoundDescription]: \"Sorry, de pagina die u zoekt bestaat niet of is verplaatst.\",\n [spxTextGoHome]: \"Ga naar het hoofdscherm\",\n [spxTextInvalidCode]: \"De {{codeName}} code {{codeCode}} is ongeldig.\",\n [spxTextTooLong]: \"De waarde van '{{fieldLabel}}' is te lang (de maximale lengte is {{error}}).\",\n [spxTextTooShort]: \"De waarde van '{{fieldLabel}}' is te kort (de minimale lengte is {{error}}).\",\n [spxTextTooHigh]: \"De waarde van '{{fieldLabel}}' is te hoog (de maximale waarde is {{error}}).\",\n [spxTextTooLow]: \"De waarde van '{{fieldLabel}}' is te laag (de minimale waarde is {{error}}).\",\n [spxTextPatternNotValid]: \"Het patroon van '{{fieldLabel}}' is ongeldig.\",\n [spxTextRequired]: \"Het veld '{{fieldLabel}}' is verplicht.\",\n [spxTextChoosePast]: \"Kies een jaar tussen 1991 en het huidige jaar.\",\n [spxTextChooseFuture]: \"Kies een jaar tussen het huidige jaar en 2050.\",\n [spxTextChooseValidMonth]: \"Kies een geldige maand (een waarde tussen 01 en 12).\",\n [spxTextDateMayNotBeFuture]: \"De geselecteerde datum mag niet in de toekomst liggen.\",\n [spxTextDateMayNotBePast]: \"De geselecteerde datum mag niet in het verleden liggen.\",\n [spxTextLiveUpdateChannelSetFailed]: \"Kanaal geselecteerd, maar het live update kanaal kon niet worden ingesteld.\",\n [spxTextLiveUpdateChannelSetFailedWithReason]: \"Kanaal geselecteerd, maar het live update kanaal kon niet worden ingesteld: {{reason}}.\",\n [spxTextLiveUpdateCheckFailed]: \"Kan nu niet op updates controleren. Probeer het later opnieuw.\",\n [spxTextLiveUpdateCheckFailedWithReason]: \"Kan nu niet op updates controleren: {{reason}}.\",\n [spxTextUpdateErrorReason]: \"foutdetails\",\n [spxTextUpdateLastCheck]: \"laatste succesvolle controle\",\n [spxTextUpdateStatus]: \"status\",\n [spxTextUpdateStatusPreparing]: \"updatecontrole voorbereiden\",\n [spxTextUpdateStatusSyncing]: \"update-informatie synchroniseren\",\n [spxTextUpdateStatusReloading]: \"app herladen met gedownloade update\",\n [spxTextUpdateStatusCompleted]: \"updatecontrole voltooid\",\n [spxTextUpdateStatusUpToDate]: \"app is up-to-date\",\n [spxTextUpdateStatusUpdateReady]: \"update gedownload\",\n [spxTextUpdateStatusFailed]: \"updatecontrole mislukt\",\n [spxTextUpdateStatusWebNotAvailable]: \"live update is niet beschikbaar op web\",\n [spxTextUpdateVersionInfo]: \"versie-informatie\",\n [spxTextUpdateAppVersion]: \"app-versie\",\n [spxTextUpdateBuildVersion]: \"build-versie\",\n [spxTextUpdateBinaryVersionGroup]: \"binaire versiegroep\",\n [spxTextUpdateCurrentVersionNumber]: \"huidige live versionnumber\",\n [spxTextUpdateLiveChannel]: \"live update kanaal\",\n [spxTextUpdateLiveBundle]: \"gedownloade live bundle\",\n [spxTextUpdateNextVersionNumber]: \"volgende live versionnumber\",\n [spxTextDoYouComeHereOften]: \"Bezoekt u dit bedrijf vaker?\",\n [spxTextFavorite]: \"Markeer als favoriet\",\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAO,MAAM,yBAAyB,GAAG;AAClC,MAAM,sBAAsB,GAAG;AAC/B,MAAM,qBAAqB,GAAG;AAC9B,MAAM,sBAAsB,GAAG;AAC/B,MAAM,yBAAyB,GAAG;AAClC,MAAM,aAAa,GAAG;AACtB,MAAM,mBAAmB,GAAG;AAC5B,MAAM,cAAc,GAAG;AACvB,MAAM,cAAc,GAAG;AACvB,MAAM,aAAa,GAAG;AACtB,MAAM,wBAAwB,GAAG;AACjC,MAAM,aAAa,GAAG;AACtB,MAAM,sBAAsB,GAAG;AAC/B,MAAM,mBAAmB,GAAG;AAC5B,MAAM,8BAA8B,GAAG;AACvC,MAAM,aAAa,GAAG;AACtB,MAAM,cAAc,GAAG;AACvB,MAAM,eAAe,GAAG;AACxB,MAAM,cAAc,GAAG;AACvB,MAAM,aAAa,GAAG;AACtB,MAAM,sBAAsB,GAAG;AAC/B,MAAM,eAAe,GAAG;AACxB,MAAM,iBAAiB,GAAG;AAC1B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AAyF;IACxI,CAAC,4BAA4B,GAAG,gEAAgE;IAChG,CAAC,sCAAsC,GAAG,iDAAiD;IAC3F,CAAC,wBAAwB,GAAG,aAAa;IACzC,CAAC,sBAAsB,GAAG,8BAA8B;IACxD,CAAC,mBAAmB,GAAG,QAAQ;IAC/B,CAAC,4BAA4B,GAAG,6BAA6B;IAC7D,CAAC,0BAA0B,GAAG,kCAAkC;IAChE,CAAC,4BAA4B,GAAG,qCAAqC;IACrE,CAAC,4BAA4B,GAAG,yBAAyB;IACzD,CAAC,2BAA2B,GAAG,mBAAmB;IAClD,CAAC,8BAA8B,GAAG,mBAAmB;IACrD,CAAC,yBAAyB,GAAG,wBAAwB;IACrD,CAAC,kCAAkC,GAAG,wCAAwC;IAC9E,CAAC,wBAAwB,GAAG,mBAAmB;IAC/C,CAAC,uBAAuB,GAAG,YAAY;IACvC,CAAC,yBAAyB,GAAG,cAAc;IAC3C,CAAC,+BAA+B,GAAG,qBAAqB;IACxD,CAAC,iCAAiC,GAAG,4BAA4B;IACjE,CAAC,wBAAwB,GAAG,oBAAoB;IAChD,CAAC,uBAAuB,GAAG,yBAAyB;IACpD,CAAC,8BAA8B,GAAG,6BAA6B;IAC/D,CAAC,yBAAyB,GAAG,8BAA8B;IAC3D,CAAC,eAAe,GAAG,sBAAsB;;;AC9G3C;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { signal, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/forms';
|
|
4
4
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
5
|
import { IonHeader, IonToolbar, IonTitle, IonButtons, IonContent } from '@ionic/angular/standalone';
|
|
@@ -11,6 +11,7 @@ import { spxChannelReducer, spxChannelActions } from '@softpak/components/spx-ch
|
|
|
11
11
|
import { SpxStorage, SpxStorageKeyEnum } from '@softpak/components/spx-storage';
|
|
12
12
|
import { spxTextChannel, spxTextCompany, spxTextSelect, spxTextSelectYourCompany, spxTextDoYouComeHereOften, spxTextFavorite } from '@softpak/components/spx-translate';
|
|
13
13
|
import { Capacitor } from '@capacitor/core';
|
|
14
|
+
import { faHeart } from '@fortawesome/free-solid-svg-icons';
|
|
14
15
|
import { SpxAppChannelTypeEnum } from '@softpak/components/spx-app-configuration';
|
|
15
16
|
import { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';
|
|
16
17
|
import { TranslatePipe } from '@ngx-translate/core';
|
|
@@ -27,7 +28,25 @@ class SpxWelcomeComponent {
|
|
|
27
28
|
this.store = store;
|
|
28
29
|
this.formBuilder = formBuilder;
|
|
29
30
|
this.allChannels = toSignal(this.store.select(spxChannelReducer.default.selectChannels));
|
|
30
|
-
this.
|
|
31
|
+
this.favouritesVersion = signal(0, ...(ngDevMode ? [{ debugName: "favouritesVersion" }] : []));
|
|
32
|
+
this.allBrands = computed(() => {
|
|
33
|
+
this.favouritesVersion();
|
|
34
|
+
const favourites = this.getFavourites();
|
|
35
|
+
const brands = this.allChannels()?.filter(channel => channel.channelTypes.map(type => type.name).includes(SpxAppChannelTypeEnum.production)).map(c => ({
|
|
36
|
+
description: c.brand,
|
|
37
|
+
value: c.brand,
|
|
38
|
+
...(favourites.includes(c.brand) ? { icon: faHeart, iconClass: 'text-red-800', bgClass: 'bg-red-100' } : {})
|
|
39
|
+
}));
|
|
40
|
+
return brands?.sort((a, b) => {
|
|
41
|
+
const aFav = favourites.includes(a.value);
|
|
42
|
+
const bFav = favourites.includes(b.value);
|
|
43
|
+
if (aFav && !bFav)
|
|
44
|
+
return -1;
|
|
45
|
+
if (!aFav && bFav)
|
|
46
|
+
return 1;
|
|
47
|
+
return a.value.localeCompare(b.value);
|
|
48
|
+
});
|
|
49
|
+
}, ...(ngDevMode ? [{ debugName: "allBrands" }] : []));
|
|
31
50
|
this.inputBrand = signal(null, ...(ngDevMode ? [{ debugName: "inputBrand" }] : []));
|
|
32
51
|
this.inputChannelType = signal(null, ...(ngDevMode ? [{ debugName: "inputChannelType" }] : []));
|
|
33
52
|
this.selectedBrand = computed(() => this.allChannels()?.find(c => c.brand === this.inputBrand()), ...(ngDevMode ? [{ debugName: "selectedBrand" }] : []));
|
|
@@ -120,6 +139,8 @@ class SpxWelcomeComponent {
|
|
|
120
139
|
? [...new Set([...favourites, brand])]
|
|
121
140
|
: favourites.filter(f => f !== brand);
|
|
122
141
|
SpxStorage.setSetting(SpxStorageKeyEnum.channelFavourites, JSON.stringify(updated));
|
|
142
|
+
this.favouritesVersion.update(v => v + 1);
|
|
143
|
+
this.suggestions()[spxCtrlChannel] = this.allBrands();
|
|
123
144
|
});
|
|
124
145
|
this.subscriptions.channelType = this.ctrlChannelType().valueChanges.subscribe(valuePair => {
|
|
125
146
|
this.inputChannelType.set(valuePairToValue(this.ctrlChannelType().value));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-welcome.mjs","sources":["../../../../projects/softpak/components/spx-welcome/spx-welcome.component.ts","../../../../projects/softpak/components/spx-welcome/spx-welcome.component.html","../../../../projects/softpak/components/spx-welcome/softpak-components-spx-welcome.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, computed, signal } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { IonButtons, IonContent, IonHeader, IonTitle, IonToolbar } from '@ionic/angular/standalone';\nimport { SpxFormButtonTypeEnum, SpxFormI, SpxFormViewComponent } from '@softpak/components/spx-form-view';\nimport { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';\nimport { SpxSeverityEnum, unsubscribeSubscriptions, valuePairToValue } from '@softpak/components/spx-helpers';\nimport { SpxToasterAutoCloseSpeedEnum, spxToasterActions } from '@softpak/components/spx-toaster';\nimport { spxChannelActions, spxChannelReducer } from '@softpak/components/spx-channel-selection';\nimport { SpxStorage, SpxStorageKeyEnum } from '@softpak/components/spx-storage';\nimport { spxTextChannel, spxTextCompany, spxTextDoYouComeHereOften, spxTextFavorite, spxTextSelect, spxTextSelectYourCompany } from '@softpak/components/spx-translate';\n\nimport { Capacitor } from '@capacitor/core';\nimport { SpxAppChannelTypeEnum, } from '@softpak/components/spx-app-configuration';\nimport { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';\nimport { Store } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { spxValidatorRequired } from '@softpak/components/spx-validation';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\nexport const spxSectionWelcome = 'welcome';\nexport const spxCtrlChannel = 'channel';\nexport const spxCtrlChannelType = 'channelType';\nexport const spxCtrlFavorite = 'favorite';\n\n@Component({\n selector: 'spx-welcome',\n templateUrl: './spx-welcome.component.html',\n imports: [\n FormsModule,\n ReactiveFormsModule,\n SpxCapitalizePipe,\n SpxFormViewComponent,\n IonHeader,\n IonToolbar,\n IonTitle,\n IonButtons,\n IonContent,\n TranslatePipe,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class SpxWelcomeComponent implements OnInit, OnDestroy {\n allChannels = toSignal(this.store.select(spxChannelReducer.default.selectChannels));\n allBrands = computed(() => this.allChannels()?.filter(channel => channel.channelTypes.map(type => type.name).includes(SpxAppChannelTypeEnum.production)).map(c => ({ description: c.brand, value: c.brand })));\n inputBrand = signal<string | null>(null);\n inputChannelType = signal<SpxAppChannelTypeEnum | null>(null);\n selectedBrand = computed(() => this.allChannels()?.find(c => c.brand === this.inputBrand()));\n channelTypeSuggestions = computed(() => this.selectedBrand()?.channelTypes?.filter(channelType => Capacitor.getPlatform() === 'web' ? channelType.webUrl !== undefined : channelType.webUrl === undefined)?.map(channelType => ({\n description: channelType.name,\n value: channelType.name\n })));\n\n protected readonly formGroup = signal<FormGroup | undefined>(undefined);\n protected readonly suggestions = signal<{\n [spxCtrlChannelType]?: SpxValuePair<string>[];\n [spxCtrlChannel]?: SpxValuePair<string>[];\n }>({\n [spxCtrlChannelType]: [],\n [spxCtrlChannel]: [],\n });\n\n textChannel = spxTextChannel;\n textCompany = spxTextCompany;\n textSelect = spxTextSelect;\n textSelectYourCompany = spxTextSelectYourCompany;\n textDoYouComeHereOften = spxTextDoYouComeHereOften;\n textFavorite = spxTextFavorite;\n\n protected readonly formSection = computed(() => this.formGroup()?.get(spxSectionWelcome) as FormGroup);\n private readonly ctrlChannel = computed(() => this.formSection()?.get(spxCtrlChannel) as FormControl);\n private readonly ctrlChannelType = computed(() => this.formSection()?.get(spxCtrlChannelType) as FormControl);\n private readonly ctrlFavorite = computed(() => this.formSection()?.get(spxCtrlFavorite) as FormControl);\n private subscriptions: {\n channel?: Subscription;\n channelType?: Subscription;\n favorite?: Subscription;\n } = {};\n\n protected readonly form = signal<SpxFormI>({\n buttons: [\n {\n severity: SpxSeverityEnum.success,\n type: SpxFormButtonTypeEnum.submit,\n label: () => this.textSelect,\n }\n ],\n sections: [\n {\n key: spxSectionWelcome,\n showTitle: () => false,\n fields: [\n {\n key: spxCtrlChannel,\n type: () => SpxInputTypeEnum.radio,\n label: () => this.textCompany,\n validators: () => [spxValidatorRequired()],\n },\n {\n key: spxCtrlChannelType,\n type: () => SpxInputTypeEnum.radio,\n label: () => this.textChannel,\n capitalize: () => true,\n show: () => valuePairToValue(this.ctrlChannel().value),\n validators: () => [spxValidatorRequired()],\n },\n {\n key: spxCtrlFavorite,\n type: () => SpxInputTypeEnum.checkbox,\n label: () => this.textDoYouComeHereOften,\n checkboxText: () => this.textFavorite,\n show: () => valuePairToValue(this.ctrlChannel().value),\n defaultValue: () => ({ value: false }),\n },\n ]\n }\n ]\n });\n\n constructor(\n private readonly store: Store,\n private readonly formBuilder: FormBuilder\n ) {\n this.formGroup.set(this.formBuilder.group({\n [spxSectionWelcome]: SpxFormViewComponent.createForm(this.form())\n }));\n }\n\n ngOnDestroy(): void {\n unsubscribeSubscriptions(this.subscriptions);\n }\n\n ngOnInit(): void {\n this.suggestions()[spxCtrlChannel] = this.allBrands();\n\n this.subscriptions.channel = this.ctrlChannel().valueChanges.subscribe(valuePair => {\n const brand = valuePairToValue(valuePair) as string | null;\n this.inputBrand.set(brand);\n this.suggestions()[spxCtrlChannelType] = this.channelTypeSuggestions();\n this.ctrlChannelType().setValue({\n value: SpxAppChannelTypeEnum.production,\n });\n\n const favourites = this.getFavourites();\n const isFavourite = brand ? favourites.includes(brand) : false;\n this.ctrlFavorite().setValue({ value: isFavourite }, { emitEvent: false });\n });\n\n this.subscriptions.favorite = this.ctrlFavorite().valueChanges.subscribe(valuePair => {\n const brand = this.inputBrand();\n if (!brand) return;\n const favourites = this.getFavourites();\n const isFavourite = valuePairToValue(valuePair) as boolean;\n const updated = isFavourite\n ? [...new Set([...favourites, brand])]\n : favourites.filter(f => f !== brand);\n SpxStorage.setSetting(SpxStorageKeyEnum.channelFavourites, JSON.stringify(updated));\n });\n\n this.subscriptions.channelType = this.ctrlChannelType().valueChanges.subscribe(valuePair => {\n this.inputChannelType.set(valuePairToValue(this.ctrlChannelType().value));\n });\n }\n\n private getFavourites(): string[] {\n const raw = SpxStorage.getSetting(SpxStorageKeyEnum.channelFavourites);\n if (!raw) return [];\n try { return JSON.parse(raw) as string[]; } catch { return []; }\n }\n\n protected onSubmit(): void {\n if (!this.selectedBrand() || !this.inputChannelType()) {\n this.store.dispatch(spxToasterActions.createWarning({\n autoClose: SpxToasterAutoCloseSpeedEnum.DEFAULT,\n messageText: 'Please select a company',\n }))\n } else {\n this.store.dispatch(spxChannelActions.choose({\n channel: this.selectedBrand()!,\n channelType: this.inputChannelType()!,\n }));\n }\n }\n}\n","<ion-header>\n <ion-toolbar>\n <ion-title>\n {{ textSelectYourCompany | translate | capitalize }}\n </ion-title>\n <ion-buttons slot=\"end\">\n </ion-buttons>\n </ion-toolbar>\n</ion-header>\n<ion-content class=\"ion-padding\">\n <form [formGroup]=\"formGroup()!\" class=\"max-w-lg mx-auto flex flex-col gap-3\" (ngSubmit)=\"onSubmit()\">\n <spx-form-view\n [spxForm]=\"form()\"\n [spxFormGroup]=\"formSection()\"\n [spxSuggestions]=\"suggestions()\">\n </spx-form-view>\n </form>\n</ion-content>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAoBO,MAAM,iBAAiB,GAAG;AAC1B,MAAM,cAAc,GAAG;AACvB,MAAM,kBAAkB,GAAG;AAC3B,MAAM,eAAe,GAAG;MAoBlB,mBAAmB,CAAA;IA6E9B,WAAA,CACmB,KAAY,EACZ,WAAwB,EAAA;QADxB,IAAA,CAAA,KAAK,GAAL,KAAK;QACL,IAAA,CAAA,WAAW,GAAX,WAAW;AA9E9B,QAAA,IAAA,CAAA,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;AACnF,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,EAAE,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,WAAW,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,qDAAC;AAC9M,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAgB,IAAI,sDAAC;AACxC,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAA+B,IAAI,4DAAC;QAC7D,IAAA,CAAA,aAAa,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,UAAU,EAAE,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Q;wBACR,UAAU;wBACV,UAAU;wBACV,aAAa;AACd,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EAAA,QAAA,EAAA,4hBAAA,EAAA;;;AEzClB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-welcome.mjs","sources":["../../../../projects/softpak/components/spx-welcome/spx-welcome.component.ts","../../../../projects/softpak/components/spx-welcome/spx-welcome.component.html","../../../../projects/softpak/components/spx-welcome/softpak-components-spx-welcome.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, computed, signal } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { IonButtons, IonContent, IonHeader, IonTitle, IonToolbar } from '@ionic/angular/standalone';\nimport { SpxFormButtonTypeEnum, SpxFormI, SpxFormViewComponent } from '@softpak/components/spx-form-view';\nimport { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';\nimport { SpxSeverityEnum, unsubscribeSubscriptions, valuePairToValue } from '@softpak/components/spx-helpers';\nimport { SpxToasterAutoCloseSpeedEnum, spxToasterActions } from '@softpak/components/spx-toaster';\nimport { spxChannelActions, spxChannelReducer } from '@softpak/components/spx-channel-selection';\nimport { SpxStorage, SpxStorageKeyEnum } from '@softpak/components/spx-storage';\nimport { spxTextChannel, spxTextCompany, spxTextDoYouComeHereOften, spxTextFavorite, spxTextSelect, spxTextSelectYourCompany } from '@softpak/components/spx-translate';\n\nimport { Capacitor } from '@capacitor/core';\nimport { faHeart } from '@fortawesome/free-solid-svg-icons';\nimport { SpxAppChannelTypeEnum, } from '@softpak/components/spx-app-configuration';\nimport { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';\nimport { Store } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { spxValidatorRequired } from '@softpak/components/spx-validation';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\nexport const spxSectionWelcome = 'welcome';\nexport const spxCtrlChannel = 'channel';\nexport const spxCtrlChannelType = 'channelType';\nexport const spxCtrlFavorite = 'favorite';\n\n@Component({\n selector: 'spx-welcome',\n templateUrl: './spx-welcome.component.html',\n imports: [\n FormsModule,\n ReactiveFormsModule,\n SpxCapitalizePipe,\n SpxFormViewComponent,\n IonHeader,\n IonToolbar,\n IonTitle,\n IonButtons,\n IonContent,\n TranslatePipe,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class SpxWelcomeComponent implements OnInit, OnDestroy {\n allChannels = toSignal(this.store.select(spxChannelReducer.default.selectChannels));\n private favouritesVersion = signal(0);\n allBrands = computed(() => {\n this.favouritesVersion();\n const favourites = this.getFavourites();\n const brands = this.allChannels()?.filter(channel => channel.channelTypes.map(type => type.name).includes(SpxAppChannelTypeEnum.production)).map(c => ({\n description: c.brand,\n value: c.brand,\n ...(favourites.includes(c.brand) ? { icon: faHeart, iconClass: 'text-red-800', bgClass: 'bg-red-100' } : {})\n }));\n return brands?.sort((a, b) => {\n const aFav = favourites.includes(a.value);\n const bFav = favourites.includes(b.value);\n if (aFav && !bFav) return -1;\n if (!aFav && bFav) return 1;\n return a.value.localeCompare(b.value);\n });\n });\n inputBrand = signal<string | null>(null);\n inputChannelType = signal<SpxAppChannelTypeEnum | null>(null);\n selectedBrand = computed(() => this.allChannels()?.find(c => c.brand === this.inputBrand()));\n channelTypeSuggestions = computed(() => this.selectedBrand()?.channelTypes?.filter(channelType => Capacitor.getPlatform() === 'web' ? channelType.webUrl !== undefined : channelType.webUrl === undefined)?.map(channelType => ({\n description: channelType.name,\n value: channelType.name\n })));\n\n protected readonly formGroup = signal<FormGroup | undefined>(undefined);\n protected readonly suggestions = signal<{\n [spxCtrlChannelType]?: SpxValuePair<string>[];\n [spxCtrlChannel]?: SpxValuePair<string>[];\n }>({\n [spxCtrlChannelType]: [],\n [spxCtrlChannel]: [],\n });\n\n textChannel = spxTextChannel;\n textCompany = spxTextCompany;\n textSelect = spxTextSelect;\n textSelectYourCompany = spxTextSelectYourCompany;\n textDoYouComeHereOften = spxTextDoYouComeHereOften;\n textFavorite = spxTextFavorite;\n\n protected readonly formSection = computed(() => this.formGroup()?.get(spxSectionWelcome) as FormGroup);\n private readonly ctrlChannel = computed(() => this.formSection()?.get(spxCtrlChannel) as FormControl);\n private readonly ctrlChannelType = computed(() => this.formSection()?.get(spxCtrlChannelType) as FormControl);\n private readonly ctrlFavorite = computed(() => this.formSection()?.get(spxCtrlFavorite) as FormControl);\n private subscriptions: {\n channel?: Subscription;\n channelType?: Subscription;\n favorite?: Subscription;\n } = {};\n\n protected readonly form = signal<SpxFormI>({\n buttons: [\n {\n severity: SpxSeverityEnum.success,\n type: SpxFormButtonTypeEnum.submit,\n label: () => this.textSelect,\n }\n ],\n sections: [\n {\n key: spxSectionWelcome,\n showTitle: () => false,\n fields: [\n {\n key: spxCtrlChannel,\n type: () => SpxInputTypeEnum.radio,\n label: () => this.textCompany,\n validators: () => [spxValidatorRequired()],\n },\n {\n key: spxCtrlChannelType,\n type: () => SpxInputTypeEnum.radio,\n label: () => this.textChannel,\n capitalize: () => true,\n show: () => valuePairToValue(this.ctrlChannel().value),\n validators: () => [spxValidatorRequired()],\n },\n {\n key: spxCtrlFavorite,\n type: () => SpxInputTypeEnum.checkbox,\n label: () => this.textDoYouComeHereOften,\n checkboxText: () => this.textFavorite,\n show: () => valuePairToValue(this.ctrlChannel().value),\n defaultValue: () => ({ value: false }),\n },\n ]\n }\n ]\n });\n\n constructor(\n private readonly store: Store,\n private readonly formBuilder: FormBuilder\n ) {\n this.formGroup.set(this.formBuilder.group({\n [spxSectionWelcome]: SpxFormViewComponent.createForm(this.form())\n }));\n }\n\n ngOnDestroy(): void {\n unsubscribeSubscriptions(this.subscriptions);\n }\n\n ngOnInit(): void {\n this.suggestions()[spxCtrlChannel] = this.allBrands();\n\n this.subscriptions.channel = this.ctrlChannel().valueChanges.subscribe(valuePair => {\n const brand = valuePairToValue(valuePair) as string | null;\n this.inputBrand.set(brand);\n this.suggestions()[spxCtrlChannelType] = this.channelTypeSuggestions();\n this.ctrlChannelType().setValue({\n value: SpxAppChannelTypeEnum.production,\n });\n\n const favourites = this.getFavourites();\n const isFavourite = brand ? favourites.includes(brand) : false;\n this.ctrlFavorite().setValue({ value: isFavourite }, { emitEvent: false });\n });\n\n this.subscriptions.favorite = this.ctrlFavorite().valueChanges.subscribe(valuePair => {\n const brand = this.inputBrand();\n if (!brand) return;\n const favourites = this.getFavourites();\n const isFavourite = valuePairToValue(valuePair) as boolean;\n const updated = isFavourite\n ? [...new Set([...favourites, brand])]\n : favourites.filter(f => f !== brand);\n SpxStorage.setSetting(SpxStorageKeyEnum.channelFavourites, JSON.stringify(updated));\n this.favouritesVersion.update(v => v + 1);\n this.suggestions()[spxCtrlChannel] = this.allBrands();\n });\n\n this.subscriptions.channelType = this.ctrlChannelType().valueChanges.subscribe(valuePair => {\n this.inputChannelType.set(valuePairToValue(this.ctrlChannelType().value));\n });\n }\n\n private getFavourites(): string[] {\n const raw = SpxStorage.getSetting(SpxStorageKeyEnum.channelFavourites);\n if (!raw) return [];\n try { return JSON.parse(raw) as string[]; } catch { return []; }\n }\n\n protected onSubmit(): void {\n if (!this.selectedBrand() || !this.inputChannelType()) {\n this.store.dispatch(spxToasterActions.createWarning({\n autoClose: SpxToasterAutoCloseSpeedEnum.DEFAULT,\n messageText: 'Please select a company',\n }))\n } else {\n this.store.dispatch(spxChannelActions.choose({\n channel: this.selectedBrand()!,\n channelType: this.inputChannelType()!,\n }));\n }\n }\n}\n","<ion-header>\n <ion-toolbar>\n <ion-title>\n {{ textSelectYourCompany | translate | capitalize }}\n </ion-title>\n <ion-buttons slot=\"end\">\n </ion-buttons>\n </ion-toolbar>\n</ion-header>\n<ion-content class=\"ion-padding\">\n <form [formGroup]=\"formGroup()!\" class=\"max-w-lg mx-auto flex flex-col gap-3\" (ngSubmit)=\"onSubmit()\">\n <spx-form-view\n [spxForm]=\"form()\"\n [spxFormGroup]=\"formSection()\"\n [spxSuggestions]=\"suggestions()\">\n </spx-form-view>\n </form>\n</ion-content>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBO,MAAM,iBAAiB,GAAG;AAC1B,MAAM,cAAc,GAAG;AACvB,MAAM,kBAAkB,GAAG;AAC3B,MAAM,eAAe,GAAG;MAoBlB,mBAAmB,CAAA;IA6F9B,WAAA,CACmB,KAAY,EACZ,WAAwB,EAAA;QADxB,IAAA,CAAA,KAAK,GAAL,KAAK;QACL,IAAA,CAAA,WAAW,GAAX,WAAW;AA9F9B,QAAA,IAAA,CAAA,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;AAC3E,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,CAAC,6DAAC;AACrC,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAK;YACxB,IAAI,CAAC,iBAAiB,EAAE;AACxB,YAAA,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE;AACvC,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,EAAE,EAAE,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK;gBACrJ,WAAW,EAAE,CAAC,CAAC,KAAK;gBACpB,KAAK,EAAE,CAAC,CAAC,KAAK;AACd,gBAAA,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,YAAY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-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.bottom-16{bottom:4rem}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.top-0{top:0}.top-1\/2{top:50%}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.m-0{margin:0}.m-3{margin:.75rem}.m-\[0\.35rem_0_0\]{margin:.35rem 0 0}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-3{margin-bottom:.75rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.ms-3{margin-inline-start:.75rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-4{margin-top:1rem}.mt-\[0\.85rem\]{margin-top:.85rem}.mt-\[0\.9rem\]{margin-top:.9rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-\[150px\]{height:150px}.h-\[30px\]{height:30px}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-14{width:3.5rem}.w-16{width:4rem}.w-24{width:6rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-96{width:24rem}.w-\[150px\]{width:150px}.w-\[30px\]{width:30px}.w-full{width:100%}.min-w-12{min-width:3rem}.min-w-\[36px\]{min-width:36px}.max-w-12{max-width:3rem}.max-w-96{max-width:24rem}.max-w-\[40rem\]{max-width:40rem}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-10{flex-basis:2.5rem}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-flow-row{grid-auto-flow:row}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-\[0\.2rem\]{gap:.2rem}.gap-\[0\.65rem\]{gap:.65rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.75rem*var(--tw-space-x-reverse));margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-none{border-radius:0}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-left-radius:.5rem}.rounded-b-lg,.rounded-r-lg{border-bottom-right-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-\[color\:var\(--spx-update-border-color\)\]{border-color:var(--spx-update-border-color)}.border-amber-500{--tw-border-opacity:1;border-color:rgb(245 158 11/var(--tw-border-opacity,1))}.border-cyan-500{--tw-border-opacity:1;border-color:rgb(6 182 212/var(--tw-border-opacity,1))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity,1))}.border-lime-500{--tw-border-opacity:1;border-color:rgb(132 204 22/var(--tw-border-opacity,1))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-teal-500{--tw-border-opacity:1;border-color:rgb(20 184 166/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.bg-\[var\(--spx-update-surface-color\)\]{background-color:var(--spx-update-surface-color)}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-400{--tw-bg-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity,1))}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity,1))}.bg-amber-700{--tw-bg-opacity:1;background-color:rgb(180 83 9/var(--tw-bg-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\/75{background-color:#000000bf}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.bg-blue-700{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity,1))}.bg-cyan-100{--tw-bg-opacity:1;background-color:rgb(207 250 254/var(--tw-bg-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity,1))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity,1))}.bg-lime-100{--tw-bg-opacity:1;background-color:rgb(236 252 203/var(--tw-bg-opacity,1))}.bg-lime-600{--tw-bg-opacity:1;background-color:rgb(101 163 13/var(--tw-bg-opacity,1))}.bg-neutral-700{--tw-bg-opacity:1;background-color:rgb(64 64 64/var(--tw-bg-opacity,1))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity,1))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity,1))}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-200{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.bg-sky-400{--tw-bg-opacity:1;background-color:rgb(56 189 248/var(--tw-bg-opacity,1))}.bg-sky-600{--tw-bg-opacity:1;background-color:rgb(2 132 199/var(--tw-bg-opacity,1))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-teal-100{--tw-bg-opacity:1;background-color:rgb(204 251 241/var(--tw-bg-opacity,1))}.bg-teal-500{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity,1))}.bg-teal-600{--tw-bg-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity,1))}.bg-teal-700{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-yellow-300{--tw-bg-opacity:1;background-color:rgb(253 224 71/var(--tw-bg-opacity,1))}.bg-zinc-700{--tw-bg-opacity:1;background-color:rgb(63 63 70/var(--tw-bg-opacity,1))}.bg-\[linear-gradient\(to_right\2c theme\(colors\.green\.300\)\2c theme\(colors\.green\.100\)\2c theme\(colors\.sky\.400\)\2c theme\(colors\.yellow\.200\)\2c theme\(colors\.sky\.400\)\2c theme\(colors\.green\.100\)\2c theme\(colors\.green\.300\)\)\]{background-image:linear-gradient(90deg,#86efac,#dcfce7,#38bdf8,#fef08a,#38bdf8,#dcfce7,#86efac)}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-amber-400{--tw-gradient-from:#fbbf24 var(--tw-gradient-from-position);--tw-gradient-to:#fbbf2400 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-lime-400{--tw-gradient-from:#a3e635 var(--tw-gradient-from-position);--tw-gradient-to:#a3e63500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-red-400{--tw-gradient-from:#f87171 var(--tw-gradient-from-position);--tw-gradient-to:#f8717100 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-teal-400{--tw-gradient-from:#2dd4bf var(--tw-gradient-from-position);--tw-gradient-to:#2dd4bf00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-amber-600{--tw-gradient-to:#d97706 var(--tw-gradient-to-position)}.to-lime-600{--tw-gradient-to:#65a30d var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to:#dc2626 var(--tw-gradient-to-position)}.to-teal-600{--tw-gradient-to:#0d9488 var(--tw-gradient-to-position)}.bg-\[length\:200\%_auto\]{background-size:200% auto}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-\[0\.45rem\]{padding-bottom:.45rem}.pl-3{padding-left:.75rem}.pt-1{padding-top:.25rem}.pt-16{padding-top:4rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-7xl{font-size:4.5rem;line-height:1}.text-\[0\.76rem\]{font-size:.76rem}.text-\[0\.86rem\]{font-size:.86rem}.text-\[0\.95rem\]{font-size:.95rem}.text-\[1\.15rem\]{font-size:1.15rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-5{line-height:1.25rem}.leading-\[1\.35\]{line-height:1.35}.leading-normal{line-height:1.5}.tracking-\[0\.08em\]{letter-spacing:.08em}.text-\[color\:var\(--ion-color-danger\2c \#eb445a\)\]{color:var(--ion-color-danger,#eb445a)}.text-\[color\:var\(--spx-update-muted-color\)\]{color:var(--spx-update-muted-color)}.text-\[color\:var\(--spx-update-text-color\)\]{color:var(--spx-update-text-color)}.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity,1))}.text-amber-900{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-cyan-600{--tw-text-opacity:1;color:rgb(8 145 178/var(--tw-text-opacity,1))}.text-cyan-900{--tw-text-opacity:1;color:rgb(22 78 99/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity,1))}.text-lime-600{--tw-text-opacity:1;color:rgb(101 163 13/var(--tw-text-opacity,1))}.text-lime-900{--tw-text-opacity:1;color:rgb(54 83 20/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.text-red-900{--tw-text-opacity:1;color:rgb(127 29 29/var(--tw-text-opacity,1))}.text-transparent{color:#0000}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-zinc-300{--tw-text-opacity:1;color:rgb(212 212 216/var(--tw-text-opacity,1))}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.outline-none{outline:2px solid #0000;outline-offset:2px}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-blue-500{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}.ring-offset-2{--tw-ring-offset-width:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:start-\[4px\]:after{content:var(--tw-content);inset-inline-start:4px}.after\:top-0\.5:after{content:var(--tw-content);top:.125rem}.after\:h-6:after{content:var(--tw-content);height:1.5rem}.after\:w-6:after{content:var(--tw-content);width:1.5rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.last\:border-b-0:last-child{border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.hover\:bg-amber-200:hover{--tw-bg-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity,1))}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity,1))}.hover\:bg-cyan-200:hover{--tw-bg-opacity:1;background-color:rgb(165 243 252/var(--tw-bg-opacity,1))}.hover\:bg-gray-200:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.hover\:bg-lime-200:hover{--tw-bg-opacity:1;background-color:rgb(217 249 157/var(--tw-bg-opacity,1))}.hover\:bg-red-200:hover{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity,1))}.hover\:bg-sky-300:hover{--tw-bg-opacity:1;background-color:rgb(125 211 252/var(--tw-bg-opacity,1))}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus\:ring-0:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-0:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-amber-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(217 119 6/var(--tw-ring-opacity,1))}.focus\:ring-blue-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}.focus\:ring-blue-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(37 99 235/var(--tw-ring-opacity,1))}.focus\:ring-cyan-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(8 145 178/var(--tw-ring-opacity,1))}.focus\:ring-lime-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(101 163 13/var(--tw-ring-opacity,1))}.focus\:ring-red-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(220 38 38/var(--tw-ring-opacity,1))}.focus\:ring-sky-300:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(125 211 252/var(--tw-ring-opacity,1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.active\:bg-sky-300:active{--tw-bg-opacity:1;background-color:rgb(125 211 252/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\:bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.peer:focus~.peer-focus\:outline-none{outline:2px solid #0000;outline-offset:2px}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.peer:focus~.peer-focus\:ring-blue-300{--tw-ring-opacity:1;--tw-ring-color:rgb(147 197 253/var(--tw-ring-opacity,1))}@media (min-width:481px){.min-\[481px\]\:flex-row{flex-direction:row}.min-\[481px\]\:items-baseline{align-items:baseline}.min-\[481px\]\:justify-between{justify-content:space-between}.min-\[481px\]\:gap-4{gap:1rem}.min-\[481px\]\:text-right{text-align:right}}@media (min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}}@media (min-width:768px){.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}.peer:checked~.rtl\:peer-checked\:after\:-translate-x-full:where([dir=rtl],[dir=rtl] *):after{content:var(--tw-content);--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (prefers-color-scheme:dark){.dark\:border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.dark\:bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.dark\:bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\:bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.dark\:bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.dark\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.dark\:text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.dark\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark\:text-indigo-400{--tw-text-opacity:1;color:rgb(129 140 248/var(--tw-text-opacity,1))}.dark\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.peer:checked~.dark\:peer-checked\:bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.peer:focus~.dark\:peer-focus\:ring-blue-800{--tw-ring-opacity:1;--tw-ring-color:rgb(30 64 175/var(--tw-ring-opacity,1))}}
|
|
1
|
+
*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.bottom-16{bottom:4rem}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-1\/2{top:50%}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.m-0{margin:0}.m-3{margin:.75rem}.m-\[0\.35rem_0_0\]{margin:.35rem 0 0}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-3{margin-bottom:.75rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.ms-3{margin-inline-start:.75rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-4{margin-top:1rem}.mt-\[0\.85rem\]{margin-top:.85rem}.mt-\[0\.9rem\]{margin-top:.9rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-\[150px\]{height:150px}.h-\[30px\]{height:30px}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-14{width:3.5rem}.w-16{width:4rem}.w-24{width:6rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-96{width:24rem}.w-\[150px\]{width:150px}.w-\[30px\]{width:30px}.w-full{width:100%}.min-w-12{min-width:3rem}.min-w-\[36px\]{min-width:36px}.max-w-12{max-width:3rem}.max-w-96{max-width:24rem}.max-w-\[40rem\]{max-width:40rem}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-10{flex-basis:2.5rem}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-flow-row{grid-auto-flow:row}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-\[0\.2rem\]{gap:.2rem}.gap-\[0\.65rem\]{gap:.65rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.75rem*var(--tw-space-x-reverse));margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-none{border-radius:0}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-left-radius:.5rem}.rounded-b-lg,.rounded-r-lg{border-bottom-right-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-\[color\:var\(--spx-update-border-color\)\]{border-color:var(--spx-update-border-color)}.border-amber-500{--tw-border-opacity:1;border-color:rgb(245 158 11/var(--tw-border-opacity,1))}.border-cyan-500{--tw-border-opacity:1;border-color:rgb(6 182 212/var(--tw-border-opacity,1))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity,1))}.border-lime-500{--tw-border-opacity:1;border-color:rgb(132 204 22/var(--tw-border-opacity,1))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-teal-500{--tw-border-opacity:1;border-color:rgb(20 184 166/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.bg-\[var\(--spx-update-surface-color\)\]{background-color:var(--spx-update-surface-color)}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-400{--tw-bg-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity,1))}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity,1))}.bg-amber-700{--tw-bg-opacity:1;background-color:rgb(180 83 9/var(--tw-bg-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\/75{background-color:#000000bf}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.bg-blue-700{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity,1))}.bg-cyan-100{--tw-bg-opacity:1;background-color:rgb(207 250 254/var(--tw-bg-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity,1))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity,1))}.bg-lime-100{--tw-bg-opacity:1;background-color:rgb(236 252 203/var(--tw-bg-opacity,1))}.bg-lime-600{--tw-bg-opacity:1;background-color:rgb(101 163 13/var(--tw-bg-opacity,1))}.bg-neutral-700{--tw-bg-opacity:1;background-color:rgb(64 64 64/var(--tw-bg-opacity,1))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity,1))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity,1))}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-200{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.bg-sky-400{--tw-bg-opacity:1;background-color:rgb(56 189 248/var(--tw-bg-opacity,1))}.bg-sky-600{--tw-bg-opacity:1;background-color:rgb(2 132 199/var(--tw-bg-opacity,1))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-teal-100{--tw-bg-opacity:1;background-color:rgb(204 251 241/var(--tw-bg-opacity,1))}.bg-teal-500{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity,1))}.bg-teal-600{--tw-bg-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity,1))}.bg-teal-700{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-yellow-300{--tw-bg-opacity:1;background-color:rgb(253 224 71/var(--tw-bg-opacity,1))}.bg-zinc-700{--tw-bg-opacity:1;background-color:rgb(63 63 70/var(--tw-bg-opacity,1))}.bg-\[linear-gradient\(to_right\2c theme\(colors\.green\.300\)\2c theme\(colors\.green\.100\)\2c theme\(colors\.sky\.400\)\2c theme\(colors\.yellow\.200\)\2c theme\(colors\.sky\.400\)\2c theme\(colors\.green\.100\)\2c theme\(colors\.green\.300\)\)\]{background-image:linear-gradient(90deg,#86efac,#dcfce7,#38bdf8,#fef08a,#38bdf8,#dcfce7,#86efac)}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-amber-400{--tw-gradient-from:#fbbf24 var(--tw-gradient-from-position);--tw-gradient-to:#fbbf2400 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-lime-400{--tw-gradient-from:#a3e635 var(--tw-gradient-from-position);--tw-gradient-to:#a3e63500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-red-400{--tw-gradient-from:#f87171 var(--tw-gradient-from-position);--tw-gradient-to:#f8717100 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-teal-400{--tw-gradient-from:#2dd4bf var(--tw-gradient-from-position);--tw-gradient-to:#2dd4bf00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-amber-600{--tw-gradient-to:#d97706 var(--tw-gradient-to-position)}.to-lime-600{--tw-gradient-to:#65a30d var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to:#dc2626 var(--tw-gradient-to-position)}.to-teal-600{--tw-gradient-to:#0d9488 var(--tw-gradient-to-position)}.bg-\[length\:200\%_auto\]{background-size:200% auto}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-\[0\.45rem\]{padding-bottom:.45rem}.pl-3{padding-left:.75rem}.pt-1{padding-top:.25rem}.pt-16{padding-top:4rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-7xl{font-size:4.5rem;line-height:1}.text-\[0\.76rem\]{font-size:.76rem}.text-\[0\.86rem\]{font-size:.86rem}.text-\[0\.95rem\]{font-size:.95rem}.text-\[1\.15rem\]{font-size:1.15rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-5{line-height:1.25rem}.leading-\[1\.35\]{line-height:1.35}.leading-normal{line-height:1.5}.tracking-\[0\.08em\]{letter-spacing:.08em}.text-\[color\:var\(--ion-color-danger\2c \#eb445a\)\]{color:var(--ion-color-danger,#eb445a)}.text-\[color\:var\(--spx-update-muted-color\)\]{color:var(--spx-update-muted-color)}.text-\[color\:var\(--spx-update-text-color\)\]{color:var(--spx-update-text-color)}.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity,1))}.text-amber-900{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-cyan-600{--tw-text-opacity:1;color:rgb(8 145 178/var(--tw-text-opacity,1))}.text-cyan-900{--tw-text-opacity:1;color:rgb(22 78 99/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity,1))}.text-lime-600{--tw-text-opacity:1;color:rgb(101 163 13/var(--tw-text-opacity,1))}.text-lime-900{--tw-text-opacity:1;color:rgb(54 83 20/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.text-red-900{--tw-text-opacity:1;color:rgb(127 29 29/var(--tw-text-opacity,1))}.text-transparent{color:#0000}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-zinc-300{--tw-text-opacity:1;color:rgb(212 212 216/var(--tw-text-opacity,1))}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.outline-none{outline:2px solid #0000;outline-offset:2px}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-blue-500{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}.ring-offset-2{--tw-ring-offset-width:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:start-\[4px\]:after{content:var(--tw-content);inset-inline-start:4px}.after\:top-0\.5:after{content:var(--tw-content);top:.125rem}.after\:h-6:after{content:var(--tw-content);height:1.5rem}.after\:w-6:after{content:var(--tw-content);width:1.5rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.last\:border-b-0:last-child{border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.hover\:bg-amber-200:hover{--tw-bg-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity,1))}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity,1))}.hover\:bg-cyan-200:hover{--tw-bg-opacity:1;background-color:rgb(165 243 252/var(--tw-bg-opacity,1))}.hover\:bg-gray-200:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.hover\:bg-lime-200:hover{--tw-bg-opacity:1;background-color:rgb(217 249 157/var(--tw-bg-opacity,1))}.hover\:bg-red-200:hover{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity,1))}.hover\:bg-sky-300:hover{--tw-bg-opacity:1;background-color:rgb(125 211 252/var(--tw-bg-opacity,1))}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus\:ring-0:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-0:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-amber-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(217 119 6/var(--tw-ring-opacity,1))}.focus\:ring-blue-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}.focus\:ring-blue-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(37 99 235/var(--tw-ring-opacity,1))}.focus\:ring-cyan-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(8 145 178/var(--tw-ring-opacity,1))}.focus\:ring-lime-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(101 163 13/var(--tw-ring-opacity,1))}.focus\:ring-red-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(220 38 38/var(--tw-ring-opacity,1))}.focus\:ring-sky-300:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(125 211 252/var(--tw-ring-opacity,1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.active\:bg-sky-300:active{--tw-bg-opacity:1;background-color:rgb(125 211 252/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\:bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.peer:focus~.peer-focus\:outline-none{outline:2px solid #0000;outline-offset:2px}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.peer:focus~.peer-focus\:ring-blue-300{--tw-ring-opacity:1;--tw-ring-color:rgb(147 197 253/var(--tw-ring-opacity,1))}@media (min-width:481px){.min-\[481px\]\:flex-row{flex-direction:row}.min-\[481px\]\:items-baseline{align-items:baseline}.min-\[481px\]\:justify-between{justify-content:space-between}.min-\[481px\]\:gap-4{gap:1rem}.min-\[481px\]\:text-right{text-align:right}}@media (min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}}@media (min-width:768px){.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}.peer:checked~.rtl\:peer-checked\:after\:-translate-x-full:where([dir=rtl],[dir=rtl] *):after{content:var(--tw-content);--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (prefers-color-scheme:dark){.dark\:border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.dark\:bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.dark\:bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\:bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.dark\:bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.dark\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.dark\:text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.dark\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark\:text-indigo-400{--tw-text-opacity:1;color:rgb(129 140 248/var(--tw-text-opacity,1))}.dark\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.peer:checked~.dark\:peer-checked\:bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.peer:focus~.dark\:peer-focus\:ring-blue-800{--tw-ring-opacity:1;--tw-ring-color:rgb(30 64 175/var(--tw-ring-opacity,1))}}
|
|
@@ -64,6 +64,9 @@ declare class Effects {
|
|
|
64
64
|
onChoose$: rxjs.Observable<({
|
|
65
65
|
channel: _softpak_components_spx_app_configuration.SpxAppChannelI;
|
|
66
66
|
channelType: _softpak_components_spx_app_configuration.SpxAppChannelTypeEnum;
|
|
67
|
+
} & _ngrx_store.Action<"[SpxChannel] ChooseFailed">) | ({
|
|
68
|
+
channel: _softpak_components_spx_app_configuration.SpxAppChannelI;
|
|
69
|
+
channelType: _softpak_components_spx_app_configuration.SpxAppChannelTypeEnum;
|
|
67
70
|
shouldRunUpdateCheck?: boolean;
|
|
68
71
|
} & _ngrx_store.Action<"[SpxChannel] ChooseSucceeded">) | ({
|
|
69
72
|
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
@@ -71,9 +74,6 @@ declare class Effects {
|
|
|
71
74
|
messageText: string;
|
|
72
75
|
title?: string;
|
|
73
76
|
} & _ngrx_store.Action<"[SpxToaster] CreateSuccess">) | ({
|
|
74
|
-
channel: _softpak_components_spx_app_configuration.SpxAppChannelI;
|
|
75
|
-
channelType: _softpak_components_spx_app_configuration.SpxAppChannelTypeEnum;
|
|
76
|
-
} & _ngrx_store.Action<"[SpxChannel] ChooseFailed">) | ({
|
|
77
77
|
autoClose?: number | SpxToasterAutoCloseSpeedEnum;
|
|
78
78
|
closeable?: boolean;
|
|
79
79
|
messageText: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
1
2
|
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
2
3
|
import * as _angular_core from '@angular/core';
|
|
3
4
|
import { ElementRef, ChangeDetectorRef, EventEmitter, QueryList, OnInit, SimpleChanges } from '@angular/core';
|
|
4
|
-
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { SpxSeverityEnum, SpxInputAlertI as SpxInputAlertI$1 } from '@softpak/components/spx-helpers';
|
|
7
7
|
import { ModalController } from '@ionic/angular/standalone';
|
|
@@ -9,6 +9,9 @@ import { ModalController } from '@ionic/angular/standalone';
|
|
|
9
9
|
interface SpxValuePair<A> {
|
|
10
10
|
description?: string | null;
|
|
11
11
|
value: A;
|
|
12
|
+
icon?: IconDefinition;
|
|
13
|
+
iconClass?: string;
|
|
14
|
+
bgClass?: string;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
declare class SelectedInputService {
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
3
4
|
|
|
4
5
|
declare class SpxSuggestionComponent {
|
|
5
6
|
spxDisabled: _angular_core.InputSignal<boolean | undefined>;
|
|
6
7
|
spxFocused: _angular_core.InputSignal<boolean | undefined>;
|
|
7
8
|
spxSelected: _angular_core.InputSignal<boolean | undefined>;
|
|
8
9
|
spxTabbable: _angular_core.InputSignal<boolean | undefined>;
|
|
10
|
+
spxIcon: _angular_core.InputSignal<IconDefinition | undefined>;
|
|
11
|
+
spxIconClass: _angular_core.InputSignal<string | undefined>;
|
|
12
|
+
spxBgClass: _angular_core.InputSignal<string | undefined>;
|
|
9
13
|
suggestionRef: _angular_core.Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
10
14
|
private spxHaptics;
|
|
11
15
|
handlePress: () => Promise<void>;
|
|
12
16
|
onDocumentPointerUp: (event: PointerEvent) => Promise<void>;
|
|
13
17
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpxSuggestionComponent, never>;
|
|
14
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxSuggestionComponent, "spx-suggestion", never, { "spxDisabled": { "alias": "spxDisabled"; "required": false; "isSignal": true; }; "spxFocused": { "alias": "spxFocused"; "required": false; "isSignal": true; }; "spxSelected": { "alias": "spxSelected"; "required": false; "isSignal": true; }; "spxTabbable": { "alias": "spxTabbable"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpxSuggestionComponent, "spx-suggestion", never, { "spxDisabled": { "alias": "spxDisabled"; "required": false; "isSignal": true; }; "spxFocused": { "alias": "spxFocused"; "required": false; "isSignal": true; }; "spxSelected": { "alias": "spxSelected"; "required": false; "isSignal": true; }; "spxTabbable": { "alias": "spxTabbable"; "required": false; "isSignal": true; }; "spxIcon": { "alias": "spxIcon"; "required": false; "isSignal": true; }; "spxIconClass": { "alias": "spxIconClass"; "required": false; "isSignal": true; }; "spxBgClass": { "alias": "spxBgClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
export { SpxSuggestionComponent };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
3
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
4
|
import * as _softpak_components_spx_app_configuration from '@softpak/components/spx-app-configuration';
|
|
@@ -15,7 +16,11 @@ declare class SpxWelcomeComponent implements OnInit, OnDestroy {
|
|
|
15
16
|
private readonly store;
|
|
16
17
|
private readonly formBuilder;
|
|
17
18
|
allChannels: _angular_core.Signal<_softpak_components_spx_app_configuration.SpxAppChannelI[] | undefined>;
|
|
19
|
+
private favouritesVersion;
|
|
18
20
|
allBrands: _angular_core.Signal<{
|
|
21
|
+
icon?: _fortawesome_fontawesome_common_types.IconDefinition | undefined;
|
|
22
|
+
iconClass?: string | undefined;
|
|
23
|
+
bgClass?: string | undefined;
|
|
19
24
|
description: string;
|
|
20
25
|
value: string;
|
|
21
26
|
}[] | undefined>;
|