@saasicat/ui-vue 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +47 -0
- package/dist/index.cjs +3776 -0
- package/dist/index.d.cts +2395 -0
- package/dist/index.d.ts +2395 -0
- package/dist/index.js +3659 -0
- package/dist/testing-e2e/admin-pages-suite.cjs +134 -0
- package/dist/testing-e2e/admin-pages-suite.d.cts +37 -0
- package/dist/testing-e2e/admin-pages-suite.d.ts +37 -0
- package/dist/testing-e2e/admin-pages-suite.js +109 -0
- package/package.json +87 -0
- package/src/action-registry.ts +110 -0
- package/src/batch-column-fetcher.ts +152 -0
- package/src/boot-loader.ts +60 -0
- package/src/components/BundleVersionPublishDialog.vue +359 -0
- package/src/components/BusinessTypeVersionEditorDialog.vue +417 -0
- package/src/components/BusinessTypeVersionPublishDialog.vue +258 -0
- package/src/components/FeatureGate.vue +56 -0
- package/src/components/KpiCard.vue +53 -0
- package/src/components/KvBlock.vue +36 -0
- package/src/components/MarketingPromotionsTab.vue +861 -0
- package/src/components/MfaPromptDialog.vue +104 -0
- package/src/components/TenantActionConfirmDialog.vue +252 -0
- package/src/components/VersionDiffPreview.vue +150 -0
- package/src/components/bundle-editor/BundleCreatePanel.vue +681 -0
- package/src/components/bundle-editor/BundleFeaturesEditor.vue +215 -0
- package/src/components/bundle-editor/BundlePlanCompatPicker.vue +316 -0
- package/src/components/bundle-editor/BundleQuotasEditor.vue +219 -0
- package/src/components/bundle-editor/BundleStatusBanner.vue +189 -0
- package/src/components/bundle-editor/BundleVersionInlineEditor.vue +659 -0
- package/src/components/bundle-editor/BundleVersionStrip.vue +207 -0
- package/src/components/bundle-editor/bundle-version-status.ts +164 -0
- package/src/components/bundle-editor/catalog-i18n.ts +85 -0
- package/src/components/dialogs/PilotCreateDialog.vue +780 -0
- package/src/components/dialogs/PilotEditDialog.vue +548 -0
- package/src/components/dialogs/PromoCodeCreateDialog.vue +737 -0
- package/src/components/dialogs/PromoCodeEditDialog.vue +859 -0
- package/src/components/dialogs/types.ts +126 -0
- package/src/components/plan/PlanCycleToggle.vue +99 -0
- package/src/components/plan/PlanGrid.vue +211 -0
- package/src/components/plan/PriceSummary.vue +293 -0
- package/src/components/plan/PromoCodeInput.vue +192 -0
- package/src/components/plan/PublicBundleGrid.vue +287 -0
- package/src/components/plan-cockpit/PlanCockpit.vue +993 -0
- package/src/components/plan-cockpit/PlanCockpitAuditLog.vue +65 -0
- package/src/components/plan-cockpit/PlanCockpitDiffPanel.vue +91 -0
- package/src/components/plan-cockpit/PlanCockpitHeader.vue +98 -0
- package/src/components/plan-cockpit/PlanCockpitImpactPanel.vue +99 -0
- package/src/components/plan-cockpit/PlanCockpitKpis.vue +57 -0
- package/src/components/plan-cockpit/PlanCockpitVersions.vue +226 -0
- package/src/components/plan-cockpit/types.ts +72 -0
- package/src/components/plan-create-dialog/PlanCreateDialog.vue +508 -0
- package/src/components/plan-detail/PlanAuditLog.vue +59 -0
- package/src/components/plan-detail/PlanDetail.vue +1195 -0
- package/src/components/plan-detail/PlanDetailHeader.vue +185 -0
- package/src/components/plan-detail/PlanDetailKpis.vue +57 -0
- package/src/components/plan-detail/PlanTerminateDialog.vue +76 -0
- package/src/components/plan-detail/PlanVersionDiffPanel.vue +149 -0
- package/src/components/plan-detail/PlanVersionsPanel.vue +255 -0
- package/src/components/plan-detail/types.ts +59 -0
- package/src/components/plan-list/PlanList.vue +1067 -0
- package/src/components/plan-matrix/PlanMatrix.vue +1113 -0
- package/src/components/plan-review/PlanReview.vue +742 -0
- package/src/components/plan-version-editor/PlanCatalogPreview.vue +184 -0
- package/src/components/plan-version-editor/PlanComponentPool.vue +272 -0
- package/src/components/plan-version-editor/PlanVersionBasket.vue +281 -0
- package/src/components/plan-version-editor/PlanVersionDiffDialog.vue +84 -0
- package/src/components/plan-version-editor/PlanVersionEditor.vue +1728 -0
- package/src/components/plan-version-editor/PlanVersionEditorHeader.vue +94 -0
- package/src/components/plan-version-editor/types.ts +96 -0
- package/src/components/wizard-stepper/WizardStepper.vue +107 -0
- package/src/create-admin-routes.ts +68 -0
- package/src/create-super-admin-app.ts +345 -0
- package/src/entitlement-provider.ts +36 -0
- package/src/feature-router-guard.ts +77 -0
- package/src/http-json.ts +62 -0
- package/src/index.ts +98 -0
- package/src/manifest-loader.ts +139 -0
- package/src/manifest-store-factory.ts +114 -0
- package/src/nav-builder.ts +274 -0
- package/src/pages-standard/AdminLayout.vue +411 -0
- package/src/pages-standard/AdminManifestErrorPage.vue +79 -0
- package/src/pages-standard/AuditPage.vue +223 -0
- package/src/pages-standard/BundlesPage.vue +910 -0
- package/src/pages-standard/BusinessTypesPage.vue +662 -0
- package/src/pages-standard/DashboardPage.vue +595 -0
- package/src/pages-standard/DiscoveryPage.vue +663 -0
- package/src/pages-standard/EmailHistoryPage.vue +576 -0
- package/src/pages-standard/MarketingCatalogPage.vue +1771 -0
- package/src/pages-standard/PilotsPage.vue +577 -0
- package/src/pages-standard/PlanVersionsPage.vue +216 -0
- package/src/pages-standard/PlansPage.vue +1222 -0
- package/src/pages-standard/PlatformEmailPage.vue +434 -0
- package/src/pages-standard/PromoCodeDetailPage.vue +331 -0
- package/src/pages-standard/PromoCodesPage.vue +589 -0
- package/src/pages-standard/SubscriptionsPage.vue +159 -0
- package/src/pages-standard/SuperAdminLoginPage.vue +299 -0
- package/src/pages-standard/SuperAdminSetupWizard.vue +405 -0
- package/src/pages-standard/TenantDetailPage.vue +432 -0
- package/src/pages-standard/TenantsPage.vue +732 -0
- package/src/pages-standard/UsersPage.vue +504 -0
- package/src/pages-standard/bundles-page/BundleAccordionList.vue +116 -0
- package/src/pages-standard/bundles-page/BundleDetailPanel.vue +193 -0
- package/src/pages-standard/bundles-page/BundlesFilterBar.vue +48 -0
- package/src/pages-standard/bundles-page/BundlesHeader.vue +67 -0
- package/src/pages-standard/bundles-page/BundlesKpis.vue +39 -0
- package/src/pages-standard/bundles-page/types.ts +15 -0
- package/src/pages-standard/discovery-page/CatalogEntryTransPanel.vue +246 -0
- package/src/pages-standard/discovery-page/DiscoveryCapList.vue +171 -0
- package/src/pages-standard/discovery-page/DiscoveryFeatureCard.vue +410 -0
- package/src/pages-standard/discovery-page/DiscoveryHeader.vue +31 -0
- package/src/pages-standard/discovery-page/DiscoveryKpis.vue +47 -0
- package/src/pages-standard/discovery-page/DiscoveryMetaBanner.vue +26 -0
- package/src/pages-standard/discovery-page/DiscoveryQuotaCard.vue +247 -0
- package/src/pages-standard/discovery-page/DiscoveryStatusControl.vue +73 -0
- package/src/pages-standard/discovery-page/discovery-ui.ts +166 -0
- package/src/pages-standard/email-history.types.ts +48 -0
- package/src/pages-standard/marketing-catalog/MarketingCatalogAdmin.vue +448 -0
- package/src/pages-standard/marketing-catalog/MarketingCatalogHeader.vue +93 -0
- package/src/pages-standard/marketing-catalog/MarketingCatalogPreview.vue +138 -0
- package/src/pages-standard/marketing-catalog/MarketingCatalogToolbar.vue +58 -0
- package/src/pages-standard/marketing-catalog/types.ts +43 -0
- package/src/pages-standard/plan-versions/PlanDiffCard.vue +132 -0
- package/src/pages-standard/plan-versions/PlanVersionHeader.vue +293 -0
- package/src/pages-standard/plan-versions/PlanVersionStatusBadge.vue +48 -0
- package/src/pages-standard/plan-versions/PlanVersionsAudit.vue +307 -0
- package/src/pages-standard/plan-versions/PlanVersionsDiff.vue +269 -0
- package/src/pages-standard/plan-versions/PlanVersionsKpi.vue +65 -0
- package/src/pages-standard/plan-versions/PlanVersionsList.vue +292 -0
- package/src/pages-standard/plan-versions/PlanVersionsMatrix.vue +261 -0
- package/src/pages-standard/plan-versions/PlanVersionsTimeline.vue +300 -0
- package/src/pages-standard/plan-versions/VersionDiffPreview.vue +167 -0
- package/src/pages-standard/plan-versions/format.ts +53 -0
- package/src/pages-standard/plan-versions/types.ts +33 -0
- package/src/pages-standard/plans-page/PlanArchiveDialog.vue +50 -0
- package/src/pages-standard/plans-page/PlanBundleOverview.vue +147 -0
- package/src/pages-standard/plans-page/PlanDiscardDraftDialog.vue +46 -0
- package/src/pages-standard/plans-page/PlanPublishDialog.vue +106 -0
- package/src/pages-standard/plans-page/PlansPageToast.vue +69 -0
- package/src/pages-standard/plans-page/types.ts +18 -0
- package/src/pages-standard/platform-email.types.ts +41 -0
- package/src/pages-standard/sa-theme.css +223 -0
- package/src/pages-standard/tenants/StatusPill.vue +62 -0
- package/src/pages-standard/tenants/format.ts +38 -0
- package/src/pages-tenant/LimitsRow.vue +67 -0
- package/src/pages-tenant/MySubscriptionBundlesPage.vue +604 -0
- package/src/pages-tenant/OnboardingConfigurator.vue +417 -0
- package/src/pages-tenant/PackageSnapshotPanel.vue +241 -0
- package/src/pages-tenant/PendingVersionBanner.vue +126 -0
- package/src/pages-tenant/PlanChangeWizard.vue +630 -0
- package/src/pages-tenant/TenantPlanSection.vue +729 -0
- package/src/pages-tenant/UsageBar.vue +107 -0
- package/src/pages-tenant/default-i18n.ts +280 -0
- package/src/pages-tenant/tenant-plan-section/BundlePreviewDialog.vue +304 -0
- package/src/pages-tenant/tenant-plan-section/TenantBundleStore.vue +323 -0
- package/src/pages-tenant/tenant-plan-section/TenantFeatureMatrix.vue +122 -0
- package/src/pages-tenant/tenant-plan-section/TenantPlanCardHeader.vue +67 -0
- package/src/pages-tenant/tenant-plan-section/TenantUsageGrid.vue +31 -0
- package/src/plan-versions-catalog.ts +368 -0
- package/src/platform-loaders.ts +68 -0
- package/src/project-page-host.ts +108 -0
- package/src/testing-e2e/admin-pages-suite.ts +187 -0
- package/src/types.ts +58 -0
- package/src/use-actions.ts +25 -0
- package/src/use-api-list.ts +151 -0
- package/src/use-audit-entries.ts +48 -0
- package/src/use-batch-columns.ts +59 -0
- package/src/use-bulk-publish.ts +150 -0
- package/src/use-bundle-versions-map.ts +112 -0
- package/src/use-bundles.ts +297 -0
- package/src/use-business-types.ts +269 -0
- package/src/use-catalog-entries.ts +243 -0
- package/src/use-discovery.ts +158 -0
- package/src/use-entitlement.ts +87 -0
- package/src/use-live-plan-versions.ts +126 -0
- package/src/use-manifest.ts +57 -0
- package/src/use-marketing-projections.ts +160 -0
- package/src/use-nav.ts +33 -0
- package/src/use-plan-editor.ts +162 -0
- package/src/use-plan-versions.ts +83 -0
- package/src/use-plans.ts +375 -0
- package/src/use-platform-tenant-actions.ts +286 -0
- package/src/use-promotions.ts +126 -0
- package/src/use-public-boot.ts +40 -0
- package/src/use-subscription-draft.ts +355 -0
- package/src/use-super-admin-context.ts +93 -0
- package/src/use-tenant-action-flow.ts +238 -0
- package/src/use-tenant-billing-catalog.ts +160 -0
- package/src/use-tenant-billing.ts +453 -0
- package/src/use-tenant-manifest.ts +94 -0
- package/src/use-tenant-subscription-bundles.ts +148 -0
- package/src/use-tenants.ts +61 -0
- package/src/version.ts +10 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="sp-public-bundles">
|
|
3
|
+
<button
|
|
4
|
+
v-for="row in bundleRows"
|
|
5
|
+
:key="row.bundle.bundleVersionId"
|
|
6
|
+
type="button"
|
|
7
|
+
class="sp-public-bundle"
|
|
8
|
+
:class="{
|
|
9
|
+
'sp-public-bundle--on': row.selected,
|
|
10
|
+
'sp-public-bundle--off': row.disabled,
|
|
11
|
+
}"
|
|
12
|
+
:aria-pressed="row.selected"
|
|
13
|
+
:aria-disabled="row.disabled"
|
|
14
|
+
:disabled="row.disabled"
|
|
15
|
+
@click="onToggle(row)"
|
|
16
|
+
>
|
|
17
|
+
<div class="sp-public-bundle__head">
|
|
18
|
+
<div>
|
|
19
|
+
<div class="sp-public-bundle__name">{{ row.bundle.label }}</div>
|
|
20
|
+
<p v-if="row.bundle.description" class="sp-public-bundle__desc">
|
|
21
|
+
{{ row.bundle.description }}
|
|
22
|
+
</p>
|
|
23
|
+
</div>
|
|
24
|
+
<span
|
|
25
|
+
v-if="row.bundle.compatiblePlanKeys.length === 0"
|
|
26
|
+
class="sp-public-bundle__tag"
|
|
27
|
+
>
|
|
28
|
+
{{ i18n.allPlans }}
|
|
29
|
+
</span>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div
|
|
33
|
+
v-if="row.state === 'covered'"
|
|
34
|
+
class="sp-public-bundle__state sp-public-bundle__state--covered"
|
|
35
|
+
>
|
|
36
|
+
{{ i18n.alreadyBooked }}
|
|
37
|
+
</div>
|
|
38
|
+
<div
|
|
39
|
+
v-else-if="row.state === 'missing-requires'"
|
|
40
|
+
class="sp-public-bundle__state sp-public-bundle__state--blocked"
|
|
41
|
+
>
|
|
42
|
+
{{ i18n.missingRequires }}: {{ row.missingRequires.map(featureLabel).join(', ') }}
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<div v-if="row.bundle.features.length > 0" class="sp-public-bundle__features">
|
|
46
|
+
<span v-for="featureKey in row.bundle.features" :key="featureKey">
|
|
47
|
+
{{ featureLabel(featureKey) }}
|
|
48
|
+
</span>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<div v-if="Object.keys(row.bundle.quotas).length > 0" class="sp-public-bundle__quotas">
|
|
52
|
+
<span v-for="[key, value] in Object.entries(row.bundle.quotas)" :key="key">
|
|
53
|
+
{{ quotaLabel(key) }} +{{ value === -1 ? '∞' : value }}
|
|
54
|
+
</span>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<div class="sp-public-bundle__foot">
|
|
58
|
+
<strong>{{ priceLabel(row.bundle) }}</strong>
|
|
59
|
+
<span v-if="row.bundle.monthlyNet !== null" class="sp-public-bundle__cycle">
|
|
60
|
+
/{{ cycle === 'YEARLY' ? i18n.perYear : i18n.perMonth }}
|
|
61
|
+
</span>
|
|
62
|
+
</div>
|
|
63
|
+
</button>
|
|
64
|
+
<div v-if="bundles.length === 0" class="sp-public-bundles__empty">
|
|
65
|
+
{{ i18n.empty }}
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</template>
|
|
69
|
+
|
|
70
|
+
<script setup lang="ts">
|
|
71
|
+
import { computed } from 'vue';
|
|
72
|
+
import {
|
|
73
|
+
resolveBundleAvailability,
|
|
74
|
+
missingRequiresFor,
|
|
75
|
+
coverageExcludingSelf,
|
|
76
|
+
type BundleAvailabilityState,
|
|
77
|
+
type PublicMarketingBundle,
|
|
78
|
+
} from '@saasicat/types';
|
|
79
|
+
import type { BillingCycleStr } from '../../use-tenant-billing.js';
|
|
80
|
+
|
|
81
|
+
interface I18n {
|
|
82
|
+
perMonth: string;
|
|
83
|
+
perYear: string;
|
|
84
|
+
empty: string;
|
|
85
|
+
allPlans: string;
|
|
86
|
+
priceOnRequest: string;
|
|
87
|
+
alreadyBooked: string;
|
|
88
|
+
missingRequires: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const props = defineProps<{
|
|
92
|
+
bundles: PublicMarketingBundle[];
|
|
93
|
+
selected: Set<string>;
|
|
94
|
+
cycle: BillingCycleStr;
|
|
95
|
+
/** Features of the selected plan — basis for requires/redundancy coverage (#35). */
|
|
96
|
+
planFeatures: string[];
|
|
97
|
+
formatCurrency: (value: number) => string;
|
|
98
|
+
featureLabel: (key: string) => string;
|
|
99
|
+
quotaLabel: (key: string) => string;
|
|
100
|
+
i18n: I18n;
|
|
101
|
+
}>();
|
|
102
|
+
|
|
103
|
+
const emit = defineEmits<{
|
|
104
|
+
toggle: [bundleVersionId: string];
|
|
105
|
+
}>();
|
|
106
|
+
|
|
107
|
+
interface BundleRow {
|
|
108
|
+
bundle: PublicMarketingBundle;
|
|
109
|
+
state: BundleAvailabilityState;
|
|
110
|
+
missingRequires: string[];
|
|
111
|
+
selected: boolean;
|
|
112
|
+
/** Only unselected, non-bookable bundles are locked. */
|
|
113
|
+
disabled: boolean;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Coverage per bundle = plan features ∪ features of the other *selected* bundles.
|
|
117
|
+
// Shared with the subscription draft, so that graying-out and price exclusion
|
|
118
|
+
// see the same redundancy.
|
|
119
|
+
const selectedBundleShapes = computed(() =>
|
|
120
|
+
props.bundles.filter((b) => props.selected.has(b.bundleVersionId)),
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
// An already-selected bundle stays deselectable, even when it became
|
|
124
|
+
// `covered` through a later selection — otherwise it gets stuck. Only
|
|
125
|
+
// *selecting* a non-bookable bundle is locked (missing-requires or a
|
|
126
|
+
// not-yet-selected covered bundle).
|
|
127
|
+
const bundleRows = computed<BundleRow[]>(() =>
|
|
128
|
+
props.bundles.map((bundle) => {
|
|
129
|
+
const covered = coverageExcludingSelf(
|
|
130
|
+
bundle.bundleVersionId,
|
|
131
|
+
props.planFeatures,
|
|
132
|
+
selectedBundleShapes.value,
|
|
133
|
+
);
|
|
134
|
+
const state = resolveBundleAvailability(bundle, covered);
|
|
135
|
+
const selected = props.selected.has(bundle.bundleVersionId);
|
|
136
|
+
return {
|
|
137
|
+
bundle,
|
|
138
|
+
state,
|
|
139
|
+
missingRequires: missingRequiresFor(bundle, covered),
|
|
140
|
+
selected,
|
|
141
|
+
disabled: !selected && state !== 'bookable',
|
|
142
|
+
};
|
|
143
|
+
}),
|
|
144
|
+
);
|
|
145
|
+
|
|
146
|
+
function onToggle(row: BundleRow): void {
|
|
147
|
+
if (row.disabled) return;
|
|
148
|
+
emit('toggle', row.bundle.bundleVersionId);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function priceFor(bundle: PublicMarketingBundle): number | null {
|
|
152
|
+
if (bundle.monthlyNet === null) return null;
|
|
153
|
+
if (props.cycle === 'YEARLY') {
|
|
154
|
+
return bundle.yearlyNet ?? bundle.monthlyNet * 10;
|
|
155
|
+
}
|
|
156
|
+
return bundle.monthlyNet;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
function priceLabel(bundle: PublicMarketingBundle): string {
|
|
160
|
+
const price = priceFor(bundle);
|
|
161
|
+
return price === null ? props.i18n.priceOnRequest : props.formatCurrency(price);
|
|
162
|
+
}
|
|
163
|
+
</script>
|
|
164
|
+
|
|
165
|
+
<style scoped>
|
|
166
|
+
.sp-public-bundles {
|
|
167
|
+
display: grid;
|
|
168
|
+
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
169
|
+
gap: 10px;
|
|
170
|
+
}
|
|
171
|
+
.sp-public-bundle {
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
font-family: inherit;
|
|
174
|
+
text-align: left;
|
|
175
|
+
background: #fff;
|
|
176
|
+
border: 1.5px solid rgba(0, 0, 0, 0.1);
|
|
177
|
+
border-radius: 14px;
|
|
178
|
+
padding: 14px 16px 12px;
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-direction: column;
|
|
181
|
+
gap: 10px;
|
|
182
|
+
transition: all 160ms;
|
|
183
|
+
}
|
|
184
|
+
.sp-public-bundle:hover {
|
|
185
|
+
transform: translateY(-2px);
|
|
186
|
+
border-color: rgba(15, 118, 110, 0.3);
|
|
187
|
+
}
|
|
188
|
+
.sp-public-bundle--on {
|
|
189
|
+
border-color: var(--q-primary, #0f766e);
|
|
190
|
+
background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), #fff 80%);
|
|
191
|
+
}
|
|
192
|
+
.sp-public-bundle--off {
|
|
193
|
+
cursor: not-allowed;
|
|
194
|
+
opacity: 0.55;
|
|
195
|
+
}
|
|
196
|
+
.sp-public-bundle--off:hover {
|
|
197
|
+
transform: none;
|
|
198
|
+
border-color: rgba(0, 0, 0, 0.1);
|
|
199
|
+
}
|
|
200
|
+
.sp-public-bundle__head {
|
|
201
|
+
display: flex;
|
|
202
|
+
justify-content: space-between;
|
|
203
|
+
gap: 10px;
|
|
204
|
+
}
|
|
205
|
+
.sp-public-bundle__name {
|
|
206
|
+
font-size: 14px;
|
|
207
|
+
font-weight: 700;
|
|
208
|
+
color: rgba(0, 0, 0, 0.85);
|
|
209
|
+
}
|
|
210
|
+
.sp-public-bundle__desc {
|
|
211
|
+
margin: 4px 0 0;
|
|
212
|
+
color: rgba(0, 0, 0, 0.55);
|
|
213
|
+
font-size: 12px;
|
|
214
|
+
line-height: 1.4;
|
|
215
|
+
}
|
|
216
|
+
.sp-public-bundle__tag {
|
|
217
|
+
align-self: flex-start;
|
|
218
|
+
white-space: nowrap;
|
|
219
|
+
font-family: 'SF Mono', Consolas, monospace;
|
|
220
|
+
font-size: 9.5px;
|
|
221
|
+
letter-spacing: 0.06em;
|
|
222
|
+
color: #166534;
|
|
223
|
+
background: rgba(22, 163, 74, 0.16);
|
|
224
|
+
padding: 3px 7px;
|
|
225
|
+
border-radius: 999px;
|
|
226
|
+
font-weight: 700;
|
|
227
|
+
text-transform: uppercase;
|
|
228
|
+
}
|
|
229
|
+
.sp-public-bundle__state {
|
|
230
|
+
align-self: flex-start;
|
|
231
|
+
font-size: 11px;
|
|
232
|
+
font-weight: 700;
|
|
233
|
+
padding: 3px 8px;
|
|
234
|
+
border-radius: 999px;
|
|
235
|
+
line-height: 1.3;
|
|
236
|
+
}
|
|
237
|
+
.sp-public-bundle__state--covered {
|
|
238
|
+
color: #166534;
|
|
239
|
+
background: rgba(22, 163, 74, 0.16);
|
|
240
|
+
}
|
|
241
|
+
.sp-public-bundle__state--blocked {
|
|
242
|
+
color: rgba(0, 0, 0, 0.6);
|
|
243
|
+
background: rgba(0, 0, 0, 0.08);
|
|
244
|
+
}
|
|
245
|
+
.sp-public-bundle__features,
|
|
246
|
+
.sp-public-bundle__quotas {
|
|
247
|
+
display: flex;
|
|
248
|
+
flex-direction: column;
|
|
249
|
+
gap: 3px;
|
|
250
|
+
font-size: 12px;
|
|
251
|
+
color: rgba(0, 0, 0, 0.55);
|
|
252
|
+
line-height: 1.4;
|
|
253
|
+
}
|
|
254
|
+
.sp-public-bundle__features span::before,
|
|
255
|
+
.sp-public-bundle__quotas span::before {
|
|
256
|
+
content: '+ ';
|
|
257
|
+
color: var(--q-primary, #0f766e);
|
|
258
|
+
font-weight: 700;
|
|
259
|
+
}
|
|
260
|
+
.sp-public-bundle__foot {
|
|
261
|
+
display: flex;
|
|
262
|
+
justify-content: space-between;
|
|
263
|
+
align-items: baseline;
|
|
264
|
+
padding-top: 8px;
|
|
265
|
+
margin-top: auto;
|
|
266
|
+
border-top: 1px dashed rgba(0, 0, 0, 0.08);
|
|
267
|
+
}
|
|
268
|
+
.sp-public-bundle__foot strong {
|
|
269
|
+
font-size: 16px;
|
|
270
|
+
font-weight: 800;
|
|
271
|
+
color: rgba(0, 0, 0, 0.85);
|
|
272
|
+
}
|
|
273
|
+
.sp-public-bundle__cycle {
|
|
274
|
+
font-family: 'SF Mono', Consolas, monospace;
|
|
275
|
+
font-size: 9.5px;
|
|
276
|
+
color: rgba(0, 0, 0, 0.55);
|
|
277
|
+
letter-spacing: 0.06em;
|
|
278
|
+
}
|
|
279
|
+
.sp-public-bundles__empty {
|
|
280
|
+
grid-column: 1 / -1;
|
|
281
|
+
color: rgba(0, 0, 0, 0.5);
|
|
282
|
+
font-style: italic;
|
|
283
|
+
font-size: 13px;
|
|
284
|
+
padding: 20px;
|
|
285
|
+
text-align: center;
|
|
286
|
+
}
|
|
287
|
+
</style>
|