MCPcopy Index your code
hub / github.com/aurelia/dialog

github.com/aurelia/dialog @2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.0 ↗ · + Follow
172 symbols 357 edges 36 files 21 documented · 12%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

aurelia-dialog

npm Version Join the chat at https://gitter.im/aurelia/discuss CircleCI

This library is part of the Aurelia platform and contains a dialog plugin.

To keep up to date on Aurelia, please visit and subscribe to the official blog and our email list. We also invite you to follow us on twitter. If you have questions look around our Discourse forums, chat in our community on Gitter or use stack overflow. Documentation can be found in our developer hub. If you would like to have deeper insight into our development process, please install the ZenHub Chrome or Firefox Extension and visit any of our repository's boards.

Future work on the dialog plugin is being done on the v2.x branch. Please submit all bug fixes and features there. Note that the new branch has a set of breaking changes which are designed to enable dialogs to work better with recent enhancements in the templating engine and in bundler support. Several breaking changes are focused around architectural improvements as well. Please expect the shelf-life of v1.x to be relatively short in light of the v2.x work that is currently underway.

Platform Support

This library can be used in the browser.

Documentation

Check out the docs on the Aurelia Hub.

Reporting Issues

Please refer to the issue template.

Building

npm run build

Tests

npm run test

Developing

npm run test:watch

Debugging

npm run test:debugging

Publishing

  1. Bump the version

shell npm run bump-version [<newversion> | major | minor | patch]

  1. Prepare the release (run tests, run build, docs, release notes)

shell npm run cut-release

  1. Commit, tag, npm publish (not automated)

Extension points exported contracts — how you extend this code

DialogComponentActivate (Interface)
(no doc) [2 implementers]
src/interfaces.ts
DialogSettings (Interface)
(no doc) [1 implementers]
src/dialog-settings.ts
Window (Interface)
(no doc)
test/main.ts
RendererStatic (Interface)
(no doc)
src/renderer.ts
DialogOpenPromise (Interface)
(no doc)
src/dialog-service.ts
DialogCloseError (Interface)
(no doc)
src/dialog-close-error.ts
DialogCancelError (Interface)
(no doc)
src/dialog-cancel-error.ts
DialogCancelableOperationResult (Interface)
(no doc)
src/dialog-result.ts

Core symbols most depended-on inside this repo

open
called by 25
src/dialog-service.ts
close
called by 18
src/dialog-controller.ts
cancel
called by 16
src/dialog-controller.ts
error
called by 9
src/dialog-controller.ts
createSettings
called by 8
src/dialog-service.ts
ok
called by 8
src/dialog-controller.ts
invokeLifecycle
called by 7
src/lifecycle.ts
hideDialog
called by 5
src/renderer.ts

Shape

Method 78
Function 46
Class 34
Interface 14

Languages

TypeScript100%

Modules by API surface

src/renderers/ux-dialog-renderer.ts19 symbols
src/renderers/native-dialog-renderer.ts17 symbols
src/dialog-service.ts16 symbols
test/unit/dialog-service.spec.ts11 symbols
src/dialog-configuration.ts10 symbols
test/unit/ux-dialog-renderer.spec.ts9 symbols
test/unit/native-dialog-renderer.spec.ts9 symbols
src/dialog-controller.ts9 symbols
src/interfaces.ts8 symbols
src/resources/ux-dialog-footer.ts6 symbols
src/renderer.ts6 symbols
test/fixtures/test-element.ts5 symbols

For agents

$ claude mcp add dialog \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact