diff --git a/app/imports/ui/components/ColorPicker.vue b/app/imports/ui/components/ColorPicker.vue index 43e104d4..1c0a5e86 100644 --- a/app/imports/ui/components/ColorPicker.vue +++ b/app/imports/ui/components/ColorPicker.vue @@ -1,193 +1,232 @@ - - - format_paint - - - - - - - - - check - - - - - - - - - - - - check - - - - - - - - - - Done - - + lazy + left + > + + format_paint + + + + + + + + check + + + + + + + + + + + check + + + + + + + + + + Clear + + + + Done + + + diff --git a/app/imports/ui/components/TreeDetailLayout.vue b/app/imports/ui/components/TreeDetailLayout.vue new file mode 100644 index 00000000..624b5c72 --- /dev/null +++ b/app/imports/ui/components/TreeDetailLayout.vue @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + diff --git a/app/imports/ui/components/global/TextArea.vue b/app/imports/ui/components/global/TextArea.vue index 000c3077..c1572553 100644 --- a/app/imports/ui/components/global/TextArea.vue +++ b/app/imports/ui/components/global/TextArea.vue @@ -21,7 +21,7 @@ props: { autoGrow: { type: Boolean, - default: true, + default: false, }, }, }; diff --git a/app/imports/ui/components/propertyToolbar.vue b/app/imports/ui/components/propertyToolbar.vue new file mode 100644 index 00000000..44b95de7 --- /dev/null +++ b/app/imports/ui/components/propertyToolbar.vue @@ -0,0 +1,116 @@ + + + + + {{ model.name || getPropertyName(model.type) }} + + + + + + + + + + more_vert + + + + + + Delete delete + + + + + + + + + + + done + + + create + + + + + + + + + diff --git a/app/imports/ui/components/tree/TreeNode.vue b/app/imports/ui/components/tree/TreeNode.vue index 3db9bfc0..804376f0 100644 --- a/app/imports/ui/components/tree/TreeNode.vue +++ b/app/imports/ui/components/tree/TreeNode.vue @@ -46,7 +46,7 @@ v-show="showExpanded" class="pl-3" > - + - - - - - - - - - - - + + - - - - {{ getPropertyName(selectedProperty && selectedProperty.type) }} - - - - create - + + - + + + - - - - - - + + + + + {{ getPropertyName(selectedProperty && selectedProperty.type) }} + + + + + create + + + + + + + + + + diff --git a/app/imports/ui/library/LibraryNodeDialog.vue b/app/imports/ui/library/LibraryNodeDialog.vue new file mode 100644 index 00000000..f72b1753 --- /dev/null +++ b/app/imports/ui/library/LibraryNodeDialog.vue @@ -0,0 +1,151 @@ + + + + change({path: ['color'], value})" + /> + + + + + + This property can't be viewed yet. + + + + + Done + + + + + + + + diff --git a/app/imports/ui/library/LibraryNodeEditDialog.vue b/app/imports/ui/library/LibraryNodeEditDialog.vue deleted file mode 100644 index 86c90072..00000000 --- a/app/imports/ui/library/LibraryNodeEditDialog.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - {{ getPropertyName(model.type) }} - - - - delete - - - - - - Done - - - - - - - - diff --git a/app/imports/ui/pages/Library.vue b/app/imports/ui/pages/Library.vue index abc433ec..72e1152c 100644 --- a/app/imports/ui/pages/Library.vue +++ b/app/imports/ui/pages/Library.vue @@ -1,6 +1,11 @@ - - + + diff --git a/app/imports/ui/theme.js b/app/imports/ui/theme.js index d0f2679b..2a9b0f9e 100644 --- a/app/imports/ui/theme.js +++ b/app/imports/ui/theme.js @@ -1,21 +1,21 @@ const theme = { - primary: "#B71C1C", - secondary: "#424242", - accent: "#B71C1C", - error: "#FF6D00", - warning: "#FFB300", - info: "#5C6BC0", - success: "#43A047", + primary: '#B71C1C', + secondary: '#424242', + accent: '#B71C1C', + error: '#FF6D00', + warning: '#FFB300', + info: '#5C6BC0', + success: '#43A047', }; const darkTheme = { - primary: "#f44336", - secondary: "#424242", - accent: "#f44336", - error: "#FF6D00", - warning: "#FFB300", - info: "#5C6BC0", - success: "#43A047", + primary: '#f44336', + secondary: '#757575', + accent: '#f44336', + error: '#FF6D00', + warning: '#FFB300', + info: '#5C6BC0', + success: '#43A047', }; export {theme, darkTheme}; diff --git a/app/imports/ui/utility/swapCase.js b/app/imports/ui/utility/swapCase.js index 55a377ef..d3d130a3 100644 --- a/app/imports/ui/utility/swapCase.js +++ b/app/imports/ui/utility/swapCase.js @@ -1,7 +1,9 @@ export function kebabToCamelCase(string){ + if (!string) return string; return string.replace(/-([a-z0-9])/g, g => g[1].toUpperCase()); -}; +} export function camelToKebabCase(string){ + if (!string) return string; return string.replace(/([a-z][A-Z0-9])/g, g => g[0] + '-' + g[1].toLowerCase()); -}; +}
+ This property can't be viewed yet. +