npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@eherve/angular-material-entity-wizard

v22.1.0

Published

Independent creation wizard using the shared forms session and renderers. This package has no dependency on edit-entity-dialog.

Downloads

548

Readme

Angular Material entity wizard

Independent creation wizard using the shared forms session and renderers. This package has no dependency on edit-entity-dialog.

import { CreateEntityWizardService, createEntityWizardOptions, CreateEntityWizardComponentOptions } from '@eherve/angular-material-entity-wizard';

const options = createEntityWizardOptions({
  title: 'Create',
  steps: [{ id: 'main', label: 'Main', displayOptions: { section: { id: 'main', label: '', cards: [] } } }],
  service: { create: async value => ({ _id: 'created', ...value }) },
});
wizard.open(options);

CreateEntityWizardComponentOptions<TRecord> extends the canonical EditEntityComponentOptions<TRecord> from @eherve/angular-material-forms/core with wizard. The normalization helper retains the established wizard configuration shape and options identity when opened. Standard edit options contain no wizard property.

Each wizard owns one shared EntityFormSession; changing a step does not replace the form. Its scoped save policy projects only current-step and always-in-upsert fields, preserves other-step drafts during server hydration, blocks navigation during saves or pending validation and accumulates created/updated results. Component-managed steps use the supplied markUpdated callback. The independent modal wrapper retains top-dialog keyboard and focused-input key ownership behavior.

Include @eherve/angular-material-forms/styles.css once. Public EntityWizardComponent supports page or modal display, and CreateEntityWizardService opens its own EntityWizardDialog. Version 22.0.0 requires @eherve/angular-material-forms@^22.0.0 and has no dependency on edit-dialog.

Restoring navigation

CreateEntityWizardOptions accepts the shared navigation options. Each step's stable id is its navigation.tab; child section navigation uses the existing adapters. Initial selection applies after record hydration and visible-step computation. Existing persisted records can select an allowed visible step; a record without an id retains the first-step restriction. Restoration never calls create, update or Continue. stateChanges and lifecycle-handle navigation update the actual wizard selection, respecting pending validation/updating restrictions. User step changes publish onChange. The forms connection lifecycle (ready, presentationChanged, failed, beforeClose) also applies to wizard sessions.

The optional lifecycle connection opened(handle) receives a close-only requestClose(): Promise<boolean> handle before asynchronous loading. It supports cancelling loading or failed content through the existing close guards; it does not signal readiness. ready remains the rendered-content barrier. Handles from previous openings return false.