Commit Graph

239 Commits

Author SHA1 Message Date
Jacob Overgaard
dd151dd2d5 add rollup exports to more libs because of references 2023-03-07 16:02:23 +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
17e0866f32 only consider index.module.ts for export 2023-03-07 15:40:28 +01:00
Jacob Overgaard
8fd2bf910c build declarations for libraries 2023-03-07 15:31:56 +01:00
Jacob Overgaard
8d47bf2c6c move context provider and host elements into src/core folder to avoid exposing them to the public 2023-03-07 15:30:57 +01:00
Jacob Overgaard
a028bfd8f8 make context-provider test independent of external libs 2023-03-07 15:30:09 +01:00
Mads Rasmussen
9367e05b19 remove deprecated tree-item-action 2023-03-03 10:56:45 +01:00
Jacob Overgaard
62f3c2d6fa Feature/server packages v2 (#574)
* new api models

* use new PackageResource

* do not error out on missing default exports (esmodules auto-execute)

* do not check for js extensions (they might have been registered on the client without a js file)

* prepend the api baseurl to any relataive server JS dependencies

* ignore tsbuildinfo

* create base file for tsconfig

* extend from base config and optimise include/exclude paths

* install rollup plugin to handle json files

* use plugin to bundle json files

* call script for cms builds that builds libs

* add rollup config to utils lib

* add a context token to the extension registry instance itself and provide it through BackofficeElement

* add rollup node resolve

* add node resolve

* only include element mixin in element library

* add error description to module load error

* add types to UmbExtensionRegistry token

* set UmbNotificationService as string in its token to avoid minification

* correct comment

* reverse order of checks

* add host to server extensions and support life-cycle check

* add imports

* use lit rather than lit-html

* correct comment

* add PackageManifestModel

* add import

* run libs build for cms

* revert reorder

* use string name for NotificationContext token

* make alias public readonly of UmbContextToken

* remove TODO

* use UmbContextToken::toString() for all stores

* use string alias for contexts

* move default data so we avoid importing a big lit library just to get default data interface

* add rollup to two extra libraries

* make sure we build uui and lit into our libraries for the few cases we import something

* add lockfile

* add separate options for .js files

* add function to install types of module

* add types output

* remove unused tsconfig-base file for now
2023-03-02 20:29:20 +01:00
Niels Lyngsø
17248aa94b Merge remote-tracking branch 'origin/main' into bugfix/document-router
# Conflicts:
#	src/backoffice/settings/languages/repository/language.repository.ts
#	src/backoffice/shared/components/input-language-picker/input-language-picker.element.ts
2023-03-02 11:54:40 +01:00
Niels Lyngsø
500fed22a9 Merge pull request #562 from umbraco/feature/context-token-type 2023-03-02 11:50:11 +01:00
Niels Lyngsø
b4a49dc8e9 Add forked version of router 2023-03-02 11:49:24 +01:00
Lone Iversen
ce5f2d7182 Feature/installed and created packages (#545)
* multiple selection in modalhandler is ok?

* installed view updates

* created view updates

* workspace for package builder

* package builder

* all pickers in workspace

* use input-picker rather than property editor ui

* installed package view

* ui updates

* packageview

* update handlers

* update package views with migrations

* update backend api

* endpoints

* migration & language picker

* small update

* seperate migrations that doesnt belong to a packag

* rename NotificationContext

* filter out packages that have no name before they go in to the store

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-03-02 11:27:06 +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
Mads Rasmussen
7946f8d13b Bugfix: Rename Modal Service (#571)
* rename file

* rename class

* rename token

* rename all usages of modal service

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-03-02 09:14:22 +01:00
Mads Rasmussen
71c60eaa59 rename notication service to notification context 2023-03-02 08:49:07 +01:00
Mads Rasmussen
1ab4230b6b rename class 2023-03-02 08:49:07 +01:00
Mads Rasmussen
3b6161c85b rename files 2023-03-02 08:49:07 +01:00
Niels Lyngsø
7b6bd3fe34 lint fix 2023-03-01 13:55:04 +01:00
Mads Rasmussen
5d3af0a7a6 move sidebar apps and sidebar menu app to same file and extend meta 2023-03-01 13:35:15 +01:00
Mads Rasmussen
4593b2bdf6 rename file 2023-03-01 13:30:29 +01:00
Mads Rasmussen
68d84edba3 rename to menu section sidebar app 2023-03-01 13:29:38 +01:00
Mads Rasmussen
2cd26f72a5 rename section sidebar item to section sidebar app 2023-03-01 13:05:50 +01:00
Niels Lyngsø
77cce953c2 formatting 2023-03-01 11:41:11 +01:00
Mads Rasmussen
a44f1469e2 Merge branch 'main' into feature/section-sidebar-item-extension-point 2023-03-01 11:37:11 +01:00
Jacob Overgaard
7e3ab09ba3 add TYPE property to UmbContextToken to get the generic type 2023-03-01 11:02:01 +01:00
Warren Buckley
864b1e01c1 Move the WebComponent/LitElement that was inside the story file to own file
ESBuild errors was not happy it was inside a story file
2023-03-01 09:10:18 +01:00
Mads Rasmussen
f39037632c remove unused label from menu model 2023-02-28 20:15:21 +01:00
Mads Rasmussen
d81fbfa413 Merge branch 'main' into feature/section-sidebar-item-extension-point 2023-02-28 19:29:49 +01:00
Mads Rasmussen
864707fd39 rename to menu and menu items 2023-02-28 15:22:37 +01:00
Mads Rasmussen
9d2ce12982 rename sidebar-menu-item to menu-item 2023-02-28 14:59:17 +01:00
Mads Rasmussen
1856b7d0e0 rename sidebar menu extension + add menu extension 2023-02-28 14:46:32 +01:00
Mads Rasmussen
8e1590500b add manifest models 2023-02-28 14:13:17 +01:00
Mads Rasmussen
00654fb1a0 update bulk action interface 2023-02-28 14:08:43 +01:00
Mads Rasmussen
d6f54a544b add type to element 2023-02-28 14:08:43 +01:00
Mads Rasmussen
a242939ad3 update extension model to always include api, remove repository + add interface to extension model 2023-02-28 14:08:43 +01:00
Mads Rasmussen
1ec0a805ee add execute to WorkspaceAction interface 2023-02-28 14:08:43 +01:00
Mads Rasmussen
5d2d757708 move default actions to lib folder 2023-02-28 14:08:43 +01:00
Mads Rasmussen
f2dd81a2f9 move default save action to lib folder 2023-02-28 14:08:43 +01:00
Mads Rasmussen
baa4309304 organize workspace actions in folder 2023-02-28 14:08:43 +01:00
Mads Rasmussen
2030fd915c add rollup config 2023-02-28 14:08:43 +01:00
Mads Rasmussen
2ec4ee4d72 add UmbWorkspace interface 2023-02-28 14:08:43 +01:00
Mads Rasmussen
9c1e97813d add import barrel 2023-02-28 14:08:43 +01:00
Mads Rasmussen
93bb443e50 create workspace lib folder 2023-02-28 14:08:43 +01:00
Mads Rasmussen
cc921631ee move action base class to entity action lib folder 2023-02-28 14:08:43 +01:00
Mads Rasmussen
96e1282aad update bulk actions to use base class 2023-02-28 14:08:43 +01:00
Mads Rasmussen
52bd9147b1 add rollup config 2023-02-28 14:08:43 +01:00
Mads Rasmussen
d18bc9d3be add import barrel 2023-02-28 14:08:43 +01:00
Mads Rasmussen
1e241e7588 rename file 2023-02-28 14:08:43 +01:00
Mads Rasmussen
2946851c0e move entity action base class to lib folder 2023-02-28 14:08:43 +01:00