@acorex/components 16.18.15 → 16.18.17
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/base/element.class.mjs +2 -8
- package/esm2022/lib/button/button.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +3 -9
- 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 +3 -9
- 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 +3 -9
- 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 +3 -10
- package/esm2022/lib/form-group/form-group.component.mjs +3 -3
- package/esm2022/lib/label/label.component.mjs +3 -4
- package/esm2022/lib/loading/loading-indicator.component.mjs +3 -9
- package/esm2022/lib/loading/loading-panel.component.mjs +3 -9
- package/esm2022/lib/menu/menu.component.mjs +3 -9
- package/esm2022/lib/number-box/number-box.component.mjs +3 -3
- package/esm2022/lib/panel-box/panel-box.component.mjs +3 -9
- package/esm2022/lib/password-box/password-box.component.mjs +3 -3
- package/esm2022/lib/popover/popover.component.mjs +3 -10
- package/esm2022/lib/popup/popup.component.mjs +7 -11
- package/esm2022/lib/popup/popup.service.mjs +2 -6
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -9
- 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 +3 -9
- package/esm2022/lib/searchbox/searchbox.component.mjs +3 -9
- package/esm2022/lib/selectbox/selectbox.component.mjs +4 -10
- package/esm2022/lib/selectbox/selectbox2.component.mjs +1 -1
- package/esm2022/lib/selection-list/selection-list.component.mjs +3 -9
- package/esm2022/lib/switch/switch.component.mjs +7 -14
- package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +1 -3
- package/esm2022/lib/tab-page/tab-page-host.component.mjs +6 -7
- package/esm2022/lib/tab-page/tab-page.service.mjs +3 -7
- package/esm2022/lib/tab-strip/tab-strip.component.mjs +3 -9
- package/esm2022/lib/tab-view/tab-view.component.mjs +4 -10
- package/esm2022/lib/tab-view/tab.component.mjs +3 -9
- package/esm2022/lib/textarea/textarea.component.mjs +5 -15
- package/esm2022/lib/textbox/textbox.component.mjs +5 -15
- package/esm2022/lib/time-picker/time-picker.component.mjs +4 -10
- package/esm2022/lib/toast/toast-message/toast-message.component.mjs +3 -9
- package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +18 -27
- package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +3 -9
- package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +3 -9
- package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +8 -23
- package/esm2022/lib/toolbar/toolbar.component.mjs +5 -11
- package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +3 -9
- package/esm2022/lib/tree-view/tree-view.component.mjs +3 -9
- package/esm2022/lib/upload-file/upload-file.component.mjs +3 -9
- package/fesm2022/acorex-components.mjs +137 -357
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/lib/base/element.class.d.ts +1 -3
- package/lib/calendar/calendar-box/calendar-box.component.d.ts +1 -3
- package/lib/context-menu/context-menu.component.d.ts +1 -3
- package/lib/data-filter/filter-panel/filter-panel.component.d.ts +1 -3
- package/lib/fieldset/fieldset.component.d.ts +1 -3
- package/lib/loading/loading-indicator.component.d.ts +1 -3
- package/lib/loading/loading-panel.component.d.ts +1 -3
- package/lib/menu/menu.component.d.ts +1 -3
- package/lib/panel-box/panel-box.component.d.ts +1 -3
- package/lib/popover/popover.component.d.ts +1 -3
- package/lib/popup/popup.component.d.ts +0 -2
- package/lib/popup/popup.service.d.ts +0 -2
- package/lib/progress-bar/progress-bar.component.d.ts +1 -3
- package/lib/search-bar/search-bar.component.d.ts +1 -3
- package/lib/searchbox/searchbox.component.d.ts +1 -3
- package/lib/selectbox/selectbox.component.d.ts +1 -3
- package/lib/selection-list/selection-list.component.d.ts +1 -3
- package/lib/switch/switch.component.d.ts +1 -3
- package/lib/tab-page/tab-page.service.d.ts +0 -2
- package/lib/tab-strip/tab-strip.component.d.ts +1 -3
- package/lib/tab-view/tab-view.component.d.ts +1 -3
- package/lib/tab-view/tab.component.d.ts +1 -3
- package/lib/textarea/textarea.component.d.ts +1 -3
- package/lib/textbox/textbox.component.d.ts +1 -3
- package/lib/time-picker/time-picker.component.d.ts +1 -3
- package/lib/toast/toast-message/toast-message.component.d.ts +1 -3
- package/lib/toolbar/group-button/toolbar-group-button.component.d.ts +4 -6
- package/lib/toolbar/menu/toolbar-menu.component.d.ts +1 -3
- package/lib/toolbar/search/toolbar-search.component.d.ts +1 -3
- package/lib/toolbar/title/toolbar-title.component.d.ts +2 -3
- package/lib/toolbar/toolbar.component.d.ts +1 -3
- package/lib/tree-side-menu/tree-side-menu.component.d.ts +1 -3
- package/lib/tree-view/tree-view.component.d.ts +1 -3
- package/lib/upload-file/upload-file.component.d.ts +1 -3
- package/package.json +1 -1
@@ -11,8 +11,6 @@ export class AXToastMessageComponent {
|
|
11
11
|
timeOut = 6000;
|
12
12
|
closeable = false;
|
13
13
|
type = 'info';
|
14
|
-
axId;
|
15
|
-
axClass;
|
16
14
|
style = 'info';
|
17
15
|
icon = '';
|
18
16
|
toastWidth = 100;
|
@@ -59,11 +57,11 @@ export class AXToastMessageComponent {
|
|
59
57
|
this.elRef.nativeElement.parentElement.removeChild(this.elRef.nativeElement);
|
60
58
|
}
|
61
59
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastMessageComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
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"
|
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>", 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 });
|
63
61
|
}
|
64
62
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastMessageComponent, decorators: [{
|
65
63
|
type: Component,
|
66
|
-
args: [{ encapsulation: ViewEncapsulation.None, template: "<div
|
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>", 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"] }]
|
67
65
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { title: [{
|
68
66
|
type: Input
|
69
67
|
}], message: [{
|
@@ -74,9 +72,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
74
72
|
type: Input
|
75
73
|
}], type: [{
|
76
74
|
type: Input
|
77
|
-
}], axId: [{
|
78
|
-
type: Input
|
79
|
-
}], axClass: [{
|
80
|
-
type: Input
|
81
75
|
}] } });
|
82
|
-
//# sourceMappingURL=data:application/json;base64,
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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XN0LWNsb3NlXCI+XG4gICAgICAgICAgICA8aSBjbGFzcz1cImZhciBmYS10aW1lc1wiPjwvaT5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJ0b2FzdC1wcm9ncmVzc1wiIFtzdHlsZS5hbmltYXRpb24tZHVyYXRpb24ubXNdPVwidGltZU91dFwiPjwvZGl2PlxuICAgIDwvZGl2PlxuPC9kaXY+Il19
|
@@ -1,16 +1,14 @@
|
|
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
|
-
|
7
|
-
axClass;
|
6
|
+
constructor() { }
|
8
7
|
items = [];
|
9
8
|
itemClick = new EventEmitter();
|
10
|
-
mode =
|
11
|
-
constructor() { }
|
9
|
+
mode = "single";
|
12
10
|
onClick(item) {
|
13
|
-
if (this.mode
|
11
|
+
if (this.mode == "single") {
|
14
12
|
this.items.forEach(c => {
|
15
13
|
c.selected = false;
|
16
14
|
});
|
@@ -18,19 +16,20 @@ export class AXToolbarButtonGroupComponent {
|
|
18
16
|
this.itemClick.emit(item);
|
19
17
|
}
|
20
18
|
else {
|
21
|
-
item.selected
|
22
|
-
|
19
|
+
if (item.selected) {
|
20
|
+
item.selected = false;
|
21
|
+
}
|
22
|
+
else {
|
23
|
+
item.selected = true;
|
24
|
+
this.itemClick.emit(item);
|
25
|
+
}
|
23
26
|
}
|
24
27
|
}
|
25
28
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarButtonGroupComponent, selector: "ax-toolbar-group-button", inputs: {
|
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: [
|
27
30
|
{ provide: AXToolbarItem, useExisting: AXToolbarButtonGroupComponent }
|
28
31
|
], ngImport: i0, template: `
|
29
|
-
<div
|
30
|
-
class="btn-group {{axClass}}"
|
31
|
-
role="group"
|
32
|
-
[attr.id]="axId"
|
33
|
-
>
|
32
|
+
<div class="btn-group" role="group">
|
34
33
|
<button
|
35
34
|
type="button"
|
36
35
|
*ngFor="let item of items"
|
@@ -48,13 +47,9 @@ export class AXToolbarButtonGroupComponent {
|
|
48
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarButtonGroupComponent, decorators: [{
|
49
48
|
type: Component,
|
50
49
|
args: [{
|
51
|
-
selector:
|
50
|
+
selector: "ax-toolbar-group-button",
|
52
51
|
template: `
|
53
|
-
<div
|
54
|
-
class="btn-group {{axClass}}"
|
55
|
-
role="group"
|
56
|
-
[attr.id]="axId"
|
57
|
-
>
|
52
|
+
<div class="btn-group" role="group">
|
58
53
|
<button
|
59
54
|
type="button"
|
60
55
|
*ngFor="let item of items"
|
@@ -72,15 +67,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
72
67
|
{ provide: AXToolbarItem, useExisting: AXToolbarButtonGroupComponent }
|
73
68
|
]
|
74
69
|
}]
|
75
|
-
}], ctorParameters: () => [], propDecorators: {
|
76
|
-
type: Input
|
77
|
-
}], axClass: [{
|
78
|
-
type: Input
|
79
|
-
}], items: [{
|
70
|
+
}], ctorParameters: () => [], propDecorators: { items: [{
|
80
71
|
type: Input
|
81
72
|
}], itemClick: [{
|
82
73
|
type: Output
|
83
74
|
}], mode: [{
|
84
75
|
type: Input
|
85
76
|
}] } });
|
86
|
-
//# sourceMappingURL=data:application/json;base64,
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1ncm91cC1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9ncm91cC1idXR0b24vdG9vbGJhci1ncm91cC1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0UsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7QUF3QmhELE1BQU0sT0FBTyw2QkFBNkI7SUFDeEMsZ0JBQWdCLENBQUM7SUFHakIsS0FBSyxHQUFxQixFQUFFLENBQUM7SUFHN0IsU0FBUyxHQUFpQyxJQUFJLFlBQVksRUFBa0IsQ0FBQztJQUc3RSxJQUFJLEdBQTBCLFFBQVEsQ0FBQztJQUV2QyxPQUFPLENBQUMsSUFBb0I7UUFDMUIsSUFBSSxJQUFJLENBQUMsSUFBSSxJQUFJLFFBQVEsRUFBRSxDQUFDO1lBQzFCLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUFFO2dCQUNyQixDQUFDLENBQUMsUUFBUSxHQUFHLEtBQUssQ0FBQztZQUNyQixDQUFDLENBQUMsQ0FBQztZQUNILElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDO1lBQ3JCLElBQUksQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQzVCLENBQUM7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wic2luZ2xlXCI7XG5cbiAgb25DbGljayhpdGVtOiBBWEJhc2VNZW51SXRlbSkge1xuICAgIGlmICh0aGlzLm1vZGUgPT0gXCJzaW5nbGVcIikge1xuICAgICAgdGhpcy5pdGVtcy5mb3JFYWNoKGMgPT4ge1xuICAgICAgICBjLnNlbGVjdGVkID0gZmFsc2U7XG4gICAgICB9KTtcbiAgICAgIGl0ZW0uc2VsZWN0ZWQgPSB0cnVlO1xuICAgICAgdGhpcy5pdGVtQ2xpY2suZW1pdChpdGVtKTtcbiAgICB9IGVsc2Uge1xuICAgICAgaWYgKGl0ZW0uc2VsZWN0ZWQpIHtcbiAgICAgICAgaXRlbS5zZWxlY3RlZCA9IGZhbHNlO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgaXRlbS5zZWxlY3RlZCA9IHRydWU7XG4gICAgICAgIHRoaXMuaXRlbUNsaWNrLmVtaXQoaXRlbSk7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -29,8 +29,6 @@ export class AXToolbarMenuComponent extends AXToolbarItem {
|
|
29
29
|
this._items = v;
|
30
30
|
this.update();
|
31
31
|
}
|
32
|
-
axId;
|
33
|
-
axClass;
|
34
32
|
handleItemClick(item) {
|
35
33
|
this.onItemClick.emit(item);
|
36
34
|
}
|
@@ -42,11 +40,11 @@ export class AXToolbarMenuComponent extends AXToolbarItem {
|
|
42
40
|
this.cdr.detectChanges();
|
43
41
|
}
|
44
42
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarMenuComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
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"
|
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 });
|
46
44
|
}
|
47
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarMenuComponent, decorators: [{
|
48
46
|
type: Component,
|
49
|
-
args: [{ selector: 'ax-toolbar-menu', providers: [{ provide: AXToolbarItem, useExisting: AXToolbarMenuComponent }], encapsulation: ViewEncapsulation.None, template: "<div
|
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" }]
|
50
48
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { menu: [{
|
51
49
|
type: ViewChild,
|
52
50
|
args: ['menu', { static: true }]
|
@@ -63,9 +61,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
63
61
|
type: Input
|
64
62
|
}], items: [{
|
65
63
|
type: Input
|
66
|
-
}], axId: [{
|
67
|
-
type: Input
|
68
|
-
}], axClass: [{
|
69
|
-
type: Input
|
70
64
|
}] } });
|
71
|
-
//# sourceMappingURL=data:application/json;base64,
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL3Rvb2xiYXIvbWVudS90b29sYmFyLW1lbnUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9tZW51L3Rvb2xiYXItbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ04sV0FBVyxFQUNYLFNBQVMsRUFDVCxpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNMLGVBQWUsR0FFaEIsTUFBTSwyQkFBMkIsQ0FBQztBQUNuQyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7OztBQVFoRCxNQUFNLE9BQU8sc0JBQXVCLFNBQVEsYUFBYTtJQUNuQztJQUFwQixZQUFvQixHQUFzQjtRQUN4QyxLQUFLLEVBQUUsQ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RlbUNsaWNrKT1cImhhbmRsZUl0ZW1DbGljaygkZXZlbnQpXCJcbiAgICBbbWVudVRlbXBsYXRlXT1cIm1lbnVUZW1wbGF0ZVwiXG4gICAgW2Zsb2F0UGxhY2VtbmV0XT1cImZsb2F0UGxhY2VtbmV0XCJcbiAgPlxuICA8L2F4LW1lbnU+XG48L2Rpdj5cbiJdfQ==
|
@@ -23,8 +23,6 @@ export class AXToolbarSearchComponent {
|
|
23
23
|
});
|
24
24
|
}
|
25
25
|
}
|
26
|
-
axId;
|
27
|
-
axClass;
|
28
26
|
focus() {
|
29
27
|
this.inputSearch.nativeElement.focus();
|
30
28
|
}
|
@@ -42,11 +40,11 @@ export class AXToolbarSearchComponent {
|
|
42
40
|
this.searchChangeObserver.next(text);
|
43
41
|
}
|
44
42
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
45
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarSearchComponent, selector: "ax-toolbar-search", inputs: { text: "text"
|
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\n #input\n type=\"search\"\n autocomplete=\"off\"\n placeholder=\"\u062C\u0633\u062A\u062C\u0648 ...\"\n (input)=\"onSearchChanged($event.target.value)\"\n />\n <i class=\"far fa-search text-secondary\"></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"] });
|
46
44
|
}
|
47
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarSearchComponent, decorators: [{
|
48
46
|
type: Component,
|
49
|
-
args: [{ selector: 'ax-toolbar-search', providers: [{ provide: AXToolbarItem, useExisting: AXToolbarSearchComponent }], template: "<div
|
47
|
+
args: [{ selector: 'ax-toolbar-search', providers: [{ provide: AXToolbarItem, useExisting: AXToolbarSearchComponent }], template: "<div class=\"search-bar\">\n <input\n #input\n type=\"search\"\n autocomplete=\"off\"\n placeholder=\"\u062C\u0633\u062A\u062C\u0648 ...\"\n (input)=\"onSearchChanged($event.target.value)\"\n />\n <i class=\"far fa-search text-secondary\"></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"] }]
|
50
48
|
}], ctorParameters: () => [], propDecorators: { inputSearch: [{
|
51
49
|
type: ViewChild,
|
52
50
|
args: ['input', { static: true }]
|
@@ -54,9 +52,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
54
52
|
type: Output
|
55
53
|
}], text: [{
|
56
54
|
type: Input
|
57
|
-
}], axId: [{
|
58
|
-
type: Input
|
59
|
-
}], axClass: [{
|
60
|
-
type: Input
|
61
55
|
}] } });
|
62
|
-
//# sourceMappingURL=data:application/json;base64,
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaW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ZXh0OiBzdHJpbmcpIHtcbiAgICAgICAgaWYgKCF0aGlzLnNlYXJjaENoYW5nZU9ic2VydmVyKSB7XG4gICAgICAgICAgICBPYnNlcnZhYmxlLmNyZWF0ZShvYnNlcnZlciA9PiB7XG5cbiAgICAgICAgICAgICAgICB0aGlzLnNlYXJjaENoYW5nZU9ic2VydmVyID0gb2JzZXJ2ZXI7XG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgIC5waXBlKGRlYm91bmNlVGltZSg1MDApKVxuICAgICAgICAgICAgICAgIC5waXBlKGRpc3RpbmN0VW50aWxDaGFuZ2VkKCkpXG4gICAgICAgICAgICAgICAgLnN1YnNjcmliZShjID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy50ZXh0ID0gYztcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLnNlYXJjaENoYW5nZU9ic2VydmVyLm5leHQodGV4dCk7XG4gICAgfVxufVxuIiwiPGRpdiBjbGFzcz1cInNlYXJjaC1iYXJcIj5cbiAgPGlucHV0XG4gICAgI2lucHV0XG4gICAgdHlwZT1cInNlYXJjaFwiXG4gICAgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICBwbGFjZWhvbGRlcj1cItis2LPYqtis2YggLi4uXCJcbiAgICAoaW5wdXQpPVwib25TZWFyY2hDaGFuZ2VkKCRldmVudC50YXJnZXQudmFsdWUpXCJcbiAgLz5cbiAgPGkgY2xhc3M9XCJmYXIgZmEtc2VhcmNoIHRleHQtc2Vjb25kYXJ5XCI+PC9pPlxuPC9kaXY+XG4iXX0=
|
@@ -3,8 +3,7 @@ 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
|
-
|
7
|
-
axClass;
|
6
|
+
constructor() { }
|
8
7
|
_text;
|
9
8
|
get text() {
|
10
9
|
return this._text;
|
@@ -15,38 +14,24 @@ export class AXToolbarTitleComponent {
|
|
15
14
|
}
|
16
15
|
}
|
17
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
18
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarTitleComponent, selector: "ax-toolbar-title", inputs: {
|
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: `
|
19
18
|
<ng-container *ngIf="text; else elseTemplate">
|
20
|
-
|
21
|
-
class="title {{axClass}}"
|
22
|
-
[attr.id]="axId">
|
23
|
-
{{text}}
|
24
|
-
</div>
|
19
|
+
<div class="title">{{text}}</div>
|
25
20
|
</ng-container>
|
26
21
|
<ng-template #elseTemplate>
|
27
22
|
<ng-content></ng-content>
|
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"] }] });
|
23
|
+
</ng-template>`, isInline: true, styles: [".title{height:100%;display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
30
24
|
}
|
31
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarTitleComponent, decorators: [{
|
32
26
|
type: Component,
|
33
27
|
args: [{ selector: 'ax-toolbar-title', template: `
|
34
28
|
<ng-container *ngIf="text; else elseTemplate">
|
35
|
-
|
36
|
-
class="title {{axClass}}"
|
37
|
-
[attr.id]="axId">
|
38
|
-
{{text}}
|
39
|
-
</div>
|
29
|
+
<div class="title">{{text}}</div>
|
40
30
|
</ng-container>
|
41
31
|
<ng-template #elseTemplate>
|
42
32
|
<ng-content></ng-content>
|
43
|
-
</ng-template
|
44
|
-
|
45
|
-
}], propDecorators: { axId: [{
|
46
|
-
type: Input
|
47
|
-
}], axClass: [{
|
48
|
-
type: Input
|
49
|
-
}], text: [{
|
33
|
+
</ng-template>`, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarTitleComponent }], styles: [".title{height:100%;display:flex;align-items:center}\n"] }]
|
34
|
+
}], ctorParameters: () => [], propDecorators: { text: [{
|
50
35
|
type: Input
|
51
36
|
}] } });
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci10aXRsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b29sYmFyL3RpdGxlL3Rvb2xiYXItdGl0bGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUF3QixNQUFNLGVBQWUsQ0FBQztBQUMvRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7OztBQW9CaEQsTUFBTSxPQUFPLHVCQUF1QjtJQUNoQyxnQkFBZ0IsQ0FBQztJQUVULEtBQUssQ0FBUztJQUN0QixJQUNXLElBQUk7UUFDWCxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUM7SUFDdEIsQ0FBQztJQUNELElBQVcsSUFBSSxDQUFDLENBQVM7UUFDckIsSUFBSSxDQUFDLEtBQUssSUFBSSxDQUFDLEtBQUssRUFBRSxDQUFDO1lBQ25CLElBQUksQ0FBQyx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gZGlzcGxheTogZmxleDtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cbiAgICBgXSxcbiAgICBwcm92aWRlcnM6IFt7IHByb3ZpZGU6IEFYVG9vbGJhckl0ZW0sIHVzZUV4aXN0aW5nOiBBWFRvb2xiYXJUaXRsZUNvbXBvbmVudCB9XVxufSlcbmV4cG9ydCBjbGFzcyBBWFRvb2xiYXJUaXRsZUNvbXBvbmVudCB7XG4gICAgY29uc3RydWN0b3IoKSB7IH1cblxuICAgIHByaXZhdGUgX3RleHQ6IHN0cmluZztcbiAgICBASW5wdXQoKVxuICAgIHB1YmxpYyBnZXQgdGV4dCgpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gdGhpcy5fdGV4dDtcbiAgICB9XG4gICAgcHVibGljIHNldCB0ZXh0KHY6IHN0cmluZykge1xuICAgICAgICBpZiAodiAhPT0gdGhpcy5fdGV4dCkge1xuICAgICAgICAgICAgdGhpcy5fdGV4dCA9IHY7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
@@ -1,19 +1,13 @@
|
|
1
|
-
import { Component,
|
1
|
+
import { Component, 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;
|
8
6
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
9
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToolbarComponent, selector: "ax-toolbar",
|
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 <ng-content>\n </ng-content>\n</div>", 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 });
|
10
8
|
}
|
11
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarComponent, decorators: [{
|
12
10
|
type: Component,
|
13
|
-
args: [{ selector: 'ax-toolbar', encapsulation: ViewEncapsulation.None, template: "<div
|
14
|
-
}], ctorParameters: () => []
|
15
|
-
|
16
|
-
}], axClass: [{
|
17
|
-
type: Input
|
18
|
-
}] } });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b29sYmFyL3Rvb2xiYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci90b29sYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVM1RSxNQUFNLE9BQU8sa0JBQWtCO0lBRTNCLGdCQUFnQixDQUFDO0lBRWpCLFFBQVEsS0FBVyxDQUFDO0lBRVgsSUFBSSxDQUFVO0lBRWQsT0FBTyxDQUFVO3VHQVJqQixrQkFBa0I7MkZBQWxCLGtCQUFrQixnR0NUL0IsNEdBTUE7OzJGREdhLGtCQUFrQjtrQkFOOUIsU0FBUzsrQkFDSSxZQUFZLGlCQUdQLGlCQUFpQixDQUFDLElBQUk7d0RBUTVCLElBQUk7c0JBQVosS0FBSztnQkFFRyxPQUFPO3NCQUFmLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0LCBPbkluaXQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICdheC10b29sYmFyJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vdG9vbGJhci5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vdG9vbGJhci5jb21wb25lbnQuc2NzcyddLFxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmVcbn0pXG5leHBvcnQgY2xhc3MgQVhUb29sYmFyQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICAgIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgICBuZ09uSW5pdCgpOiB2b2lkIHsgfVxuXG4gICAgQElucHV0KCkgYXhJZD86IHN0cmluZztcblxuICAgIEBJbnB1dCgpIGF4Q2xhc3M/OiBzdHJpbmc7XG5cbn1cbiIsIjxkaXYgXG4gIGNsYXNzPVwiYXgtdG9vbGJhciB7e2F4Q2xhc3N9fVwiIFxuICBbYXR0ci5pZF09XCJheElkXCJcbj5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
|
11
|
+
args: [{ selector: 'ax-toolbar', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-toolbar\">\n <ng-content>\n </ng-content>\n</div>", styles: ["ax-toolbar{width:100%}ax-toolbar .ax-toolbar{display:flex;width:100%;justify-content:space-between;align-items:center}\n"] }]
|
12
|
+
}], ctorParameters: () => [] });
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8u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