@acorex/components 16.18.13 → 16.18.15
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/base/element.class.mjs +8 -2
- package/esm2022/lib/button/button.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +9 -3
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +1 -1
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/color-picker/color-box/color-box.component.mjs +1 -1
- package/esm2022/lib/color-picker/color-picker.component.mjs +3 -3
- package/esm2022/lib/context-menu/context-menu.component.mjs +9 -3
- package/esm2022/lib/data-filter/columns/filter-column-date.component.mjs +1 -1
- package/esm2022/lib/data-filter/columns/filter-column-number.component.mjs +1 -1
- package/esm2022/lib/data-filter/columns/filter-column-selection.component.mjs +1 -1
- package/esm2022/lib/data-filter/columns/filter-column-string.component.mjs +1 -1
- package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +9 -3
- package/esm2022/lib/data-filter/toolbar/filter-toolbar.component.mjs +1 -1
- package/esm2022/lib/data-list/list/list.component.mjs +3 -3
- package/esm2022/lib/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/lib/fieldset/fieldset.component.mjs +10 -3
- package/esm2022/lib/form-group/form-group.component.mjs +3 -3
- package/esm2022/lib/label/label.component.mjs +4 -3
- package/esm2022/lib/loading/loading-indicator.component.mjs +9 -3
- package/esm2022/lib/loading/loading-panel.component.mjs +9 -3
- package/esm2022/lib/menu/menu.component.mjs +9 -3
- package/esm2022/lib/number-box/number-box.component.mjs +3 -3
- package/esm2022/lib/panel-box/panel-box.component.mjs +9 -3
- package/esm2022/lib/password-box/password-box.component.mjs +3 -3
- package/esm2022/lib/popover/popover.component.mjs +10 -3
- package/esm2022/lib/popup/popup.component.mjs +11 -7
- package/esm2022/lib/popup/popup.service.mjs +6 -2
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +9 -3
- package/esm2022/lib/property-editor/editors/column-editor/column.editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/range-editor/range.editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/selection-editor/selection-editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/switch-editor/number.editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/text-editor/text.editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/time-editor/time.editor.mjs +1 -1
- package/esm2022/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +1 -1
- package/esm2022/lib/query-builder/query-builder-rule.component.mjs +1 -1
- package/esm2022/lib/search-bar/search-bar.component.mjs +9 -3
- package/esm2022/lib/searchbox/searchbox.component.mjs +9 -3
- package/esm2022/lib/selectbox/selectbox.component.mjs +10 -4
- package/esm2022/lib/selectbox/selectbox2.component.mjs +1 -1
- package/esm2022/lib/selection-list/selection-list.component.mjs +9 -3
- package/esm2022/lib/switch/switch.component.mjs +14 -7
- package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +3 -1
- package/esm2022/lib/tab-page/tab-page-host.component.mjs +7 -6
- package/esm2022/lib/tab-page/tab-page.service.mjs +7 -3
- package/esm2022/lib/tab-strip/tab-strip.component.mjs +9 -3
- package/esm2022/lib/tab-view/tab-view.component.mjs +10 -4
- package/esm2022/lib/tab-view/tab.component.mjs +9 -3
- package/esm2022/lib/textarea/textarea.component.mjs +15 -5
- package/esm2022/lib/textbox/textbox.component.mjs +15 -5
- package/esm2022/lib/time-picker/time-picker.component.mjs +10 -4
- package/esm2022/lib/toast/toast-message/toast-message.component.mjs +9 -3
- package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +27 -18
- package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +9 -3
- package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +9 -3
- package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +23 -8
- package/esm2022/lib/toolbar/toolbar.component.mjs +11 -5
- package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +9 -3
- package/esm2022/lib/tree-view/tree-view.component.mjs +9 -3
- package/esm2022/lib/upload-file/upload-file.component.mjs +9 -3
- package/fesm2022/acorex-components.mjs +357 -137
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/lib/base/element.class.d.ts +3 -1
- package/lib/calendar/calendar-box/calendar-box.component.d.ts +3 -1
- package/lib/context-menu/context-menu.component.d.ts +3 -1
- package/lib/data-filter/filter-panel/filter-panel.component.d.ts +3 -1
- package/lib/fieldset/fieldset.component.d.ts +3 -1
- package/lib/loading/loading-indicator.component.d.ts +3 -1
- package/lib/loading/loading-panel.component.d.ts +3 -1
- package/lib/menu/menu.component.d.ts +3 -1
- package/lib/panel-box/panel-box.component.d.ts +3 -1
- package/lib/popover/popover.component.d.ts +3 -1
- package/lib/popup/popup.component.d.ts +2 -0
- package/lib/popup/popup.service.d.ts +2 -0
- package/lib/progress-bar/progress-bar.component.d.ts +3 -1
- package/lib/search-bar/search-bar.component.d.ts +3 -1
- package/lib/searchbox/searchbox.component.d.ts +3 -1
- package/lib/selectbox/selectbox.component.d.ts +3 -1
- package/lib/selection-list/selection-list.component.d.ts +3 -1
- package/lib/switch/switch.component.d.ts +3 -1
- package/lib/tab-page/tab-page.service.d.ts +2 -0
- package/lib/tab-strip/tab-strip.component.d.ts +3 -1
- package/lib/tab-view/tab-view.component.d.ts +3 -1
- package/lib/tab-view/tab.component.d.ts +3 -1
- package/lib/textarea/textarea.component.d.ts +3 -1
- package/lib/textbox/textbox.component.d.ts +3 -1
- package/lib/time-picker/time-picker.component.d.ts +3 -1
- package/lib/toast/toast-message/toast-message.component.d.ts +3 -1
- package/lib/toolbar/group-button/toolbar-group-button.component.d.ts +6 -4
- package/lib/toolbar/menu/toolbar-menu.component.d.ts +3 -1
- package/lib/toolbar/search/toolbar-search.component.d.ts +3 -1
- package/lib/toolbar/title/toolbar-title.component.d.ts +3 -2
- package/lib/toolbar/toolbar.component.d.ts +3 -1
- package/lib/tree-side-menu/tree-side-menu.component.d.ts +3 -1
- package/lib/tree-view/tree-view.component.d.ts +3 -1
- package/lib/upload-file/upload-file.component.d.ts +3 -1
- package/package.json +1 -1
@@ -11,6 +11,8 @@ export class AXToastMessageComponent {
|
|
11
11
|
timeOut = 6000;
|
12
12
|
closeable = false;
|
13
13
|
type = 'info';
|
14
|
+
axId;
|
15
|
+
axClass;
|
14
16
|
style = 'info';
|
15
17
|
icon = '';
|
16
18
|
toastWidth = 100;
|
@@ -57,11 +59,11 @@ export class AXToastMessageComponent {
|
|
57
59
|
this.elRef.nativeElement.parentElement.removeChild(this.elRef.nativeElement);
|
58
60
|
}
|
59
61
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastMessageComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
60
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToastMessageComponent, selector: "ng-component", inputs: { title: "title", message: "message", timeOut: "timeOut", closeable: "closeable", type: "type" }, ngImport: i0, template: "<div class=\"toast-container\">\n <header *ngIf=\"title\" class=\"ax toast {{ style }}\">\n <div>\n <i class=\"{{icon}}\"></i> {{ title }}\n </div>\n <div *ngIf=\"closeable\" (click)=\"close()\" class=\"toast-close\">\n <i class=\"far fa-times\"></i>\n </div>\n </header>\n <div class=\"content ax toast {{ style }}\">\n {{ message }}\n <div *ngIf=\"!title && closeable\" (click)=\"close()\" class=\"toast-close\">\n <i class=\"far fa-times\"></i>\n </div>\n <div class=\"toast-progress\" [style.animation-duration.ms]=\"timeOut\"></div>\n </div>\n</div
|
62
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToastMessageComponent, selector: "ng-component", inputs: { title: "title", message: "message", timeOut: "timeOut", closeable: "closeable", type: "type", axId: "axId", axClass: "axClass" }, ngImport: i0, template: "<div \n class=\"toast-container {{axClass}}\" \n [attr.id]=\"axId\"\n>\n <header \n *ngIf=\"title\" \n class=\"ax toast {{ style }} {{axClass ? axClass + '-header' : ''}}\" \n [attr.id]=\"axId ? axId + '-header' : null\"\n >\n <div>\n <i class=\"{{icon}}\"></i> {{ title }}\n </div>\n <div \n *ngIf=\"closeable\" \n (click)=\"close()\" \n class=\"toast-close {{axClass ? axClass + '-close' : ''}}\" \n [attr.id]=\"axId ? axId + '-close' : null\"\n >\n <i class=\"far fa-times\"></i>\n </div>\n </header>\n <div \n class=\"content ax toast {{ style }} {{axClass ? axClass + '-content' : ''}}\" \n [attr.id]=\"axId ? axId + '-content' : null\"\n >\n {{ message }}\n <div \n *ngIf=\"!title && closeable\" \n (click)=\"close()\" \n class=\"toast-close {{axClass ? axClass + '-close' : ''}}\" \n [attr.id]=\"axId ? axId + '-close' : null\"\n >\n <i class=\"far fa-times\"></i>\n </div>\n <div \n class=\"toast-progress\" \n [style.animation-duration.ms]=\"timeOut\"\n [attr.id]=\"axId ? axId + '-progress' : null\"\n ></div>\n </div>\n</div>\n", styles: [".rtl .toast-progress{right:0;left:inherit!important}.toast-container{overflow:hidden;margin:.8rem 0;box-shadow:0 3px 6px #00000029,0 3px 6px #0000003b;animation:slide-in-bottom .3s cubic-bezier(.25,.46,.45,.94) both;-webkit-animation:slide-in-bottom .3s cubic-bezier(.25,.46,.45,.94) both;border-radius:var(--ax-size-border-radius)}.toast-container header{display:flex;justify-content:space-between;align-items:center;padding:.5rem .8rem;font-weight:500}.toast-container .content{padding:1rem;display:flex;align-items:center;justify-content:space-between}.toast-container .toast-close{cursor:pointer;font-size:1rem}.toast-container .toast-progress{position:absolute;background:#00000080;width:100%;bottom:0;left:0;height:6px;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar}@keyframes progressBar{0%{width:100%}to{width:0%}}@keyframes slide-in-top{0%{transform:translateY(-1000px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-in-bottom{0%{transform:translateY(1000px);opacity:0}to{transform:translateY(0);opacity:1}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
61
63
|
}
|
62
64
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastMessageComponent, decorators: [{
|
63
65
|
type: Component,
|
64
|
-
args: [{ encapsulation: ViewEncapsulation.None, template: "<div class=\"toast-container\">\n <header *ngIf=\"title\" class=\"ax toast {{ style }}\">\n <div>\n <i class=\"{{icon}}\"></i> {{ title }}\n </div>\n <div *ngIf=\"closeable\" (click)=\"close()\" class=\"toast-close\">\n <i class=\"far fa-times\"></i>\n </div>\n </header>\n <div class=\"content ax toast {{ style }}\">\n {{ message }}\n <div *ngIf=\"!title && closeable\" (click)=\"close()\" class=\"toast-close\">\n <i class=\"far fa-times\"></i>\n </div>\n <div class=\"toast-progress\" [style.animation-duration.ms]=\"timeOut\"></div>\n </div>\n</div
|
66
|
+
args: [{ encapsulation: ViewEncapsulation.None, template: "<div \n class=\"toast-container {{axClass}}\" \n [attr.id]=\"axId\"\n>\n <header \n *ngIf=\"title\" \n class=\"ax toast {{ style }} {{axClass ? axClass + '-header' : ''}}\" \n [attr.id]=\"axId ? axId + '-header' : null\"\n >\n <div>\n <i class=\"{{icon}}\"></i> {{ title }}\n </div>\n <div \n *ngIf=\"closeable\" \n (click)=\"close()\" \n class=\"toast-close {{axClass ? axClass + '-close' : ''}}\" \n [attr.id]=\"axId ? axId + '-close' : null\"\n >\n <i class=\"far fa-times\"></i>\n </div>\n </header>\n <div \n class=\"content ax toast {{ style }} {{axClass ? axClass + '-content' : ''}}\" \n [attr.id]=\"axId ? axId + '-content' : null\"\n >\n {{ message }}\n <div \n *ngIf=\"!title && closeable\" \n (click)=\"close()\" \n class=\"toast-close {{axClass ? axClass + '-close' : ''}}\" \n [attr.id]=\"axId ? axId + '-close' : null\"\n >\n <i class=\"far fa-times\"></i>\n </div>\n <div \n class=\"toast-progress\" \n [style.animation-duration.ms]=\"timeOut\"\n [attr.id]=\"axId ? axId + '-progress' : null\"\n ></div>\n </div>\n</div>\n", styles: [".rtl .toast-progress{right:0;left:inherit!important}.toast-container{overflow:hidden;margin:.8rem 0;box-shadow:0 3px 6px #00000029,0 3px 6px #0000003b;animation:slide-in-bottom .3s cubic-bezier(.25,.46,.45,.94) both;-webkit-animation:slide-in-bottom .3s cubic-bezier(.25,.46,.45,.94) both;border-radius:var(--ax-size-border-radius)}.toast-container header{display:flex;justify-content:space-between;align-items:center;padding:.5rem .8rem;font-weight:500}.toast-container .content{padding:1rem;display:flex;align-items:center;justify-content:space-between}.toast-container .toast-close{cursor:pointer;font-size:1rem}.toast-container .toast-progress{position:absolute;background:#00000080;width:100%;bottom:0;left:0;height:6px;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar}@keyframes progressBar{0%{width:100%}to{width:0%}}@keyframes slide-in-top{0%{transform:translateY(-1000px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-in-bottom{0%{transform:translateY(1000px);opacity:0}to{transform:translateY(0);opacity:1}}\n"] }]
|
65
67
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { title: [{
|
66
68
|
type: Input
|
67
69
|
}], message: [{
|
@@ -72,5 +74,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
72
74
|
type: Input
|
73
75
|
}], type: [{
|
74
76
|
type: Input
|
77
|
+
}], axId: [{
|
78
|
+
type: Input
|
79
|
+
}], axClass: [{
|
80
|
+
type: Input
|
75
81
|
}] } });
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QtbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b2FzdC90b2FzdC1tZXNzYWdlL3RvYXN0LW1lc3NhZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9hc3QvdG9hc3QtbWVzc2FnZS90b2FzdC1tZXNzYWdlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLFVBQVUsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBT3hGLE1BQU0sT0FBTyx1QkFBdUI7SUFDZDtJQUFwQixZQUFvQixLQUFpQjtRQUFqQixVQUFLLEdBQUwsS0FBSyxDQUFZO0lBQUksQ0FBQztJQUVqQyxLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLE9BQU8sQ0FBUztJQUNoQixPQUFPLEdBQVcsSUFBSSxDQUFDO0lBQ3ZCLFNBQVMsR0FBWSxLQUFLLENBQUM7SUFFM0IsSUFBSSxHQUE2QyxNQUFNLENBQUM7SUFFeEQsSUFBSSxDQUFVO0lBRWQsT0FBTyxDQUFVO0lBRTFCLEtBQUssR0FBVyxNQUFNLENBQUM7SUFDdkIsSUFBSSxHQUFXLEVBQUUsQ0FBQztJQUNsQixVQUFVLEdBQVcsR0FBRyxDQUFDO0lBRXpCLFFBQVE7UUFDTixJQUFJLElBQUksQ0FBQyxPQU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ZWFkZXInIDogbnVsbFwiXG4gICAgPlxuICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgPGkgY2xhc3M9XCJ7e2ljb259fVwiPjwvaT4mbmJzcDsge3sgdGl0bGUgfX1cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXYgXG4gICAgICAgICAgKm5nSWY9XCJjbG9zZWFibGVcIiBcbiAgICAgICAgICAoY2xpY2spPVwiY2xvc2UoKVwiIFxuICAgICAgICAgIGNsYXNzPVwidG9hc3QtY2xvc2Uge3theENsYXNzID8gYXhDbGFzcyArICctY2xvc2UnIDogJyd9fVwiIFxuICAgICAgICAgIFthdHRyLmlkXT1cImF4SWQgPyBheElkICsgJy1jbG9zZScgOiBudWxsXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPGkgY2xhc3M9XCJmYXIgZmEtdGltZXNcIj48L2k+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvaGVhZGVyPlxuICAgIDxkaXYgXG4gICAgICBjbGFzcz1cImNvbnRlbnQgYXggdG9hc3Qge3sgc3R5bGUgfX0ge3theENsYXNzID8gYXhDbGFzcyArICctY29udGVudCcgOiAnJ319XCIgXG4gICAgICBbYXR0ci5pZF09XCJheElkID8gYXhJZCArICctY29udGVudCcgOiBudWxsXCJcbiAgICA+XG4gICAgICAgIHt7IG1lc3NhZ2UgfX1cbiAgICAgICAgPGRpdiBcbiAgICAgICAgICAqbmdJZj1cIiF0aXRsZSAmJiBjbG9zZWFibGVcIiBcbiAgICAgICAgICAoY2xpY2spPVwiY2xvc2UoKVwiIFxuICAgICAgICAgIGNsYXNzPVwidG9hc3QtY2xvc2Uge3theENsYXNzID8gYXhDbGFzcyArICctY2xvc2UnIDogJyd9fVwiIFxuICAgICAgICAgIFthdHRyLmlkXT1cImF4SWQgPyBheElkICsgJy1jbG9zZScgOiBudWxsXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPGkgY2xhc3M9XCJmYXIgZmEtdGltZXNcIj48L2k+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IFxuICAgICAgICAgIGNsYXNzPVwidG9hc3QtcHJvZ3Jlc3NcIiBcbiAgICAgICAgICBbc3R5bGUuYW5pbWF0aW9uLWR1cmF0aW9uLm1zXT1cInRpbWVPdXRcIlxuICAgICAgICAgIFthdHRyLmlkXT1cImF4SWQgPyBheElkICsgJy1wcm9ncmVzcycgOiBudWxsXCJcbiAgICAgICAgPjwvZGl2PlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
@@ -1,14 +1,16 @@
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from
|
2
|
-
import { AXToolbarItem } from
|
1
|
+
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
2
|
+
import { AXToolbarItem } from '../toolbar-item';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "@angular/common";
|
5
5
|
export class AXToolbarButtonGroupComponent {
|
6
|
-
|
6
|
+
axId;
|
7
|
+
axClass;
|
7
8
|
items = [];
|
8
9
|
itemClick = new EventEmitter();
|
9
|
-
mode =
|
10
|
+
mode = 'single';
|
11
|
+
constructor() { }
|
10
12
|
onClick(item) {
|
11
|
-
if (this.mode
|
13
|
+
if (this.mode === 'single') {
|
12
14
|
this.items.forEach(c => {
|
13
15
|
c.selected = false;
|
14
16
|
});
|
@@ -16,20 +18,19 @@ export class AXToolbarButtonGroupComponent {
|
|
16
18
|
this.itemClick.emit(item);
|
17
19
|
}
|
18
20
|
else {
|
19
|
-
|
20
|
-
|
21
|
-
}
|
22
|
-
else {
|
23
|
-
item.selected = true;
|
24
|
-
this.itemClick.emit(item);
|
25
|
-
}
|
21
|
+
item.selected = !item.selected;
|
22
|
+
this.itemClick.emit(item);
|
26
23
|
}
|
27
24
|
}
|
28
25
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarButtonGroupComponent, selector: "ax-toolbar-group-button", inputs: { items: "items", mode: "mode" }, outputs: { itemClick: "itemClick" }, providers: [
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarButtonGroupComponent, selector: "ax-toolbar-group-button", inputs: { axId: "axId", axClass: "axClass", items: "items", mode: "mode" }, outputs: { itemClick: "itemClick" }, providers: [
|
30
27
|
{ provide: AXToolbarItem, useExisting: AXToolbarButtonGroupComponent }
|
31
28
|
], ngImport: i0, template: `
|
32
|
-
<div
|
29
|
+
<div
|
30
|
+
class="btn-group {{axClass}}"
|
31
|
+
role="group"
|
32
|
+
[attr.id]="axId"
|
33
|
+
>
|
33
34
|
<button
|
34
35
|
type="button"
|
35
36
|
*ngFor="let item of items"
|
@@ -47,9 +48,13 @@ export class AXToolbarButtonGroupComponent {
|
|
47
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarButtonGroupComponent, decorators: [{
|
48
49
|
type: Component,
|
49
50
|
args: [{
|
50
|
-
selector:
|
51
|
+
selector: 'ax-toolbar-group-button',
|
51
52
|
template: `
|
52
|
-
<div
|
53
|
+
<div
|
54
|
+
class="btn-group {{axClass}}"
|
55
|
+
role="group"
|
56
|
+
[attr.id]="axId"
|
57
|
+
>
|
53
58
|
<button
|
54
59
|
type="button"
|
55
60
|
*ngFor="let item of items"
|
@@ -67,11 +72,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
67
72
|
{ provide: AXToolbarItem, useExisting: AXToolbarButtonGroupComponent }
|
68
73
|
]
|
69
74
|
}]
|
70
|
-
}], ctorParameters: () => [], propDecorators: {
|
75
|
+
}], ctorParameters: () => [], propDecorators: { axId: [{
|
76
|
+
type: Input
|
77
|
+
}], axClass: [{
|
78
|
+
type: Input
|
79
|
+
}], items: [{
|
71
80
|
type: Input
|
72
81
|
}], itemClick: [{
|
73
82
|
type: Output
|
74
83
|
}], mode: [{
|
75
84
|
type: Input
|
76
85
|
}] } });
|
77
|
-
//# sourceMappingURL=data:application/json;base64,
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1ncm91cC1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9ncm91cC1idXR0b24vdG9vbGJhci1ncm91cC1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdkUsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7QUEyQmhELE1BQU0sT0FBTyw2QkFBNkI7SUFDL0IsSUFBSSxDQUFVO0lBRWQsT0FBTyxDQUFVO0lBRWpCLEtBQUssR0FBcUIsRUFBRSxDQUFDO0lBRTVCLFNBQVMsR0FBaUMsSUFBSSxZQUFZLEVBQWtCLENBQUM7SUFFOUUsSUFBSSxHQUEwQixRQUFRLENBQUM7SUFFaEQsZ0JBQWdCLENBQUM7SUFFakIsT0FBTyxDQUFDLElBQW9CO1FBQzFCLElBQUksSUFBSSxDQUFDLElBQUksS0FBSyxRQUFRLEVBQUUsQ0FBQztZQUMzQixJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsRUFBRTtnQkFDckIsQ0FBQyxDQUFDLFFBQVEsR0FBRyxLQUFLLENBQUM7WUFDckIsQ0FBQyxDQUFDLENBQUM7WUFDSCxJQUFJL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CkgaXRlbUNsaWNrOiBFdmVudEVtaXR0ZXI8QVhCYXNlTWVudUl0ZW0+ID0gbmV3IEV2ZW50RW1pdHRlcjxBWEJhc2VNZW51SXRlbT4oKTtcblxuICBASW5wdXQoKSBtb2RlOiAnc2luZ2xlJyB8ICdtdWx0aXBsZScgPSAnc2luZ2xlJztcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIG9uQ2xpY2soaXRlbTogQVhCYXNlTWVudUl0ZW0pIHtcbiAgICBpZiAodGhpcy5tb2RlID09PSAnc2luZ2xlJykge1xuICAgICAgdGhpcy5pdGVtcy5mb3JFYWNoKGMgPT4ge1xuICAgICAgICBjLnNlbGVjdGVkID0gZmFsc2U7XG4gICAgICB9KTtcbiAgICAgIGl0ZW0uc2VsZWN0ZWQgPSB0cnVlO1xuICAgICAgdGhpcy5pdGVtQ2xpY2suZW1pdChpdGVtKTtcbiAgICB9IGVsc2Uge1xuICAgICAgaXRlbS5zZWxlY3RlZCA9ICFpdGVtLnNlbGVjdGVkO1xuICAgICAgdGhpcy5pdGVtQ2xpY2suZW1pdChpdGVtKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -29,6 +29,8 @@ export class AXToolbarMenuComponent extends AXToolbarItem {
|
|
29
29
|
this._items = v;
|
30
30
|
this.update();
|
31
31
|
}
|
32
|
+
axId;
|
33
|
+
axClass;
|
32
34
|
handleItemClick(item) {
|
33
35
|
this.onItemClick.emit(item);
|
34
36
|
}
|
@@ -40,11 +42,11 @@ export class AXToolbarMenuComponent extends AXToolbarItem {
|
|
40
42
|
this.cdr.detectChanges();
|
41
43
|
}
|
42
44
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarMenuComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarMenuComponent, selector: "ax-toolbar-menu", inputs: { menuTemplate: "menuTemplate", floatPlacemnet: "floatPlacemnet", selection: "selection", items: "items" }, outputs: { onItemClick: "onItemClick" }, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarMenuComponent }], queries: [{ propertyName: "_contentMenuTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], viewQueries: [{ propertyName: "menu", first: true, predicate: ["menu"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-toolbar-menu-container\">\n <ax-menu\n #menu\n [items]=\"items\"\n [selection]=\"selection\"\n (onItemClick)=\"handleItemClick($event)\"\n [menuTemplate]=\"menuTemplate\"\n [floatPlacemnet]=\"floatPlacemnet\"\n >\n </ax-menu>\n</div>\n", dependencies: [{ kind: "component", type: i1.AXMenuComponent, selector: "ax-menu", inputs: ["menuTemplate", "rtl", "size", "selection", "mode", "target", "floatAlignment", "floatPlacemnet", "direction", "items"], outputs: ["onItemClick"] }], encapsulation: i0.ViewEncapsulation.None });
|
45
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarMenuComponent, selector: "ax-toolbar-menu", inputs: { menuTemplate: "menuTemplate", floatPlacemnet: "floatPlacemnet", selection: "selection", items: "items", axId: "axId", axClass: "axClass" }, outputs: { onItemClick: "onItemClick" }, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarMenuComponent }], queries: [{ propertyName: "_contentMenuTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], viewQueries: [{ propertyName: "menu", first: true, predicate: ["menu"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div \n class=\"ax-toolbar-menu-container {{axClass}}\" \n [attr.id]=\"axId\"\n>\n <ax-menu\n #menu\n [items]=\"items\"\n [selection]=\"selection\"\n (onItemClick)=\"handleItemClick($event)\"\n [menuTemplate]=\"menuTemplate\"\n [floatPlacemnet]=\"floatPlacemnet\"\n [attr.id]=\"axId ? axId + '-menu' : null\"\n [attr.class]=\"axClass\"\n >\n </ax-menu>\n</div>\n", dependencies: [{ kind: "component", type: i1.AXMenuComponent, selector: "ax-menu", inputs: ["menuTemplate", "rtl", "size", "selection", "mode", "target", "floatAlignment", "floatPlacemnet", "direction", "items", "axId", "axClass"], outputs: ["onItemClick"] }], encapsulation: i0.ViewEncapsulation.None });
|
44
46
|
}
|
45
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarMenuComponent, decorators: [{
|
46
48
|
type: Component,
|
47
|
-
args: [{ selector: 'ax-toolbar-menu', providers: [{ provide: AXToolbarItem, useExisting: AXToolbarMenuComponent }], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-toolbar-menu-container\">\n <ax-menu\n #menu\n [items]=\"items\"\n [selection]=\"selection\"\n (onItemClick)=\"handleItemClick($event)\"\n [menuTemplate]=\"menuTemplate\"\n [floatPlacemnet]=\"floatPlacemnet\"\n >\n </ax-menu>\n</div>\n" }]
|
49
|
+
args: [{ selector: 'ax-toolbar-menu', providers: [{ provide: AXToolbarItem, useExisting: AXToolbarMenuComponent }], encapsulation: ViewEncapsulation.None, template: "<div \n class=\"ax-toolbar-menu-container {{axClass}}\" \n [attr.id]=\"axId\"\n>\n <ax-menu\n #menu\n [items]=\"items\"\n [selection]=\"selection\"\n (onItemClick)=\"handleItemClick($event)\"\n [menuTemplate]=\"menuTemplate\"\n [floatPlacemnet]=\"floatPlacemnet\"\n [attr.id]=\"axId ? axId + '-menu' : null\"\n [attr.class]=\"axClass\"\n >\n </ax-menu>\n</div>\n" }]
|
48
50
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { menu: [{
|
49
51
|
type: ViewChild,
|
50
52
|
args: ['menu', { static: true }]
|
@@ -61,5 +63,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
61
63
|
type: Input
|
62
64
|
}], items: [{
|
63
65
|
type: Input
|
66
|
+
}], axId: [{
|
67
|
+
type: Input
|
68
|
+
}], axClass: [{
|
69
|
+
type: Input
|
64
70
|
}] } });
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL3Rvb2xiYXIvbWVudS90b29sYmFyLW1lbnUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9tZW51L3Rvb2xiYXItbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ04sV0FBVyxFQUNYLFNBQVMsRUFDVCxpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNMLGVBQWUsR0FFaEIsTUFBTSwyQkFBMkIsQ0FBQztBQUNuQyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7OztBQVFoRCxNQUFNLE9BQU8sc0JBQXVCLFNBQVEsYUFBYTtJQUNuQztJQUFwQixZQUFvQixHQUFzQjtRQUN4QyxLQUFLLEVBQUUsQ0FBQztRQURVLFFBQUcsR0FBSCxHQUFHLENBQW1CO0lBRTFDLENBQUM7SUFFb0MsSUFBSSxDQUFrQjtJQUczRCxXQUFXLEdBQ1QsSUFBSSxZQUFZLEVBQXdCLENBQUM7SUFHM0Msb0JBQW9CLENBQW1CO0lBRS9CLGFBQWEsQ0FBbUI7SU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XG4gICAgW3NlbGVjdGlvbl09XCJzZWxlY3Rpb25cIlxuICAgIChvbkl0ZW1DbGljayk9XCJoYW5kbGVJdGVtQ2xpY2soJGV2ZW50KVwiXG4gICAgW21lbnVUZW1wbGF0ZV09XCJtZW51VGVtcGxhdGVcIlxuICAgIFtmbG9hdFBsYWNlbW5ldF09XCJmbG9hdFBsYWNlbW5ldFwiXG4gICAgW2F0dHIuaWRdPVwiYXhJZCA/IGF4SWQgKyAnLW1lbnUnIDogbnVsbFwiXG4gICAgW2F0dHIuY2xhc3NdPVwiYXhDbGFzc1wiXG4gID5cbiAgPC9heC1tZW51PlxuPC9kaXY+XG4iXX0=
|
@@ -23,6 +23,8 @@ export class AXToolbarSearchComponent {
|
|
23
23
|
});
|
24
24
|
}
|
25
25
|
}
|
26
|
+
axId;
|
27
|
+
axClass;
|
26
28
|
focus() {
|
27
29
|
this.inputSearch.nativeElement.focus();
|
28
30
|
}
|
@@ -40,11 +42,11 @@ export class AXToolbarSearchComponent {
|
|
40
42
|
this.searchChangeObserver.next(text);
|
41
43
|
}
|
42
44
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarSearchComponent, selector: "ax-toolbar-search", inputs: { text: "text" }, outputs: { onValueChanged: "onValueChanged" }, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarSearchComponent }], viewQueries: [{ propertyName: "inputSearch", first: true, predicate: ["input"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"search-bar\">\n <input #input type=\"text\" placeholder=\"\u062C\u0633\u062A\u062C\u0648 ...\" (input)=\"onSearchChanged($event.target.value)\" />\n <i class=\"far fa-search text-secondary\"></i>\n</div
|
45
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarSearchComponent, selector: "ax-toolbar-search", inputs: { text: "text", axId: "axId", axClass: "axClass" }, outputs: { onValueChanged: "onValueChanged" }, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarSearchComponent }], viewQueries: [{ propertyName: "inputSearch", first: true, predicate: ["input"], descendants: true, static: true }], ngImport: i0, template: "<div \n class=\"search-bar {{axClass}}\" \n [attr.id]=\"axId\"\n>\n <input \n #input \n type=\"text\" \n placeholder=\"\u062C\u0633\u062A\u062C\u0648 ...\" \n (input)=\"onSearchChanged($event.target.value)\" \n [attr.id]=\"axId ? axId + '-input' : null\"\n [attr.class]=\"axClass ? axClass + '-input' : null\"\n />\n <i \n class=\"far fa-search text-secondary\"\n [attr.id]=\"axId ? axId + '-icon' : null\"\n [attr.class]=\"axClass ? axClass + '-icon' : null\"\n ></i>\n</div>\n", styles: [".search-bar{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--ax-border-color);border-radius:var(--ax-size-border-radius);padding:.3em .6em;background:var(--ax-white-color)}.search-bar input{border:none!important;background-color:transparent;outline-color:transparent!important;flex:1;font-family:inherit;font-size:inherit}.search-bar input::placeholder{color:var(--ax-gray-color)}.search-bar i{color:var(--ax-gray-color)}\n"] });
|
44
46
|
}
|
45
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarSearchComponent, decorators: [{
|
46
48
|
type: Component,
|
47
|
-
args: [{ selector: 'ax-toolbar-search', providers: [{ provide: AXToolbarItem, useExisting: AXToolbarSearchComponent }], template: "<div class=\"search-bar\">\n <input #input type=\"text\" placeholder=\"\u062C\u0633\u062A\u062C\u0648 ...\" (input)=\"onSearchChanged($event.target.value)\" />\n <i class=\"far fa-search text-secondary\"></i>\n</div
|
49
|
+
args: [{ selector: 'ax-toolbar-search', providers: [{ provide: AXToolbarItem, useExisting: AXToolbarSearchComponent }], template: "<div \n class=\"search-bar {{axClass}}\" \n [attr.id]=\"axId\"\n>\n <input \n #input \n type=\"text\" \n placeholder=\"\u062C\u0633\u062A\u062C\u0648 ...\" \n (input)=\"onSearchChanged($event.target.value)\" \n [attr.id]=\"axId ? axId + '-input' : null\"\n [attr.class]=\"axClass ? axClass + '-input' : null\"\n />\n <i \n class=\"far fa-search text-secondary\"\n [attr.id]=\"axId ? axId + '-icon' : null\"\n [attr.class]=\"axClass ? axClass + '-icon' : null\"\n ></i>\n</div>\n", styles: [".search-bar{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--ax-border-color);border-radius:var(--ax-size-border-radius);padding:.3em .6em;background:var(--ax-white-color)}.search-bar input{border:none!important;background-color:transparent;outline-color:transparent!important;flex:1;font-family:inherit;font-size:inherit}.search-bar input::placeholder{color:var(--ax-gray-color)}.search-bar i{color:var(--ax-gray-color)}\n"] }]
|
48
50
|
}], ctorParameters: () => [], propDecorators: { inputSearch: [{
|
49
51
|
type: ViewChild,
|
50
52
|
args: ['input', { static: true }]
|
@@ -52,5 +54,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
52
54
|
type: Output
|
53
55
|
}], text: [{
|
54
56
|
type: Input
|
57
|
+
}], axId: [{
|
58
|
+
type: Input
|
59
|
+
}], axClass: [{
|
60
|
+
type: Input
|
55
61
|
}] } });
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1zZWFyY2guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9zZWFyY2gvdG9vbGJhci1zZWFyY2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9zZWFyY2gvdG9vbGJhci1zZWFy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@@ import { AXToolbarItem } from '../toolbar-item';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "@angular/common";
|
5
5
|
export class AXToolbarTitleComponent {
|
6
|
-
|
6
|
+
axId;
|
7
|
+
axClass;
|
7
8
|
_text;
|
8
9
|
get text() {
|
9
10
|
return this._text;
|
@@ -14,24 +15,38 @@ export class AXToolbarTitleComponent {
|
|
14
15
|
}
|
15
16
|
}
|
16
17
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarTitleComponent, selector: "ax-toolbar-title", inputs: { text: "text" }, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarTitleComponent }], ngImport: i0, template: `
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarTitleComponent, selector: "ax-toolbar-title", inputs: { axId: "axId", axClass: "axClass", text: "text" }, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarTitleComponent }], ngImport: i0, template: `
|
18
19
|
<ng-container *ngIf="text; else elseTemplate">
|
19
|
-
|
20
|
+
<div
|
21
|
+
class="title {{axClass}}"
|
22
|
+
[attr.id]="axId">
|
23
|
+
{{text}}
|
24
|
+
</div>
|
20
25
|
</ng-container>
|
21
26
|
<ng-template #elseTemplate>
|
22
27
|
<ng-content></ng-content>
|
23
|
-
</ng-template
|
28
|
+
</ng-template>
|
29
|
+
`, isInline: true, styles: [".title{height:100%;display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
24
30
|
}
|
25
31
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarTitleComponent, decorators: [{
|
26
32
|
type: Component,
|
27
33
|
args: [{ selector: 'ax-toolbar-title', template: `
|
28
34
|
<ng-container *ngIf="text; else elseTemplate">
|
29
|
-
|
35
|
+
<div
|
36
|
+
class="title {{axClass}}"
|
37
|
+
[attr.id]="axId">
|
38
|
+
{{text}}
|
39
|
+
</div>
|
30
40
|
</ng-container>
|
31
41
|
<ng-template #elseTemplate>
|
32
42
|
<ng-content></ng-content>
|
33
|
-
</ng-template
|
34
|
-
|
43
|
+
</ng-template>
|
44
|
+
`, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarTitleComponent }], styles: [".title{height:100%;display:flex;align-items:center}\n"] }]
|
45
|
+
}], propDecorators: { axId: [{
|
46
|
+
type: Input
|
47
|
+
}], axClass: [{
|
48
|
+
type: Input
|
49
|
+
}], text: [{
|
35
50
|
type: Input
|
36
51
|
}] } });
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci10aXRsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b29sYmFyL3RpdGxlL3Rvb2xiYXItdGl0bGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7O0FBeUJoRCxNQUFNLE9BQU8sdUJBQXVCO0lBQ3ZCLElBQUksQ0FBVTtJQUVkLE9BQU8sQ0FBVTtJQUVsQixLQUFLLENBQVM7SUFDdEIsSUFDVyxJQUFJO1FBQ1gsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO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t0ZXh0fX1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPG5nLXRlbXBsYXRlICNlbHNlVGVtcGxhdGU+XG4gICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgYCxcbiAgICBzdHlsZXM6IFtgXG4gICAgICAgIC50aXRsZSB7XG4gICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgfVxuICAgIGBdLFxuICAgIHByb3ZpZGVyczogW3sgcHJvdmlkZTogQVhUb29sYmFySXRlbSwgdXNlRXhpc3Rpbmc6IEFYVG9vbGJhclRpdGxlQ29tcG9uZW50IH1dXG59KVxuZXhwb3J0IGNsYXNzIEFYVG9vbGJhclRpdGxlQ29tcG9uZW50IHtcbiAgICBASW5wdXQoKSBheElkPzogc3RyaW5nO1xuICAgIFxuICAgIEBJbnB1dCgpIGF4Q2xhc3M/OiBzdHJpbmc7XG5cbiAgICBwcml2YXRlIF90ZXh0OiBzdHJpbmc7XG4gICAgQElucHV0KClcbiAgICBwdWJsaWMgZ2V0IHRleHQoKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuX3RleHQ7XG4gICAgfVxuICAgIHB1YmxpYyBzZXQgdGV4dCh2OiBzdHJpbmcpIHtcbiAgICAgICAgaWYgKHYgIT09IHRoaXMuX3RleHQpIHtcbiAgICAgICAgICAgIHRoaXMuX3RleHQgPSB2O1xuICAgICAgICB9XG4gICAgfVxufVxuIl19
|
@@ -1,13 +1,19 @@
|
|
1
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
1
|
+
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export class AXToolbarComponent {
|
4
4
|
constructor() { }
|
5
5
|
ngOnInit() { }
|
6
|
+
axId;
|
7
|
+
axClass;
|
6
8
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarComponent, selector: "ax-toolbar", ngImport: i0, template: "<div class=\"ax-toolbar\">\n
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarComponent, selector: "ax-toolbar", inputs: { axId: "axId", axClass: "axClass" }, ngImport: i0, template: "<div \n class=\"ax-toolbar {{axClass}}\" \n [attr.id]=\"axId\"\n>\n <ng-content></ng-content>\n</div>\n", styles: ["ax-toolbar{width:100%}ax-toolbar .ax-toolbar{display:flex;width:100%;justify-content:space-between;align-items:center}\n"], encapsulation: i0.ViewEncapsulation.None });
|
8
10
|
}
|
9
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarComponent, decorators: [{
|
10
12
|
type: Component,
|
11
|
-
args: [{ selector: 'ax-toolbar', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-toolbar\">\n
|
12
|
-
}], ctorParameters: () => []
|
13
|
-
|
13
|
+
args: [{ selector: 'ax-toolbar', encapsulation: ViewEncapsulation.None, template: "<div \n class=\"ax-toolbar {{axClass}}\" \n [attr.id]=\"axId\"\n>\n <ng-content></ng-content>\n</div>\n", styles: ["ax-toolbar{width:100%}ax-toolbar .ax-toolbar{display:flex;width:100%;justify-content:space-between;align-items:center}\n"] }]
|
14
|
+
}], ctorParameters: () => [], propDecorators: { axId: [{
|
15
|
+
type: Input
|
16
|
+
}], axClass: [{
|
17
|
+
type: Input
|
18
|
+
}] } });
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZX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