Commit Graph

25 Commits

Author SHA1 Message Date
Niels Lyngsø
3c3e792fae remove unused location type 2023-04-27 13:23:14 +02:00
Niels Lyngsø
089be3d167 use UmbRoute 2023-04-27 11:18:12 +02:00
Jacob Overgaard
9e72e5edd5 Vite 4.3 (#660)
* update vite to 4.3.1

* re-export router-slot/model as types to avoid warning in vite

* add named type exports to avoid typescript + vite + esm funny business (warnings)

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-04-21 14:13:41 +02:00
Jacob Overgaard
d1994f55a3 Merge branch 'main' into manual-json-schema 2023-04-12 14:49:32 +02:00
Jacob Overgaard
b5a1415220 export everything from router 2023-04-12 11:22:16 +02:00
Niels Lyngsø
2694069dd5 don't lint fix this import. 2023-04-12 11:18:46 +02:00
Niels Lyngsø
78a65d3b67 fix import 2023-04-12 09:35:56 +02:00
Niels Lyngsø
2016f4ec03 clean up router utils 2023-04-12 09:22:18 +02:00
Niels Lyngsø
e5bbb10638 Merge remote-tracking branch 'origin/main' into feature/navigate_to_edit_path_when_created
# Conflicts:
#	libs/router/route.context.ts
#	src/backoffice/settings/languages/workspace/language/language-workspace.element.ts
2023-04-11 15:31:36 +02:00
Jacob Overgaard
630b727a02 upgrade router-slot to 2.0.0 2023-04-04 16:47:29 +02:00
Niels Lyngsø
42f901aa41 Proff of concept for navigating to edit path when created 2023-04-04 15:48:36 +02:00
Mads Rasmussen
70c2f70420 Chore: Eslint rule to enforce element suffix (#625)
* add eslint rule to enforce element suffix on elements

* remove fixer

* rename first round of elements

* add element to element class name

* add element suffix

* rename element

* add element to UmbControllerHost instead of interface

* update imports after merge

* remove fixable flag

* fix after merge
2023-03-29 17:56:39 +02:00
Niels Lyngsø
d63419ccda make sure to only import types from router-slot in libs. 2023-03-28 13:04:11 +02:00
Niels Lyngsø
7dc614751b change to use type import 2023-03-28 10:57:28 +02:00
Niels Lyngsø
59cb83d42a remove comments 2023-03-27 13:48:46 +02:00
Niels Lyngsø
13d4bb5873 move router to libs 2023-03-23 21:20:39 +01:00
Niels Lyngsø
323ef15e19 open method and docs 2023-03-23 15:53:12 +01:00
Jacob Overgaard
0ffc7d4b20 move router library into src/core to avoid exposing it to the public 2023-03-07 15:57:12 +01:00
Jacob Overgaard
8fd2bf910c build declarations for libraries 2023-03-07 15:31:56 +01:00
Niels Lyngsø
b4a49dc8e9 Add forked version of router 2023-03-02 11:49:24 +01:00
Niels Lyngsø
f95e6023af add temp router slot 2023-03-02 10:41:11 +01:00
Niels Lyngsø
c7bcac3577 temp solution 2023-03-02 10:10:22 +01:00
Niels Lyngsø
818bcb35bb Feature/document using content api (#513)
* out comment temprorary for development

* initial prep

* comment

* change port number for dev generate api

* generated new apis

* document-type repository

* rename to item

* rename to document

* use ItemType

* not name detail for full models

* correct token

* imports

* correct imports

* use DocumentTypeTreeItem

* mega type adapt commit

* move DataType import

* rename document detail store

* add document

* new mock data

* partialUpdateFrozenArray

* imports

* document context work

* document and document type in context

* data-type stores + data-sources

* byKey document + data-type

* remove type

* comment

* data-type repository

* data-type context adjustments

* data-type data observable

* fix model import

* use ContentTypeCompositionType

* correct mock data

* .

* split treedata / data

* correct mock endpoints

* new models

* update model usage

* correct models

* imports

* correct models

* update model imports

* update models

* update type

* update docuemnt models

* use DocumentModel

* DocumentModel

* import lit/decorators.js

* lint fixes

* remove console.logs

* new up router slot

* set hasChildren to false

* fix hos argument + add todo to revisit this code

* add todo

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-02-13 12:33:31 +00:00
Niels Lyngsø
279f82ae26 implement router-slot 2023-02-06 12:57:02 +01:00
Mads Rasmussen
37221b937d move router to libs 2023-02-01 15:11:52 +01:00