rename files to match file name conventions

This commit is contained in:
Niels Lyngsø
2020-06-26 12:28:43 +02:00
parent d950de7aa4
commit df8fb169bd
14 changed files with 12 additions and 12 deletions

View File

@@ -202,7 +202,7 @@
// Property Editors
@import "../views/propertyeditors/blockeditor/blockcard/umb-block-card-grid.less";
@import "../views/propertyeditors/blockeditor/blockcard/blockcard.component.less";
@import "../views/propertyeditors/blocklist/blocklist.component.less";
@import "../views/propertyeditors/blocklist/umb-block-list-property-editor.less";
@import "../views/propertyeditors/blocklist/prevalue/blocklist.blockconfiguration.less";
@import "../views/propertyeditors/blocklist/prevalue/blocklist.blockconfiguration.overlay.less";
@import "../views/propertyeditors/notsupported/notsupported.less";

View File

@@ -0,0 +1 @@
<umb-element-editor-content model="model.content"></umb-element-editor-content>

View File

@@ -28,7 +28,7 @@ angular.module("umbraco")
// replace view of content app.
var contentApp = apps.find(entry => entry.alias === "umbContent");
if(contentApp) {
contentApp.view = "views/common/infiniteeditors/elementeditor/elementeditor.content.html";
contentApp.view = "views/common/infiniteeditors/blockeditor/blockeditor.content.html";
if($scope.model.hideContent) {
apps.splice(apps.indexOf(contentApp), 1);
} else if ($scope.model.openSettings !== true) {
@@ -49,7 +49,7 @@ angular.module("umbraco")
"name": settingsName,
"alias": "settings",
"icon": "icon-settings",
"view": "views/common/infiniteeditors/elementeditor/elementeditor.settings.html"
"view": "views/common/infiniteeditors/blockeditor/blockeditor.settings.html"
};
vm.tabs.push(settingsTab);
if ($scope.model.openSettings) {
@@ -69,7 +69,7 @@ angular.module("umbraco")
vm.close = function() {
if ($scope.model && $scope.model.close) {
// TODO: If content has changed, we should notify user.
// TODO: check if content/settings has changed and ask user if they are sure.
$scope.model.close($scope.model);
}
}

View File

@@ -1,3 +0,0 @@
<div>
<umb-element-editor-content model="model.content"></umb-element-editor-content>
</div>

View File

@@ -4,7 +4,7 @@
angular
.module('umbraco.directives')
.component('umbElementEditorContent', {
templateUrl: 'views/common/infiniteeditors/elementeditor/elementEditor.content.component.html',
templateUrl: 'views/components/elementeditor/umb-element-editor-content.component.html',
controller: ElementEditorContentComponentController,
controllerAs: 'vm',
bindings: {

View File

@@ -1 +1 @@
<block-list-property-editor property-form="propertyForm" model="model"/>
<umb-block-list-property-editor property-form="propertyForm" model="model"/>

View File

@@ -6,6 +6,8 @@
* @name umbraco.directives.directive:umbBlockListScopedBlock
* @description
* The component for a style-scoped block of the block list property editor.
* Uses a ShadowDom to make a scoped element.
* This way the backoffice styling does not collide with the block style.
*/
angular

View File

@@ -4,7 +4,7 @@
/**
* @ngdoc directive
* @name umbraco.directives.directive:blockListPropertyEditor
* @name umbraco.directives.directive:umbBlockListPropertyEditor
* @function
*
* @description
@@ -12,8 +12,8 @@
*/
angular
.module("umbraco")
.component("blockListPropertyEditor", {
templateUrl: "views/propertyeditors/blocklist/blocklist.component.html",
.component("umbBlockListPropertyEditor", {
templateUrl: "views/propertyeditors/blocklist/umb-block-list-property-editor.html",
controller: BlockListController,
controllerAs: "vm",
bindings: {