Merge remote-tracking branch 'origin/v15/dev' into v15/feature/tiptap
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { writeFileSync } from 'fs';
|
||||
import { createImportMap } from '../importmap/index.js';
|
||||
|
||||
const tsPath = './src/json-schema/all-packages.ts';
|
||||
|
||||
const importmap = createImportMap({
|
||||
rootDir: './src',
|
||||
replaceModuleExtensions: true,
|
||||
});
|
||||
|
||||
const paths = Object.keys(importmap.imports);
|
||||
|
||||
const content = `
|
||||
${
|
||||
paths.map(path => `import '${path}';`).join('\n')
|
||||
}
|
||||
`;
|
||||
|
||||
//const config = await resolveConfig('./.prettierrc.json');
|
||||
//const formattedContent = await format(content, { ...config, parser: 'json' });
|
||||
|
||||
writeFileSync(tsPath, content);
|
||||
@@ -1,6 +1,4 @@
|
||||
import type { ManifestWorkspaceView } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
const workspace: ManifestWorkspaceView = {
|
||||
const workspace: UmbExtensionManifest = {
|
||||
type: 'workspaceView',
|
||||
alias: 'Example.WorkspaceView.EntityContentTypeCondition',
|
||||
name: 'Example Workspace View With Entity Content Type Condition',
|
||||
|
||||
@@ -2,7 +2,7 @@ import { html, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
|
||||
@customElement('umb-example-entity-content-type-condition')
|
||||
export class UmbWorkspaceViewElement extends UmbLitElement {
|
||||
export class UmbWorkspaceExampleViewElement extends UmbLitElement {
|
||||
override render() {
|
||||
return html`<p>
|
||||
This is a conditional element that is only shown in workspaces based on it's entities content type.
|
||||
@@ -10,10 +10,10 @@ export class UmbWorkspaceViewElement extends UmbLitElement {
|
||||
}
|
||||
}
|
||||
|
||||
export default UmbWorkspaceViewElement;
|
||||
export default UmbWorkspaceExampleViewElement;
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'umb-example-entity-content-type-condition': UmbWorkspaceViewElement;
|
||||
'umb-example-entity-content-type-condition': UmbWorkspaceExampleViewElement;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'icons',
|
||||
name: 'Example Dataset Dashboard',
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'workspaceContext',
|
||||
name: 'Example Counter Workspace Context',
|
||||
alias: 'example.workspaceCounter.counter',
|
||||
js: () => import('./counter-workspace-context.js'),
|
||||
api: () => import('./counter-workspace-context.js'),
|
||||
conditions: [
|
||||
{
|
||||
alias: 'Umb.Condition.WorkspaceAlias',
|
||||
|
||||
959
src/Umbraco.Web.UI.Client/package-lock.json
generated
959
src/Umbraco.Web.UI.Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -162,8 +162,9 @@
|
||||
"generate:server-api": "openapi-ts --file devops/openapi-ts/openapi-ts.config.js",
|
||||
"generate:icons": "node ./devops/icons/index.js",
|
||||
"generate:overrides": "node ./devops/tsc/index.js",
|
||||
"generate:jsonschema:dist": "typescript-json-schema --required --include \"./src/packages/core/extension-registry/umbraco-package.ts\" --out dist-cms/umbraco-package-schema.json tsconfig.json UmbracoPackage",
|
||||
"generate:jsonschema": "typescript-json-schema --required --include \"./src/packages/core/extension-registry/*.ts\"",
|
||||
"generate:jsonschema:imports": "node ./devops/json-schema-generator/index.js",
|
||||
"generate:jsonschema:dist": "typescript-json-schema --required --include \"./src/json-schema/umbraco-package-schema.ts\" --out dist-cms/umbraco-package-schema.json tsconfig.json UmbracoPackage",
|
||||
"generate:jsonschema": "typescript-json-schema --required --include \"./src/json-schema/umbraco-package-schema.ts\"",
|
||||
"lint:errors": "npm run lint -- --quiet",
|
||||
"lint:fix": "npm run lint -- --fix",
|
||||
"lint": "eslint src",
|
||||
@@ -216,8 +217,8 @@
|
||||
"@types/diff": "^5.2.1",
|
||||
"@types/dompurify": "^3.0.5",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@umbraco-ui/uui": "^v1.10.0-rc.0",
|
||||
"@umbraco-ui/uui-css": "^v1.10.0-rc.0",
|
||||
"@umbraco-ui/uui": "^v1.10.0",
|
||||
"@umbraco-ui/uui-css": "^v1.10.0",
|
||||
"base64-js": "^1.5.1",
|
||||
"diff": "^5.2.0",
|
||||
"dompurify": "^3.1.6",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'section',
|
||||
alias: 'MyBundle.Section.Custom',
|
||||
|
||||
@@ -17,6 +17,7 @@ const CORE_PACKAGES = [
|
||||
import('../../packages/data-type/umbraco-package.js'),
|
||||
import('../../packages/dictionary/umbraco-package.js'),
|
||||
import('../../packages/documents/umbraco-package.js'),
|
||||
import('../../packages/extension-insights/umbraco-package.js'),
|
||||
import('../../packages/health-check/umbraco-package.js'),
|
||||
import('../../packages/help/umbraco-package.js'),
|
||||
import('../../packages/language/umbraco-package.js'),
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -931,14 +931,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Upravte vaše oznámení pro %0%',
|
||||
notificationsSavedFor: 'Nastavení oznámení bylo uloženo pro',
|
||||
mailBody:
|
||||
"\n Dobrý den, %0%\n\n Toto je automatická zpráva informující Vás, že úloha '%1%'\n byla provedena na stránce '%2%'\n uživatelem '%3%'\n\n Přejděte na http://%4%/#/content/content/edit/%5% pro editování.\n\n Mějte hezký den!\n\n Zdraví Umbraco robot\n ",
|
||||
mailBodyVariantSummary: 'Následující jazyky byly změněny %0%',
|
||||
mailBodyHtml:
|
||||
'<p>Ahoj %0%</p>\n\n <p>Toto je automatická zpráva informující Vás, že úloha <strong>\'%1%\'</strong>\n byla provedena na stránce <a href="http://%4%/#/content/content/edit/%5%"><strong>\'%2%\'</strong></a>\n uživatelem <strong>\'%3%\'</strong>\n </p>\n <div style="margin: 8px 0; padding: 8px; display: block;">\n <br />\n <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDITOVAT </a> \n <br />\n </div>\n <p>\n <h3>Shrnutí změn:</h3>\n <table style="width: 100%;">\n %6%\n </table>\n </p>\n\n <div style="margin: 8px 0; padding: 8px; display: block;">\n <br />\n <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDITOVAT </a> \n <br />\n </div>\n\n <p>Mějte hezký den!<br /><br />\n Zdraví Umbraco robot\n </p>',
|
||||
mailBodyVariantHtmlSummary: '<p>Byly změněny následující jazyky:</p>\n %0%\n ',
|
||||
mailSubject: '[%0%] Upozornění o %1% na %2%',
|
||||
notificationsSavedFor: 'Nastavení oznámení bylo uloženo pro %0%',
|
||||
notifications: 'Upozornění',
|
||||
},
|
||||
packager: {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1081,8 +1081,8 @@ export default {
|
||||
relateToOriginal: 'Relater det kopierede element til originalen',
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Vælg dine notificeringer for <strong>%0%</strong>',
|
||||
notificationsSavedFor: 'Notificeringer er gemt for',
|
||||
editNotifications: 'Vælg dine notificeringer for %0%',
|
||||
notificationsSavedFor: 'Notificeringer er gemt for %0%',
|
||||
notifications: 'Notificeringer',
|
||||
},
|
||||
packager: {
|
||||
@@ -1636,7 +1636,7 @@ export default {
|
||||
memberCanEditDescription: 'Tillad at denne egenskab kan redigeres af medlemmet på dets profil.',
|
||||
isSensitiveData: 'Er følsom data',
|
||||
isSensitiveDataDescription:
|
||||
'Skjul værdien af denne egenskab for indholdsredaktører der ikke har adgang\n til at se følsomme data\n ',
|
||||
'Skjul værdien af denne egenskab for indholdsredaktører der ikke har adgang til at se følsomme data',
|
||||
showOnMemberProfile: 'Vis på medlemsprofil',
|
||||
showOnMemberProfileDescription: 'Tillad at denne egenskab kan vises på medlemmets profil.',
|
||||
tabHasNoSortOrder: 'fane har ingen sorteringsrækkefølge',
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1088,8 +1088,8 @@ export default {
|
||||
relateToOriginal: 'Relate copied items to original',
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Select your notification for <strong>%0%</strong>',
|
||||
notificationsSavedFor: 'Notification settings saved for',
|
||||
editNotifications: 'Select your notification for %0%',
|
||||
notificationsSavedFor: 'Notification settings saved for %0%',
|
||||
notifications: 'Notifications',
|
||||
},
|
||||
packager: {
|
||||
@@ -1646,12 +1646,12 @@ export default {
|
||||
andAllMediaItems: 'and all media items using this type',
|
||||
andAllMembers: 'and all members using this type',
|
||||
memberCanEdit: 'Member can edit',
|
||||
memberCanEditDescription: 'Allow this property value to be edited by the member on their profile page\n ',
|
||||
memberCanEditDescription: 'Allow this property value to be edited by the member on their profile page',
|
||||
isSensitiveData: 'Is sensitive data',
|
||||
isSensitiveDataDescription:
|
||||
"Hide this property value from content editors that don't have access to view\n sensitive information\n ",
|
||||
"Hide this property value from content editors that don't have access to view sensitive information",
|
||||
showOnMemberProfile: 'Show on member profile',
|
||||
showOnMemberProfileDescription: 'Allow this property value to be displayed on the member profile page\n ',
|
||||
showOnMemberProfileDescription: 'Allow this property value to be displayed on the member profile page',
|
||||
tabHasNoSortOrder: 'tab has no sort order',
|
||||
compositionUsageHeading: 'Where is this composition used?',
|
||||
compositionUsageSpecification:
|
||||
|
||||
@@ -1105,8 +1105,8 @@ export default {
|
||||
relateToOriginal: 'Relate copied items to original',
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Select your notification for <strong>%0%</strong>',
|
||||
notificationsSavedFor: 'Notification settings saved for',
|
||||
editNotifications: 'Select your notification for %0%',
|
||||
notificationsSavedFor: 'Notification settings saved for %0%',
|
||||
notifications: 'Notifications',
|
||||
},
|
||||
packager: {
|
||||
@@ -1668,12 +1668,12 @@ export default {
|
||||
andAllMediaItems: 'and all media items using this type',
|
||||
andAllMembers: 'and all members using this type',
|
||||
memberCanEdit: 'Member can edit',
|
||||
memberCanEditDescription: 'Allow this property value to be edited by the member on their profile page\n ',
|
||||
memberCanEditDescription: 'Allow this property value to be edited by the member on their profile page',
|
||||
isSensitiveData: 'Is sensitive data',
|
||||
isSensitiveDataDescription:
|
||||
"Hide this property value from content editors that don't have access to view\n sensitive information\n ",
|
||||
"Hide this property value from content editors that don't have access to view sensitive information",
|
||||
showOnMemberProfile: 'Show on member profile',
|
||||
showOnMemberProfileDescription: 'Allow this property value to be displayed on the member profile page\n ',
|
||||
showOnMemberProfileDescription: 'Allow this property value to be displayed on the member profile page',
|
||||
tabHasNoSortOrder: 'tab has no sort order',
|
||||
compositionUsageHeading: 'Where is this composition used?',
|
||||
compositionUsageSpecification:
|
||||
|
||||
@@ -743,11 +743,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Edita tu notificación para %0%',
|
||||
mailBody:
|
||||
"Hola %0% Esto es un e-mail automático para informarte que la tarea '%1%' ha sido realizada sobre la página '%2%' por el usuario '%3%' Vaya a http://%4%/#/content/content/edit/%5% para editarla. ¡Espero que tenga un buen día! Saludos del robot de Umbraco",
|
||||
mailBodyHtml:
|
||||
'<p>Hola %0%</p> <p>Esto es un e-mail generado automáticamente para informarle que la tarea <strong>\'%1%\'</strong> ha sido realizada sobre la página <a href="http://%4%/#/content/content/edit/%5%"><strong>\'%2%\'</strong></a> por el usuario <strong>\'%3%\'</strong> </p> <div style="margin: 8px 0; padding: 8px; display: block;"> <br /> <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDIT </a> <br /> </div> <p> <h3>Resumen de actualización:</h3> <table style="width: 100%;"> %6% </table> </p> <div style="margin: 8px 0; padding: 8px; display: block;"> <br /> <a style="color: white; font-weight: bold; background-color: #66cc66; text-decoration : none; margin-right: 20px; border: 8px solid #66cc66; width: 150px;" href="http://%4%/actions/publish.aspx?id=%5%"> PUBLISH </a> <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDIT </a> <a style="color: white; font-weight: bold; background-color: #ca4a4a; text-decoration : none; margin-right: 20px; border: 8px solid #ca4a4a; width: 150px;" href="http://%4%/actions/delete.aspx?id=%5%"> DELETE </a> <br /> </div> <p>¡Espero que tenga un buen día!<br /><br /> Saludos del robot Umbraco. </p>',
|
||||
mailSubject: '[%0%] Notificación acerca de %1% realizado en %2%',
|
||||
notificationsSavedFor: 'Notificaciones guardadas para %0%',
|
||||
notifications: 'Notificaciones',
|
||||
},
|
||||
packager: {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -469,11 +469,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'ערוך את ההתראות עבור %0%',
|
||||
mailBody:
|
||||
'\n שלום, %0%\n\n זוהי הודעה אוטומטית המיידעת אותך שהמשימה %1%\n\t בוצעה בעמוד %2% על ידי המשתמש %3%\n\n לעריכה, יש ללחוץ על הלינק הבא://%4%/actions/editContent.aspx?id=%5% .\n\n המשך יום נעים!\n ',
|
||||
mailBodyHtml:
|
||||
'<p>Hi %0%</p>\n\n\t\t <p>This is an automated mail to inform you that the task <strong>\'%1%\'</strong>\n\t\t has been performed on the page <a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a>\n\t\t by the user <strong>\'%3%\'</strong>\n\t </p>\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDIT </a> \n\t\t\t\t<br />\n\t\t </div>\n\t\t <p>\n\t\t\t <h3>Update summary:</h3>\n\t\t\t <table style="width: 100%;">\n\t\t\t\t\t\t %6%\n\t\t\t\t</table>\n\t\t\t </p>\n\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDIT </a> \n\t\t\t\t<br />\n\t\t </div>\n\n\t\t <p>Have a nice day!<br /><br />\n\t\t\t Cheers from the Umbraco robot\n\t\t </p>',
|
||||
mailSubject: '[%0%] התראות %1% בוצעו ב %2%',
|
||||
notificationsSavedFor: 'ההתראות נשמרו עבור %0%',
|
||||
notifications: 'התראות',
|
||||
},
|
||||
packager: {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -594,11 +594,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: '%0% への通知を編集',
|
||||
mailBody:
|
||||
"\n 前略 %0% さま\n\n ユーザー '%3%' により\n ページ '%2%' 上のタスク'%1%'から\n 自動的にメールします。\n\n 編集はこちらから: http://%4%/#/content/content/edit/%5%\n\n 早々\n\n Umbracoのロボットより\n ",
|
||||
mailBodyHtml:
|
||||
'<p>前略 %0% さま</p>\n\n\t\t\t<p>ユーザー <strong>\'%3%\'</strong> によりページ <a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a> 上のタスク <strong>\'%1%\'</strong> から自動的にメールします。</p>\n\t\t\t<div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> 編集 </a> \n\t\t\t\t<br />\n\t\t </div>\n\t\t <p>\n\t\t\t <h3>更新のまとめ:</h3>\n\t\t\t <table style="width: 100%;">\n\t\t\t\t\t\t %6%\n\t\t\t\t</table>\n\t\t\t </p>\n\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> 編集 </a> \n\t\t\t\t<br />\n\t\t </div>\n\n\t\t <p>早々<br /><br />\n\t\t\t Umbracoのロボットより\n\t\t </p>',
|
||||
mailSubject: '[%0%] に通知: ページ %2% 上の %1% について',
|
||||
notificationsSavedFor: '%0% への通知が保存されました',
|
||||
notifications: '通知',
|
||||
},
|
||||
packager: {
|
||||
|
||||
@@ -468,11 +468,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: '%0% 에 대한 알림 편집',
|
||||
mailBody:
|
||||
"\n 안녕하세요 %0%\n\n 사용자 '%3%' 가 작업 '%1%' 를 페이지 '%2%' 에서\n 진행했음을 알리는 자동 발송 메일입니다.\n\n 편집하시려면 http://%4%/#/content/content/edit/%5% 로 이동하세요\n\n 좋은 하루 되세요!\n\n ",
|
||||
mailBodyHtml:
|
||||
'<p>안녕하세요 %0%</p>\n\n\t <p>사용자 <strong>\'%3%\'</strong> 가 작업 <strong>\'%1%\'</strong> 를\n 페이지 <a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a> 에서\n 진행했음을 알리는 자동 발송 메일입니다.\n </p>\n\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t<br />\n\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> 편집 </a> \n\t\t\t<br />\n\t </div>\n\t <p>\n\t\t <h3>업데이트 요약:</h3>\n\t\t <table style="width: 100%;">\n\t\t\t\t\t %6%\n\t\t\t</table>\n\t\t </p>\n\n\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t<br />\n\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> 편집 </a> \n\t\t\t<br />\n\t </div>\n\n\t <p>좋은 하루 되세요!<br /><br />\n\t </p>',
|
||||
mailSubject: '%1%에 대한 [%0]알림이 %2%에 생성되었습니다',
|
||||
notificationsSavedFor: '%0% 에 대한 알림이 저장되었습니다.',
|
||||
notifications: '알림',
|
||||
},
|
||||
packager: {
|
||||
|
||||
@@ -550,11 +550,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Rediger dine varsler for %0%',
|
||||
mailBody:
|
||||
"\nHei %0%\n\nDette er en automatisk mail for å informere om at handlingen '%1%'\ner utført på siden '%2%'\nav brukeren '%3%'\n\nGå til http://%4%/Umbraco/default.aspx?section=content&id=%5% for å redigere.\n\nHa en fin dag!\n\nVennlig hilsen Umbraco roboten\n ",
|
||||
mailBodyHtml:
|
||||
'<p>Hei %0%</p>\n\n\t\t <p>Dette er en automatisk mail for å informere om at handlingen \'%1%\'\n er blitt utført på siden <a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a>\n av brukeren <strong>\'%3%\'</strong>\n\t </p>\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/Umbraco/actions/editContent.aspx?id=%5%"> REDIGER </a> \n\t\t\t\t<br />\n\t\t </div>\n\t\t <p>\n\t\t\t <h3>Rettelser:</h3>\n\t\t\t <table style="width: 100%;">\n\t\t\t\t\t\t %6%\n\t\t\t\t</table>\n\t\t\t </p>\n\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/Umbraco/actions/editContent.aspx?id=%5%"> REDIGER </a> \n\t\t\t\t<br />\n\t\t </div>\n\n\t\t <p>Ha en fin dag!<br /><br />\n\t\t\t Vennlig hilsen Umbraco roboten\n\t\t </p>',
|
||||
mailSubject: '[%0%] Varsling om %1% utført på %2%',
|
||||
notificationsSavedFor: 'Varsler lagret for %0%',
|
||||
notifications: 'Varslinger',
|
||||
},
|
||||
packager: {
|
||||
|
||||
@@ -990,14 +990,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Bewerk de notificatie voor %0%',
|
||||
notificationsSavedFor: 'Notificatie instellingen opgeslagen voor',
|
||||
mailBody:
|
||||
"\n Hallo %0%,\n\n Dit is een geautomatiseerd bericht om u te informeren dat de taak '%1%'\n is uitgevoerd op pagina '%2%'\n door gebruiker '%3%'.\n\n Ga naar http://%4%/#/content/content/edit/%5% om dit te bewerken.\n\n Een prettige dag!\n\n Dit is een bericht van uw Content Management Systeem.\n\n ",
|
||||
mailBodyVariantSummary: 'De volgende talen zijn gewijzigd %0%',
|
||||
mailBodyHtml:
|
||||
'<p>Hi %0%</p>\n\n\t\t <p>Dit is een geautomatiseerde mail om u op de hoogte te brengen dat de taak <strong>\'%1%\'</strong>\n\t\t is uitgevoerd op pagina <a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a>\n\t\t door gebruiker <strong>\'%3%\'</strong>\n\t </p>\n\t\t <div class="buttons">\n\t\t\t\t<br />\n\t\t\t\t<a class="buttonEdit" href="http://%4%/#/content/content/edit/%5%"> EDIT </a> \n\t\t\t\t<br />\n\t\t </div>\n\t\t <p>\n\t\t\t <h3>Update samenvatting:</h3>\n\t\t\t <table class="updateSummary">\n\t\t\t\t\t\t %6%\n\t\t\t\t\t </table>\n\t\t\t </p>\n\n\t\t <div class="buttons">\n\t\t\t\t<br />\n\t\t\t\t<a class="buttonEdit" href="http://%4%/#/content/content/edit/%5%"> EDIT </a> \n\t\t\t\t<br />\n\t\t </div>\n\n\t\t <p>Een prettige dag!<br /><br />\n\t\t\t Dit is een bericht van uw Content Management Systeem.\n\t\t </p>\n ',
|
||||
mailBodyVariantHtmlSummary: '<p>De volgende talen zijn gewijzigd:</p>\n %0%\n ',
|
||||
mailSubject: '[%0%] Notificatie over %1% uitgevoerd op %2%',
|
||||
notificationsSavedFor: 'Notificatie instellingen opgeslagen voor %0%',
|
||||
notifications: 'Notificaties',
|
||||
},
|
||||
packager: {
|
||||
@@ -1492,14 +1485,12 @@ export default {
|
||||
andAllMediaItems: 'en alle media items van dit type',
|
||||
andAllMembers: 'en alle leden van dit type',
|
||||
memberCanEdit: 'Lid kan bewerken',
|
||||
memberCanEditDescription:
|
||||
'Toestaan dat deze eigenschap kan worden gewijzigd door het lid op zijn profiel\n pagina.\n ',
|
||||
memberCanEditDescription: 'Toestaan dat deze eigenschap kan worden gewijzigd door het lid op zijn profiel pagina.',
|
||||
isSensitiveData: 'Omvat gevoelige gegevens',
|
||||
isSensitiveDataDescription:
|
||||
'Verberg deze eigenschap voor de content editor die geen toegang heeft tot\n het bekijken van gevoelige informatie.\n ',
|
||||
'Verberg deze eigenschap voor de content editor die geen toegang heeft tot het bekijken van gevoelige informatie.',
|
||||
showOnMemberProfile: 'Toon in het profiel van leden',
|
||||
showOnMemberProfileDescription:
|
||||
'Toelaten dat deze eigenschap wordt getoond op de profiel pagina van het\n lid.\n ',
|
||||
showOnMemberProfileDescription: 'Toelaten dat deze eigenschap wordt getoond op de profiel pagina van het lid.',
|
||||
tabHasNoSortOrder: 'tab heeft geen sorteervolgorde',
|
||||
compositionUsageHeading: 'Waar wordt deze compositie gebruikt?',
|
||||
compositionUsageSpecification:
|
||||
|
||||
@@ -725,11 +725,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Edytuj powiadomienie dla %0%',
|
||||
mailBody:
|
||||
"\n Witaj %0%\n\n To jest automatyczny e-mail, wysłany, aby poinformować Cię, że polecenie '%1%'\n zostało wykonane na stronie '%2%'\n przez użytkownika '%3%'.\n\n Możesz dalej edytować pod adresem http://%4%/#/content/content/edit/%5%\n\n Miłego dnia!\n\n Pozdrowienia od robota Umbraco\n ",
|
||||
mailBodyHtml:
|
||||
'<p>Witaj %0%</p>\n\n <p>To jest automatyczny e-mail, wysłany, aby poinformować Cię, że polecenie <strong>\'%1%\'</strong>\n zostało wykonane na stronie <a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a>\n przez użytkownika <strong>\'%3%\'</strong>\n </p>\n <div style="margin: 8px 0; padding: 8px; display: block;">\n <br />\n <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDYTUJ </a> \n <br />\n </div>\n <p>\n <h3>Podsumowanie zmian:</h3>\n <table style="width: 100%;">\n %6%\n </table>\n </p>\n\n <div style="margin: 8px 0; padding: 8px; display: block;">\n <br />\n <a style="color: white; font-weight: bold; background-color: #66cc66; text-decoration : none; margin-right: 20px; border: 8px solid #66cc66; width: 150px;" href="http://%4%/actions/publish.aspx?id=%5%"> PUBLIKUJ </a> <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDYTUJ </a> <a style="color: white; font-weight: bold; background-color: #ca4a4a; text-decoration : none; margin-right: 20px; border: 8px solid #ca4a4a; width: 150px;" href="http://%4%/actions/delete.aspx?id=%5%"> USUŃ </a>\n <br />\n </div>\n\n <p>Miłego dnia!<br /><br />\n Pozdrowienia od robota Umbraco\n </p>',
|
||||
mailSubject: '[%0%] Powiadomienie o %1% wykonane na %2%',
|
||||
notificationsSavedFor: 'Zapisano powiadomienia dla %0%',
|
||||
notifications: 'Powiadomienie',
|
||||
},
|
||||
packager: {
|
||||
|
||||
@@ -476,11 +476,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Editar sua notificação para %0%',
|
||||
mailBody:
|
||||
"\n Olá %0%\n\n Esta é uma mensagem automatizada de email para informar que a tarefa '%1%' foi realizada na página '%2%' pelo usuário '%3%'\n\nVá até http://%4%/#/content/content/edit/%5% para editar.\n\n Tenha um bom dia!\n\n Saudações do robô Umbraco",
|
||||
mailBodyHtml:
|
||||
'<p>Olá %0%</p>\n\n\t\t <p>Esta é uma mensagem automatizada para informar que a tarefa <strong>\'%1%\'</strong>\n\t\t foi completada na página <a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a>\n\t\t pelo usuário <strong>\'%3%\'</strong>\n\t </p>\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDIT </a> \n\t\t\t\t<br />\n\t\t </div>\n\t\t <p>\n\t\t\t <h3>Resumo da Atualização:</h3>\n\t\t\t <table style="width: 100%;">\n\t\t\t\t\t\t %6%\n\t\t\t\t</table>\n\t\t\t </p>\n\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> EDIT </a> \n\t\t\t\t<br />\n\t\t </div>\n\n\t\t <p>Tenha um bom dia!<br /><br />\n\t\t\t Saudações do robô Umbraco\n\t\t </p>\n ',
|
||||
mailSubject: '[%0%] Notificação sobre %1% realizada em %2%',
|
||||
notificationsSavedFor: 'Notificações salvas para %0%',
|
||||
notifications: 'Notificações',
|
||||
},
|
||||
packager: {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -724,11 +724,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: 'Inställningar för notifieringar gällande %0%',
|
||||
mailBody:
|
||||
"Hej %0% Detta mail skickas till dig automatiskt för att meddela att '%1%' har utförts på sidan '%2%' av användaren '%3%' Gå till http://%4%/actions/editContent.aspx?id=%5% för att redigera.",
|
||||
mailBodyHtml:
|
||||
'<p>Hej %0%</p> <p>Detta mail skickas till dig automatiskt för att meddela att <strong>\'%1%\'</strong> har utförts på sidan <a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a> av användaren <strong>\'%3%\'</strong> </p> <div style="margin: 8px 0; padding: 8px; display: block;"> <br /> <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/actions/editContent.aspx?id=%5%"> EDIT </a> <br /> </div> <p> <h3>Sammanfattning av uppdateringen:</h3> <table style="width: 100%;"> %6% </table> </p> <div style="margin: 8px 0; padding: 8px; display: block;"> <br /> <a style="color: white; font-weight: bold; background-color: #66cc66; text-decoration : none; margin-right: 20px; border: 8px solid #66cc66; width: 150px;" href="http://%4%/actions/publish.aspx?id=%5%"> PUBLICERA </a> <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/actions/editContent.aspx?id=%5%"> REDIGERA </a> <a style="color: white; font-weight: bold; background-color: #ca4a4a; text-decoration : none; margin-right: 20px; border: 8px solid #ca4a4a; width: 150px;" href="http://%4%/actions/delete.aspx?id=%5%"> TA BORT </a> <br /> </div>',
|
||||
mailSubject: '[%0%] Meddelande för att informera om att %1% har utförts på %2%',
|
||||
notificationsSavedFor: 'Notifieringar sparade för %0%',
|
||||
notifications: 'Notifieringar',
|
||||
},
|
||||
packager: {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -603,11 +603,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: '为 %0% 编写通知',
|
||||
mailBody:
|
||||
"\n%0%:\n\n 您好!这是一封自动邮件,提醒您用户'%3%'\n 执行'%1%'任务\n 已经在完成'%2%'。\n\n 转到 http://%4%/#/content/content/edit/%5% 进行编辑\n\n Have a nice day!\n\n 来自Umbraco机器人\n ",
|
||||
mailBodyHtml:
|
||||
'<p>%0%:</p>\n\n\t\t <p>您好!这是一封自动发送的邮件,告诉您任务<strong>\'%1%\'</strong>\n\t\t 已在<a href="http://%4%/actions/preview.aspx?id=%5%"><strong>\'%2%\'</strong></a>\n\t\t 被用户<strong>\'%3%\'</strong>执行\n\t\t </p>\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> 编辑 </a> \n\t\t\t\t<br />\n\t\t </div>\n\t\t <p>\n <h3>更新概况:</h3>\n\t\t\t <table style="width: 100%;">\n\t\t\t\t\t\t %6%\n\t\t\t\t</table>\n\t\t\t </p>\n\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n <a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> 编辑 </a> \n <br />\n </div>\n\n <p>祝您愉快!<br /><br />\n 该信息由系统自动发送\n </p>',
|
||||
mailSubject: '在 %2%,[%0%] 关于 %1% 的通告已执行。',
|
||||
notificationsSavedFor: '通知已保存为 %0%',
|
||||
notifications: '通知',
|
||||
},
|
||||
packager: {
|
||||
|
||||
@@ -605,11 +605,7 @@ export default {
|
||||
},
|
||||
notifications: {
|
||||
editNotifications: '為 %0% 編寫通知',
|
||||
mailBody:
|
||||
'\n 哈嘍 %0%\n\n 這是一封自動產生的信件來通知您 %1% 工作\n 已經在頁面 %2% 上由使用者 %3% 執行完成\n\n\n 請移至下列網址編輯: http://%4%/#/content/content/edit/%5%\n\n 祝您有美好的一天!\n\n Umbraco機器人 謹上\n ',
|
||||
mailBodyHtml:
|
||||
'<p>哈嘍 %0%</p>\n\n\t\t <p>這是一封自動產生的信件來通知您<strong> %1% </strong>工作\n\t\t 已經在頁面 <strong>%2%</strong> 上由使用者 <strong>%3%</strong> 執行完成\n\t </p>\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> 編輯 </a> \n\t\t\t\t<br />\n\t\t </div>\n\t\t <p>\n\t\t\t <h3>更新摘要:</h3>\n\t\t\t <table style="width: 100%;">\n\t\t\t\t\t\t %6%\n\t\t\t\t</table>\n\t\t\t </p>\n\n\t\t <div style="margin: 8px 0; padding: 8px; display: block;">\n\t\t\t\t<br />\n\t\t\t\t<a style="color: white; font-weight: bold; background-color: #5372c3; text-decoration : none; margin-right: 20px; border: 8px solid #5372c3; width: 150px;" href="http://%4%/#/content/content/edit/%5%"> 編輯 </a> \n\t\t\t\t<br />\n\t\t </div>\n\n\t\t <p>祝您有美好的一天!<br /><br />\n\t\t\t Umbraco機器人 謹上\n\t\t </p>',
|
||||
mailSubject: '在 %2%,[%0%] 關於 %1% 的通告已執行。',
|
||||
notificationsSavedFor: '通知已經為 %0% 保存',
|
||||
notifications: '通知',
|
||||
},
|
||||
packager: {
|
||||
|
||||
@@ -2425,6 +2425,7 @@ export class DocumentService {
|
||||
* @param data.query
|
||||
* @param data.skip
|
||||
* @param data.take
|
||||
* @param data.parentId
|
||||
* @returns unknown OK
|
||||
* @throws ApiError
|
||||
*/
|
||||
@@ -2435,7 +2436,8 @@ export class DocumentService {
|
||||
query: {
|
||||
query: data.query,
|
||||
skip: data.skip,
|
||||
take: data.take
|
||||
take: data.take,
|
||||
parentId: data.parentId
|
||||
},
|
||||
errors: {
|
||||
401: 'The resource is protected and requires an authentication token'
|
||||
@@ -4014,6 +4016,7 @@ export class MediaService {
|
||||
* @param data.query
|
||||
* @param data.skip
|
||||
* @param data.take
|
||||
* @param data.parentId
|
||||
* @returns unknown OK
|
||||
* @throws ApiError
|
||||
*/
|
||||
@@ -4024,7 +4027,8 @@ export class MediaService {
|
||||
query: {
|
||||
query: data.query,
|
||||
skip: data.skip,
|
||||
take: data.take
|
||||
take: data.take,
|
||||
parentId: data.parentId
|
||||
},
|
||||
errors: {
|
||||
401: 'The resource is protected and requires an authentication token'
|
||||
|
||||
@@ -658,6 +658,7 @@ export type DocumentItemResponseModel = {
|
||||
|
||||
export type DocumentNotificationResponseModel = {
|
||||
actionId: string;
|
||||
alias: string;
|
||||
subscribed: boolean;
|
||||
};
|
||||
|
||||
@@ -3521,6 +3522,7 @@ export type GetItemDocumentData = {
|
||||
export type GetItemDocumentResponse = (Array<(DocumentItemResponseModel)>);
|
||||
|
||||
export type GetItemDocumentSearchData = {
|
||||
parentId?: string;
|
||||
query?: string;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
@@ -3974,6 +3976,7 @@ export type GetItemMediaData = {
|
||||
export type GetItemMediaResponse = (Array<(MediaItemResponseModel)>);
|
||||
|
||||
export type GetItemMediaSearchData = {
|
||||
parentId?: string;
|
||||
query?: string;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
|
||||
108
src/Umbraco.Web.UI.Client/src/json-schema/all-packages.ts
Normal file
108
src/Umbraco.Web.UI.Client/src/json-schema/all-packages.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
import '@umbraco-cms/backoffice/app';
|
||||
import '@umbraco-cms/backoffice/class-api';
|
||||
import '@umbraco-cms/backoffice/context-api';
|
||||
import '@umbraco-cms/backoffice/controller-api';
|
||||
import '@umbraco-cms/backoffice/element-api';
|
||||
import '@umbraco-cms/backoffice/extension-api';
|
||||
import '@umbraco-cms/backoffice/formatting-api';
|
||||
import '@umbraco-cms/backoffice/localization-api';
|
||||
import '@umbraco-cms/backoffice/observable-api';
|
||||
import '@umbraco-cms/backoffice/action';
|
||||
import '@umbraco-cms/backoffice/audit-log';
|
||||
import '@umbraco-cms/backoffice/auth';
|
||||
import '@umbraco-cms/backoffice/block-custom-view';
|
||||
import '@umbraco-cms/backoffice/block-grid';
|
||||
import '@umbraco-cms/backoffice/block-list';
|
||||
import '@umbraco-cms/backoffice/block-rte';
|
||||
import '@umbraco-cms/backoffice/block-type';
|
||||
import '@umbraco-cms/backoffice/block';
|
||||
import '@umbraco-cms/backoffice/code-editor';
|
||||
import '@umbraco-cms/backoffice/collection';
|
||||
import '@umbraco-cms/backoffice/components';
|
||||
import '@umbraco-cms/backoffice/content-type';
|
||||
import '@umbraco-cms/backoffice/content';
|
||||
import '@umbraco-cms/backoffice/culture';
|
||||
import '@umbraco-cms/backoffice/picker';
|
||||
import '@umbraco-cms/backoffice/current-user';
|
||||
import '@umbraco-cms/backoffice/data-type';
|
||||
import '@umbraco-cms/backoffice/debug';
|
||||
import '@umbraco-cms/backoffice/dictionary';
|
||||
import '@umbraco-cms/backoffice/document-blueprint';
|
||||
import '@umbraco-cms/backoffice/document-type';
|
||||
import '@umbraco-cms/backoffice/document';
|
||||
import '@umbraco-cms/backoffice/entity-action';
|
||||
import '@umbraco-cms/backoffice/entity-bulk-action';
|
||||
import '@umbraco-cms/backoffice/entity';
|
||||
import '@umbraco-cms/backoffice/event';
|
||||
import '@umbraco-cms/backoffice/extension-registry';
|
||||
import '@umbraco-cms/backoffice/help';
|
||||
import '@umbraco-cms/backoffice/icon';
|
||||
import '@umbraco-cms/backoffice/id';
|
||||
import '@umbraco-cms/backoffice/imaging';
|
||||
import '@umbraco-cms/backoffice/language';
|
||||
import '@umbraco-cms/backoffice/lit-element';
|
||||
import '@umbraco-cms/backoffice/localization';
|
||||
import '@umbraco-cms/backoffice/log-viewer';
|
||||
import '@umbraco-cms/backoffice/markdown-editor';
|
||||
import '@umbraco-cms/backoffice/media-type';
|
||||
import '@umbraco-cms/backoffice/media';
|
||||
import '@umbraco-cms/backoffice/member-group';
|
||||
import '@umbraco-cms/backoffice/member-type';
|
||||
import '@umbraco-cms/backoffice/member';
|
||||
import '@umbraco-cms/backoffice/menu';
|
||||
import '@umbraco-cms/backoffice/modal';
|
||||
import '@umbraco-cms/backoffice/multi-url-picker';
|
||||
import '@umbraco-cms/backoffice/notification';
|
||||
import '@umbraco-cms/backoffice/object-type';
|
||||
import '@umbraco-cms/backoffice/package';
|
||||
import '@umbraco-cms/backoffice/partial-view';
|
||||
import '@umbraco-cms/backoffice/picker-input';
|
||||
import '@umbraco-cms/backoffice/property-action';
|
||||
import '@umbraco-cms/backoffice/property-editor';
|
||||
import '@umbraco-cms/backoffice/property-type';
|
||||
import '@umbraco-cms/backoffice/property';
|
||||
import '@umbraco-cms/backoffice/recycle-bin';
|
||||
import '@umbraco-cms/backoffice/relation-type';
|
||||
import '@umbraco-cms/backoffice/relations';
|
||||
import '@umbraco-cms/backoffice/repository';
|
||||
import '@umbraco-cms/backoffice/resources';
|
||||
import '@umbraco-cms/backoffice/router';
|
||||
import '@umbraco-cms/backoffice/script';
|
||||
import '@umbraco-cms/backoffice/search';
|
||||
import '@umbraco-cms/backoffice/section';
|
||||
import '@umbraco-cms/backoffice/server-file-system';
|
||||
import '@umbraco-cms/backoffice/settings';
|
||||
import '@umbraco-cms/backoffice/sorter';
|
||||
import '@umbraco-cms/backoffice/static-file';
|
||||
import '@umbraco-cms/backoffice/store';
|
||||
import '@umbraco-cms/backoffice/style';
|
||||
import '@umbraco-cms/backoffice/stylesheet';
|
||||
import '@umbraco-cms/backoffice/sysinfo';
|
||||
import '@umbraco-cms/backoffice/tags';
|
||||
import '@umbraco-cms/backoffice/template';
|
||||
import '@umbraco-cms/backoffice/temporary-file';
|
||||
import '@umbraco-cms/backoffice/themes';
|
||||
import '@umbraco-cms/backoffice/tiny-mce';
|
||||
import '@umbraco-cms/backoffice/tree';
|
||||
import '@umbraco-cms/backoffice/ufm';
|
||||
import '@umbraco-cms/backoffice/user-group';
|
||||
import '@umbraco-cms/backoffice/user-permission';
|
||||
import '@umbraco-cms/backoffice/user';
|
||||
import '@umbraco-cms/backoffice/utils';
|
||||
import '@umbraco-cms/backoffice/validation';
|
||||
import '@umbraco-cms/backoffice/variant';
|
||||
import '@umbraco-cms/backoffice/webhook';
|
||||
import '@umbraco-cms/backoffice/workspace';
|
||||
import '@umbraco-cms/backoffice/external/backend-api';
|
||||
import '@umbraco-cms/backoffice/external/base64-js';
|
||||
import '@umbraco-cms/backoffice/external/diff';
|
||||
import '@umbraco-cms/backoffice/external/dompurify';
|
||||
import '@umbraco-cms/backoffice/external/lit';
|
||||
import '@umbraco-cms/backoffice/external/marked';
|
||||
import '@umbraco-cms/backoffice/external/monaco-editor';
|
||||
import '@umbraco-cms/backoffice/external/openid';
|
||||
import '@umbraco-cms/backoffice/external/router-slot';
|
||||
import '@umbraco-cms/backoffice/external/rxjs';
|
||||
import '@umbraco-cms/backoffice/external/tinymce';
|
||||
import '@umbraco-cms/backoffice/external/uui';
|
||||
import '@umbraco-cms/backoffice/external/uuid';
|
||||
6
src/Umbraco.Web.UI.Client/src/json-schema/tsconfig.json
Normal file
6
src/Umbraco.Web.UI.Client/src/json-schema/tsconfig.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["./*.ts", "./**/*.ts", "./**/*.json", "./**/*.js"],
|
||||
"exclude": ["./**/*.test.ts", "./**/*.stories.ts", "tsconfig.json", "rollup.config.js"]
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import './models/index.js';
|
||||
import './all-packages.js';
|
||||
|
||||
/**
|
||||
* Umbraco package manifest JSON
|
||||
@@ -48,7 +48,7 @@ function contextItemData(contextInstance: any): UmbDebugContextItemData {
|
||||
|
||||
case 'object':
|
||||
// Check if the object is an observable (by checking if it has a subscribe method/function)
|
||||
const isSubscribeLike = 'subscribe' in value && typeof value['subscribe'] === 'function';
|
||||
const isSubscribeLike = value && 'subscribe' in value && typeof value['subscribe'] === 'function';
|
||||
const isWebComponent = value instanceof HTMLElement;
|
||||
|
||||
let valueToDisplay = 'Complex Object';
|
||||
|
||||
@@ -3,7 +3,6 @@ import type { UmbExtensionRegistry } from '../registry/extension.registry.js';
|
||||
import type { SpecificManifestTypeOrManifestBase } from '../types/map.types.js';
|
||||
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
||||
import type { UmbElement } from '@umbraco-cms/backoffice/element-api';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { ReplaySubject } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
|
||||
/**
|
||||
@@ -11,7 +10,7 @@ import { ReplaySubject } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
*/
|
||||
export abstract class UmbExtensionInitializerBase<
|
||||
Key extends string,
|
||||
T extends ManifestBase = SpecificManifestTypeOrManifestBase<ManifestTypes, Key>,
|
||||
T extends ManifestBase = SpecificManifestTypeOrManifestBase<UmbExtensionManifest, Key>,
|
||||
> extends UmbControllerBase {
|
||||
protected host;
|
||||
protected extensionRegistry;
|
||||
|
||||
@@ -24,7 +24,7 @@ const privateManifests: PackageManifestResponse = [
|
||||
type: 'section',
|
||||
alias: 'My.Section.Custom',
|
||||
name: 'Custom Section',
|
||||
js: '/App_Plugins/section.js',
|
||||
element: '/App_Plugins/section.js',
|
||||
elementName: 'my-section-custom',
|
||||
weight: 1,
|
||||
meta: {
|
||||
@@ -36,7 +36,7 @@ const privateManifests: PackageManifestResponse = [
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'My.PropertyEditorUI.Custom',
|
||||
name: 'My Custom Property Editor UI',
|
||||
js: '/App_Plugins/property-editor.js',
|
||||
element: '/App_Plugins/property-editor.js',
|
||||
elementName: 'my-property-editor-ui-custom',
|
||||
meta: {
|
||||
label: 'My Custom Property',
|
||||
|
||||
@@ -21,6 +21,6 @@ export interface ManifestBlockEditorCustomView extends ManifestElement<UmbBlockE
|
||||
|
||||
declare global {
|
||||
interface UmbExtensionManifestMap {
|
||||
blockEditorCustomView: ManifestBlockEditorCustomView;
|
||||
umbBlockEditorCustomView: ManifestBlockEditorCustomView;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import type {
|
||||
UmbInvariantDatasetWorkspaceContext,
|
||||
UmbRoutableWorkspaceContext,
|
||||
UmbWorkspaceContext,
|
||||
ManifestWorkspace,
|
||||
} from '@umbraco-cms/backoffice/workspace';
|
||||
import {
|
||||
UmbSubmittableWorkspaceContextBase,
|
||||
@@ -13,7 +14,7 @@ import {
|
||||
import { UmbArrayState, UmbObjectState, appendToFrozenArray } from '@umbraco-cms/backoffice/observable-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
||||
import type { ManifestWorkspace, PropertyEditorSettingsProperty } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { PropertyEditorSettingsProperty } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbId } from '@umbraco-cms/backoffice/id';
|
||||
|
||||
export class UmbBlockGridAreaTypeWorkspaceContext
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import { manifests as workspaceViewManifests } from './views/manifests.js';
|
||||
import { UMB_BLOCK_GRID_AREA_TYPE_WORKSPACE_ALIAS } from './index.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbSubmitWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
...workspaceViewManifests,
|
||||
{
|
||||
type: 'workspace',
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { UMB_BLOCK_GRID_AREA_TYPE_WORKSPACE_ALIAS } from '../index.js';
|
||||
import type { ManifestTypes, ManifestWorkspaceView } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { ManifestWorkspaceView } from '@umbraco-cms/backoffice/workspace';
|
||||
|
||||
export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
{
|
||||
type: 'workspaceView',
|
||||
alias: 'Umb.WorkspaceView.BlockGridAreaType.Settings',
|
||||
name: 'Block Grid Area Type Workspace Settings View',
|
||||
js: () => import('./settings.element.js'),
|
||||
element: () => import('./settings.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: '#general_settings',
|
||||
@@ -22,4 +22,4 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
},
|
||||
];
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...workspaceViews];
|
||||
export const manifests: Array<UmbExtensionManifest> = [...workspaceViews];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { css, html, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/workspace';
|
||||
import { UMB_PROPERTY_DATASET_CONTEXT } from '@umbraco-cms/backoffice/property';
|
||||
import type { UmbChangeEvent } from '@umbraco-cms/backoffice/event';
|
||||
import type { UmbInputNumberRangeElement } from '@umbraco-cms/backoffice/components';
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import { manifests as componentManifests } from './components/manifests.js';
|
||||
import { manifests as propertyEditorManifests } from './property-editors/manifests.js';
|
||||
import { manifests as workspaceManifests } from './workspace/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
...workspaceManifests,
|
||||
...propertyEditorManifests,
|
||||
...componentManifests,
|
||||
|
||||
@@ -4,7 +4,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockGridAreaTypePermission',
|
||||
name: 'Block Grid Area Type Permission Configuration Property Editor UI',
|
||||
js: () => import('./block-grid-area-type-permission.element.js'),
|
||||
element: () => import('./block-grid-area-type-permission.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid Area Type Permissions',
|
||||
icon: 'icon-document',
|
||||
|
||||
@@ -4,7 +4,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockGridAreasConfig',
|
||||
name: 'Block Grid Areas Configuration Property Editor UI',
|
||||
js: () => import('./property-editor-ui-block-grid-areas-config.element.js'),
|
||||
element: () => import('./property-editor-ui-block-grid-areas-config.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid Areas Configuration',
|
||||
icon: 'icon-document',
|
||||
|
||||
@@ -4,7 +4,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockGridColumnSpan',
|
||||
name: 'Block Grid Column Span Property Editor UI',
|
||||
js: () => import('./property-editor-ui-block-grid-column-span.element.js'),
|
||||
element: () => import('./property-editor-ui-block-grid-column-span.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid Column Span',
|
||||
icon: 'icon-document',
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
import { manifest as blockGridSchemaManifest } from './Umbraco.BlockGrid.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_BLOCK_GRID_PROPERTY_EDITOR_ALIAS = 'Umbraco.BlockGrid';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockGrid',
|
||||
name: 'Block Grid Property Editor UI',
|
||||
js: () => import('./property-editor-ui-block-grid.element.js'),
|
||||
element: () => import('./property-editor-ui-block-grid.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid',
|
||||
propertyEditorSchemaAlias: UMB_BLOCK_GRID_PROPERTY_EDITOR_ALIAS,
|
||||
|
||||
@@ -4,7 +4,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockTypeGroupConfiguration',
|
||||
name: 'Block Grid Group Configuration Property Editor UI',
|
||||
js: () => import('./property-editor-ui-block-grid-group-configuration.element.js'),
|
||||
element: () => import('./property-editor-ui-block-grid-group-configuration.element.js'),
|
||||
meta: {
|
||||
label: '',
|
||||
icon: 'icon-box-alt',
|
||||
|
||||
@@ -4,7 +4,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockGridLayoutStylesheet',
|
||||
name: 'Block Grid Layout Stylesheet Property Editor UI',
|
||||
js: () => import('./property-editor-ui-block-grid-layout-stylesheet.element.js'),
|
||||
element: () => import('./property-editor-ui-block-grid-layout-stylesheet.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid Layout Stylesheet',
|
||||
icon: 'icon-document',
|
||||
|
||||
@@ -4,7 +4,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockGridTypeConfiguration',
|
||||
name: 'Block Grid Block Configuration Property Editor UI',
|
||||
js: () => import('./property-editor-ui-block-grid-type-configuration.element.js'),
|
||||
element: () => import('./property-editor-ui-block-grid-type-configuration.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid Block Configuration',
|
||||
icon: 'icon-autofill',
|
||||
|
||||
@@ -5,9 +5,8 @@ import { manifests as blockGridEditorManifests } from './block-grid-editor/manif
|
||||
import { manifest as blockGridGroupConfiguration } from './block-grid-group-configuration/manifests.js';
|
||||
import { manifest as blockGridLayoutStylesheet } from './block-grid-layout-stylesheet/manifests.js';
|
||||
import { manifest as blockGridTypeConfiguration } from './block-grid-type-configuration/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
blockGridAreaTypePermission,
|
||||
blockGridAreasConfigEditor,
|
||||
blockGridColumnSpan,
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { manifests as workspaceViewManifests } from './views/manifests.js';
|
||||
import { UMB_BLOCK_GRID_TYPE_WORKSPACE_ALIAS } from './index.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
...workspaceViewManifests,
|
||||
{
|
||||
type: 'workspace',
|
||||
|
||||
@@ -2,7 +2,7 @@ import { UMB_BLOCK_GRID } from '../../types.js';
|
||||
import { css, html, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/workspace';
|
||||
// Getting umb-block-type-custom-view-guide element
|
||||
import '@umbraco-cms/backoffice/block-type';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { css, html, customElement, state, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/workspace';
|
||||
import type { UmbPropertyEditorConfig } from '@umbraco-cms/backoffice/property-editor';
|
||||
import { UMB_DATA_TYPE_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/data-type';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { css, html, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/workspace';
|
||||
import { UMB_PROPERTY_DATASET_CONTEXT } from '@umbraco-cms/backoffice/property';
|
||||
import type { UmbInputNumberRangeElement } from '@umbraco-cms/backoffice/components';
|
||||
import { UMB_DATA_TYPE_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/data-type';
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import { UMB_BLOCK_GRID_TYPE_WORKSPACE_ALIAS } from '../index.js';
|
||||
import type { ManifestTypes, ManifestWorkspaceView } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'workspaceView',
|
||||
alias: 'Umb.WorkspaceView.BlockType.Grid.Settings',
|
||||
name: 'Block Grid Type Workspace Settings View',
|
||||
js: () => import('./block-grid-type-workspace-view-settings.element.js'),
|
||||
element: () => import('./block-grid-type-workspace-view-settings.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: '#general_settings',
|
||||
@@ -24,7 +23,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
type: 'workspaceView',
|
||||
alias: 'Umb.WorkspaceView.BlockType.Grid.Areas',
|
||||
name: 'Block Grid Type Workspace Areas View',
|
||||
js: () => import('./block-grid-type-workspace-view-areas.element.js'),
|
||||
element: () => import('./block-grid-type-workspace-view-areas.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: '#blockEditor_tabAreas',
|
||||
@@ -42,7 +41,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
type: 'workspaceView',
|
||||
alias: 'Umb.WorkspaceView.BlockType.Grid.Advance',
|
||||
name: 'Block Grid Type Workspace Advance View',
|
||||
js: () => import('./block-grid-type-workspace-view-advanced.element.js'),
|
||||
element: () => import('./block-grid-type-workspace-view-advanced.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: '#blockEditor_tabAdvanced',
|
||||
@@ -57,5 +56,3 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...workspaceViews];
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { manifests as propertyEditorManifests } from './property-editors/manifests.js';
|
||||
import { manifests as workspaceManifests } from './workspace/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...workspaceManifests, ...propertyEditorManifests];
|
||||
export const manifests: Array<UmbExtensionManifest> = [...workspaceManifests, ...propertyEditorManifests];
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
import { manifest as blockListSchemaManifest } from './Umbraco.BlockList.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_BLOCK_LIST_PROPERTY_EDITOR_ALIAS = 'Umbraco.BlockList';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockList',
|
||||
name: 'Block List Property Editor UI',
|
||||
js: () => import('./property-editor-ui-block-list.element.js'),
|
||||
element: () => import('./property-editor-ui-block-list.element.js'),
|
||||
meta: {
|
||||
label: 'Block List',
|
||||
propertyEditorSchemaAlias: UMB_BLOCK_LIST_PROPERTY_EDITOR_ALIAS,
|
||||
|
||||
@@ -118,7 +118,7 @@ export class UmbPropertyEditorUIBlockListElement
|
||||
* Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.
|
||||
* @type {boolean}
|
||||
* @attr
|
||||
* @default false
|
||||
* @default
|
||||
*/
|
||||
@property({ type: Boolean, reflect: true })
|
||||
public get readonly() {
|
||||
|
||||
@@ -4,7 +4,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.BlockListTypeConfiguration',
|
||||
name: 'Block List Type Configuration Property Editor UI',
|
||||
js: () => import('./property-editor-ui-block-list-type-configuration.element.js'),
|
||||
element: () => import('./property-editor-ui-block-list-type-configuration.element.js'),
|
||||
meta: {
|
||||
label: 'Block List Type Configuration',
|
||||
icon: 'icon-autofill',
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { manifest as blockListTypeConfiguration } from './block-list-type-configuration/manifests.js';
|
||||
import { manifests as blockGridEditorManifests } from './block-list-editor/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [blockListTypeConfiguration, ...blockGridEditorManifests];
|
||||
export const manifests: Array<UmbExtensionManifest> = [blockListTypeConfiguration, ...blockGridEditorManifests];
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { manifests as workspaceViewManifests } from './views/manifests.js';
|
||||
import { UMB_BLOCK_LIST_TYPE_WORKSPACE_ALIAS } from './index.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
...workspaceViewManifests,
|
||||
{
|
||||
type: 'workspace',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { css, html, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/workspace';
|
||||
|
||||
@customElement('umb-block-list-type-workspace-view-settings')
|
||||
export class UmbBlockListTypeWorkspaceViewSettingsElement extends UmbLitElement implements UmbWorkspaceViewElement {
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import { UMB_BLOCK_LIST_TYPE_WORKSPACE_ALIAS } from '../index.js';
|
||||
import type { ManifestTypes, ManifestWorkspaceView } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'workspaceView',
|
||||
alias: 'Umb.WorkspaceView.BlockType.List.Settings',
|
||||
name: 'Block List Type Workspace Settings View',
|
||||
js: () => import('./block-list-type-workspace-view.element.js'),
|
||||
element: () => import('./block-list-type-workspace-view.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: '#blockEditor_tabBlockSettings',
|
||||
@@ -21,5 +20,3 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...workspaceViews];
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { manifests as tinyMcePluginManifests } from './tiny-mce-plugin/manifests.js';
|
||||
import { manifests as workspaceManifests } from './workspace/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...tinyMcePluginManifests, ...workspaceManifests];
|
||||
export const manifests: Array<UmbExtensionManifest> = [...tinyMcePluginManifests, ...workspaceManifests];
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { manifests as workspaceViewManifests } from './views/manifests.js';
|
||||
import { UMB_BLOCK_RTE_TYPE_WORKSPACE_ALIAS } from './index.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
...workspaceViewManifests,
|
||||
{
|
||||
type: 'workspace',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { css, html, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/workspace';
|
||||
|
||||
@customElement('umb-block-rte-type-workspace-view-settings')
|
||||
export class UmbBlockRteTypeWorkspaceViewSettingsElement extends UmbLitElement implements UmbWorkspaceViewElement {
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import { UMB_BLOCK_RTE_TYPE_WORKSPACE_ALIAS } from '../index.js';
|
||||
import type { ManifestTypes, ManifestWorkspaceView } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'workspaceView',
|
||||
alias: 'Umb.WorkspaceView.BlockType.RTE.Settings',
|
||||
name: 'Block List Type Workspace Settings View',
|
||||
js: () => import('./block-rte-type-workspace-view.element.js'),
|
||||
element: () => import('./block-rte-type-workspace-view.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: '#general_settings',
|
||||
@@ -21,5 +20,3 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...workspaceViews];
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { manifests as workspaceManifests } from './workspace/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...workspaceManifests];
|
||||
export const manifests: Array<UmbExtensionManifest> = [...workspaceManifests];
|
||||
|
||||
@@ -5,6 +5,7 @@ import { UMB_PROPERTY_CONTEXT } from '@umbraco-cms/backoffice/property';
|
||||
import type {
|
||||
UmbInvariantDatasetWorkspaceContext,
|
||||
UmbRoutableWorkspaceContext,
|
||||
ManifestWorkspace,
|
||||
} from '@umbraco-cms/backoffice/workspace';
|
||||
import {
|
||||
UmbSubmittableWorkspaceContextBase,
|
||||
@@ -13,7 +14,6 @@ import {
|
||||
} from '@umbraco-cms/backoffice/workspace';
|
||||
import { UmbObjectState, appendToFrozenArray } from '@umbraco-cms/backoffice/observable-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import type { ManifestWorkspace } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export class UmbBlockTypeWorkspaceContext<BlockTypeData extends UmbBlockTypeWithGroupKey = UmbBlockTypeWithGroupKey>
|
||||
extends UmbSubmittableWorkspaceContextBase<BlockTypeData>
|
||||
|
||||
@@ -2,9 +2,8 @@ import { UMB_BLOCK_GRID_TYPE_WORKSPACE_ALIAS } from '../../block-grid/workspace/
|
||||
import { UMB_BLOCK_LIST_TYPE_WORKSPACE_ALIAS } from '../../block-list/workspace/index.js';
|
||||
import { UMB_BLOCK_RTE_TYPE_WORKSPACE_ALIAS } from '../../block-rte/workspace/index.js';
|
||||
import { UmbSubmitWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
|
||||
import type { ManifestWorkspaceActions } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestWorkspaceActions> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'workspaceAction',
|
||||
kind: 'default',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UMB_BLOCK_ENTRY_CONTEXT } from '../context/block-entry.context-token.js';
|
||||
import type { BlockEntryShowContentEditConditionConfig } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { BlockEntryShowContentEditConditionConfig } from './types.js';
|
||||
import { UmbConditionBase } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbConditionControllerArguments, UmbExtensionCondition } from '@umbraco-cms/backoffice/extension-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UMB_BLOCK_WORKSPACE_CONTEXT } from '../workspace/block-workspace.context-token.js';
|
||||
import type { BlockWorkspaceHasSettingsConditionConfig } from './types.js';
|
||||
import { UmbConditionBase } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { BlockWorkspaceHasSettingsConditionConfig } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbConditionControllerArguments, UmbExtensionCondition } from '@umbraco-cms/backoffice/extension-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import type { UmbConditionConfigBase } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
export type BlockWorkspaceHasSettingsConditionConfig =
|
||||
UmbConditionConfigBase<'Umb.Condition.BlockWorkspaceHasSettings'>;
|
||||
|
||||
export type BlockEntryShowContentEditConditionConfig =
|
||||
UmbConditionConfigBase<'Umb.Condition.BlockEntryShowContentEdit'>;
|
||||
|
||||
declare global {
|
||||
interface UmbExtensionConditionMap {
|
||||
umbBlock: BlockEntryShowContentEditConditionConfig | BlockWorkspaceHasSettingsConditionConfig;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
import { manifests as conditionManifests } from './conditions/manifests.js';
|
||||
import { manifests as modalManifests } from './modals/manifests.js';
|
||||
import { manifests as workspaceManifests } from './workspace/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...modalManifests, ...workspaceManifests, ...conditionManifests];
|
||||
export const manifests: Array<UmbExtensionManifest> = [...modalManifests, ...workspaceManifests, ...conditionManifests];
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
import type { ManifestModal, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
const modals: Array<ManifestModal> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'modal',
|
||||
alias: 'Umb.Modal.BlockCatalogue',
|
||||
name: 'Block Catalogue Modal',
|
||||
js: () => import('./block-catalogue/block-catalogue-modal.element.js'),
|
||||
element: () => import('./block-catalogue/block-catalogue-modal.element.js'),
|
||||
},
|
||||
];
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...modals];
|
||||
|
||||
@@ -5,10 +5,10 @@ import {
|
||||
UmbSubmittableWorkspaceContextBase,
|
||||
type UmbRoutableWorkspaceContext,
|
||||
UmbWorkspaceIsNewRedirectController,
|
||||
type ManifestWorkspace,
|
||||
} from '@umbraco-cms/backoffice/workspace';
|
||||
import { UmbClassState, UmbObjectState, UmbStringState } from '@umbraco-cms/backoffice/observable-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import type { ManifestWorkspace } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UMB_MODAL_CONTEXT, type UmbModalContext } from '@umbraco-cms/backoffice/modal';
|
||||
import { decodeFilePath, UmbReadOnlyVariantStateManager } from '@umbraco-cms/backoffice/utils';
|
||||
import {
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { UMB_BLOCK_WORKSPACE_ALIAS } from './index.js';
|
||||
import { UmbSubmitWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'workspaceAction',
|
||||
kind: 'default',
|
||||
@@ -35,7 +34,7 @@ export const manifests: Array<ManifestTypes> = [
|
||||
type: 'workspaceView',
|
||||
alias: 'Umb.WorkspaceView.Block.Content',
|
||||
name: 'Block Workspace Content View',
|
||||
js: () => import('./views/edit/block-workspace-view-edit.element.js'),
|
||||
element: () => import('./views/edit/block-workspace-view-edit.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: '#general_content',
|
||||
@@ -60,7 +59,7 @@ export const manifests: Array<ManifestTypes> = [
|
||||
type: 'workspaceView',
|
||||
alias: 'Umb.WorkspaceView.Block.Settings',
|
||||
name: 'Block Workspace Settings View',
|
||||
js: () => import('./views/edit/block-workspace-view-edit.element.js'),
|
||||
element: () => import('./views/edit/block-workspace-view-edit.element.js'),
|
||||
weight: 900,
|
||||
meta: {
|
||||
label: '#general_settings',
|
||||
|
||||
@@ -5,7 +5,7 @@ import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UmbContentTypeContainerStructureHelper } from '@umbraco-cms/backoffice/content-type';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import type { UmbPropertyTypeContainerModel } from '@umbraco-cms/backoffice/content-type';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/workspace';
|
||||
|
||||
/**
|
||||
* @element umb-block-workspace-view-edit-content-no-router
|
||||
|
||||
@@ -8,7 +8,7 @@ import { UmbContentTypeContainerStructureHelper } from '@umbraco-cms/backoffice/
|
||||
import type { UmbRoute, UmbRouterSlotChangeEvent, UmbRouterSlotInitEvent } from '@umbraco-cms/backoffice/router';
|
||||
import { encodeFolderName } from '@umbraco-cms/backoffice/router';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import type { ManifestWorkspaceView, UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { ManifestWorkspaceView, UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/workspace';
|
||||
|
||||
@customElement('umb-block-workspace-view-edit')
|
||||
export class UmbBlockWorkspaceViewEditElement extends UmbLitElement implements UmbWorkspaceViewElement {
|
||||
|
||||
@@ -4,11 +4,10 @@ import { manifests as blockListManifests } from './block-list/manifests.js';
|
||||
import { manifests as blockRteManifests } from './block-rte/manifests.js';
|
||||
import { manifests as blockTypeManifests } from './block-type/manifests.js';
|
||||
import { manifest as modalManifest } from './modals/manifest-viewer/manifest.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
// TODO: Remove test custom view, or transfer to test or similar?
|
||||
//import { manifest } from './custom-view/manifest.js';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
//manifest,
|
||||
...blockManifests,
|
||||
...blockTypeManifests,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { manifest as propertyEditorManifest } from './property-editor/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [propertyEditorManifest];
|
||||
export const manifests: Array<UmbExtensionManifest> = [propertyEditorManifest];
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import type { ManifestTypes } from '../extension-registry/models/index.js';
|
||||
import { manifests as modalManifests } from './modals/manifests.js';
|
||||
import { manifests as providerManifests } from './providers/manifests.js';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [...modalManifests, ...providerManifests];
|
||||
export const manifests: Array<UmbExtensionManifest> = [...modalManifests, ...providerManifests];
|
||||
|
||||
@@ -4,10 +4,11 @@ import { html, customElement, property, state, ifDefined } from '@umbraco-cms/ba
|
||||
import type { UUIButtonState } from '@umbraco-cms/backoffice/external/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbBackofficeManifestKind, ManifestCollectionAction } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbExtensionManifestKind } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { ManifestCollectionAction } from '@umbraco-cms/backoffice/collection';
|
||||
import { createExtensionApi } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
const manifest: UmbBackofficeManifestKind = {
|
||||
const manifest: UmbExtensionManifestKind = {
|
||||
type: 'kind',
|
||||
alias: 'Umb.Kind.CollectionAction.Button',
|
||||
matchKind: 'button',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ManifestCollectionView } from '../extension-registry/models/index.js';
|
||||
import type { ManifestCollectionView } from './extensions/index.js';
|
||||
import { umbExtensionsRegistry } from '../extension-registry/index.js';
|
||||
import { UmbCollectionViewManager } from './collection-view.manager.js';
|
||||
import { expect } from '@open-wc/testing';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { ManifestCollectionView } from './extensions/index.js';
|
||||
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
||||
import { UmbExtensionsManifestInitializer, createExtensionElement } from '@umbraco-cms/backoffice/extension-api';
|
||||
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbArrayState, UmbObjectState, UmbStringState } from '@umbraco-cms/backoffice/observable-api';
|
||||
import type { ManifestCollectionView } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import type { UmbRoute } from '@umbraco-cms/backoffice/router';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { UmbCollectionConfiguration } from './types.js';
|
||||
import type { ManifestCollection } from './extensions/index.js';
|
||||
import { customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbExtensionElementAndApiSlotElementBase } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { ManifestCollection } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbApi } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
const elementName = 'umb-collection';
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import type { UmbDefaultCollectionContext } from '../default/index.js';
|
||||
import { UMB_COLLECTION_CONTEXT } from '../default/index.js';
|
||||
import type { UmbCollectionLayoutConfiguration } from '../types.js';
|
||||
import type { ManifestCollectionView } from '../extensions/index.js';
|
||||
import { css, html, customElement, state, nothing, repeat, query } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { observeMultiple } from '@umbraco-cms/backoffice/observable-api';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UMB_ENTITY_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/workspace';
|
||||
import type { ManifestCollectionView } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UUIPopoverContainerElement } from '@umbraco-cms/backoffice/external/uui';
|
||||
|
||||
interface UmbCollectionViewLayout {
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
import { css, html, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import type { ManifestDashboardCollection } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
|
||||
@customElement('umb-dashboard-collection')
|
||||
export class UmbDashboardCollectionElement extends UmbLitElement {
|
||||
public manifest!: ManifestDashboardCollection;
|
||||
|
||||
// TODO: figure out what collection to render
|
||||
override render() {
|
||||
return html`<umb-collection></umb-collection>`;
|
||||
}
|
||||
|
||||
static override styles = [
|
||||
css`
|
||||
:host {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
gap: var(--uui-size-space-5);
|
||||
height: 100%;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
export default UmbDashboardCollectionElement;
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'umb-dashboard-collection': UmbDashboardCollectionElement;
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
import type { UmbDashboardCollectionElement } from './dashboard-collection.element.js';
|
||||
import type { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import './dashboard-collection.element.js';
|
||||
|
||||
export default {
|
||||
title: 'Dashboards/Media Management',
|
||||
component: 'umb-dashboard-collection',
|
||||
id: 'umb-dashboard-collection',
|
||||
} as Meta;
|
||||
|
||||
export const AAAOverview: Story<UmbDashboardCollectionElement> = () =>
|
||||
html` <umb-dashboard-collection></umb-dashboard-collection>`;
|
||||
AAAOverview.storyName = 'Overview';
|
||||
@@ -8,6 +8,7 @@ import type {
|
||||
} from '../types.js';
|
||||
import type { UmbCollectionFilterModel } from '../collection-filter-model.interface.js';
|
||||
import type { UmbCollectionRepository } from '../repository/collection-repository.interface.js';
|
||||
import type { ManifestCollection } from '../extensions/index.js';
|
||||
import { UMB_COLLECTION_CONTEXT } from './collection-default.context-token.js';
|
||||
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbArrayState, UmbNumberState, UmbObjectState } from '@umbraco-cms/backoffice/observable-api';
|
||||
@@ -15,7 +16,7 @@ import { UmbChangeEvent } from '@umbraco-cms/backoffice/event';
|
||||
import { UmbContextBase } from '@umbraco-cms/backoffice/class-api';
|
||||
import { UmbExtensionApiInitializer } from '@umbraco-cms/backoffice/extension-api';
|
||||
import { UmbSelectionManager, UmbPaginationManager } from '@umbraco-cms/backoffice/utils';
|
||||
import type { ManifestCollection, ManifestRepository } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { ManifestRepository } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbApi } from '@umbraco-cms/backoffice/extension-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import {
|
||||
|
||||
@@ -4,10 +4,10 @@ import { css, html, customElement, state } from '@umbraco-cms/backoffice/externa
|
||||
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import type { UmbBackofficeManifestKind } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbExtensionManifestKind } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { UmbRoute } from '@umbraco-cms/backoffice/router';
|
||||
|
||||
const manifest: UmbBackofficeManifestKind = {
|
||||
const manifest: UmbExtensionManifestKind = {
|
||||
type: 'kind',
|
||||
alias: 'Umb.Kind.Collection.Default',
|
||||
matchKind: 'default',
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import type { ConditionTypes } from '../conditions/types.js';
|
||||
import type { ManifestElementAndApi, ManifestWithDynamicConditions } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
/**
|
||||
@@ -6,7 +5,9 @@ import type { ManifestElementAndApi, ManifestWithDynamicConditions } from '@umbr
|
||||
* For example for content you may wish to create a new document etc
|
||||
*/
|
||||
// TODO: create interface for API
|
||||
export interface ManifestCollectionAction extends ManifestElementAndApi, ManifestWithDynamicConditions<ConditionTypes> {
|
||||
export interface ManifestCollectionAction
|
||||
extends ManifestElementAndApi,
|
||||
ManifestWithDynamicConditions<UmbExtensionCondition> {
|
||||
type: 'collectionAction';
|
||||
meta: MetaCollectionAction;
|
||||
}
|
||||
@@ -15,3 +16,9 @@ export interface MetaCollectionAction {
|
||||
label: string;
|
||||
href?: string;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface UmbExtensionManifestMap {
|
||||
umbCollectionAction: ManifestCollectionAction;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { ConditionTypes } from '../conditions/types.js';
|
||||
import type { ManifestElement, ManifestWithDynamicConditions } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
export interface ManifestCollectionView extends ManifestElement, ManifestWithDynamicConditions<ConditionTypes> {
|
||||
export interface ManifestCollectionView extends ManifestElement, ManifestWithDynamicConditions<UmbExtensionCondition> {
|
||||
type: 'collectionView';
|
||||
meta: MetaCollectionView;
|
||||
}
|
||||
@@ -37,3 +36,9 @@ export interface ConditionsCollectionView {
|
||||
*/
|
||||
entityType: string;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface UmbExtensionManifestMap {
|
||||
umbCollectionView: ManifestCollectionView;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
import type { ConditionTypes } from '../conditions/types.js';
|
||||
import type { ManifestElementAndApi, ManifestWithDynamicConditions } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
export interface ManifestCollection extends ManifestElementAndApi, ManifestWithDynamicConditions<ConditionTypes> {
|
||||
export interface ManifestCollection
|
||||
extends ManifestElementAndApi,
|
||||
ManifestWithDynamicConditions<UmbExtensionCondition> {
|
||||
type: 'collection';
|
||||
meta: MetaCollection;
|
||||
}
|
||||
@@ -9,3 +10,9 @@ export interface ManifestCollection extends ManifestElementAndApi, ManifestWithD
|
||||
export interface MetaCollection {
|
||||
repositoryAlias: string;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface UmbExtensionManifestMap {
|
||||
umbCollection: ManifestCollection;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export * from './collection-action.extension.js';
|
||||
export * from './collection-view.extension.js';
|
||||
export * from './collection.extension.js';
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user