@posiwise/shared-components 0.0.216 → 0.0.217

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/shared-components",
3
- "version": "0.0.216",
3
+ "version": "0.0.217",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.2.0",
6
6
  "@angular/core": "^22.2.0",
@@ -2220,7 +2220,8 @@ export interface OnboardingStep {
2220
2220
  title_key: string;
2221
2221
  description_key?: string | null;
2222
2222
  route?: string | null;
2223
- help_url?: string | null;
2223
+ /** Slug of the FAQ that explains the step; null when the product API found no FAQ the viewer can open. */
2224
+ faq_slug?: string | null;
2224
2225
  activation: boolean;
2225
2226
  admin_only: boolean;
2226
2227
  depends_on: string[];
@@ -2266,11 +2267,23 @@ export declare class OnboardingChecklistComponent {
2266
2267
  subscriptionId: number | null;
2267
2268
  readonly retry: EventEmitter<void>;
2268
2269
  readonly doneIcon: IconDefinition;
2270
+ readonly helpIcon: IconDefinition;
2269
2271
  get visible(): boolean;
2270
2272
  get progressPercent(): number;
2273
+ /**
2274
+ * Every required step is done. Deliberately NOT `status.activated`: activation is the product's
2275
+ * milestone (e.g. a first finalised reconciliation) and can be reached with required steps still
2276
+ * open, which made "You're all set" sit above "5 of 8 steps done".
2277
+ */
2278
+ get allDone(): boolean;
2271
2279
  get currentStep(): OnboardingStep | null;
2272
2280
  icon(step: OnboardingStep): IconDefinition;
2273
2281
  routeFor(step: OnboardingStep): string | null;
2282
+ /**
2283
+ * /{subscription slug}/faq/{faq slug} — the app's FAQ route (`:slug/faq/:id`), the same link the
2284
+ * products' own help links use. Null when the step has no FAQ to open.
2285
+ */
2286
+ faqHref(step: OnboardingStep): string | null;
2274
2287
  /** The current step's call to action; null when there is nothing for this viewer to click. */
2275
2288
  actionKey(step: OnboardingStep): string | null;
2276
2289
  trackByKey(_index: number, step: OnboardingStep): string;