@acorex/components 16.18.50 → 16.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-components.mjs +723 -687
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/base/base-page.class.d.ts +2 -2
- package/lib/base/element.class.d.ts +5 -5
- package/lib/calendar/scheduler/views/scheduler-view.component.d.ts +1 -1
- package/lib/data-filter/filter.class.d.ts +1 -1
- package/lib/data-list/core/data-list.component.d.ts +1 -1
- package/lib/property-editor/property-editor.class.d.ts +1 -1
- package/package.json +4 -6
- package/esm2022/acorex-components.mjs +0 -5
- package/esm2022/index.mjs +0 -159
- package/esm2022/lib/accordion/accordion.component.mjs +0 -45
- package/esm2022/lib/accordion/accordion.module.mjs +0 -20
- package/esm2022/lib/base/base-page.class.mjs +0 -97
- package/esm2022/lib/base/components.class.mjs +0 -17
- package/esm2022/lib/base/element.class.mjs +0 -307
- package/esm2022/lib/base/events.class.mjs +0 -17
- package/esm2022/lib/button/button.component.mjs +0 -74
- package/esm2022/lib/button/button.module.mjs +0 -21
- package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +0 -469
- package/esm2022/lib/calendar/calendar-box/calendar-box.module.mjs +0 -22
- package/esm2022/lib/calendar/scheduler/scheduler-views.property.mjs +0 -59
- package/esm2022/lib/calendar/scheduler/scheduler.class.mjs +0 -16
- package/esm2022/lib/calendar/scheduler/scheduler.component.mjs +0 -226
- package/esm2022/lib/calendar/scheduler/scheduler.module.mjs +0 -68
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +0 -136
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +0 -37
- package/esm2022/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.mjs +0 -49
- package/esm2022/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.mjs +0 -102
- package/esm2022/lib/calendar/scheduler/views/month/scheduler-month-view.component.mjs +0 -214
- package/esm2022/lib/calendar/scheduler/views/scheduler-view.component.mjs +0 -99
- package/esm2022/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.mjs +0 -85
- package/esm2022/lib/checkbox/checkbox.component.mjs +0 -112
- package/esm2022/lib/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/lib/color-picker/color-box/color-box.component.mjs +0 -423
- package/esm2022/lib/color-picker/color-picker.component.mjs +0 -89
- package/esm2022/lib/color-picker/color-picker.module.mjs +0 -24
- package/esm2022/lib/context-menu/context-menu.component.mjs +0 -68
- package/esm2022/lib/context-menu/context-menu.directive.mjs +0 -146
- package/esm2022/lib/context-menu/context-menu.module.mjs +0 -20
- package/esm2022/lib/data-filter/columns/filter-column-date.component.mjs +0 -140
- package/esm2022/lib/data-filter/columns/filter-column-number.component.mjs +0 -119
- package/esm2022/lib/data-filter/columns/filter-column-selection.component.mjs +0 -75
- package/esm2022/lib/data-filter/columns/filter-column-string.component.mjs +0 -119
- package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +0 -267
- package/esm2022/lib/data-filter/filter.class.mjs +0 -46
- package/esm2022/lib/data-filter/filter.module.mjs +0 -88
- package/esm2022/lib/data-filter/toolbar/filter-toolbar.component.mjs +0 -168
- package/esm2022/lib/data-list/core/data-list.component.mjs +0 -37
- package/esm2022/lib/data-list/list/list.component.mjs +0 -134
- package/esm2022/lib/data-list/list/list.module.mjs +0 -22
- package/esm2022/lib/data-list/list/toolbar-list-view.component.mjs +0 -84
- package/esm2022/lib/data-source/datasource.component.mjs +0 -47
- package/esm2022/lib/data-source/datasource.module.mjs +0 -18
- package/esm2022/lib/data-source/read-param.mjs +0 -7
- package/esm2022/lib/date-picker/date-picker.component.mjs +0 -1102
- package/esm2022/lib/date-picker/date-picker.module.mjs +0 -50
- package/esm2022/lib/dialog/dialog.component.mjs +0 -26
- package/esm2022/lib/dialog/dialog.module.mjs +0 -21
- package/esm2022/lib/dialog/dialog.service.mjs +0 -160
- package/esm2022/lib/drawer/content.component.mjs +0 -18
- package/esm2022/lib/drawer/drawer-container.component.mjs +0 -38
- package/esm2022/lib/drawer/drawer.component.mjs +0 -146
- package/esm2022/lib/drawer/drawer.module.mjs +0 -23
- package/esm2022/lib/dropdown/dropdown.component.mjs +0 -186
- package/esm2022/lib/dropdown/dropdown.module.mjs +0 -26
- package/esm2022/lib/fieldset/fieldset.component.mjs +0 -57
- package/esm2022/lib/fieldset/fieldset.module.mjs +0 -19
- package/esm2022/lib/form-group/form-group.component.mjs +0 -108
- package/esm2022/lib/form-group/form-group.module.mjs +0 -22
- package/esm2022/lib/form-group/form-lable.directive.mjs +0 -23
- package/esm2022/lib/label/label.component.mjs +0 -22
- package/esm2022/lib/label/label.module.mjs +0 -21
- package/esm2022/lib/loading/loading-indicator.component.mjs +0 -18
- package/esm2022/lib/loading/loading-panel.component.mjs +0 -45
- package/esm2022/lib/loading/loading.module.mjs +0 -21
- package/esm2022/lib/loading/loading.service.mjs +0 -47
- package/esm2022/lib/menu/menu-item.component.mjs +0 -50
- package/esm2022/lib/menu/menu.component.mjs +0 -114
- package/esm2022/lib/menu/menu.module.mjs +0 -22
- package/esm2022/lib/menu/menu2.component.mjs +0 -100
- package/esm2022/lib/number-box/number-box.component.mjs +0 -715
- package/esm2022/lib/number-box/number-box.module.mjs +0 -21
- package/esm2022/lib/page/content.component.mjs +0 -27
- package/esm2022/lib/page/footer.component.mjs +0 -19
- package/esm2022/lib/page/page.component.mjs +0 -57
- package/esm2022/lib/page/page.module.mjs +0 -22
- package/esm2022/lib/panel-box/panel-box.component.mjs +0 -87
- package/esm2022/lib/panel-box/panel-box.module.mjs +0 -19
- package/esm2022/lib/password-box/password-box.component.mjs +0 -36
- package/esm2022/lib/password-box/password-box.module.mjs +0 -23
- package/esm2022/lib/popover/custom-cdk-overlay.service.mjs +0 -50
- package/esm2022/lib/popover/overlay.service.mjs +0 -94
- package/esm2022/lib/popover/popover.component.mjs +0 -145
- package/esm2022/lib/popover/popover.module.mjs +0 -19
- package/esm2022/lib/popup/popup.component.mjs +0 -160
- package/esm2022/lib/popup/popup.module.mjs +0 -25
- package/esm2022/lib/popup/popup.service.mjs +0 -94
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +0 -16
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +0 -19
- package/esm2022/lib/property-editor/editors/check-editor/check-editor.mjs +0 -65
- package/esm2022/lib/property-editor/editors/check-editor/check.module.mjs +0 -22
- package/esm2022/lib/property-editor/editors/color-editor/color.editor.mjs +0 -41
- package/esm2022/lib/property-editor/editors/color-editor/color.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/column-editor/column.editor.mjs +0 -118
- package/esm2022/lib/property-editor/editors/column-editor/column.module.mjs +0 -32
- package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +0 -216
- package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.module.mjs +0 -76
- package/esm2022/lib/property-editor/editors/date-editor/date.editor.mjs +0 -87
- package/esm2022/lib/property-editor/editors/date-editor/date.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/number-editor/number.editor.mjs +0 -72
- package/esm2022/lib/property-editor/editors/number-editor/number.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/range-editor/range.editor.mjs +0 -145
- package/esm2022/lib/property-editor/editors/range-editor/range.module.mjs +0 -59
- package/esm2022/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.mjs +0 -76
- package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +0 -75
- package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.module.mjs +0 -25
- package/esm2022/lib/property-editor/editors/selection-editor/selection-editor.mjs +0 -73
- package/esm2022/lib/property-editor/editors/selection-editor/selection.module.mjs +0 -22
- package/esm2022/lib/property-editor/editors/switch-editor/number.editor.mjs +0 -30
- package/esm2022/lib/property-editor/editors/switch-editor/number.module.mjs +0 -25
- package/esm2022/lib/property-editor/editors/text-editor/text.editor.mjs +0 -36
- package/esm2022/lib/property-editor/editors/text-editor/text.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +0 -35
- package/esm2022/lib/property-editor/editors/textarea-editor/textarea.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/time-editor/time.editor.mjs +0 -55
- package/esm2022/lib/property-editor/editors/time-editor/time.module.mjs +0 -24
- package/esm2022/lib/property-editor/property-editor-renderer.directive.mjs +0 -167
- package/esm2022/lib/property-editor/property-editor.class.mjs +0 -108
- package/esm2022/lib/property-editor/property-editor.module.mjs +0 -194
- package/esm2022/lib/query-builder/query-builder-group.component.mjs +0 -129
- package/esm2022/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +0 -177
- package/esm2022/lib/query-builder/query-builder-rule.component.mjs +0 -428
- package/esm2022/lib/query-builder/query-builder.class.mjs +0 -42
- package/esm2022/lib/query-builder/query-builder.component.mjs +0 -92
- package/esm2022/lib/query-builder/query-builder.module.mjs +0 -62
- package/esm2022/lib/query-builder/query-builder.service.mjs +0 -199
- package/esm2022/lib/search-bar/search-bar.component.mjs +0 -293
- package/esm2022/lib/search-bar/search-bar.module.mjs +0 -61
- package/esm2022/lib/searchbox/searchbox.component.mjs +0 -138
- package/esm2022/lib/searchbox/searchbox.module.mjs +0 -24
- package/esm2022/lib/selectbox/selectbox.component.mjs +0 -1137
- package/esm2022/lib/selectbox/selectbox.module.mjs +0 -45
- package/esm2022/lib/selectbox/selectbox2.component.mjs +0 -617
- package/esm2022/lib/selection-list/selection-list.component.mjs +0 -120
- package/esm2022/lib/selection-list/selection-list.module.mjs +0 -21
- package/esm2022/lib/switch/switch.component.mjs +0 -55
- package/esm2022/lib/switch/switch.module.mjs +0 -20
- package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +0 -75
- package/esm2022/lib/tab-page/tab-page-host.component.mjs +0 -124
- package/esm2022/lib/tab-page/tab-page.module.mjs +0 -21
- package/esm2022/lib/tab-page/tab-page.service.mjs +0 -159
- package/esm2022/lib/tab-strip/tab-strip.component.mjs +0 -48
- package/esm2022/lib/tab-strip/tab-strip.module.mjs +0 -19
- package/esm2022/lib/tab-view/dynamic-tabs.directive.mjs +0 -25
- package/esm2022/lib/tab-view/tab-view.component.mjs +0 -110
- package/esm2022/lib/tab-view/tab-view.module.mjs +0 -21
- package/esm2022/lib/tab-view/tab.component.mjs +0 -33
- package/esm2022/lib/textarea/textarea.component.mjs +0 -44
- package/esm2022/lib/textarea/textarea.module.mjs +0 -21
- package/esm2022/lib/textbox/textbox.component.mjs +0 -46
- package/esm2022/lib/textbox/textbox.module.mjs +0 -36
- package/esm2022/lib/time-picker/time-picker.component.mjs +0 -1107
- package/esm2022/lib/time-picker/time-picker.module.mjs +0 -34
- package/esm2022/lib/toast/toast-message/toast-message.component.mjs +0 -76
- package/esm2022/lib/toast/toast-wrapper/toast-wrapper.component.mjs +0 -13
- package/esm2022/lib/toast/toast.module.mjs +0 -21
- package/esm2022/lib/toast/toast.service.mjs +0 -45
- package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +0 -77
- package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +0 -65
- package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +0 -56
- package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +0 -37
- package/esm2022/lib/toolbar/toolbar-item.mjs +0 -4
- package/esm2022/lib/toolbar/toolbar.component.mjs +0 -13
- package/esm2022/lib/toolbar/toolbar.module.mjs +0 -40
- package/esm2022/lib/tooltip/tooltip.directive.mjs +0 -115
- package/esm2022/lib/tooltip/tooltip.module.mjs +0 -19
- package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +0 -697
- package/esm2022/lib/tree-side-menu/tree-side-menu.module.mjs +0 -33
- package/esm2022/lib/tree-view/tree-view.component.mjs +0 -854
- package/esm2022/lib/tree-view/tree-view.module.mjs +0 -22
- package/esm2022/lib/upload-file/upload-file.component.mjs +0 -299
- package/esm2022/lib/upload-file/upload-file.events.mjs +0 -2
- package/esm2022/lib/upload-file/upload-file.module.mjs +0 -24
- package/esm2022/lib/validation/validation-form.component.mjs +0 -68
- package/esm2022/lib/validation/validation-rule.widget.mjs +0 -133
- package/esm2022/lib/validation/validation.class.mjs +0 -2
- package/esm2022/lib/validation/validation.component.mjs +0 -89
- package/esm2022/lib/validation/validation.module.mjs +0 -34
@@ -1,34 +0,0 @@
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
2
|
-
import { NgModule } from '@angular/core';
|
3
|
-
import { FormsModule } from '@angular/forms';
|
4
|
-
import { NgxMaskDirective, NgxMaskPipe, provideNgxMask } from 'ngx-mask';
|
5
|
-
import { AXButtonModule } from '../button/button.module';
|
6
|
-
import { AXTimePickerComponent } from './time-picker.component';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export class AXTimePickerModule {
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
10
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: AXTimePickerModule, declarations: [AXTimePickerComponent], imports: [CommonModule,
|
11
|
-
FormsModule,
|
12
|
-
AXButtonModule,
|
13
|
-
NgxMaskDirective,
|
14
|
-
NgxMaskPipe], exports: [AXTimePickerComponent] });
|
15
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTimePickerModule, providers: [provideNgxMask()], imports: [CommonModule,
|
16
|
-
FormsModule,
|
17
|
-
AXButtonModule] });
|
18
|
-
}
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXTimePickerModule, decorators: [{
|
20
|
-
type: NgModule,
|
21
|
-
args: [{
|
22
|
-
declarations: [AXTimePickerComponent],
|
23
|
-
imports: [
|
24
|
-
CommonModule,
|
25
|
-
FormsModule,
|
26
|
-
AXButtonModule,
|
27
|
-
NgxMaskDirective,
|
28
|
-
NgxMaskPipe,
|
29
|
-
],
|
30
|
-
exports: [AXTimePickerComponent],
|
31
|
-
providers: [provideNgxMask()],
|
32
|
-
}]
|
33
|
-
}] });
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1waWNrZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdGltZS1waWNrZXIvdGltZS1waWNrZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsV0FBVyxFQUFFLGNBQWMsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDekQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBY2hFLE1BQU0sT0FBTyxrQkFBa0I7dUdBQWxCLGtCQUFrQjt3R0FBbEIsa0JBQWtCLGlCQVhkLHFCQUFxQixhQUVsQyxZQUFZO1lBQ1osV0FBVztZQUNYLGNBQWM7WUFDZCxnQkFBZ0I7WUFDaEIsV0FBVyxhQUVILHFCQUFxQjt3R0FHcEIsa0JBQWtCLGFBRmxCLENBQUMsY0FBYyxFQUFFLENBQUMsWUFQM0IsWUFBWTtZQUNaLFdBQVc7WU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tcG9uZW50XSxcbiAgcHJvdmlkZXJzOiBbcHJvdmlkZU5neE1hc2soKV0sXG59KVxuZXhwb3J0IGNsYXNzIEFYVGltZVBpY2tlck1vZHVsZSB7fVxuIl19
|
@@ -1,76 +0,0 @@
|
|
1
|
-
import { Component, Input, ElementRef, ViewEncapsulation } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
export class AXToastMessageComponent {
|
5
|
-
elRef;
|
6
|
-
constructor(elRef) {
|
7
|
-
this.elRef = elRef;
|
8
|
-
}
|
9
|
-
title = '';
|
10
|
-
message;
|
11
|
-
timeOut = 6000;
|
12
|
-
closeable = false;
|
13
|
-
type = 'info';
|
14
|
-
style = 'info';
|
15
|
-
icon = '';
|
16
|
-
toastWidth = 100;
|
17
|
-
ngOnInit() {
|
18
|
-
if (this.timeOut) {
|
19
|
-
const interval = setInterval(() => {
|
20
|
-
--this.toastWidth;
|
21
|
-
if (this.toastWidth === 0) {
|
22
|
-
clearInterval(interval);
|
23
|
-
this.close();
|
24
|
-
}
|
25
|
-
}, this.timeOut / 100);
|
26
|
-
}
|
27
|
-
switch (this.type) {
|
28
|
-
case 'success':
|
29
|
-
this.style = 'success';
|
30
|
-
break;
|
31
|
-
case 'warning':
|
32
|
-
this.style = 'warning';
|
33
|
-
break;
|
34
|
-
case 'error':
|
35
|
-
this.style = 'error';
|
36
|
-
break;
|
37
|
-
default:
|
38
|
-
this.style = 'info';
|
39
|
-
break;
|
40
|
-
}
|
41
|
-
switch (this.type) {
|
42
|
-
case 'success':
|
43
|
-
this.icon = 'fas fa-check-circle';
|
44
|
-
break;
|
45
|
-
case 'warning':
|
46
|
-
this.icon = 'fas fa-exclamation-triangle';
|
47
|
-
break;
|
48
|
-
case 'error':
|
49
|
-
this.icon = 'fas fa-exclamation-circle';
|
50
|
-
break;
|
51
|
-
default:
|
52
|
-
this.icon = 'fas fa-info-circle';
|
53
|
-
break;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
close() {
|
57
|
-
this.elRef.nativeElement.parentElement.removeChild(this.elRef.nativeElement);
|
58
|
-
}
|
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 });
|
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 });
|
61
|
-
}
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastMessageComponent, decorators: [{
|
63
|
-
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>", 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
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { title: [{
|
66
|
-
type: Input
|
67
|
-
}], message: [{
|
68
|
-
type: Input
|
69
|
-
}], timeOut: [{
|
70
|
-
type: Input
|
71
|
-
}], closeable: [{
|
72
|
-
type: Input
|
73
|
-
}], type: [{
|
74
|
-
type: Input
|
75
|
-
}] } });
|
76
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QtbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b2FzdC90b2FzdC1tZXNzYWdlL3RvYXN0LW1lc3NhZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9hc3QvdG9hc3QtbWVzc2FnZS90b2FzdC1tZXNzYWdlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLFVBQVUsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBT3hGLE1BQU0sT0FBTyx1QkFBdUI7SUFDZDtJQUFwQixZQUFvQixLQUFpQjtRQUFqQixVQUFLLEdBQUwsS0FBSyxDQUFZO0lBQUksQ0FBQztJQUVqQyxLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLE9BQU8sQ0FBUztJQUNoQixPQUFPLEdBQVcsSUFBSSxDQUFDO0lBQ3ZCLFNBQVMsR0FBWSxLQUFLLENBQUM7SUFFM0IsSUFBSSxHQUE2QyxNQUFNLENBQUM7SUFFakUsS0FBSyxHQUFXLE1BQ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VcIj5cbiAgICAgICAgICAgIDxpIGNsYXNzPVwiZmFyIGZhLXRpbWVzXCI+PC9pPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2hlYWRlcj5cbiAgICA8ZGl2IGNsYXNzPVwiY29udGVudCBheCB0b2FzdCB7eyBzdHlsZSB9fVwiPlxuICAgICAgICB7eyBtZXNzYWdlIH19XG4gICAgICAgIDxkaXYgKm5nSWY9XCIhdGl0bGUgJiYgY2xvc2VhYmxlXCIgKGNsaWNrKT1cImNsb3NlKClcIiBjbGFzcz1cInRvYXN0LWNsb3NlXCI+XG4gICAgICAgICAgICA8aSBjbGFzcz1cImZhciBmYS10aW1lc1wiPjwvaT5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJ0b2FzdC1wcm9ncmVzc1wiIFtzdHlsZS5hbmltYXRpb24tZHVyYXRpb24ubXNdPVwidGltZU91dFwiPjwvZGl2PlxuICAgIDwvZGl2PlxuPC9kaXY+Il19
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class AXToastWrapperComponent {
|
4
|
-
constructor() { }
|
5
|
-
ngOnInit() { }
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXToastWrapperComponent, selector: "ax-toast-wrapper", ngImport: i0, template: '', isInline: true, styles: ["ax-toast-wrapper{min-width:300px;max-width:360px;height:auto;position:fixed;bottom:0;right:50%;left:50%;display:flex;flex-direction:column;margin:auto auto auto -150px;z-index:10003;flex-wrap:wrap}\n"], encapsulation: i0.ViewEncapsulation.None });
|
8
|
-
}
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastWrapperComponent, decorators: [{
|
10
|
-
type: Component,
|
11
|
-
args: [{ selector: 'ax-toast-wrapper', template: '', encapsulation: ViewEncapsulation.None, styles: ["ax-toast-wrapper{min-width:300px;max-width:360px;height:auto;position:fixed;bottom:0;right:50%;left:50%;display:flex;flex-direction:column;margin:auto auto auto -150px;z-index:10003;flex-wrap:wrap}\n"] }]
|
12
|
-
}], ctorParameters: () => [] });
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Qtd3JhcHBlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b2FzdC90b2FzdC13cmFwcGVyL3RvYXN0LXdyYXBwZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUXJFLE1BQU0sT0FBTyx1QkFBdUI7SUFDbEMsZ0JBQWUsQ0FBQztJQUVoQixRQUFRLEtBQVUsQ0FBQzt1R0FIUix1QkFBdUI7MkZBQXZCLHVCQUF1Qix3REFKeEIsRUFBRTs7MkZBSUQsdUJBQXVCO2tCQU5uQyxTQUFTOytCQUNFLGtCQUFrQixZQUNsQixFQUFFLGlCQUVHLGlCQUFpQixDQUFDLElBQUkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIE9uSW5pdCwgVmlld0VuY2Fwc3VsYXRpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXgtdG9hc3Qtd3JhcHBlcicsXG4gIHRlbXBsYXRlOiAnJyxcbiAgc3R5bGVVcmxzOiBbJy4vdG9hc3Qtd3JhcHBlci5jb21wb25lbnQuc2NzcyddLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lXG59KVxuZXhwb3J0IGNsYXNzIEFYVG9hc3RXcmFwcGVyQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgY29uc3RydWN0b3IoKSB7fVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge31cbn1cbiJdfQ==
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { AXToastService } from './toast.service';
|
4
|
-
import { AXToastWrapperComponent } from './toast-wrapper/toast-wrapper.component';
|
5
|
-
import { AXToastMessageComponent } from './toast-message/toast-message.component';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export class AXToastModule {
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
9
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: AXToastModule, declarations: [AXToastWrapperComponent, AXToastMessageComponent], imports: [CommonModule], exports: [AXToastWrapperComponent] });
|
10
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastModule, providers: [AXToastService], imports: [CommonModule] });
|
11
|
-
}
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastModule, decorators: [{
|
13
|
-
type: NgModule,
|
14
|
-
args: [{
|
15
|
-
declarations: [AXToastWrapperComponent, AXToastMessageComponent],
|
16
|
-
imports: [CommonModule],
|
17
|
-
exports: [AXToastWrapperComponent],
|
18
|
-
providers: [AXToastService]
|
19
|
-
}]
|
20
|
-
}] });
|
21
|
-
//# sourceMappingURL=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xhci9jb21tb24nO1xuaW1wb3J0IHsgQVhUb2FzdFNlcnZpY2UgfSBmcm9tICcuL3RvYXN0LnNlcnZpY2UnO1xuaW1wb3J0IHsgQVhUb2FzdFdyYXBwZXJDb21wb25lbnQgfSBmcm9tICcuL3RvYXN0LXdyYXBwZXIvdG9hc3Qtd3JhcHBlci5jb21wb25lbnQnO1xuaW1wb3J0IHsgQVhUb2FzdE1lc3NhZ2VDb21wb25lbnQgfSBmcm9tICcuL3RvYXN0LW1lc3NhZ2UvdG9hc3QtbWVzc2FnZS5jb21wb25lbnQnO1xuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtBWFRvYXN0V3JhcHBlckNvbXBvbmVudCwgQVhUb2FzdE1lc3NhZ2VDb21wb25lbnRdLFxuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxuICAgIGV4cG9ydHM6IFtBWFRvYXN0V3JhcHBlckNvbXBvbmVudF0sXG4gICAgcHJvdmlkZXJzOiBbQVhUb2FzdFNlcnZpY2VdXG59KVxuZXhwb3J0IGNsYXNzIEFYVG9hc3RNb2R1bGUgeyB9XG4iXX0=
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import { Injectable } from '@angular/core';
|
2
|
-
import { AXRenderService } from '@acorex/core';
|
3
|
-
import { AXToastWrapperComponent } from './toast-wrapper/toast-wrapper.component';
|
4
|
-
import { AXToastMessageComponent } from './toast-message/toast-message.component';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "@acorex/core";
|
7
|
-
export class AXToastService {
|
8
|
-
injectionService;
|
9
|
-
constructor(injectionService) {
|
10
|
-
this.injectionService = injectionService;
|
11
|
-
}
|
12
|
-
info(message, options) {
|
13
|
-
this.show(message, 'info', options);
|
14
|
-
}
|
15
|
-
success(message, options) {
|
16
|
-
this.show(message, 'success', options);
|
17
|
-
}
|
18
|
-
warning(message, options) {
|
19
|
-
this.show(message, 'warning', options);
|
20
|
-
}
|
21
|
-
error(message, options) {
|
22
|
-
this.show(message, 'error', options);
|
23
|
-
}
|
24
|
-
show(message, type, options) {
|
25
|
-
const opt = Object.assign({
|
26
|
-
message,
|
27
|
-
type
|
28
|
-
}, options);
|
29
|
-
const wrapper = document.querySelector('ax-toast-wrapper');
|
30
|
-
if (!wrapper) {
|
31
|
-
const toastWrapper = this.injectionService.appendComponent(AXToastWrapperComponent);
|
32
|
-
this.injectionService.appendComponent(AXToastMessageComponent, opt, toastWrapper.location.nativeElement);
|
33
|
-
}
|
34
|
-
else {
|
35
|
-
this.injectionService.appendComponent(AXToastMessageComponent, opt, wrapper);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastService, deps: [{ token: i1.AXRenderService }], target: i0.ɵɵFactoryTarget.Injectable });
|
39
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastService, providedIn: 'root' });
|
40
|
-
}
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToastService, decorators: [{
|
42
|
-
type: Injectable,
|
43
|
-
args: [{ providedIn: 'root' }]
|
44
|
-
}], ctorParameters: () => [{ type: i1.AXRenderService }] });
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Quc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL3RvYXN0L3RvYXN0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO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tdG9hc3Qtd3JhcHBlcicpO1xuICAgIGlmICghd3JhcHBlcikge1xuICAgICAgY29uc3QgdG9hc3RXcmFwcGVyID0gdGhpcy5pbmplY3Rpb25TZXJ2aWNlLmFwcGVuZENvbXBvbmVudChcbiAgICAgICAgQVhUb2FzdFdyYXBwZXJDb21wb25lbnRcbiAgICAgICk7XG4gICAgICB0aGlzLmluamVjdGlvblNlcnZpY2UuYXBwZW5kQ29tcG9uZW50KFxuICAgICAgICBBWFRvYXN0TWVzc2FnZUNvbXBvbmVudCxcbiAgICAgICAgb3B0LFxuICAgICAgICB0b2FzdFdyYXBwZXIubG9jYXRpb24ubmF0aXZlRWxlbWVudFxuICAgICAgKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5pbmplY3Rpb25TZXJ2aWNlLmFwcGVuZENvbXBvbmVudChcbiAgICAgICAgQVhUb2FzdE1lc3NhZ2VDb21wb25lbnQsXG4gICAgICAgIG9wdCxcbiAgICAgICAgd3JhcHBlclxuICAgICAgKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -1,77 +0,0 @@
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from "@angular/core";
|
2
|
-
import { AXToolbarItem } from "../toolbar-item";
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/common";
|
5
|
-
export class AXToolbarButtonGroupComponent {
|
6
|
-
constructor() { }
|
7
|
-
items = [];
|
8
|
-
itemClick = new EventEmitter();
|
9
|
-
mode = "single";
|
10
|
-
onClick(item) {
|
11
|
-
if (this.mode == "single") {
|
12
|
-
this.items.forEach(c => {
|
13
|
-
c.selected = false;
|
14
|
-
});
|
15
|
-
item.selected = true;
|
16
|
-
this.itemClick.emit(item);
|
17
|
-
}
|
18
|
-
else {
|
19
|
-
if (item.selected) {
|
20
|
-
item.selected = false;
|
21
|
-
}
|
22
|
-
else {
|
23
|
-
item.selected = true;
|
24
|
-
this.itemClick.emit(item);
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
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: [
|
30
|
-
{ provide: AXToolbarItem, useExisting: AXToolbarButtonGroupComponent }
|
31
|
-
], ngImport: i0, template: `
|
32
|
-
<div class="btn-group" role="group">
|
33
|
-
<button
|
34
|
-
type="button"
|
35
|
-
*ngFor="let item of items"
|
36
|
-
class="btn btn-sm {{ item.style }}"
|
37
|
-
[class.active]="item.selected"
|
38
|
-
(click)="onClick(item)"
|
39
|
-
[title]="item.tooltip"
|
40
|
-
>
|
41
|
-
<i class="{{ item.icon }}"></i>
|
42
|
-
{{ item.text }}
|
43
|
-
</button>
|
44
|
-
</div>
|
45
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
46
|
-
}
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarButtonGroupComponent, decorators: [{
|
48
|
-
type: Component,
|
49
|
-
args: [{
|
50
|
-
selector: "ax-toolbar-group-button",
|
51
|
-
template: `
|
52
|
-
<div class="btn-group" role="group">
|
53
|
-
<button
|
54
|
-
type="button"
|
55
|
-
*ngFor="let item of items"
|
56
|
-
class="btn btn-sm {{ item.style }}"
|
57
|
-
[class.active]="item.selected"
|
58
|
-
(click)="onClick(item)"
|
59
|
-
[title]="item.tooltip"
|
60
|
-
>
|
61
|
-
<i class="{{ item.icon }}"></i>
|
62
|
-
{{ item.text }}
|
63
|
-
</button>
|
64
|
-
</div>
|
65
|
-
`,
|
66
|
-
providers: [
|
67
|
-
{ provide: AXToolbarItem, useExisting: AXToolbarButtonGroupComponent }
|
68
|
-
]
|
69
|
-
}]
|
70
|
-
}], ctorParameters: () => [], propDecorators: { items: [{
|
71
|
-
type: Input
|
72
|
-
}], itemClick: [{
|
73
|
-
type: Output
|
74
|
-
}], mode: [{
|
75
|
-
type: Input
|
76
|
-
}] } });
|
77
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1ncm91cC1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9ncm91cC1idXR0b24vdG9vbGJhci1ncm91cC1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0UsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7QUF3QmhELE1BQU0sT0FBTyw2QkFBNkI7SUFDeEMsZ0JBQWdCLENBQUM7SUFHakIsS0FBSyxHQUFxQixFQUFFLENBQUM7SUFHN0IsU0FBUyxHQUFpQyxJQUFJLFlBQVksRUFBa0IsQ0FBQztJQUc3RSxJQUFJLEdBQTBCLFFBQVEsQ0FBQztJQUV2QyxPQUFPLENBQUMsSUFBb0I7UUFDMUIsSUFBSSxJQUFJLENBQUMsSUFBSSxJQUFJLFFBQVEsRUFBRSxDQUFDO1lBQzFCLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUFFO2dCQUNyQixDQUFDLENBQUMsUUFBUSxHQUFHLEtBQUssQ0FBQztZQUNyQ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Wl0dGVyPEFYQmFzZU1lbnVJdGVtPiA9IG5ldyBFdmVudEVtaXR0ZXI8QVhCYXNlTWVudUl0ZW0+KCk7XG5cbiAgQElucHV0KClcbiAgbW9kZTogXCJzaW5nbGVcIiB8IFwibXVsdGlwbGVcIiA9IFwic2luZ2xlXCI7XG5cbiAgb25DbGljayhpdGVtOiBBWEJhc2VNZW51SXRlbSkge1xuICAgIGlmICh0aGlzLm1vZGUgPT0gXCJzaW5nbGVcIikge1xuICAgICAgdGhpcy5pdGVtcy5mb3JFYWNoKGMgPT4ge1xuICAgICAgICBjLnNlbGVjdGVkID0gZmFsc2U7XG4gICAgICB9KTtcbiAgICAgIGl0ZW0uc2VsZWN0ZWQgPSB0cnVlO1xuICAgICAgdGhpcy5pdGVtQ2xpY2suZW1pdChpdGVtKTtcbiAgICB9IGVsc2Uge1xuICAgICAgaWYgKGl0ZW0uc2VsZWN0ZWQpIHtcbiAgICAgICAgaXRlbS5zZWxlY3RlZCA9IGZhbHNlO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgaXRlbS5zZWxlY3RlZCA9IHRydWU7XG4gICAgICAgIHRoaXMuaXRlbUNsaWNrLmVtaXQoaXRlbSk7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -1,65 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, Component, ContentChild, EventEmitter, Input, Output, TemplateRef, ViewChild, ViewEncapsulation, } from '@angular/core';
|
2
|
-
import { AXMenuComponent, } from '../../menu/menu.component';
|
3
|
-
import { AXToolbarItem } from '../toolbar-item';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "../../menu/menu.component";
|
6
|
-
export class AXToolbarMenuComponent extends AXToolbarItem {
|
7
|
-
cdr;
|
8
|
-
constructor(cdr) {
|
9
|
-
super();
|
10
|
-
this.cdr = cdr;
|
11
|
-
}
|
12
|
-
menu;
|
13
|
-
onItemClick = new EventEmitter();
|
14
|
-
_contentMenuTemplate;
|
15
|
-
_menuTemplate;
|
16
|
-
get menuTemplate() {
|
17
|
-
return this._menuTemplate ? this._menuTemplate : this._contentMenuTemplate;
|
18
|
-
}
|
19
|
-
set menuTemplate(v) {
|
20
|
-
this._menuTemplate = v;
|
21
|
-
}
|
22
|
-
floatPlacemnet;
|
23
|
-
selection = 'none';
|
24
|
-
_items;
|
25
|
-
get items() {
|
26
|
-
return this._items;
|
27
|
-
}
|
28
|
-
set items(v) {
|
29
|
-
this._items = v;
|
30
|
-
this.update();
|
31
|
-
}
|
32
|
-
handleItemClick(item) {
|
33
|
-
this.onItemClick.emit(item);
|
34
|
-
}
|
35
|
-
close() {
|
36
|
-
// this.menu.close();
|
37
|
-
}
|
38
|
-
update() {
|
39
|
-
//this.menu.update();
|
40
|
-
this.cdr.detectChanges();
|
41
|
-
}
|
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 });
|
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 });
|
44
|
-
}
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarMenuComponent, decorators: [{
|
46
|
-
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" }]
|
48
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { menu: [{
|
49
|
-
type: ViewChild,
|
50
|
-
args: ['menu', { static: true }]
|
51
|
-
}], onItemClick: [{
|
52
|
-
type: Output
|
53
|
-
}], _contentMenuTemplate: [{
|
54
|
-
type: ContentChild,
|
55
|
-
args: [TemplateRef, { static: true }]
|
56
|
-
}], menuTemplate: [{
|
57
|
-
type: Input
|
58
|
-
}], floatPlacemnet: [{
|
59
|
-
type: Input
|
60
|
-
}], selection: [{
|
61
|
-
type: Input
|
62
|
-
}], items: [{
|
63
|
-
type: Input
|
64
|
-
}] } });
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL3Rvb2xiYXIvbWVudS90b29sYmFyLW1lbnUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vL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IHY7XG4gICAgdGhpcy51cGRhdGUoKTtcbiAgfVxuXG4gIGhhbmRsZUl0ZW1DbGljayhpdGVtPzogQVhNZW51SXRlbUNsaWNrRXZlbnQpIHtcbiAgICB0aGlzLm9uSXRlbUNsaWNrLmVtaXQoaXRlbSk7XG4gIH1cblxuICBwdWJsaWMgY2xvc2UoKTogdm9pZCB7XG4gICAgLy8gdGhpcy5tZW51LmNsb3NlKCk7XG4gIH1cblxuICB1cGRhdGUoKSB7XG4gICAgLy90aGlzLm1lbnUudXBkYXRlKCk7XG4gICAgdGhpcy5jZHIuZGV0ZWN0Q2hhbmdlcygpO1xuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiYXgtdG9vbGJhci1tZW51LWNvbnRhaW5lclwiPlxuICA8YXgtbWVudVxuICAgICNtZW51XG4gICAgW2l0ZW1zXT1cIml0ZW1zXCJcbiAgICBbc2VsZWN0aW9uXT1cInNlbGVjdGlvblwiXG4gICAgKG9uSXRlbUNsaWNrKT1cImhhbmRsZUl0ZW1DbGljaygkZXZlbnQpXCJcbiAgICBbbWVudVRlbXBsYXRlXT1cIm1lbnVUZW1wbGF0ZVwiXG4gICAgW2Zsb2F0UGxhY2VtbmV0XT1cImZsb2F0UGxhY2VtbmV0XCJcbiAgPlxuICA8L2F4LW1lbnU+XG48L2Rpdj5cbiJdfQ==
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import { Component, Input, Output, EventEmitter, ElementRef, ViewChild } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
4
|
-
import { AXToolbarItem } from '../toolbar-item';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export class AXToolbarSearchComponent {
|
7
|
-
constructor() { }
|
8
|
-
searchChangeObserver;
|
9
|
-
inputSearch;
|
10
|
-
onValueChanged = new EventEmitter();
|
11
|
-
_text;
|
12
|
-
get text() {
|
13
|
-
return this._text;
|
14
|
-
}
|
15
|
-
set text(v) {
|
16
|
-
if (v !== this._text) {
|
17
|
-
const old = this._text;
|
18
|
-
this._text = v;
|
19
|
-
this.onValueChanged.emit({
|
20
|
-
component: this,
|
21
|
-
value: v,
|
22
|
-
oldValue: old
|
23
|
-
});
|
24
|
-
}
|
25
|
-
}
|
26
|
-
focus() {
|
27
|
-
this.inputSearch.nativeElement.focus();
|
28
|
-
}
|
29
|
-
onSearchChanged(text) {
|
30
|
-
if (!this.searchChangeObserver) {
|
31
|
-
Observable.create(observer => {
|
32
|
-
this.searchChangeObserver = observer;
|
33
|
-
})
|
34
|
-
.pipe(debounceTime(500))
|
35
|
-
.pipe(distinctUntilChanged())
|
36
|
-
.subscribe(c => {
|
37
|
-
this.text = c;
|
38
|
-
});
|
39
|
-
}
|
40
|
-
this.searchChangeObserver.next(text);
|
41
|
-
}
|
42
|
-
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\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"] });
|
44
|
-
}
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarSearchComponent, decorators: [{
|
46
|
-
type: Component,
|
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"] }]
|
48
|
-
}], ctorParameters: () => [], propDecorators: { inputSearch: [{
|
49
|
-
type: ViewChild,
|
50
|
-
args: ['input', { static: true }]
|
51
|
-
}], onValueChanged: [{
|
52
|
-
type: Output
|
53
|
-
}], text: [{
|
54
|
-
type: Input
|
55
|
-
}] } });
|
56
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1zZWFyY2guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9zZWFyY2gvdG9vbGJhci1zZWFyY2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci9zZWFyY2gvdG9vbGJhci1zZWFyY2guY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gIC5waXBlKGRpc3RpbmN0VW50aWxDaGFuZ2VkKCkpXG4gICAgICAgICAgICAgICAgLnN1YnNjcmliZShjID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy50ZXh0ID0gYztcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLnNlYXJjaENoYW5nZU9ic2VydmVyLm5leHQodGV4dCk7XG4gICAgfVxufVxuIiwiPGRpdiBjbGFzcz1cInNlYXJjaC1iYXJcIj5cbiAgPGlucHV0XG4gICAgI2lucHV0XG4gICAgdHlwZT1cInNlYXJjaFwiXG4gICAgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICBwbGFjZWhvbGRlcj1cItis2LPYqtis2YggLi4uXCJcbiAgICAoaW5wdXQpPVwib25TZWFyY2hDaGFuZ2VkKCRldmVudC50YXJnZXQudmFsdWUpXCJcbiAgLz5cbiAgPGkgY2xhc3M9XCJmYXIgZmEtc2VhcmNoIHRleHQtc2Vjb25kYXJ5XCI+PC9pPlxuPC9kaXY+XG4iXX0=
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
2
|
-
import { AXToolbarItem } from '../toolbar-item';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/common";
|
5
|
-
export class AXToolbarTitleComponent {
|
6
|
-
constructor() { }
|
7
|
-
_text;
|
8
|
-
get text() {
|
9
|
-
return this._text;
|
10
|
-
}
|
11
|
-
set text(v) {
|
12
|
-
if (v !== this._text) {
|
13
|
-
this._text = v;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
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
|
-
<ng-container *ngIf="text; else elseTemplate">
|
19
|
-
<div class="title">{{text}}</div>
|
20
|
-
</ng-container>
|
21
|
-
<ng-template #elseTemplate>
|
22
|
-
<ng-content></ng-content>
|
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"] }] });
|
24
|
-
}
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarTitleComponent, decorators: [{
|
26
|
-
type: Component,
|
27
|
-
args: [{ selector: 'ax-toolbar-title', template: `
|
28
|
-
<ng-container *ngIf="text; else elseTemplate">
|
29
|
-
<div class="title">{{text}}</div>
|
30
|
-
</ng-container>
|
31
|
-
<ng-template #elseTemplate>
|
32
|
-
<ng-content></ng-content>
|
33
|
-
</ng-template>`, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarTitleComponent }], styles: [".title{height:100%;display:flex;align-items:center}\n"] }]
|
34
|
-
}], ctorParameters: () => [], propDecorators: { text: [{
|
35
|
-
type: Input
|
36
|
-
}] } });
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci10aXRsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b29sYmFyL3RpdGxlL3Rvb2xiYXItdGl0bGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUF3QixNQUFNLGVBQWUsQ0FBQztBQUMvRSxPQUFPLEVBQUUsYUFB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ICAgIDxkaXYgY2xhc3M9XCJ0aXRsZVwiPnt7dGV4dH19PC9kaXY+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8bmctdGVtcGxhdGUgI2Vsc2VUZW1wbGF0ZT5cbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5gLFxuICAgIHN0eWxlczogW2BcbiAgICAgICAgLnRpdGxle1xuICAgICAgICAgICAgaGVpZ2h0OiAxMDAlO1xuICAgICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIH1cbiAgICBgXSxcbiAgICBwcm92aWRlcnM6IFt7IHByb3ZpZGU6IEFYVG9vbGJhckl0ZW0sIHVzZUV4aXN0aW5nOiBBWFRvb2xiYXJUaXRsZUNvbXBvbmVudCB9XVxufSlcbmV4cG9ydCBjbGFzcyBBWFRvb2xiYXJUaXRsZUNvbXBvbmVudCB7XG4gICAgY29uc3RydWN0b3IoKSB7IH1cblxuICAgIHByaXZhdGUgX3RleHQ6IHN0cmluZztcbiAgICBASW5wdXQoKVxuICAgIHB1YmxpYyBnZXQgdGV4dCgpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gdGhpcy5fdGV4dDtcbiAgICB9XG4gICAgcHVibGljIHNldCB0ZXh0KHY6IHN0cmluZykge1xuICAgICAgICBpZiAodiAhPT0gdGhpcy5fdGV4dCkge1xuICAgICAgICAgICAgdGhpcy5fdGV4dCA9IHY7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export class AXToolbarItem {
|
2
|
-
alignment = "center";
|
3
|
-
}
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci90b29sYmFyLWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFnQixhQUFhO0lBRS9CLFNBQVMsR0FBd0IsUUFBUSxDQUFDO0NBQzdDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGFic3RyYWN0IGNsYXNzIEFYVG9vbGJhckl0ZW1cbntcbiAgICBhbGlnbm1lbnQ6XCJzdGFydFwifFwiZW5kXCJ8XCJjZW50ZXJcIj1cImNlbnRlclwiO1xufSJdfQ==
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class AXToolbarComponent {
|
4
|
-
constructor() { }
|
5
|
-
ngOnInit() { }
|
6
|
-
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 <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 });
|
8
|
-
}
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarComponent, decorators: [{
|
10
|
-
type: Component,
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b29sYmFyL3Rvb2xiYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdG9vbGJhci90b29sYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBU3JFLE1BQU0sT0FBTyxrQkFBa0I7SUFFM0IsZ0JBQWdCLENBQUM7SUFFakIsUUFBUSxLQUFXLENBQUM7dUdBSlgsa0JBQWtCOzJGQUFsQixrQkFBa0Isa0RDVC9CLHlFQUdNOzsyRkRNTyxrQkFBa0I7a0JBTjlCLFNBQVM7K0JBQ0ksWUFBWSxpQkFHUixpQkFBaUIsQ0FBQyxJQUFJIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICdheC10b29sYmFyJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vdG9vbGJhci5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vdG9vbGJhci5jb21wb25lbnQuc2NzcyddLFxuICAgIGVuY2Fwc3VsYXRpb246Vmlld0VuY2Fwc3VsYXRpb24uTm9uZVxufSlcbmV4cG9ydCBjbGFzcyBBWFRvb2xiYXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gICAgY29uc3RydWN0b3IoKSB7IH1cblxuICAgIG5nT25Jbml0KCk6IHZvaWQgeyB9XG4gICAgXG59XG4iLCI8ZGl2IGNsYXNzPVwiYXgtdG9vbGJhclwiPlxuICAgIDxuZy1jb250ZW50PlxuICAgIDwvbmctY29udGVudD5cbjwvZGl2PiJdfQ==
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { AXToolbarComponent } from './toolbar.component';
|
4
|
-
import { AXToolbarMenuComponent } from './menu/toolbar-menu.component';
|
5
|
-
import { AXToolbarSearchComponent } from './search/toolbar-search.component';
|
6
|
-
import { AXToolbarTitleComponent } from './title/toolbar-title.component';
|
7
|
-
import { AXToolbarButtonGroupComponent } from './group-button/toolbar-group-button.component';
|
8
|
-
import { AXPopoverModule } from '../popover/popover.module';
|
9
|
-
import { AXMenuModule } from '../menu/menu.module';
|
10
|
-
import * as i0 from "@angular/core";
|
11
|
-
const COMPONENTS = [
|
12
|
-
AXToolbarComponent,
|
13
|
-
AXToolbarMenuComponent,
|
14
|
-
AXToolbarSearchComponent,
|
15
|
-
AXToolbarTitleComponent,
|
16
|
-
AXToolbarButtonGroupComponent
|
17
|
-
];
|
18
|
-
export class AXToolbarModule {
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
20
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarModule, declarations: [AXToolbarComponent,
|
21
|
-
AXToolbarMenuComponent,
|
22
|
-
AXToolbarSearchComponent,
|
23
|
-
AXToolbarTitleComponent,
|
24
|
-
AXToolbarButtonGroupComponent], imports: [CommonModule, AXPopoverModule, AXMenuModule], exports: [AXToolbarComponent,
|
25
|
-
AXToolbarMenuComponent,
|
26
|
-
AXToolbarSearchComponent,
|
27
|
-
AXToolbarTitleComponent,
|
28
|
-
AXToolbarButtonGroupComponent] });
|
29
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarModule, imports: [CommonModule, AXPopoverModule, AXMenuModule] });
|
30
|
-
}
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXToolbarModule, decorators: [{
|
32
|
-
type: NgModule,
|
33
|
-
args: [{
|
34
|
-
declarations: [COMPONENTS],
|
35
|
-
imports: [CommonModule, AXPopoverModule, AXMenuModule],
|
36
|
-
exports: [COMPONENTS],
|
37
|
-
providers: [],
|
38
|
-
}]
|
39
|
-
}] });
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi90b29sYmFyL3Rvb2xiYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3ZFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQzdFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSw2QkFBNk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