Angular libraries that are styled with Tailwind CSS and themed through one shared set of design tokens.
Every component lives in its own entry point, so a project only ships the code of the components it imports.
Each package documents itself in its README, which is also its page on npm.
| Package | Does |
|---|---|
| @service-soft/ui | The design system every other library builds on: the design tokens, theming, dark mode and the basic components, like buttons, inputs, dialogs and menus |
| @service-soft/ngx-approval-requests | Lists the approval requests of an api like zibri's, filtered by status and action, and reviews one: what its action does, who proposed it and why, the values it would change, and approving or rejecting it with a note after confirming, with the outcome or the message of the api |
| @service-soft/ngx-backup | The storage a tenant keeps its backups on, at an api like zibri's: a bucket, an SFTP server, or a folder of a WebDAV server or a Nextcloud through the connections of ngx-web-dav, added once the api wrote to it, changed with its write-only secret, and removed after a question that says what happens to the backups on it, with the message of the api when the storage refused the test or backups are still stored on it |
| @service-soft/ngx-bookkeeping | The views of double-entry books kept by an api like zibri's: the journal with reversing an entry, a form that posts only a balanced entry, the ledger, the trial balance, the balance sheet and the income statement with the year before and a pdf each, the fiscal years with their closing, reopening and their export for a tax audit, and preparing, testing and filing the E-Bilanz of a fiscal year, corrections included |
| @service-soft/ngx-bank | The views of the bank accounts of an api like zibri's: adding an account with its IBAN checked, uploading a CAMT.053 statement, the statements with their balances, the transactions with what of each is open and reversing a match, and matching a transaction, with the suggestions reviewed as approval requests and a match proposed by hand |
| @service-soft/ngx-auth | Logs in at an api with the auth models of zibri-contract, like zibri's, with tokens, cookies or links sent by email, a second factor and password resets, protects routes by login and permission in a tenant, answers invitations, manages service accounts, and has the pages for the login, passwords and invitations |
| @service-soft/ngx-change-sets | Shows the change sets of an entity as its history, like the ones zibri keeps, and lets the user undo them |
| @service-soft/ngx-ecommerce | Lets the user add extras to a booking or order, like breakfast per day or a second bike, and sums up an order with its discounts, taxes and total, in the currency and language of the app |
| @service-soft/ngx-entity | Describes the entities of an app with decorators like zibri's and builds their forms from them, on a grid of 12 columns with rows and tabs, reads and writes them at the routes of zibri, and shows them in tables a page at a time, with the filters and orders the server allows, which create, edit and delete them in dialogs or on pages of their own, asking before changes are lost, and offline with ngx-pwa if you like |
| @service-soft/ngx-error-handling | Hands every error nothing caught to several handlers, and shows it in a dialog, with the message of zibri, the problems of the values it refused and the reference of the request |
| @service-soft/ngx-navigation | Builds the navigation from rows of elements: a navbar whose elements move into a drawer on smaller screens, a footer, breadcrumbs from the routes, links to the sections of a page and a page for unknown urls, with the routes defined in the elements if you like, and the description, canonical url and structured data of every page for search engines |
| @service-soft/ngx-projects | The views of the projects of an api like zibri's: the tree of nested projects, a board whose tasks move by pointer, keyboard or menu and follow the changes of others live, the details of a task with its markdown, sub-tasks, comments and history, sharing a project with a customer, recurring tasks and working calendars, each showing only what the role of the user allows |
| @service-soft/ngx-websocket | Connects to a websocket like zibri's with the login and the tenant of the app, connects again and catches up on what it missed, says when that isn't possible, hears its events and sends messages that wait for their answer |
| @service-soft/ngx-web-dav | The connections of a tenant to folders of WebDAV servers, like its Nextcloud, at an api like zibri's: adding one once the api reached its folder, changing it and its write-only password, and deleting it, with the message of the api when the server refused the login or something still uses the connection, the files the file mirror couldn't write, to overwrite or stop mirroring, and the share link of a Nextcloud folder, to copy and revoke |
| @service-soft/ngx-persistence-logger | Logs to the console and sends the logs to a backend like the logs of zibri, and shows the logs of all applications in a log history with filters and pages |
| @service-soft/ngx-pwa | Keeps the changes the user makes offline and syncs them later in the tenant they were made in, keeps what each user loaded to read it offline, says when the user is offline, turns push notifications on and off, and offers to reload once a new version is ready |
| @service-soft/ngx-tracking | Asks for consent in a GDPR compliant dialog, at the first interaction if you like, so it doesn't slow down the page, and tracks only what the user allowed: Google Analytics, Google Tag Manager, the Meta Pixel or your own backend, and a funnel to show the results |
| Command | Does |
|---|---|
npx ng build <project> |
Builds a library or the showcase |
npm run lint |
Lints the whole workspace |
npm test |
Runs the unit tests of every library, then builds the libraries, the showcase and Storybook, tests how they work together and runs AXE on every story in Chromium (install it once with npx playwright install --only-shell chromium) |
npm run storybook |
Starts Storybook for every library on port 6006, with an accessibility panel on every story |
Read CONTRIBUTING.md and CODE_STYLE.md before your first change.