Commit Graph

391 Commits

Author SHA1 Message Date
Mads Rasmussen
3029b3d5f0 move data source response interface to the repository module 2023-03-21 13:45:35 +01:00
Jacob Overgaard
796533ff11 Refactor libs into @umbraco-cms/backoffice/* (#608)
* merge libs rollup configs to one rollup

* move css from libs to src/core

* run rollup on cms build

* move test-utils to /utils folder

* move css to src/core

* mark @umbraco-cms/backoffice as external when building for CMS

* rename all models to include @umbraco-cms/backoffice in their path to allow us to publish as a single module

* rename all imports to @umbraco-cms/backoffice/*

* rename events to umb-events to avoid rollup error of protected module name(?)

* test that libs can build

* move css to src/core

* move umb-lit-element and modal elements to src/core

* move some modal interfaces back to libs/modal

* move the icon store into src/core since it is very localized to the backoffice

* comment out build:libs for now since Github runs out of memory

* rename to match tsconfig alias

* add package.json to libs

* only make libs for lib folders

* turn off emit for typescript since we are handling types for libs separately

* build libs locally

* add script to move libs to final destination with some transform

* move libs after build

* move package.json to dist folder first (so we can publish from there)

* remove inline comments

* ensure the outputDir exists

* Remove re-export of extensions-registry library from models library

* move to individual files to avoid circular imports

* check if outputDir exists before trying to create it

* write transforms first in dist file and then copy the file to outputDir

* ensure all umbraco types are external

* copy information from main package.json file
2023-03-21 11:41:06 +01:00
Mads Rasmussen
956d2c2040 add function for extension sorting 2023-03-21 09:10:10 +01:00
Mads Rasmussen
35c5dd75da camel case functions 2023-03-21 09:05:34 +01:00
Niels Lyngsø
af99ef92a0 Kinds cannot Omit 2023-03-20 19:57:56 +01:00
Niels Lyngsø
d51bf80b27 remove ManifestCustom 2023-03-20 19:56:07 +01:00
Niels Lyngsø
e52901afaa use pipe for Omits in Kind Types 2023-03-20 16:33:13 +01:00
Mads Rasmussen
2b894102a7 move menu item tree kind interfaces into extension registry 2023-03-20 15:52:56 +01:00
Mads Rasmussen
d1a8f5fc80 move header app button kind interfaces into extensions registry 2023-03-20 15:48:32 +01:00
Mads Rasmussen
b5a9d105b2 move kind interface into extension registry module 2023-03-20 15:44:19 +01:00
Niels Lyngsø
12981cdc18 test meta merge 2023-03-20 14:39:41 +01:00
Niels Lyngsø
c960a1d4ae fix type 2023-03-20 14:37:17 +01:00
Niels Lyngsø
c9b9431ad3 todo 2023-03-20 14:35:27 +01:00
Niels Lyngsø
e3fbe45fe1 a bit of deep merge. 2023-03-20 14:34:36 +01:00
Niels Lyngsø
93ed6d7789 fix tests 2023-03-20 14:21:31 +01:00
Niels Lyngsø
d5330e5ea1 distinctUntilChanged 2023-03-20 13:01:06 +01:00
Niels Lyngsø
30e165f0ca type fixes 2023-03-20 12:51:52 +01:00
Niels Lyngsø
23ff8d34a9 use alias, simpler kind value 2023-03-20 12:48:58 +01:00
Niels Lyngsø
142f262d22 clean up 2023-03-20 11:43:13 +01:00
Niels Lyngsø
d36e540c1b UmbEntryPointExtensionInitializer 2023-03-20 11:06:39 +01:00
Niels Lyngsø
5d3cbad014 extensionRegistrationsSortedByTypeAndWeight 2023-03-20 10:55:33 +01:00
Niels Lyngsø
496aebd2c0 umb-menu-item-tree 2023-03-20 10:38:25 +01:00
Niels Lyngsø
8976604967 replace ManifestMenuSectionSidebarApp with kind 2023-03-17 19:01:40 +01:00
Niels Lyngsø
b652bbd70e comment for the property kind undefined 2023-03-17 18:52:34 +01:00
Niels Lyngsø
26536c15d1 strict types for kinds 2023-03-17 15:12:00 +01:00
Niels Lyngsø
cbfe794de9 kind type 2023-03-17 11:20:31 +01:00
Niels Lyngsø
7a3ebbe8e4 notes and a test example 2023-03-17 10:45:46 +01:00
Niels Lyngsø
adba6059ca fix sorting 2023-03-17 10:24:32 +01:00
Niels Lyngsø
acd052528c imports 2023-03-17 08:41:11 +01:00
Niels Lyngsø
af67c6922e comment 2023-03-17 08:41:01 +01:00
Niels Lyngsø
2bcf11f930 broad implementation 2023-03-17 08:39:09 +01:00
Niels Lyngsø
6470c7a148 POC kinds 2023-03-16 22:13:47 +01:00
Niels Lyngsø
c65d0506e1 lint and style 2023-03-16 21:13:58 +01:00
Niels Lyngsø
66d8c40b7a Merge remote-tracking branch 'origin/main' into feature/manifest-conditions
# Conflicts:
#	src/backoffice/shared/components/section/section-views/section-views.element.ts
2023-03-16 10:23:45 +01:00
Niels Lyngsø
bb6012608a ensure conditions is based on same type, for future progress on the matter. 2023-03-16 10:19:46 +01:00
Niels Lyngsø
80f7d32473 Merge remote-tracking branch 'origin/main' into feature/manifest-conditions 2023-03-16 10:10:00 +01:00
Niels Lyngsø
8e8403fda9 more tests 2023-03-16 09:58:33 +01:00
Niels Lyngsø
3dfaa27d57 comment 2023-03-16 09:22:07 +01:00
Niels Lyngsø
4ab67426da Merge remote-tracking branch 'origin/main' into bugfix/observer-should-resubscripe-if-hostdisconnected 2023-03-16 09:07:11 +01:00
Nathan Woulfe
e7961af9d3 fixes model changes 2023-03-16 18:02:40 +10:00
Nathan Woulfe
6b86f31c9e regenerate 2023-03-16 16:18:16 +10:00
Niels Lyngsø
28b4ea55d8 make observer re-subscribe on hostConnected if unsubscribed by hostDisconnected 2023-03-15 20:17:52 +01:00
Mads Rasmussen
d54aa90edb Merge branch 'main' into feature/manifest-conditions 2023-03-14 18:59:49 +01:00
Jacob Overgaard
a72c15e93d add rollup to extensions-api to access types from outside 2023-03-14 16:12:16 +01:00
Jacob Overgaard
9edcf5418b export the entrypoint lifecycle onInit type as its own 2023-03-14 16:12:02 +01:00
Niels Lyngsø
200befcf55 Merge branch 'main' into feature/manifest-conditions 2023-03-14 10:29:13 +01:00
Mads Rasmussen
80e5df7807 rename interfaces from editor to workspace 2023-03-13 21:19:22 +01:00
Mads Rasmussen
08c8ca3364 add conditions to workspace views 2023-03-13 21:18:08 +01:00
Mads Rasmussen
f0f094b736 filter on conditions 2023-03-13 21:09:15 +01:00
Mads Rasmussen
c943c1d061 add conditions to section view manifest 2023-03-13 21:04:50 +01:00