Commit 60813b2
Change project structure to monorepo with library, demo project, and generator (#154)
* Add comments for further refactoring
* Setup nx workspace
Description:
- Moved the current implementation to _legacy folder
- Initialized nx workspace from scratch
- Angular 20.x
- Jest
- Playwright
- Added demo application
- Setup all the commands to run demo application and all the quality checks
* Update package.json
* Add @esmf/semantic-ui-components library scaffold
* Add @esmf/semantic-ui-schematic library scaffold
* Add @nx/plugin dependency
* Remove components and schematic libraries
* Add @esmf/semantic-ui-schematic library scaffold
* Add table generator
Description
The table generator creates an example file ba running the command
- nx command - nx g @esmf/semantic-ui-schematic:table --name=test --project=demo
- ng command - npm run ng -- g @esmf/semantic-ui-schematic:table --name=test --project=demo
* Add table generator
Description
The table generator creates an example file ba running the command
- nx command - nx g @esmf/semantic-ui-schematic:table --name=test --project=demo
- ng command - npm run ng -- g @esmf/semantic-ui-schematic:table --name=test --project=demo
* Tiny change for table generator schema
* Make generators buildable
* Add required dependencies
* Add TableCellTooltipDirective to schematic library components
* Add HighlightDirective to schematic library components
* Add very basic TableCell component to schematic library components
* Test highlight.directive.ts
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Migrate highlight.directive.ts to signals
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Update highlight.directive.ts usage in table-cell.html
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* feat: Resize column directive (#9)
* Add resize-column.directive.ts
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Migrate resize-column.directive.ts to signals
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
---------
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Copied generators to the new structure
This is the old schematic generators that works with predefined generation output locations
* Add paginator-select-config.provider.ts (#11)
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Update Inquirer initialization
* Fix generation running
* Generate types to the defined component path
* Generate all the erequired components by specified path property
* Add export-table-dialog.component.ts (#13)
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Add table-cell-link.component.ts (#15)
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Add Prompt for generation destination folder
* Remove console.log
* feat: Move TableCellComponent to general components (#17)
* Add table-cell.component.ts
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Remove legacy ResizeDirective source
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Remove legacy ExportTableDialog source
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Remove legacy TableCellLinkComponent source
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
---------
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Make TableService generic
RemoteTableService and StaticTableService are generic. CustomRemoteTableService if generated on request
* Make ChipList component generic
* Remove useless test
* Add output signal to ChipList
* Rename directive EsmfHorizontalOverflowDirective
* feat: Move ConfigMenuComponent to general components (#20)
* Add config-menu.component.ts
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Update schematic lib entities to have "Esmf" prefix
JSSdkLocalStorageService => EsmfLocalStorageService
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Remove ConfigMenuComponent legacy code
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Remove EsmfPaginatorSelectConfigProvider from Table Module template
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
---------
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Add generic Static and Remote table data source implementation
* Improve table component generation logic
* make CommandBar component standalone
* Remove redundant config interface
* Generate types file to the correct directory
* Move ShowDescription pipe
* Remove redundant validate-input directive
* Move some styles form general styles file
* Make ColumnMenu component generic
* Move custom changes to schematic generation
* Move custom changes to schematic generation. Part 2
* Add trackBy function
* Add Command Bar host class
* Add local-storage.service.ts (#23)
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Remove semantic explanation from table header
* Extract RQL Extension interfaces from table generation
* Add requestParam input property to simplify adding params to table requests
* Set strict dependency versions
* Decouple Table and Config Menu components
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Fix jest config
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
* Align prettier version and plugins to run prettier with a project configuration
* Update prettier directory to run after generation
* Set tsconfig strict option for schematic library
* Remove any and enum types
* Update FilterEnums type
* Set SelectionModel type
* Add schematic lib translations
* Add missing transloco config
* Add control flow to table and toolbar
* Update demo app
* Add transloco scoped translations
* Init translocoat demo app
* Add predefined material theme
* Add styles to the main demo app component
* Add types to getConfigurationFileConfig
* Update package-lock
* Add the updated package.json
* Update command-bar generation
* Update table generation
* Set the right @angular/cdk version at peerDependencies
* Update remote data handling at generation template
* Update schematic general components with integration changes
* Update GitHub action commands and package.json
* Fix schematic translations at demo app
* Update GitHub Actions command
---------
Signed-off-by: Pavel Shalamkov <hpl7fe@bosch.com>
Co-authored-by: Anton Shabatin <anton.shabatin@bosch.com>
Co-authored-by: Anton Shabatin <131185633+sha4be@users.noreply.github.com>
Co-authored-by: Michele Santoro <10807610+michelu89@users.noreply.github.com>1 parent 775ccaf commit 60813b2
File tree
568 files changed
+68783
-6165
lines changed- .github/workflows
- .husky
- .verdaccio
- .vscode
- _legacy
- src
- ng-add
- ng-generate
- components
- card
- generators/components
- card
- files
- export-dialog
- files
- form
- generators/components
- fields
- boolean
- files
- complex
- files
- datePartial
- files
- dateTime
- files
- date
- files
- default
- files
- duration
- files
- either
- files
- enumeration
- files
- list
- files
- number
- files
- structuredValue
- files
- textArea
- files
- text
- files
- time
- files
- form
- files
- validators
- constraint
- table
- generators
- components
- export-dialog
- files
- table-cell-link
- files
- table-cell
- files
- table
- files
- data-source
- files
- directives
- highlight
- files
- resize
- files
- table-cell-tooltip
- files
- services/storage
- files
- i18n
- prompter
- card
- form
- prompts-questions
- card
- form
- table
- types
- table
- types
- types
- types
- utils
- test
- models
- types
- apps
- demo-e2e
- src
- demo
- public
- src
- app
- assets
- i18n
- icons
- libs/schematic
- generators
- ng-add
- ng-generate
- components
- card
- generators/components
- card
- files
- export-dialog
- files
- form
- generators/components
- fields
- boolean
- files
- complex
- files
- datePartial
- files
- dateTime
- files
- date
- files
- default
- files
- duration
- files
- either
- files
- enumeration
- files
- list
- files
- number
- files
- structuredValue
- files
- textArea
- files
- text
- files
- time
- files
- form
- files
- validators
- constraint
- table
- generators/components/table
- files
- i18n
- prompter
- card
- form
- prompts-questions
- card
- form
- table
- types
- table
- types
- types
- types
- utils
- src
- assets/i18n
- lib
- components
- chip-list
- assets/i18n
- export-table-dialog
- assets/i18n
- table-cell-link
- table-cell
- table/assets/i18n
- toolbar/assets/i18n
- directives
- models
- pipes
- services
- test-utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
568 files changed
+68783
-6165
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
22 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments