@antelopejs/dms-saas 0.11.1 → 0.12.1

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.
Files changed (87) hide show
  1. package/README.md +12 -12
  2. package/dist/data-api/platformOwner/admin-user-invoices.d.ts +1 -1
  3. package/dist/data-api/platformOwner/admin-user-workspaces.d.ts +1 -1
  4. package/dist/data-api/platformOwner/credit-notes.d.ts +14 -1
  5. package/dist/data-api/platformOwner/features.d.ts +15 -2
  6. package/dist/data-api/platformOwner/invitations.d.ts +1 -1
  7. package/dist/data-api/platformOwner/invoices.d.ts +7 -1
  8. package/dist/data-api/platformOwner/members.d.ts +1 -1
  9. package/dist/data-api/platformOwner/plan-migrations.d.ts +1 -1
  10. package/dist/data-api/platformOwner/plans.d.ts +8 -2
  11. package/dist/data-api/platformOwner/plans.js +1 -1
  12. package/dist/data-api/platformOwner/plans.js.map +1 -1
  13. package/dist/data-api/platformOwner/segments.d.ts +14 -1
  14. package/dist/data-api/platformOwner/users.d.ts +14 -1
  15. package/dist/data-api/platformOwner/workspaces.d.ts +1 -1
  16. package/dist/data-api/tenant/tenant-invoices.d.ts +1 -1
  17. package/dist/invoice-line-items/recovery/task.model.d.ts +3 -3
  18. package/dist/operator-actions/db/lifecycle-delivery.model.d.ts +3 -3
  19. package/dist/operator-actions/db/operator-action.model.d.ts +3 -3
  20. package/dist/routes/platformOwner/plan-migration-export.js +4 -1
  21. package/dist/routes/platformOwner/plan-migration-export.js.map +1 -1
  22. package/dist/routes/platformOwner/plans.d.ts +1 -1
  23. package/dist/routes/platformOwner/platform-notes.d.ts +2 -1
  24. package/dist/routes/platformOwner/platform-notes.js +1 -1
  25. package/dist/routes/platformOwner/platform-notes.js.map +1 -1
  26. package/dist/routes/platformOwner/segments-export.js +4 -1
  27. package/dist/routes/platformOwner/segments-export.js.map +1 -1
  28. package/dist/routes/tenant/data-export.d.ts +2 -1
  29. package/dist/routes/tenant/data-export.js +1 -1
  30. package/dist/routes/tenant/data-export.js.map +1 -1
  31. package/dist/routes/tenant/tenant-billing.js +2 -1
  32. package/dist/routes/tenant/tenant-billing.js.map +1 -1
  33. package/dist/upcoming-invoice/db/preview-cache.model.d.ts +3 -3
  34. package/dist/utils/pagination.d.ts +2 -1
  35. package/dist/utils/pagination.js +3 -1
  36. package/dist/utils/pagination.js.map +1 -1
  37. package/dist/utils/row-instance.d.ts +2 -1
  38. package/dist/utils/row-instance.js.map +1 -1
  39. package/dist/utils/workspace-records.js.map +1 -1
  40. package/dist/workspaces/db/provisioning-attempt.model.d.ts +3 -3
  41. package/dist/workspaces/db/trial-identity.model.d.ts +3 -3
  42. package/frontend-vue/app/build/PayInvoicePanel.vue +4 -4
  43. package/frontend-vue/app/build/PlanChangeReview.vue +4 -4
  44. package/frontend-vue/app/build/PlanFeatureValueInput.vue +2 -2
  45. package/frontend-vue/app/build/components/FormFieldRow.vue +1 -1
  46. package/frontend-vue/app/build/components/RetirePlanDiff.vue +2 -2
  47. package/frontend-vue/app/build/public/OtherWorkspaces.vue +2 -2
  48. package/frontend-vue/app/build/public/PricingComparison.vue +2 -2
  49. package/frontend-vue/app/build/public/PricingFaq.vue +2 -2
  50. package/frontend-vue/app/build/public/PublicStage.vue +3 -3
  51. package/frontend-vue/app/build/public/RegistrationPlanCard.vue +5 -5
  52. package/frontend-vue/app/build/public/legal-html.ts +146 -0
  53. package/frontend-vue/app/build/workspace-detail/ComplimentaryDialog.vue +3 -3
  54. package/frontend-vue/app/build/workspace-detail/CreditDialog.vue +2 -2
  55. package/frontend-vue/app/build/workspace-detail/UpgradeDialog.vue +1 -1
  56. package/frontend-vue/app/components/BillingIdentityFields.vue +2 -2
  57. package/frontend-vue/app/components/DataExport.vue +8 -8
  58. package/frontend-vue/app/components/DataExportHistory.vue +2 -2
  59. package/frontend-vue/app/components/IssueCreditNoteModal.vue +2 -2
  60. package/frontend-vue/app/components/LegalLayout.vue +33 -30
  61. package/frontend-vue/app/components/PastDueAlert.vue +3 -3
  62. package/frontend-vue/app/components/PaymentMethodCard.vue +2 -2
  63. package/frontend-vue/app/components/PlanCard.vue +2 -2
  64. package/frontend-vue/app/components/PlanCardPublic.vue +3 -3
  65. package/frontend-vue/app/components/PlanEditorPreview.vue +4 -4
  66. package/frontend-vue/app/components/PlanUpgradeModal.vue +4 -4
  67. package/frontend-vue/app/components/PlatformNotes.vue +2 -2
  68. package/frontend-vue/app/components/Pricing.vue +10 -8
  69. package/frontend-vue/app/components/RefundButton.vue +3 -3
  70. package/frontend-vue/app/components/Register.vue +4 -2
  71. package/frontend-vue/app/components/RegistrationClosed.vue +1 -1
  72. package/frontend-vue/app/components/RetirePlanModal.vue +6 -6
  73. package/frontend-vue/app/components/SeatQuotaBanner.vue +8 -8
  74. package/frontend-vue/app/components/SegmentLivePreview.vue +4 -4
  75. package/frontend-vue/app/components/TenantBillingForm.vue +2 -2
  76. package/frontend-vue/app/components/TenantPlanCard.vue +8 -8
  77. package/frontend-vue/app/components/UserPlatformRoleCard.vue +2 -2
  78. package/frontend-vue/app/components/UserSegmentMatches.vue +2 -2
  79. package/frontend-vue/app/components/WorkspaceAdminCreateModal.vue +2 -2
  80. package/frontend-vue/app/components/WorkspaceInvitationLink.vue +1 -1
  81. package/frontend-vue/app/components/WorkspaceOperatorActions.vue +2 -2
  82. package/frontend-vue/app/components/WorkspaceSuspended.vue +9 -9
  83. package/frontend-vue/app/custom-pages/auth/no-workspace.vue +3 -3
  84. package/frontend-vue/build/backend-boundary.ts +8 -3
  85. package/frontend-vue/eslint.config.mjs +0 -1
  86. package/frontend-vue/package.json +1 -1
  87. package/package.json +18 -15
