diff --git a/@overflow/commons/ui/component/index.ts b/@overflow/commons/ui/component/index.ts index 8ed1e9e..8d61b07 100644 --- a/@overflow/commons/ui/component/index.ts +++ b/@overflow/commons/ui/component/index.ts @@ -3,6 +3,7 @@ import { } from './menu'; import { + DivComponent, DropdownPanelComponent, PopupPanelComponent, } from './primeng'; @@ -17,6 +18,7 @@ import { } from './window'; export const COMPONENTS = [ + DivComponent, DropdownPanelComponent, MenuBarComponent, PopupPanelComponent, diff --git a/@overflow/commons/ui/component/primeng/div.component.ts b/@overflow/commons/ui/component/primeng/div.component.ts new file mode 100644 index 0000000..49e8d63 --- /dev/null +++ b/@overflow/commons/ui/component/primeng/div.component.ts @@ -0,0 +1,24 @@ +import { + Component, ElementRef, Input, +} from '@angular/core'; +import { BlockableUI } from 'primeng/primeng'; + +@Component({ + selector: 'of-p-div', + template: ` +
+ +
+ `, +}) +export class DivComponent implements BlockableUI { + @Input() style: any; + + @Input() styleClass: string; + + constructor(private el: ElementRef) { } + + getBlockableElement(): HTMLElement { + return this.el.nativeElement.children[0]; + } +} diff --git a/@overflow/commons/ui/component/primeng/index.ts b/@overflow/commons/ui/component/primeng/index.ts index c245be3..870ba5b 100644 --- a/@overflow/commons/ui/component/primeng/index.ts +++ b/@overflow/commons/ui/component/primeng/index.ts @@ -1,2 +1,3 @@ +export { DivComponent } from './div.component'; export { DropdownPanelComponent } from './dropdown-panel.component'; export { PopupPanelComponent } from './popup-panel.component'; diff --git a/src/app/pages/home/home-page.component.html b/src/app/pages/home/home-page.component.html index 855500e..7a3fd5f 100644 --- a/src/app/pages/home/home-page.component.html +++ b/src/app/pages/home/home-page.component.html @@ -1,4 +1,4 @@ -
+
@@ -12,7 +12,6 @@ 를 이용해 주셔서 감사합니다.
좌측의 버튼을 클릭 하시면 기본 설정으로 스캐닝이 시작 됩니다. 설정의 변경을 원하시면 상단의 설정 영역을 클릭하여 변경이 가능합니다.
-
@@ -88,12 +87,13 @@
-
- + + + - +
-
\ No newline at end of file + \ No newline at end of file diff --git a/src/app/pages/pages.component.scss b/src/app/pages/pages.component.scss index 538f9b0..dd45904 100644 --- a/src/app/pages/pages.component.scss +++ b/src/app/pages/pages.component.scss @@ -2,6 +2,7 @@ min-height: 100vh; padding-bottom: 72px; } + .ui-menu-mode { display: flex; flex-direction: row;