11.0.3 • Published 10 months ago

@criticalmanufacturing/ngx-schematics v11.0.3

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
10 months ago

Critical Manufacturing UI Schematics Package

Critical Manufacturing UI Schematics is the base of any CMF MES HTML Graphical User Interface customization project. This repository is meant to be a quick and easy way of getting started with CMF MES GUI customization, by providing a basic structure for the project and all the recommended tooling.

Schematics

Project Startup Commands

ng-add

Update an application with HTML defaults.

Arguments:

No arguments available.

Options:

NameDescriptionValue TypeDefault Value
--projectThe name of the project.string
--registryThe npm registry to use.string
--lintAdds eslint to the project.booleantrue
--applicationThe base application to be used.stringMES
--versionThe version to be used.string

Usage:

ng add

Generate Commands

converter

Creates a new, generic Converter definition in the given or default project

Arguments:

NameDescriptionValue Type
nameThe name of the converter.string

Options:

NameDescriptionValue Type
--projectThe name of the project.string

Usage:

ng generate converter [name]

data-source

Creates a new, generic Data Source definition in the given or default project

Arguments:

NameDescriptionValue Type
nameThe name of the data source.string

Options:

NameDescriptionValue TypeDefault Value
--projectThe name of the project.string
--styleThe processor to use for style files.stringless

Usage:

ng generate data-source [name]

entity-page

Creates a new, generic Entity Page definition in the given or default project

Arguments:

NameDescriptionValue Type
nameThe name of the entity page.string

Options:

NameDescriptionValue Type
--projectThe name of the project.string
--entity-typeThe name of the entity type.string
--namespaceThe namespace of the entity type.string

Usage:

ng generate entity-page [name]

execution-view

Creates a new, generic Execution View definition in the given or default project

Arguments:

NameDescriptionValue Type
nameThe name of the action that the execution view will perform.string
entity-typeThe name of the entity type to be performed.string

Options:

NameDescriptionValue TypeDefault Value
--projectThe name of the project.string
--namespaceThe namespace of the entity type.string
--styleThe processor to use for style files.stringless

Usage:

ng generate execution-view [name] --entity-type [entityType]

library

Creates a new, generic Library project in the current workspace

Arguments:

NameDescriptionValue Type
nameThe name of the library.string

Options:

NameDescriptionValue TypeDefault Value
--entry-fileThe path at which to create the library's public API file, relative to the workspace root.stringpublic-api
--prefixA prefix to apply to generated selectors.stringlib
--skip-package-jsonDo not add dependencies to the "package.json" file.booleanfalse
--skip-installDo not install dependency packages.booleanfalse
--skip-ts-configDo not update "tsconfig.json" to add a path mapping for the new library.booleanfalse
--skip-metadataDo not generate metadata for the new library.booleanfalse

Usage:

ng generate library [name]

package-info

Generate the package information in the given or default project

Arguments:

NameDescriptionValue Type
projectThe name of the project.string

Options:

No options available.

Usage:

ng generate package-info [project]

widget

Creates a new, generic Widget definition in the given or default project

Arguments:

NameDescriptionValue Type
nameThe name of the widget.string

Options:

NameDescriptionValue TypeDefault Value
--projectThe name of the project.string
--styleThe processor to use for style files.stringless

Usage:

ng generate widget [name]

wizard

Creates a new, generic Wizard definition in the given or default project

Arguments:

NameDescriptionValue Type
nameThe name of the action that the wizard will perform.string
entity-typeThe name of the entity type to be performed.string

Options:

NameDescriptionValue TypeDefault Value
--projectThe name of the project.string
--namespaceThe namespace of the entity type.string
--styleThe processor to use for style files.stringless

Usage:

ng generate wizard [name] --entity-type [entityType]

wizard-create-edit

Creates a new, generic Wizard Create Edit definition in the given or default project

Arguments:

NameDescriptionValue Type
nameThe name of the wizard create edit.string

Options:

NameDescriptionValue TypeDefault Value
--projectThe name of the project.string
--entity-typeThe name of the entity type.string
--namespaceThe namespace of the entity type.string
--styleThe processor to use for style files.stringless

Usage:

ng generate wizard-create-edit [name]

page

Creates a new, generic page in the given or default project

Arguments:

NameDescriptionValue Type
nameThe name of the page.string

Options:

NameDescriptionValue TypeDefault Value
--projectThe name of the project.string
--page-idThe id of the action used to access the page.string
--icon-classThe class for the icon displayed on the page.stringicon-core-st-lg-generic
--entrypointDefines how the page will be available to the user.stringMenu Item
--menu-group-idIn case the entrypoint is "Menu Item", specifies the parent Menu Group Id.string
--menu-sub-group-idIn case the entrypoint is "Menu Item", specifies the parent Menu Sub Group Id (if applicable).string
--styleThe processor to use for style files.stringless

Usage:

ng generate page [name]
1.1.0

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago

1.3.6

10 months ago

1.3.4

10 months ago

1.3.3

10 months ago

1.1.5

10 months ago

1.3.2

10 months ago

1.1.4

10 months ago

1.2.1

10 months ago

1.1.2

10 months ago

11.0.2

10 months ago

11.0.0

10 months ago

11.0.1

10 months ago

11.0.3

10 months ago