@@ -140,7 +140,7 @@ onMounted(consumeDeliveredLink)
140
140
 
141
141
  <template>
142
142
  <div class="flex flex-col gap-4">
143
- <DmsBanner
143
+ <DmsNoticeBanner
144
144
  v-if="expiredLinkJobId"
145
145
  tone="warning"
146
146
  icon="i-ph-link-break"
@@ -159,9 +159,9 @@ onMounted(consumeDeliveredLink)
159
159
  {{ $t(`${KEYS}.expired_link.action`) }}
160
160
  </UButton>
161
161
  </template>
162
- </DmsBanner>
162
+ </DmsNoticeBanner>
163
163
 
164
- <DmsCard>
164
+ <DmsCardPanel>
165
165
  <div class="flex flex-col gap-3">
166
166
  <DmsStatusPill
167
167
  tone="info"
@@ -187,9 +187,9 @@ onMounted(consumeDeliveredLink)
187
187
  </span>
188
188
  </div>
189
189
  </div>
190
- </DmsCard>
190
+ </DmsCardPanel>
191
191
 
192
- <DmsCard v-if="running" :title="$t(`${KEYS}.in_progress.title`)">
192
+ <DmsCardPanel v-if="running" :title="$t(`${KEYS}.in_progress.title`)">
193
193
  <div class="flex flex-col gap-2" aria-live="polite">
194
194
  <div class="flex flex-wrap items-center gap-2">
195
195
  <span class="text-highlighted text-sm font-medium">
@@ -216,9 +216,9 @@ onMounted(consumeDeliveredLink)
216
216
  </span>
217
217
  </div>
218
218
  </div>
219
- </DmsCard>
219
+ </DmsCardPanel>
220
220
 
221
- <DmsBanner
221
+ <DmsNoticeBanner
222
222
  v-else-if="finished"
223
223
  :tone="finished.status === EXPORT_STATUS.failed ? 'error' : 'success'"
224
224
  :icon="
@@ -265,6 +265,6 @@ onMounted(consumeDeliveredLink)
265
265
  {{ $t(`${KEYS}.history.download`) }}
266
266
  </UButton>
267
267
  </template>
268
- </DmsBanner>
268
+ </DmsNoticeBanner>
269
269
  </div>
270
270
  </template>
@@ -103,7 +103,7 @@ function requestAnother(): Promise<void> {
103
103
  </script>
104
104
 
105
105
  <template>
106
- <DmsCard :title="$t(`${KEYS}.title`)" :padded="false">
106
+ <DmsCardPanel :title="$t(`${KEYS}.title`)" :padded="false">
107
107
  <p class="text-muted border-default px-4.5 border-b py-2.5 text-xs">
108
108
  {{ $t(`${KEYS}.description`) }}
109
109
  </p>
@@ -232,5 +232,5 @@ function requestAnother(): Promise<void> {
232
232
  </UButton>
233
233
  </div>
234
234
  </template>
235
- </DmsCard>
235
+ </DmsCardPanel>
236
236
  </template>
@@ -266,7 +266,7 @@ function submit(): Promise<void> | undefined {
266
266
 
267
267
  <FormFieldRow :label="$t(`${TEXT}.reason`)" required>
268
268
  <template #default="{ id }">
269
- <DmsSelect
269
+ <DmsInputSelect
270
270
  :id="id"
271
271
  v-model="reason"
272
272
  :items="reasonItems"
@@ -289,7 +289,7 @@ function submit(): Promise<void> | undefined {
289
289
  "
290
290
  >
291
291
  <template #default="{ id }">
292
- <DmsTextarea
292
+ <DmsInputTextarea
293
293
  :id="id"
294
294
  v-model="memo"
295
295
  :rows="3"
@@ -4,7 +4,7 @@
4
4
  * headings, the related documents and a way back to where the visitor was.
5
5
  * An unpublished document reads "Content unavailable".
6
6
  */
7
- import { computed, onMounted, ref } from 'vue'
7
+ import { computed, type FunctionalComponent, onMounted, ref } from 'vue'
8
8
  import {
9
9
  headingAnchor,
10
10
  type LegalDocumentsPayload,
@@ -13,6 +13,10 @@ import {
13
13
  readingMinutes,
14
14
  resolveLegalBackTarget,
15
15
  } from '../build/public/legal'
16
+ import {
17
+ parseLegalDocument,
18
+ renderAllowedHtml,
19
+ } from '../build/public/legal-html'
16
20
  import PublicStage from '../build/public/PublicStage.vue'
17
21
  import {
18
22
  type LegalDocumentField,
@@ -27,7 +31,7 @@ interface LegalLayoutProps {
27
31
  }
28
32
 
29
33
  interface OutlinedDocument {
30
- html: string
34
+ body: HTMLElement
31
35
  text: string
32
36
  headings: LegalHeading[]
33
37
  }
@@ -60,22 +64,20 @@ const stamp = computed(() =>
60
64
 
61
65
  /** Anchors every heading of the stored HTML so the contents can link to it. */
62
66
  function outline(html: string): OutlinedDocument {
63
- const parsed = new DOMParser().parseFromString(html, 'text/html')
67
+ const body = parseLegalDocument(html)
64
68
  const taken = new Set<string>()
65
- const headings = [...parsed.querySelectorAll(HEADING_SELECTOR)].map(
66
- (node) => {
67
- const text = node.textContent?.trim() ?? ''
68
- node.id = headingAnchor(text, taken)
69
- return {
70
- id: node.id,
71
- text,
72
- level: Number(node.tagName.slice(HEADING_LEVEL_OFFSET)),
73
- }
74
- },
75
- )
69
+ const headings = [...body.querySelectorAll(HEADING_SELECTOR)].map((node) => {
70
+ const text = node.textContent?.trim() ?? ''
71
+ node.id = headingAnchor(text, taken)
72
+ return {
73
+ id: node.id,
74
+ text,
75
+ level: Number(node.tagName.slice(HEADING_LEVEL_OFFSET)),
76
+ }
77
+ })
76
78
  return {
77
- html: parsed.body.innerHTML,
78
- text: parsed.body.textContent ?? '',
79
+ body,
80
+ text: body.textContent ?? '',
79
81
  headings: headings.filter((heading) => heading.text),
80
82
  }
81
83
  }
@@ -85,6 +87,9 @@ const legalDocument = computed<OutlinedDocument | null>(() => {
85
87
  return html ? outline(html) : null
86
88
  })
87
89
 
90
+ const LegalDocumentBody: FunctionalComponent = () =>
91
+ legalDocument.value ? renderAllowedHtml(legalDocument.value.body) : null
92
+
88
93
  const metaLine = computed(() => {
89
94
  const parts: string[] = []
90
95
  if (stamp.value?.updatedAt) {
@@ -184,7 +189,7 @@ onMounted(() => {
184
189
  <USkeleton class="h-96 w-full rounded-xl" />
185
190
  </div>
186
191
 
187
- <DmsCard v-else-if="loadError">
192
+ <DmsCardPanel v-else-if="loadError">
188
193
  <DmsEmptyState
189
194
  variant="error"
190
195
  :title="$t('saas.public.legal.load_error')"
@@ -197,7 +202,7 @@ onMounted(() => {
197
202
  },
198
203
  ]"
199
204
  />
200
- </DmsCard>
205
+ </DmsCardPanel>
201
206
 
202
207
  <PublicStage
203
208
  v-else-if="!legalDocument"
@@ -230,7 +235,7 @@ onMounted(() => {
230
235
  <div v-else class="grid gap-6 lg:grid-cols-[1fr_240px]">
231
236
  <article class="flex min-w-0 flex-col gap-5">
232
237
  <header>
233
- <DmsEyebrow
238
+ <DmsEyebrowLabel
234
239
  as="span"
235
240
  tone="primary"
236
241
  :label="$t('saas.public.legal.eyebrow_short')"
@@ -244,13 +249,11 @@ onMounted(() => {
244
249
  {{ metaLine }}
245
250
  </p>
246
251
  </header>
247
- <DmsCard>
248
- <!-- eslint-disable-next-line vue/no-v-html -- Legal documents are platform-admin-authored HTML. -->
249
- <div
250
- class="prose prose-neutral dark:prose-invert max-w-none"
251
- v-html="legalDocument.html"
252
- />
253
- </DmsCard>
252
+ <DmsCardPanel>
253
+ <div class="prose prose-neutral dark:prose-invert max-w-none">
254
+ <LegalDocumentBody />
255
+ </div>
256
+ </DmsCardPanel>
254
257
  <p v-if="stamp?.version && stamp.updatedAt" class="text-muted text-xs">
255
258
  {{
256
259
  $t('saas.public.legal.effective', {
@@ -264,7 +267,7 @@ onMounted(() => {
264
267
  <aside
265
268
  class="flex flex-col gap-4 lg:sticky lg:top-6 lg:self-start print:hidden"
266
269
  >
267
- <DmsCard
270
+ <DmsCardPanel
268
271
  v-if="legalDocument.headings.length"
269
272
  :title="$t('saas.public.legal.contents')"
270
273
  >
@@ -284,8 +287,8 @@ onMounted(() => {
284
287
  </li>
285
288
  </ol>
286
289
  </nav>
287
- </DmsCard>
288
- <DmsCard :title="$t('saas.public.legal.related')" :padded="false">
290
+ </DmsCardPanel>
291
+ <DmsCardPanel :title="$t('saas.public.legal.related')" :padded="false">
289
292
  <DmsListRow
290
293
  v-for="entry in related"
291
294
  :key="entry.field"
@@ -295,7 +298,7 @@ onMounted(() => {
295
298
  :title="$t(entry.labelKey)"
296
299
  :description="relatedMeta(entry.field) ?? $t(entry.summaryKey)"
297
300
  />
298
- </DmsCard>
301
+ </DmsCardPanel>
299
302
  </aside>
300
303
  </div>
301
304
  </div>
@@ -139,7 +139,7 @@ function payInvoice(): void {
139
139
  @retry="refresh()"
140
140
  />
141
141
 
142
- <DmsBanner
142
+ <DmsNoticeBanner
143
143
  v-else-if="invoice && isTenantOwner"
144
144
  tone="error"
145
145
  icon="i-ph-warning-circle"
@@ -188,9 +188,9 @@ function payInvoice(): void {
188
188
  {{ $t(`${KEY_PREFIX}.pay`) }}
189
189
  </UButton>
190
190
  </template>
191
- </DmsBanner>
191
+ </DmsNoticeBanner>
192
192
 
193
- <DmsBanner
193
+ <DmsNoticeBanner
194
194
  v-else-if="isMemberNotice"
195
195
  tone="warning"
196
196
  icon="i-ph-warning-circle"
@@ -49,7 +49,7 @@ function payWithAnotherCard(): void {
49
49
  </script>
50
50
 
51
51
  <template>
52
- <DmsCard class="grow" :title="$t(`${KEY_PREFIX}.title`)">
52
+ <DmsCardPanel class="grow" :title="$t(`${KEY_PREFIX}.title`)">
53
53
  <template v-if="data && isTenantOwner && card" #actions>
54
54
  <DmsStatusPill
55
55
  :tone="needsUpdate ? 'warning' : 'success'"
@@ -161,5 +161,5 @@ function payWithAnotherCard(): void {
161
161
  />
162
162
  </div>
163
163
  </template>
164
- </DmsCard>
164
+ </DmsCardPanel>
165
165
  </template>
@@ -201,7 +201,7 @@ function toggleSale(): void {
201
201
  </script>
202
202
 
203
203
  <template>
204
- <DmsCard
204
+ <DmsCardPanel
205
205
  as="article"
206
206
  class="relative h-full"
207
207
  :class="{
@@ -399,5 +399,5 @@ function toggleSale(): void {
399
399
  </UDropdownMenu>
400
400
  </div>
401
401
  </div>
402
- </DmsCard>
402
+ </DmsCardPanel>
403
403
  </template>
@@ -66,7 +66,7 @@ const accentStyle = computed(() =>
66
66
  </script>
67
67
 
68
68
  <template>
69
- <DmsCard
69
+ <DmsCardPanel
70
70
  as="article"
71
71
  :selected="!!plan.borderLabel"
72
72
  :padded="false"
@@ -111,7 +111,7 @@ const accentStyle = computed(() =>
111
111
  />
112
112
 
113
113
  <div v-if="highlights.length" class="border-default border-t pt-4">
114
- <DmsEyebrow as="h3" :label="includesLabel" class="mb-2.5" />
114
+ <DmsEyebrowLabel as="h3" :label="includesLabel" class="mb-2.5" />
115
115
  <ul class="flex flex-col gap-1.5 text-[13px]">
116
116
  <li v-for="item in highlights" :key="item.id" class="flex gap-2">
117
117
  <UIcon
@@ -127,5 +127,5 @@ const accentStyle = computed(() =>
127
127
  </li>
128
128
  </ul>
129
129
  </div>
130
- </DmsCard>
130
+ </DmsCardPanel>
131
131
  </template>
@@ -221,7 +221,7 @@ async function load(): Promise<void> {
221
221
 
222
222
  <template>
223
223
  <div class="flex flex-col gap-4 lg:sticky lg:top-4">
224
- <DmsCard>
224
+ <DmsCardPanel>
225
225
  <template #header>
226
226
  <div class="flex w-full items-center justify-between gap-2">
227
227
  <span class="text-highlighted text-sm font-semibold">
@@ -302,9 +302,9 @@ async function load(): Promise<void> {
302
302
  </li>
303
303
  </ul>
304
304
  </div>
305
- </DmsCard>
305
+ </DmsCardPanel>
306
306
 
307
- <DmsCard v-if="context">
307
+ <DmsCardPanel v-if="context">
308
308
  <template #header>
309
309
  <div class="flex items-center justify-between">
310
310
  <span class="text-highlighted text-sm font-semibold">
@@ -374,6 +374,6 @@ async function load(): Promise<void> {
374
374
  )
375
375
  "
376
376
  />
377
- </DmsCard>
377
+ </DmsCardPanel>
378
378
  </div>
379
379
  </template>
@@ -215,7 +215,7 @@ async function confirm(): Promise<void> {
215
215
  novalidate
216
216
  @submit.prevent="confirm"
217
217
  >
218
- <DmsSection
218
+ <DmsSectionPanel
219
219
  :title="$t('saas.tenant_billing.billing_info.title')"
220
220
  :card="false"
221
221
  >
@@ -223,9 +223,9 @@ async function confirm(): Promise<void> {
223
223
  v-model="draft"
224
224
  :invalid-fields="invalidFields"
225
225
  />
226
- </DmsSection>
226
+ </DmsSectionPanel>
227
227
 
228
- <DmsCard>
228
+ <DmsCardPanel>
229
229
  <div class="flex flex-col gap-2 text-sm">
230
230
  <div class="flex justify-between gap-4">
231
231
  <span class="flex items-center gap-2">
@@ -285,7 +285,7 @@ async function confirm(): Promise<void> {
285
285
  {{ $t(`${KEY_PREFIX}.tax_on_stripe`) }}
286
286
  </p>
287
287
  </div>
288
- </DmsCard>
288
+ </DmsCardPanel>
289
289
 
290
290
  <UAlert
291
291
  v-if="previewFailure"
@@ -144,7 +144,7 @@ async function remove(note: PlatformNote): Promise<void> {
144
144
  </script>
145
145
 
146
146
  <template>
147
- <DmsCard :title="$t(`${N}.title`)" :count="total || undefined">
147
+ <DmsCardPanel :title="$t(`${N}.title`)" :count="total || undefined">
148
148
  <div class="flex flex-col gap-3">
149
149
  <p class="text-muted text-xs">{{ $t(`${N}.operators_only`) }}</p>
150
150
  <UTextarea
@@ -236,5 +236,5 @@ async function remove(note: PlatformNote): Promise<void> {
236
236
  </UButton>
237
237
  </template>
238
238
  </div>
239
- </DmsCard>
239
+ </DmsCardPanel>
240
240
  </template>
@@ -22,6 +22,8 @@ import {
22
22
  } from '../build/public/routes'
23
23
  import type { PlanInterval } from '../composables/usePlanIntervalLabel'
24
24
 
25
+ defineOptions({ name: 'DmsSaasPricing' })
26
+
25
27
  const SKELETON_CARDS = 3
26
28
 
27
29
  const { t } = useI18n()
@@ -115,7 +117,7 @@ function loadPricing(): void {
115
117
  <header
116
118
  class="mx-auto flex max-w-2xl flex-col items-center gap-3 text-center"
117
119
  >
118
- <DmsEyebrow
120
+ <DmsEyebrowLabel
119
121
  as="span"
120
122
  tone="primary"
121
123
  :label="$t('saas.public.pricing.eyebrow')"
@@ -124,7 +126,7 @@ function loadPricing(): void {
124
126
  {{ $t('saas.public.pricing.title') }}
125
127
  </h1>
126
128
  <p class="text-muted">{{ $t('saas.public.pricing.subtitle') }}</p>
127
- <DmsSegmented
129
+ <DmsSegmentedControl
128
130
  v-if="intervalItems.length > 1"
129
131
  :model-value="interval"
130
132
  :items="intervalItems"
@@ -143,7 +145,7 @@ function loadPricing(): void {
143
145
  />
144
146
  </div>
145
147
 
146
- <DmsCard v-else-if="loadError">
148
+ <DmsCardPanel v-else-if="loadError">
147
149
  <DmsEmptyState
148
150
  variant="error"
149
151
  :title="$t('saas.public.pricing.load_error')"
@@ -156,9 +158,9 @@ function loadPricing(): void {
156
158
  },
157
159
  ]"
158
160
  />
159
- </DmsCard>
161
+ </DmsCardPanel>
160
162
 
161
- <DmsCard v-else-if="!shownPlans.length">
163
+ <DmsCardPanel v-else-if="!shownPlans.length">
162
164
  <DmsEmptyState
163
165
  :title="$t('saas.public.pricing.empty_title')"
164
166
  :description="$t('saas.public.pricing.empty_description')"
@@ -167,7 +169,7 @@ function loadPricing(): void {
167
169
  { label: $t('saas.public.pricing.sign_in'), to: LOGIN_PATH },
168
170
  ]"
169
171
  />
170
- </DmsCard>
172
+ </DmsCardPanel>
171
173
 
172
174
  <template v-else-if="pricing">
173
175
  <!-- Wrapped and centred: a catalogue of five does not leave one card
@@ -205,7 +207,7 @@ function loadPricing(): void {
205
207
 
206
208
  <PricingFaq :plans="shownPlans" :rules="pricing.rules" />
207
209
 
208
- <DmsCard
210
+ <DmsCardPanel
209
211
  v-if="freePlan && canRegister"
210
212
  class="flex flex-wrap items-center justify-between gap-4"
211
213
  >
@@ -225,7 +227,7 @@ function loadPricing(): void {
225
227
  :to="registerPathFor(planReference(freePlan))"
226
228
  :label="$t('saas.public.pricing.card.cta_free')"
227
229
  />
228
- </DmsCard>
230
+ </DmsCardPanel>
229
231
  </template>
230
232
  </div>
231
233
  </template>
@@ -233,7 +233,7 @@ async function requestRefund(): Promise<void> {
233
233
  </script>
234
234
 
235
235
  <template>
236
- <DmsCard
236
+ <DmsCardPanel
237
237
  v-if="isOwner && (isLoading || loadFailed || state)"
238
238
  class="grow"
239
239
  :title="$t(`${KEY_PREFIX}.title`)"
@@ -255,7 +255,7 @@ async function requestRefund(): Promise<void> {
255
255
  />
256
256
 
257
257
  <div v-else-if="state === 'open'" class="flex flex-col gap-4">
258
- <DmsMeter
258
+ <DmsMeterBar
259
259
  :label="$t(`${KEY_PREFIX}.until`, params)"
260
260
  :value="dayOfWindow"
261
261
  :max="eligibility?.windowDays ?? 0"
@@ -300,5 +300,5 @@ async function requestRefund(): Promise<void> {
300
300
  <p v-else-if="state === 'blocked'" class="text-muted text-sm">
301
301
  {{ $t(`${KEY_PREFIX}.blocked_description`) }}
302
302
  </p>
303
- </DmsCard>
303
+ </DmsCardPanel>
304
304
  </template>
@@ -19,6 +19,8 @@ import {
19
19
  PRICING_PATH,
20
20
  } from '../build/public/routes'
21
21
 
22
+ defineOptions({ name: 'DmsSaasRegister' })
23
+
22
24
  const EMAIL_IN_USE_KEY = 'saas.errors.user.email_in_use'
23
25
 
24
26
  const { t, te } = useI18n()
@@ -90,7 +92,7 @@ function errorText(message: string | undefined): string | undefined {
90
92
  <DmsOAuthButtons :note="$t('saas.public.register.oauth_note')" />
91
93
 
92
94
  <form class="mt-5 flex flex-col gap-4" novalidate @submit.prevent="submit">
93
- <DmsBanner
95
+ <DmsNoticeBanner
94
96
  v-if="fieldErrorCount > 0"
95
97
  tone="error"
96
98
  icon="i-ph-warning-circle"
@@ -104,7 +106,7 @@ function errorText(message: string | undefined): string | undefined {
104
106
  "
105
107
  role="alert"
106
108
  />
107
- <DmsBanner
109
+ <DmsNoticeBanner
108
110
  v-else-if="errorMessage"
109
111
  tone="error"
110
112
  icon="i-ph-warning-circle"
@@ -18,7 +18,7 @@ import { LOGIN_PATH } from '../build/public/routes'
18
18
  class="mt-5 justify-center"
19
19
  block
20
20
  />
21
- <DmsBanner
21
+ <DmsNoticeBanner
22
22
  class="mt-5"
23
23
  tone="info"
24
24
  size="sm"
@@ -341,7 +341,7 @@ onMounted(loadImpact)
341
341
  </div>
342
342
  </div>
343
343
 
344
- <DmsCard :padded="false">
344
+ <DmsCardPanel :padded="false">
345
345
  <div
346
346
  class="border-default flex items-center justify-between border-b px-4 py-2.5"
347
347
  >
@@ -406,7 +406,7 @@ onMounted(loadImpact)
406
406
  {{ $t('saas.catalog.retire.show_all', { count: hiddenRows }) }}
407
407
  </UButton>
408
408
  </div>
409
- </DmsCard>
409
+ </DmsCardPanel>
410
410
 
411
411
  <UAlert
412
412
  v-if="impact.hasOpenMigration"
@@ -473,7 +473,7 @@ onMounted(loadImpact)
473
473
  required
474
474
  >
475
475
  <template #default="{ id }">
476
- <DmsSelect
476
+ <DmsInputSelect
477
477
  :id="id"
478
478
  v-model="targetPlanId"
479
479
  :items="targetItems"
@@ -506,7 +506,7 @@ onMounted(loadImpact)
506
506
  </div>
507
507
 
508
508
  <div class="flex flex-col gap-3">
509
- <DmsSwitch
509
+ <DmsInputSwitch
510
510
  v-model="notifyOwners"
511
511
  :label="$t('saas.catalog.retire.notify')"
512
512
  :description="
@@ -519,7 +519,7 @@ onMounted(loadImpact)
519
519
  : undefined
520
520
  "
521
521
  />
522
- <DmsCard v-if="notifyOwners && target" class="text-sm">
522
+ <DmsCardPanel v-if="notifyOwners && target" class="text-sm">
523
523
  <p class="text-muted text-xs uppercase">
524
524
  {{ $t('saas.catalog.retire.preview') }}
525
525
  </p>
@@ -540,7 +540,7 @@ onMounted(loadImpact)
540
540
  })
541
541
  }}
542
542
  </p>
543
- </DmsCard>
543
+ </DmsCardPanel>
544
544
  </div>
545
545
  </div>
546
546
 
@@ -102,7 +102,7 @@ const overDescription = computed(() => {
102
102
  </script>
103
103
 
104
104
  <template>
105
- <DmsSection
105
+ <DmsSectionPanel
106
106
  :title="$t(`${KEYS}.title`)"
107
107
  :description="$t(`${KEYS}.description`)"
108
108
  >
@@ -122,7 +122,7 @@ const overDescription = computed(() => {
122
122
  @retry="refresh()"
123
123
  />
124
124
  <template v-else-if="quota">
125
- <DmsMeter
125
+ <DmsMeterBar
126
126
  :label="$t(`${KEYS}.meter_label`)"
127
127
  :hint="meterHint"
128
128
  :max="meterMax"
@@ -143,9 +143,9 @@ const overDescription = computed(() => {
143
143
  {{ $t(`${KEYS}.manage`) }}
144
144
  </UButton>
145
145
  </template>
146
- </DmsMeter>
146
+ </DmsMeterBar>
147
147
 
148
- <DmsBanner
148
+ <DmsNoticeBanner
149
149
  v-if="seatState === 'full'"
150
150
  tone="error"
151
151
  size="sm"
@@ -183,9 +183,9 @@ const overDescription = computed(() => {
183
183
  {{ $t(`${KEYS}.full.email_owner`, { owner: ownerToAsk.name }) }}
184
184
  </UButton>
185
185
  </template>
186
- </DmsBanner>
186
+ </DmsNoticeBanner>
187
187
 
188
- <DmsBanner
188
+ <DmsNoticeBanner
189
189
  v-else-if="seatState === 'over'"
190
190
  tone="warning"
191
191
  size="sm"
@@ -210,7 +210,7 @@ const overDescription = computed(() => {
210
210
  {{ $t(`${KEYS}.upgrade`) }}
211
211
  </UButton>
212
212
  </template>
213
- </DmsBanner>
213
+ </DmsNoticeBanner>
214
214
 
215
215
  <div
216
216
  v-if="quota.platformSupport.length"
@@ -251,5 +251,5 @@ const overDescription = computed(() => {
251
251
  </div>
252
252
  </template>
253
253
  </div>
254
- </DmsSection>
254
+ </DmsSectionPanel>
255
255
  </template>
@@ -105,7 +105,7 @@ const savedEvaluatedText = computed(() => {
105
105
  </script>
106
106
 
107
107
  <template>
108
- <DmsCard
108
+ <DmsCardPanel
109
109
  :title="$t('saas.segments.preview.title')"
110
110
  class="lg:sticky lg:top-4"
111
111
  >
@@ -222,7 +222,7 @@ const savedEvaluatedText = computed(() => {
222
222
  />
223
223
 
224
224
  <section v-if="preview.signals.length" class="flex flex-col gap-2">
225
- <DmsEyebrow :label="$t('saas.segments.preview.signals')" tone="muted" />
225
+ <DmsEyebrowLabel :label="$t('saas.segments.preview.signals')" tone="muted" />
226
226
  <ul class="flex flex-col gap-1.5 text-sm">
227
227
  <li
228
228
  v-for="signal in preview.signals"
@@ -242,7 +242,7 @@ const savedEvaluatedText = computed(() => {
242
242
 
243
243
  <section class="flex flex-col gap-2">
244
244
  <div class="flex items-center justify-between">
245
- <DmsEyebrow
245
+ <DmsEyebrowLabel
246
246
  :label="$t('saas.segments.preview.sample')"
247
247
  tone="muted"
248
248
  />
@@ -297,5 +297,5 @@ const savedEvaluatedText = computed(() => {
297
297
  }}
298
298
  </p>
299
299
  </template>
300
- </DmsCard>
300
+ </DmsCardPanel>
301
301
  </template>