@acorex/components 5.0.35 → 5.0.39
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/esm2020/lib/alert/alert-button.component.mjs +3 -3
- package/esm2020/lib/alert/alert-content.component.mjs +3 -3
- package/esm2020/lib/alert/alert-footer.component.mjs +3 -3
- package/esm2020/lib/alert/alert-suffix.component.mjs +3 -3
- package/esm2020/lib/alert/alert-title.component.mjs +3 -3
- package/esm2020/lib/alert/alert.component.mjs +3 -3
- package/esm2020/lib/alert/alert.module.mjs +4 -4
- package/esm2020/lib/avatar/avatar.component.mjs +3 -3
- package/esm2020/lib/avatar/avatar.module.mjs +4 -4
- package/esm2020/lib/badge/badge.component.mjs +5 -5
- package/esm2020/lib/badge/badge.module.mjs +4 -4
- package/esm2020/lib/base/common.module.mjs +4 -4
- package/esm2020/lib/base/custom-cdk-overlay.service.mjs +6 -6
- package/esm2020/lib/base/mixin/base-components.class.mjs +3 -3
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +16 -5
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +40 -9
- package/esm2020/lib/base/mixin/dropdown-mixin.class.mjs +21 -10
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +2 -2
- package/esm2020/lib/base/mixin/selection-component.class.mjs +17 -3
- package/esm2020/lib/base/mixin/value-mixin.class.mjs +26 -14
- package/esm2020/lib/base/overlay.service.mjs +3 -3
- package/esm2020/lib/base/responsive.directive.mjs +3 -3
- package/esm2020/lib/button/button-group.component.mjs +3 -3
- package/esm2020/lib/button/button-item.component.mjs +5 -6
- package/esm2020/lib/button/button.component.mjs +3 -3
- package/esm2020/lib/button/button.module.mjs +4 -4
- package/esm2020/lib/calendar/calendar.class.mjs +3 -3
- package/esm2020/lib/calendar/calendar.component.mjs +8 -4
- package/esm2020/lib/calendar/calendar.module.mjs +4 -4
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-item.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-pager.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel.class.mjs +3 -3
- package/esm2020/lib/carousel/carousel.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel.module.mjs +4 -4
- package/esm2020/lib/checkbox/checkbox.component.mjs +7 -16
- package/esm2020/lib/checkbox/checkbox.module.mjs +7 -6
- package/esm2020/lib/datalist/datalist.component.mjs +3 -3
- package/esm2020/lib/datalist/datalist.module.mjs +4 -4
- package/esm2020/lib/datepicker/datepicker.component.mjs +30 -15
- package/esm2020/lib/datepicker/datepicker.module.mjs +4 -4
- package/esm2020/lib/decorators/addon.component.mjs +20 -0
- package/esm2020/lib/decorators/content.component.mjs +3 -3
- package/esm2020/lib/decorators/decorators.module.mjs +7 -6
- package/esm2020/lib/decorators/header.component.mjs +3 -3
- package/esm2020/lib/decorators/index.mjs +2 -1
- package/esm2020/lib/decorators/prefix.component.mjs +6 -6
- package/esm2020/lib/decorators/suffix.component.mjs +6 -6
- package/esm2020/lib/dialog/dialog.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.module.mjs +4 -4
- package/esm2020/lib/dialog/dialog.service.mjs +4 -5
- package/esm2020/lib/drawer/drawer-container.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer-content.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer.module.mjs +4 -4
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +5 -5
- package/esm2020/lib/dropdown/dropdown.module.mjs +7 -8
- package/esm2020/lib/dropdown/index.mjs +1 -2
- package/esm2020/lib/form/form-field.component.mjs +3 -3
- package/esm2020/lib/form/form-field.module.mjs +4 -4
- package/esm2020/lib/form/form-hint.component.mjs +3 -3
- package/esm2020/lib/form/form.component.mjs +3 -3
- package/esm2020/lib/icon/icon.component.mjs +5 -5
- package/esm2020/lib/icon/icon.module.mjs +4 -4
- package/esm2020/lib/input-mask/input-mask.component.mjs +21 -7
- package/esm2020/lib/input-mask/input-mask.module.mjs +7 -6
- package/esm2020/lib/label/label.component.mjs +12 -5
- package/esm2020/lib/label/label.module.mjs +4 -4
- package/esm2020/lib/loading/loading-spinner.component.mjs +10 -7
- package/esm2020/lib/loading/loading.component.mjs +14 -6
- package/esm2020/lib/loading/loading.directive.mjs +3 -3
- package/esm2020/lib/loading/loading.module.mjs +6 -6
- package/esm2020/lib/loading/loading.service.mjs +3 -3
- package/esm2020/lib/number-box/number-box.component.mjs +124 -184
- package/esm2020/lib/number-box/number-box.module.mjs +15 -9
- package/esm2020/lib/page/base-page.class.mjs +3 -3
- package/esm2020/lib/page/page-footer.component.mjs +3 -3
- package/esm2020/lib/page/page.component.mjs +3 -3
- package/esm2020/lib/page/page.module.mjs +4 -4
- package/esm2020/lib/password-box/password-box.component.mjs +8 -9
- package/esm2020/lib/password-box/password-box.module.mjs +4 -4
- package/esm2020/lib/popover/popover.component.mjs +32 -48
- package/esm2020/lib/popover/popover.module.mjs +4 -4
- package/esm2020/lib/popup/popup.component.mjs +7 -7
- package/esm2020/lib/popup/popup.module.mjs +6 -7
- package/esm2020/lib/popup/popup.service.mjs +6 -5
- package/esm2020/lib/radio/radio.component.mjs +3 -3
- package/esm2020/lib/radio/radio.module.mjs +4 -4
- package/esm2020/lib/range-slider/range-slider.component.mjs +3 -3
- package/esm2020/lib/range-slider/range-slider.module.mjs +4 -4
- package/esm2020/lib/selectbox/selectbox.component.mjs +69 -31
- package/esm2020/lib/selectbox/selectbox.module.mjs +9 -7
- package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2020/lib/selection-list/selection-list.module.mjs +4 -4
- package/esm2020/lib/side-menu/side-menu.component.mjs +3 -3
- package/esm2020/lib/side-menu/side-menu.module.mjs +4 -4
- package/esm2020/lib/switch/switch.component.mjs +3 -3
- package/esm2020/lib/switch/switch.module.mjs +4 -4
- package/esm2020/lib/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/lib/tabs/tab-item.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/textbox/textbox.component.mjs +10 -37
- package/esm2020/lib/textbox/textbox.module.mjs +4 -4
- package/esm2020/lib/time-box/time-box.component.mjs +6 -8
- package/esm2020/lib/time-box/time-box.module.mjs +4 -4
- package/esm2020/lib/toast/toast.component.mjs +3 -3
- package/esm2020/lib/toast/toast.module.mjs +4 -4
- package/esm2020/lib/toast/toast.service.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/lib/validation/validation-rule.widget.mjs +3 -3
- package/esm2020/lib/validation/validation.module.mjs +4 -4
- package/fesm2015/acorex-components.mjs +968 -914
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +964 -914
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/mixin/button-mixin.class.d.ts +8 -4
- package/lib/base/mixin/datalist-component.class.d.ts +4 -1
- package/lib/base/mixin/dropdown-mixin.class.d.ts +1 -3
- package/lib/base/mixin/interactive-mixin.class.d.ts +3 -1
- package/lib/base/mixin/mixin.class.d.ts +5 -4
- package/lib/base/mixin/selection-component.class.d.ts +8 -0
- package/lib/base/mixin/value-mixin.class.d.ts +3 -1
- package/lib/calendar/calendar.component.d.ts +1 -0
- package/lib/checkbox/checkbox.component.d.ts +2 -4
- package/lib/checkbox/checkbox.module.d.ts +2 -1
- package/lib/datepicker/datepicker.component.d.ts +16 -8
- package/lib/decorators/addon.component.d.ts +8 -0
- package/lib/decorators/decorators.module.d.ts +3 -2
- package/lib/decorators/index.d.ts +1 -0
- package/lib/decorators/prefix.component.d.ts +1 -1
- package/lib/decorators/suffix.component.d.ts +1 -1
- package/lib/dropdown/dropdown.module.d.ts +8 -9
- package/lib/dropdown/index.d.ts +0 -1
- package/lib/icon/icon.component.d.ts +1 -1
- package/lib/input-mask/input-mask.component.d.ts +13 -2
- package/lib/input-mask/input-mask.module.d.ts +2 -1
- package/lib/label/label.component.d.ts +3 -0
- package/lib/loading/loading-spinner.component.d.ts +1 -0
- package/lib/loading/loading.component.d.ts +4 -2
- package/lib/number-box/number-box.component.d.ts +30 -23
- package/lib/number-box/number-box.module.d.ts +4 -2
- package/lib/popover/popover.component.d.ts +2 -1
- package/lib/popup/popup.component.d.ts +1 -1
- package/lib/selectbox/selectbox.component.d.ts +15 -5
- package/lib/selectbox/selectbox.module.d.ts +8 -6
- package/lib/textbox/textbox.component.d.ts +1 -4
- package/package.json +4 -4
- package/esm2020/lib/dropdown/dropdown.component.mjs +0 -28
- package/lib/dropdown/dropdown.component.d.ts +0 -12
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { Injectable, Inject, EventEmitter, Directive, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, HostListener, ContentChildren, Optional, ViewChild, ContentChild, ElementRef, TemplateRef, ViewChildren } from '@angular/core';
|
|
4
|
+
import _ from 'lodash';
|
|
4
5
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
5
|
-
import * as
|
|
6
|
-
import { AXObjectUtil, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil,
|
|
6
|
+
import * as i1$3 from '@acorex/core';
|
|
7
|
+
import { AXObjectUtil, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil, AXTranslator, AXStringUtil, AXConfig, AXTranslationModule } from '@acorex/core';
|
|
7
8
|
import { Subscription, Subject, fromEvent, merge, asyncScheduler, BehaviorSubject } from 'rxjs';
|
|
8
9
|
import { debounceTime, distinctUntilChanged, throttleTime, observeOn, finalize } from 'rxjs/operators';
|
|
9
10
|
import * as i1 from '@angular/common';
|
|
10
11
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
11
12
|
import * as i1$1 from '@angular/forms';
|
|
12
13
|
import { FormsModule } from '@angular/forms';
|
|
13
|
-
import * as i1$
|
|
14
|
+
import * as i1$5 from '@angular/cdk/portal';
|
|
14
15
|
import { TemplatePortal, ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
15
|
-
import _ from 'lodash';
|
|
16
16
|
import * as i1$2 from '@angular/cdk/overlay';
|
|
17
17
|
import { OverlayModule, OverlayContainer, Overlay } from '@angular/cdk/overlay';
|
|
18
|
-
import * as i1$
|
|
18
|
+
import * as i1$4 from 'ngx-mask';
|
|
19
19
|
import { NgxMaskModule } from 'ngx-mask';
|
|
20
|
-
import * as i2
|
|
20
|
+
import * as i2 from '@angular/cdk/a11y';
|
|
21
21
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
22
22
|
import * as i3 from '@angular/cdk/drag-drop';
|
|
23
23
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
24
|
-
import * as i2$
|
|
24
|
+
import * as i2$1 from '@angular/cdk/bidi';
|
|
25
|
+
import IMask from 'imask';
|
|
26
|
+
import * as i5 from 'angular-imask';
|
|
27
|
+
import { IMaskModule, IMaskDirective } from 'angular-imask';
|
|
25
28
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
26
29
|
|
|
27
30
|
var _AXBaseComponent_elementRef;
|
|
@@ -101,9 +104,9 @@ class AXBaseComponent {
|
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
106
|
_AXBaseComponent_elementRef = new WeakMap();
|
|
104
|
-
AXBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
105
|
-
AXBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
107
|
+
AXBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBaseComponent, deps: [{ token: Array }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
108
|
+
AXBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBaseComponent });
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBaseComponent, decorators: [{
|
|
107
110
|
type: Injectable
|
|
108
111
|
}], ctorParameters: function () {
|
|
109
112
|
return [{ type: undefined, decorators: [{
|
|
@@ -130,10 +133,6 @@ function _ButtonComponentMixin(Base) {
|
|
|
130
133
|
constructor(...args) {
|
|
131
134
|
super(...args);
|
|
132
135
|
/**
|
|
133
|
-
* Defines the primary text to show inside the button.
|
|
134
|
-
*/
|
|
135
|
-
this.text = '';
|
|
136
|
-
/**
|
|
137
136
|
* Trigger click event by Enter Key
|
|
138
137
|
*/
|
|
139
138
|
this.submitBehavior = false;
|
|
@@ -151,6 +150,21 @@ function _ButtonComponentMixin(Base) {
|
|
|
151
150
|
this._selected = false;
|
|
152
151
|
}
|
|
153
152
|
/**
|
|
153
|
+
* Defines the primary text to show inside the button.
|
|
154
|
+
*/
|
|
155
|
+
get text() {
|
|
156
|
+
return this._text;
|
|
157
|
+
}
|
|
158
|
+
set text(v) {
|
|
159
|
+
this._setOption({
|
|
160
|
+
name: 'text',
|
|
161
|
+
value: v,
|
|
162
|
+
afterCallback: () => {
|
|
163
|
+
this._cdr.markForCheck();
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
154
168
|
* Predefined color schemes
|
|
155
169
|
*/
|
|
156
170
|
get color() {
|
|
@@ -291,7 +305,18 @@ function _DatalistComponenetMixin(Base) {
|
|
|
291
305
|
return __classPrivateFieldGet(this, _items, "f");
|
|
292
306
|
}
|
|
293
307
|
set items(v) {
|
|
294
|
-
|
|
308
|
+
if (Array.isArray(v)) {
|
|
309
|
+
__classPrivateFieldSet(this, _items, this._formatData(v), "f");
|
|
310
|
+
this._onDataLoaded();
|
|
311
|
+
}
|
|
312
|
+
else if (typeof v === 'function') {
|
|
313
|
+
__classPrivateFieldSet(this, _isLazy, true, "f");
|
|
314
|
+
__classPrivateFieldSet(this, _items, v, "f");
|
|
315
|
+
}
|
|
316
|
+
else {
|
|
317
|
+
__classPrivateFieldSet(this, _items, [], "f");
|
|
318
|
+
this._onDataLoaded();
|
|
319
|
+
}
|
|
295
320
|
}
|
|
296
321
|
get displayItems() {
|
|
297
322
|
if (Array.isArray(this.items)) {
|
|
@@ -305,6 +330,18 @@ function _DatalistComponenetMixin(Base) {
|
|
|
305
330
|
get isLoading() {
|
|
306
331
|
return __classPrivateFieldGet(this, _isLoading, "f");
|
|
307
332
|
}
|
|
333
|
+
_formatData(v) {
|
|
334
|
+
return _.unionBy(v.map((o, i) => {
|
|
335
|
+
if (typeof o == 'object')
|
|
336
|
+
return o;
|
|
337
|
+
else {
|
|
338
|
+
const no = {};
|
|
339
|
+
no[this.valueField] = o;
|
|
340
|
+
no[Array.isArray(this.textField) ? this.textField[0] : this.textField] = o;
|
|
341
|
+
return no;
|
|
342
|
+
}
|
|
343
|
+
}), this.valueField);
|
|
344
|
+
}
|
|
308
345
|
_fetchData() {
|
|
309
346
|
if ((this.loadedCount >= this.totalCount && this.totalCount != 0) || __classPrivateFieldGet(this, _isLoading, "f") || !__classPrivateFieldGet(this, _isLazy, "f")) {
|
|
310
347
|
return;
|
|
@@ -330,13 +367,13 @@ function _DatalistComponenetMixin(Base) {
|
|
|
330
367
|
});
|
|
331
368
|
}
|
|
332
369
|
}
|
|
333
|
-
_onInternalInit() {
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}
|
|
370
|
+
// _onInternalInit() {
|
|
371
|
+
// if (typeof this.#items == 'function') {
|
|
372
|
+
// this.#isLazy = true;
|
|
373
|
+
// this._fetchData();
|
|
374
|
+
// }
|
|
375
|
+
// super._onInternalInit();
|
|
376
|
+
// }
|
|
340
377
|
_onDataLoaded() {
|
|
341
378
|
}
|
|
342
379
|
_getItemDisplayTextTemplte(item) {
|
|
@@ -358,13 +395,19 @@ function _DatalistComponenetMixin(Base) {
|
|
|
358
395
|
_isLazy = new WeakMap(),
|
|
359
396
|
_items = new WeakMap(),
|
|
360
397
|
_a;
|
|
361
|
-
}
|
|
398
|
+
}
|
|
399
|
+
const DATALIST_INPUTS = [
|
|
400
|
+
'pageSize',
|
|
401
|
+
'valueField',
|
|
402
|
+
'textField',
|
|
403
|
+
'items'
|
|
404
|
+
];
|
|
405
|
+
const DATALIST_OUTPUT = [];
|
|
362
406
|
|
|
363
407
|
function _DropdownComponenetMixin(Base) {
|
|
364
408
|
class Mixin extends Base {
|
|
365
409
|
constructor(...args) {
|
|
366
410
|
super(...args);
|
|
367
|
-
this.fitParent = true;
|
|
368
411
|
this.readonly = false;
|
|
369
412
|
this.onOpened = new EventEmitter();
|
|
370
413
|
this.onClosed = new EventEmitter();
|
|
@@ -385,12 +428,12 @@ function _DropdownComponenetMixin(Base) {
|
|
|
385
428
|
htmlElement: this._getHostElement()
|
|
386
429
|
});
|
|
387
430
|
}
|
|
431
|
+
onInit() {
|
|
432
|
+
super.onInit();
|
|
433
|
+
this.popover.onOpened.subscribe(this.onOpened);
|
|
434
|
+
this.popover.onClosed.subscribe(this.onClosed);
|
|
435
|
+
}
|
|
388
436
|
onViewInit() {
|
|
389
|
-
if (this.dropdownWidth == null) {
|
|
390
|
-
if (this.fitParent === true) {
|
|
391
|
-
this.dropdownWidth = this._getInnerElement().offsetWidth;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
437
|
// wait for documentElement
|
|
395
438
|
setTimeout(() => {
|
|
396
439
|
if (this.position.length == 0) {
|
|
@@ -409,7 +452,21 @@ function _DropdownComponenetMixin(Base) {
|
|
|
409
452
|
overlayX: 'start',
|
|
410
453
|
overlayY: 'bottom',
|
|
411
454
|
offsetY: -offset
|
|
412
|
-
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
originX: 'end',
|
|
458
|
+
originY: 'bottom',
|
|
459
|
+
overlayX: 'end',
|
|
460
|
+
overlayY: 'top',
|
|
461
|
+
offsetY: offset
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
originX: 'end',
|
|
465
|
+
originY: 'top',
|
|
466
|
+
overlayX: 'end',
|
|
467
|
+
overlayY: 'bottom',
|
|
468
|
+
offsetY: -offset
|
|
469
|
+
},
|
|
413
470
|
];
|
|
414
471
|
this.position.push(...list);
|
|
415
472
|
}
|
|
@@ -425,14 +482,12 @@ function _DropdownComponenetMixin(Base) {
|
|
|
425
482
|
return;
|
|
426
483
|
}
|
|
427
484
|
this.popover.close();
|
|
428
|
-
this._emitOnClosedEvent();
|
|
429
485
|
}
|
|
430
486
|
open() {
|
|
431
487
|
if (this.isOpen || this['disabled']) {
|
|
432
488
|
return;
|
|
433
489
|
}
|
|
434
490
|
this.popover.open();
|
|
435
|
-
this._emitOnOpenedEvent();
|
|
436
491
|
}
|
|
437
492
|
get isOpen() {
|
|
438
493
|
var _a;
|
|
@@ -486,7 +541,7 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
486
541
|
/**
|
|
487
542
|
* Specifies the tabindex of the component.
|
|
488
543
|
*/
|
|
489
|
-
get tabIndex() { return this.disabled
|
|
544
|
+
get tabIndex() { return this.disabled ? -1 : __classPrivateFieldGet(this, _Mixin_tabIndex, "f"); }
|
|
490
545
|
set tabIndex(value) {
|
|
491
546
|
__classPrivateFieldSet(this, _Mixin_tabIndex, value != null ? coerceNumberProperty(value) : 0, "f");
|
|
492
547
|
}
|
|
@@ -529,6 +584,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
529
584
|
super(...args);
|
|
530
585
|
this.valueField = 'id';
|
|
531
586
|
this.textField = 'text';
|
|
587
|
+
this.disabledField = 'disabled';
|
|
532
588
|
this.multiple = false;
|
|
533
589
|
this.selectionMode = 'value';
|
|
534
590
|
this.valueChange = new EventEmitter();
|
|
@@ -567,7 +623,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
567
623
|
selectedItems: this.selectedItems.slice()
|
|
568
624
|
});
|
|
569
625
|
if (v == null || v == undefined || v == "") {
|
|
570
|
-
this.
|
|
626
|
+
this._setState('clear');
|
|
571
627
|
}
|
|
572
628
|
else {
|
|
573
629
|
if (this._isInited) {
|
|
@@ -665,7 +721,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
665
721
|
if (items && items.length) {
|
|
666
722
|
items.forEach(item => {
|
|
667
723
|
if (this.multiple) {
|
|
668
|
-
this.
|
|
724
|
+
this.isItemSelected(item) ? this.unselectItems(item) : this.selectItems(item);
|
|
669
725
|
}
|
|
670
726
|
else {
|
|
671
727
|
this.selectItems(item);
|
|
@@ -676,8 +732,20 @@ function _SelectionComponenetMixin(Base) {
|
|
|
676
732
|
isItemSelected(item) {
|
|
677
733
|
return this.selectedItems.some(c => c[this.valueField] === item[this.valueField]);
|
|
678
734
|
}
|
|
735
|
+
isItemDisabled(item) {
|
|
736
|
+
return coerceBooleanProperty(item[this.disabledField]) === true || (this.disabledCallback ? this.disabledCallback({ item, index: -1 }) : false);
|
|
737
|
+
}
|
|
679
738
|
};
|
|
680
|
-
}
|
|
739
|
+
}
|
|
740
|
+
const SELECTION_INPUTS = [
|
|
741
|
+
'valueField',
|
|
742
|
+
'textField',
|
|
743
|
+
'disabledField',
|
|
744
|
+
'disabledCallback',
|
|
745
|
+
'multiple',
|
|
746
|
+
'selectionMode'
|
|
747
|
+
];
|
|
748
|
+
const SELECTION_OUTPUT = ['onValueChanged', 'valueChanged'];
|
|
681
749
|
|
|
682
750
|
function _SizableComponenetMixin(Base) {
|
|
683
751
|
return class extends Base {
|
|
@@ -698,7 +766,7 @@ const SIZABLE_INPUTS = [
|
|
|
698
766
|
const SIZABLE_OUTPUT = [];
|
|
699
767
|
|
|
700
768
|
function _ValueComponenetMixin(Base) {
|
|
701
|
-
var _readonly, _allowNull, _name, _debounceTime, _valueSubscription, _valueSubject, _value, _a;
|
|
769
|
+
var _readonly, _allowNull, _name, _debounceTime, _valueSubscription, _valueSubject, _value, _state, _a;
|
|
702
770
|
return _a = class extends Base {
|
|
703
771
|
/**
|
|
704
772
|
* @ignore
|
|
@@ -712,12 +780,13 @@ function _ValueComponenetMixin(Base) {
|
|
|
712
780
|
this.onValueChanged = new EventEmitter();
|
|
713
781
|
this.valueChange = new EventEmitter();
|
|
714
782
|
_readonly.set(this, false);
|
|
715
|
-
_allowNull.set(this,
|
|
783
|
+
_allowNull.set(this, true);
|
|
716
784
|
_name.set(this, void 0);
|
|
717
785
|
_debounceTime.set(this, 0);
|
|
718
786
|
_valueSubscription.set(this, new Subscription());
|
|
719
787
|
_valueSubject.set(this, new Subject());
|
|
720
788
|
_value.set(this, void 0);
|
|
789
|
+
_state.set(this, 'clear');
|
|
721
790
|
}
|
|
722
791
|
/**
|
|
723
792
|
* If set to true, user cannot change the value of component.
|
|
@@ -758,6 +827,9 @@ function _ValueComponenetMixin(Base) {
|
|
|
758
827
|
__classPrivateFieldGet(this, _valueSubject, "f").next(v);
|
|
759
828
|
}
|
|
760
829
|
}
|
|
830
|
+
get state() {
|
|
831
|
+
return __classPrivateFieldGet(this, _state, "f");
|
|
832
|
+
}
|
|
761
833
|
_emitOnValueChangedEvent(oldValue, newValue) {
|
|
762
834
|
this.valueChange.emit(newValue);
|
|
763
835
|
this.onValueChanged.emit({
|
|
@@ -769,8 +841,8 @@ function _ValueComponenetMixin(Base) {
|
|
|
769
841
|
this._onValueChanged(oldValue, __classPrivateFieldGet(this, _value, "f"));
|
|
770
842
|
}
|
|
771
843
|
_onInternalValueChanging(value) {
|
|
772
|
-
if (this.readonly)
|
|
773
|
-
|
|
844
|
+
// if (this.readonly)
|
|
845
|
+
// return this.value;
|
|
774
846
|
return this._onValueChanging(value);
|
|
775
847
|
}
|
|
776
848
|
_onValueChanging(value) {
|
|
@@ -799,7 +871,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
799
871
|
this._emitOnValueChangedEvent(old, __classPrivateFieldGet(this, _value, "f"));
|
|
800
872
|
this._cdr.markForCheck();
|
|
801
873
|
if (v == null || v == undefined || v == '') {
|
|
802
|
-
this.
|
|
874
|
+
this._setState('clear');
|
|
803
875
|
}
|
|
804
876
|
else {
|
|
805
877
|
if (this._isInited) {
|
|
@@ -815,7 +887,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
815
887
|
const rules = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).filter((c) => c.__axContext__.enabled);
|
|
816
888
|
//
|
|
817
889
|
if (!rules || rules.length === 0) {
|
|
818
|
-
this.
|
|
890
|
+
this._setState('clear');
|
|
819
891
|
return Promise.resolve({ result: true, value: this.value });
|
|
820
892
|
}
|
|
821
893
|
return new Promise((resolve) => {
|
|
@@ -826,26 +898,30 @@ function _ValueComponenetMixin(Base) {
|
|
|
826
898
|
})).then((d) => {
|
|
827
899
|
const error = d.find((c) => c.result === false);
|
|
828
900
|
if (error) {
|
|
829
|
-
this.
|
|
901
|
+
this._setState('error', error.message);
|
|
830
902
|
resolve({ result: false, value: this.value });
|
|
831
903
|
}
|
|
832
904
|
else {
|
|
833
|
-
this.
|
|
905
|
+
this._setState('success');
|
|
834
906
|
resolve({ result: true, value: this.value });
|
|
835
907
|
}
|
|
836
908
|
});
|
|
837
909
|
});
|
|
838
910
|
}
|
|
839
|
-
|
|
911
|
+
_setState(state, ...args) {
|
|
840
912
|
const container = this._getHostElement().classList.contains('ax-editor-container') ?
|
|
841
913
|
this._getHostElement() :
|
|
842
914
|
this._getHostElement().querySelector('.ax-editor-container');
|
|
843
915
|
const formField = container === null || container === void 0 ? void 0 : container.closest('.ax-form-field');
|
|
844
|
-
const label = formField === null || formField === void 0 ? void 0 : formField.querySelector('ax-label');
|
|
845
|
-
|
|
916
|
+
const label = (formField === null || formField === void 0 ? void 0 : formField.querySelector('ax-label')) || (formField === null || formField === void 0 ? void 0 : formField.querySelector('label'));
|
|
917
|
+
let target = container || this._getInnerElement();
|
|
918
|
+
if (target.querySelector('.ax-error-container')) {
|
|
919
|
+
target = target.querySelector('.ax-error-container');
|
|
920
|
+
}
|
|
846
921
|
const parent = target.parentElement;
|
|
847
922
|
switch (state) {
|
|
848
923
|
case 'clear':
|
|
924
|
+
__classPrivateFieldSet(this, _state, 'clear', "f");
|
|
849
925
|
if (parent.querySelector('span.ax-error-msg')) {
|
|
850
926
|
parent.removeChild(parent.querySelector('span.ax-error-msg'));
|
|
851
927
|
}
|
|
@@ -853,11 +929,12 @@ function _ValueComponenetMixin(Base) {
|
|
|
853
929
|
target.classList.remove('ax-state-error', 'ax-state-success');
|
|
854
930
|
break;
|
|
855
931
|
case 'success':
|
|
856
|
-
this.
|
|
932
|
+
this._setState('clear');
|
|
857
933
|
target.classList.add('ax-state-success');
|
|
934
|
+
__classPrivateFieldSet(this, _state, 'success', "f");
|
|
858
935
|
break;
|
|
859
936
|
case 'error':
|
|
860
|
-
this.
|
|
937
|
+
this._setState('clear');
|
|
861
938
|
if (args[0]) {
|
|
862
939
|
const span = document.createElement('span');
|
|
863
940
|
span.innerText = args[0];
|
|
@@ -866,8 +943,10 @@ function _ValueComponenetMixin(Base) {
|
|
|
866
943
|
}
|
|
867
944
|
label === null || label === void 0 ? void 0 : label.classList.add('ax-state-error');
|
|
868
945
|
target.classList.add('ax-state-error');
|
|
946
|
+
__classPrivateFieldSet(this, _state, 'error', "f");
|
|
869
947
|
break;
|
|
870
948
|
}
|
|
949
|
+
this._cdr.markForCheck();
|
|
871
950
|
}
|
|
872
951
|
},
|
|
873
952
|
_readonly = new WeakMap(),
|
|
@@ -877,6 +956,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
877
956
|
_valueSubscription = new WeakMap(),
|
|
878
957
|
_valueSubject = new WeakMap(),
|
|
879
958
|
_value = new WeakMap(),
|
|
959
|
+
_state = new WeakMap(),
|
|
880
960
|
_a;
|
|
881
961
|
}
|
|
882
962
|
const VALUE_INPUTS = [
|
|
@@ -1019,19 +1099,19 @@ class AXResponsiveDirective {
|
|
|
1019
1099
|
this._observer.unobserve(this._elementRef.nativeElement);
|
|
1020
1100
|
}
|
|
1021
1101
|
}
|
|
1022
|
-
AXResponsiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1023
|
-
AXResponsiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1102
|
+
AXResponsiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXResponsiveDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1103
|
+
AXResponsiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: AXResponsiveDirective, selector: "[ax-responsive]", ngImport: i0 });
|
|
1104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
|
1025
1105
|
type: Directive,
|
|
1026
1106
|
args: [{ selector: '[ax-responsive]' }]
|
|
1027
1107
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1028
1108
|
|
|
1029
1109
|
class AXCommonModule {
|
|
1030
1110
|
}
|
|
1031
|
-
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1032
|
-
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1033
|
-
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1111
|
+
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1112
|
+
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective], exports: [AXResponsiveDirective] });
|
|
1113
|
+
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCommonModule, providers: [], imports: [[]] });
|
|
1114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCommonModule, decorators: [{
|
|
1035
1115
|
type: NgModule,
|
|
1036
1116
|
args: [{
|
|
1037
1117
|
imports: [],
|
|
@@ -1140,9 +1220,9 @@ class AXAlertComponent extends AXBaseComponentMixin {
|
|
|
1140
1220
|
}
|
|
1141
1221
|
}
|
|
1142
1222
|
_AXAlertComponent_visible = new WeakMap();
|
|
1143
|
-
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1144
|
-
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1223
|
+
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1224
|
+
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXAlertComponent, selector: "ax-alert", inputs: { icon: "icon", color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { typeChange: "typeChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-alert ax-none" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
1146
1226
|
type: Component,
|
|
1147
1227
|
args: [{ selector: 'ax-alert', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-alert ax-none' }, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>" }]
|
|
1148
1228
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
|
|
@@ -1162,12 +1242,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1162
1242
|
|
|
1163
1243
|
class AXAlertTitleComponent {
|
|
1164
1244
|
}
|
|
1165
|
-
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1166
|
-
AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1245
|
+
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1246
|
+
AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXAlertTitleComponent, selector: "ax-alert-title", host: { classAttribute: "ax-alert-title" }, ngImport: i0, template: `
|
|
1167
1247
|
<ng-content>
|
|
1168
1248
|
</ng-content>
|
|
1169
1249
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
|
|
1171
1251
|
type: Component,
|
|
1172
1252
|
args: [{
|
|
1173
1253
|
selector: 'ax-alert-title',
|
|
@@ -1195,12 +1275,12 @@ class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
|
1195
1275
|
this._emitOnBlurEvent(e);
|
|
1196
1276
|
}
|
|
1197
1277
|
}
|
|
1198
|
-
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1199
|
-
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1278
|
+
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1279
|
+
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" }, classAttribute: "ax-alert-button" }, usesInheritance: true, ngImport: i0, template: `
|
|
1200
1280
|
{{text}}
|
|
1201
1281
|
<ng-content select="ax-icon"></ng-content>
|
|
1202
1282
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
1204
1284
|
type: Component,
|
|
1205
1285
|
args: [{
|
|
1206
1286
|
selector: 'ax-alert-button',
|
|
@@ -1230,11 +1310,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1230
1310
|
|
|
1231
1311
|
class AXAlertContentComponent {
|
|
1232
1312
|
}
|
|
1233
|
-
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1234
|
-
AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1313
|
+
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1314
|
+
AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXAlertContentComponent, selector: "ax-alert-content", host: { classAttribute: "ax-alert-content" }, ngImport: i0, template: `<ng-content>
|
|
1235
1315
|
</ng-content>
|
|
1236
1316
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertContentComponent, decorators: [{
|
|
1238
1318
|
type: Component,
|
|
1239
1319
|
args: [{
|
|
1240
1320
|
selector: 'ax-alert-content',
|
|
@@ -1249,14 +1329,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1249
1329
|
|
|
1250
1330
|
class AXAlertSuffixComponent {
|
|
1251
1331
|
}
|
|
1252
|
-
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1253
|
-
AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1332
|
+
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1333
|
+
AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXAlertSuffixComponent, selector: "ax-alert-suffix", host: { classAttribute: "ax-alert-suffix" }, ngImport: i0, template: `
|
|
1254
1334
|
<div class="ax-alert-buttons">
|
|
1255
1335
|
<ng-content select="ax-alert-button">
|
|
1256
1336
|
</ng-content>
|
|
1257
1337
|
</div>
|
|
1258
1338
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
|
|
1260
1340
|
type: Component,
|
|
1261
1341
|
args: [{
|
|
1262
1342
|
selector: 'ax-alert-suffix',
|
|
@@ -1274,14 +1354,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1274
1354
|
|
|
1275
1355
|
class AXAlertFooterComponent {
|
|
1276
1356
|
}
|
|
1277
|
-
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1278
|
-
AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1357
|
+
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1358
|
+
AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXAlertFooterComponent, selector: "ax-alert-footer", host: { classAttribute: "ax-alert-footer" }, ngImport: i0, template: `
|
|
1279
1359
|
<div class="ax-alert-buttons">
|
|
1280
1360
|
<ng-content select="ax-alert-button">
|
|
1281
1361
|
</ng-content>
|
|
1282
1362
|
</div>
|
|
1283
1363
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
|
|
1285
1365
|
type: Component,
|
|
1286
1366
|
args: [{
|
|
1287
1367
|
selector: 'ax-alert-footer',
|
|
@@ -1305,13 +1385,13 @@ class AXIconComponent extends AXSizableComponentMixin {
|
|
|
1305
1385
|
return `ax-ic ${this.icon}`;
|
|
1306
1386
|
}
|
|
1307
1387
|
}
|
|
1308
|
-
AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1309
|
-
AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1388
|
+
AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1389
|
+
AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, usesInheritance: true, ngImport: i0, template: '<ng-content select="i,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconComponent, decorators: [{
|
|
1311
1391
|
type: Component,
|
|
1312
1392
|
args: [{
|
|
1313
1393
|
selector: 'ax-icon',
|
|
1314
|
-
template: '<ng-content></ng-content>',
|
|
1394
|
+
template: '<ng-content select="i,svg,img"></ng-content>',
|
|
1315
1395
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1316
1396
|
encapsulation: ViewEncapsulation.None,
|
|
1317
1397
|
}]
|
|
@@ -1326,10 +1406,10 @@ const COMPONENT$o = [AXIconComponent];
|
|
|
1326
1406
|
const MODULES$o = [CommonModule];
|
|
1327
1407
|
class AXIconModule {
|
|
1328
1408
|
}
|
|
1329
|
-
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1330
|
-
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1331
|
-
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1409
|
+
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1410
|
+
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
1411
|
+
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$o]] });
|
|
1412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconModule, decorators: [{
|
|
1333
1413
|
type: NgModule,
|
|
1334
1414
|
args: [{
|
|
1335
1415
|
declarations: [...COMPONENT$o],
|
|
@@ -1350,8 +1430,8 @@ const COMPONENT$n = [
|
|
|
1350
1430
|
const MODULES$n = [CommonModule, AXIconModule];
|
|
1351
1431
|
class AXAlertModule {
|
|
1352
1432
|
}
|
|
1353
|
-
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1354
|
-
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1433
|
+
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1434
|
+
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
1355
1435
|
AXAlertContentComponent,
|
|
1356
1436
|
AXAlertTitleComponent,
|
|
1357
1437
|
AXAlertButtonComponent,
|
|
@@ -1362,8 +1442,8 @@ AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
1362
1442
|
AXAlertButtonComponent,
|
|
1363
1443
|
AXAlertFooterComponent,
|
|
1364
1444
|
AXAlertSuffixComponent] });
|
|
1365
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1445
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$n]] });
|
|
1446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
1367
1447
|
type: NgModule,
|
|
1368
1448
|
args: [{
|
|
1369
1449
|
declarations: [...COMPONENT$n],
|
|
@@ -1402,9 +1482,9 @@ class AXAvatarComponent extends AXSizableComponentMixin {
|
|
|
1402
1482
|
this._abbr = v;
|
|
1403
1483
|
}
|
|
1404
1484
|
}
|
|
1405
|
-
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1406
|
-
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1485
|
+
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1486
|
+
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXAvatarComponent, selector: "ax-avatar", inputs: { rtl: "rtl", cssClass: "cssClass", cssStyle: "cssStyle", size: "size", image: "image", title: "title", icon: "icon", abbr: "abbr" }, host: { classAttribute: "ax-avatar" }, usesInheritance: true, ngImport: i0, template: "\r\n<div>Hi ax-avatar</div>\r\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
1408
1488
|
type: Component,
|
|
1409
1489
|
args: [{ selector: 'ax-avatar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...BASE_INPUTS, ...SIZABLE_INPUTS], host: { class: 'ax-avatar' }, template: "\r\n<div>Hi ax-avatar</div>\r\n" }]
|
|
1410
1490
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { image: [{
|
|
@@ -1421,10 +1501,10 @@ const COMPONENT$m = [AXAvatarComponent];
|
|
|
1421
1501
|
const MODULES$m = [CommonModule];
|
|
1422
1502
|
class AXAvatarModule {
|
|
1423
1503
|
}
|
|
1424
|
-
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1425
|
-
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1426
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1504
|
+
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1505
|
+
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [CommonModule], exports: [AXAvatarComponent] });
|
|
1506
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$m]] });
|
|
1507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
1428
1508
|
type: NgModule,
|
|
1429
1509
|
args: [{
|
|
1430
1510
|
declarations: [...COMPONENT$m],
|
|
@@ -1445,11 +1525,11 @@ class AXBadgeComponent extends AXBaseComponentMixin {
|
|
|
1445
1525
|
return [`ax-${this.color}-default`, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
1446
1526
|
}
|
|
1447
1527
|
}
|
|
1448
|
-
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1449
|
-
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1528
|
+
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1529
|
+
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXBadgeComponent, selector: "ax-badge", inputs: { text: "text", color: "color" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-badge" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
|
1451
1531
|
type: Component,
|
|
1452
|
-
args: [{ selector: 'ax-badge', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-badge' }, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
|
|
1532
|
+
args: [{ selector: 'ax-badge', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-badge' }, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
|
|
1453
1533
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1454
1534
|
type: Input
|
|
1455
1535
|
}], color: [{
|
|
@@ -1463,10 +1543,10 @@ const COMPONENT$l = [AXBadgeComponent];
|
|
|
1463
1543
|
const MODULES$l = [CommonModule];
|
|
1464
1544
|
class AXBadgeModule {
|
|
1465
1545
|
}
|
|
1466
|
-
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1467
|
-
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1468
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1546
|
+
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1547
|
+
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
1548
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$l]] });
|
|
1549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
1470
1550
|
type: NgModule,
|
|
1471
1551
|
args: [{
|
|
1472
1552
|
declarations: [...COMPONENT$l],
|
|
@@ -1514,9 +1594,9 @@ class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
1514
1594
|
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).concat(...[`ax-${this.size}`]).join(' ');
|
|
1515
1595
|
}
|
|
1516
1596
|
}
|
|
1517
|
-
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1518
|
-
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1597
|
+
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1598
|
+
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "document:keydown.escape": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
1520
1600
|
type: Component,
|
|
1521
1601
|
args: [{ selector: 'ax-button', inputs: ['disabled', 'tabIndex', 'size', ...BUTTON_INPUTS], outputs: [...BUTTON_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { role: 'button' }, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->" }]
|
|
1522
1602
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
|
|
@@ -1632,9 +1712,9 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1632
1712
|
});
|
|
1633
1713
|
}
|
|
1634
1714
|
}
|
|
1635
|
-
AXButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1636
|
-
AXButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1715
|
+
AXButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1716
|
+
AXButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: { cssClass: "cssClass", size: "size", cssStyle: "cssStyle", rtl: "rtl", disabled: "disabled", selection: "selection", color: "color", look: "look" }, outputs: { selectionChange: "selectionChange", colorChange: "colorChange", lookChange: "lookChange", onItemClick: "onItemClick" }, host: { attributes: { "role": "group" }, classAttribute: "ax-button-group" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-button\">\r\n</ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
|
|
1638
1718
|
type: Component,
|
|
1639
1719
|
args: [{ selector: 'ax-button-group', inputs: ['cssClass', 'size', 'cssStyle', 'rtl', 'disabled'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-button-group', role: 'group' }, template: "<ng-content select=\"ax-button\">\r\n</ng-content>" }]
|
|
1640
1720
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
|
|
@@ -1667,7 +1747,7 @@ class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
|
1667
1747
|
this.tooltip = null;
|
|
1668
1748
|
this.selected = false;
|
|
1669
1749
|
this.seperated = false;
|
|
1670
|
-
this.color = '
|
|
1750
|
+
this.color = 'light';
|
|
1671
1751
|
}
|
|
1672
1752
|
__hostClick(e) {
|
|
1673
1753
|
this._emitOnClickEvent(e);
|
|
@@ -1682,8 +1762,8 @@ class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
|
1682
1762
|
return Object.entries(cssClasses).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
1683
1763
|
}
|
|
1684
1764
|
}
|
|
1685
|
-
AXButtonItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1686
|
-
AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1765
|
+
AXButtonItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1766
|
+
AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
1687
1767
|
<ng-content select="ax-prefix">
|
|
1688
1768
|
</ng-content>
|
|
1689
1769
|
<ng-content select="ax-icon">
|
|
@@ -1692,7 +1772,7 @@ AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1692
1772
|
<ng-content select="ax-suffix">
|
|
1693
1773
|
</ng-content>
|
|
1694
1774
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonItemComponent, decorators: [{
|
|
1696
1776
|
type: Component,
|
|
1697
1777
|
args: [{
|
|
1698
1778
|
selector: 'ax-button-item',
|
|
@@ -1707,7 +1787,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1707
1787
|
`,
|
|
1708
1788
|
encapsulation: ViewEncapsulation.None,
|
|
1709
1789
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1710
|
-
host: { style: 'cssStyle' }
|
|
1711
1790
|
}]
|
|
1712
1791
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1713
1792
|
type: Input
|
|
@@ -1736,12 +1815,12 @@ class AXDecoratorContentComponent extends AXBaseComponentMixin {
|
|
|
1736
1815
|
super(elementRef, cdr);
|
|
1737
1816
|
}
|
|
1738
1817
|
}
|
|
1739
|
-
AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1740
|
-
AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1818
|
+
AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1819
|
+
AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0, template: `
|
|
1741
1820
|
<ng-content>
|
|
1742
1821
|
</ng-content>
|
|
1743
1822
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
|
|
1745
1824
|
type: Component,
|
|
1746
1825
|
args: [{
|
|
1747
1826
|
selector: 'ax-content',
|
|
@@ -1754,17 +1833,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1754
1833
|
}]
|
|
1755
1834
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1756
1835
|
|
|
1836
|
+
class AXDecoratorAddOnComponent extends AXBaseComponentMixin {
|
|
1837
|
+
constructor(_elementRef, _cdr) {
|
|
1838
|
+
super(_elementRef, _cdr);
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
AXDecoratorAddOnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorAddOnComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1842
|
+
AXDecoratorAddOnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorAddOnComponent, selector: "ax-addon", usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorAddOnComponent, decorators: [{
|
|
1844
|
+
type: Component,
|
|
1845
|
+
args: [{
|
|
1846
|
+
selector: 'ax-addon',
|
|
1847
|
+
template: `<ng-content></ng-content>`,
|
|
1848
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1849
|
+
encapsulation: ViewEncapsulation.None
|
|
1850
|
+
}]
|
|
1851
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1852
|
+
|
|
1757
1853
|
class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
|
|
1758
1854
|
constructor(elementRef, cdr) {
|
|
1759
1855
|
super(elementRef, cdr);
|
|
1760
1856
|
}
|
|
1761
1857
|
}
|
|
1762
|
-
AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1763
|
-
AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1858
|
+
AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1859
|
+
AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
|
|
1764
1860
|
<ng-content>
|
|
1765
1861
|
</ng-content>
|
|
1766
1862
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
|
|
1768
1864
|
type: Component,
|
|
1769
1865
|
args: [{
|
|
1770
1866
|
selector: 'ax-header',
|
|
@@ -1782,17 +1878,17 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
|
1782
1878
|
super(elementRef, cdr);
|
|
1783
1879
|
}
|
|
1784
1880
|
}
|
|
1785
|
-
AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1786
|
-
AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1787
|
-
<ng-content select="ax-button,ax-loading,ax-icon,ax-content">
|
|
1881
|
+
AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1882
|
+
AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
|
|
1883
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
1788
1884
|
</ng-content>
|
|
1789
1885
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
|
|
1791
1887
|
type: Component,
|
|
1792
1888
|
args: [{
|
|
1793
1889
|
selector: 'ax-prefix',
|
|
1794
1890
|
template: `
|
|
1795
|
-
<ng-content select="ax-button,ax-loading,ax-icon,ax-content">
|
|
1891
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
1796
1892
|
</ng-content>
|
|
1797
1893
|
`,
|
|
1798
1894
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1805,17 +1901,17 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
|
1805
1901
|
super(elementRef, cdr);
|
|
1806
1902
|
}
|
|
1807
1903
|
}
|
|
1808
|
-
AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1809
|
-
AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1810
|
-
<ng-content select="ax-button,ax-icon,ax-badge,ax-
|
|
1904
|
+
AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1905
|
+
AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
|
|
1906
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
1811
1907
|
</ng-content>
|
|
1812
1908
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
|
|
1814
1910
|
type: Component,
|
|
1815
1911
|
args: [{
|
|
1816
1912
|
selector: 'ax-suffix',
|
|
1817
1913
|
template: `
|
|
1818
|
-
<ng-content select="ax-button,ax-icon,ax-badge,ax-
|
|
1914
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
1819
1915
|
</ng-content>
|
|
1820
1916
|
`,
|
|
1821
1917
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1823,14 +1919,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1823
1919
|
}]
|
|
1824
1920
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1825
1921
|
|
|
1826
|
-
const COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent];
|
|
1922
|
+
const COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
|
|
1827
1923
|
const MODULES$k = [CommonModule];
|
|
1828
1924
|
class AXEditorDecoratorModule {
|
|
1829
1925
|
}
|
|
1830
|
-
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1831
|
-
AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1832
|
-
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1926
|
+
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1927
|
+
AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent] });
|
|
1928
|
+
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$k]] });
|
|
1929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
|
|
1834
1930
|
type: NgModule,
|
|
1835
1931
|
args: [{
|
|
1836
1932
|
declarations: [...COMPONENT$k],
|
|
@@ -1848,14 +1944,14 @@ const COMPONENT$j = [
|
|
|
1848
1944
|
const MODULES$j = [CommonModule, AXIconModule, AXEditorDecoratorModule];
|
|
1849
1945
|
class AXButtonModule {
|
|
1850
1946
|
}
|
|
1851
|
-
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1852
|
-
AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1947
|
+
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1948
|
+
AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
|
|
1853
1949
|
AXButtonItemComponent,
|
|
1854
1950
|
AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
|
|
1855
1951
|
AXButtonItemComponent,
|
|
1856
1952
|
AXButtonGroupComponent] });
|
|
1857
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1953
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$j]] });
|
|
1954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
1859
1955
|
type: NgModule,
|
|
1860
1956
|
args: [{
|
|
1861
1957
|
imports: [MODULES$j],
|
|
@@ -1920,9 +2016,9 @@ class AXCalendarBaseComponent extends AXBaseComponent {
|
|
|
1920
2016
|
this._setOption({ name: 'holidayDates', value: v });
|
|
1921
2017
|
}
|
|
1922
2018
|
}
|
|
1923
|
-
AXCalendarBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1924
|
-
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2019
|
+
AXCalendarBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarBaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2020
|
+
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarBaseComponent });
|
|
2021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarBaseComponent, decorators: [{
|
|
1926
2022
|
type: Injectable
|
|
1927
2023
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeViewChange: [{
|
|
1928
2024
|
type: Output
|
|
@@ -2126,6 +2222,11 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2126
2222
|
prev() {
|
|
2127
2223
|
this._navNextPrev(true);
|
|
2128
2224
|
}
|
|
2225
|
+
focus() {
|
|
2226
|
+
var _a;
|
|
2227
|
+
debugger;
|
|
2228
|
+
(_a = this._getHostElement().querySelector('.ax-calendar-slots>div')) === null || _a === void 0 ? void 0 : _a.focus();
|
|
2229
|
+
}
|
|
2129
2230
|
_navNextPrev(prev) {
|
|
2130
2231
|
const sign = (prev ? -1 : 1);
|
|
2131
2232
|
if (this.activeView == 'days')
|
|
@@ -2171,9 +2272,9 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2171
2272
|
return date.dayOfWeek == 7 || date.dayOfWeek == 1;
|
|
2172
2273
|
}
|
|
2173
2274
|
}
|
|
2174
|
-
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2175
|
-
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2275
|
+
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2276
|
+
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", disabled: "disabled", tabIndex: "tabIndex", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\" (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div>SU</div>\r\n <div>MO</div>\r\n <div>TU</div>\r\n <div>WE</div>\r\n <div>TH</div>\r\n <div>FR</div>\r\n <div>SA</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\" (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
2177
2278
|
type: Component,
|
|
2178
2279
|
args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\" (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div>SU</div>\r\n <div>MO</div>\r\n <div>TU</div>\r\n <div>WE</div>\r\n <div>TH</div>\r\n <div>FR</div>\r\n <div>SA</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\" (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>" }]
|
|
2179
2280
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
@@ -2185,10 +2286,10 @@ const COMPONENT$i = [AXCalendarComponent];
|
|
|
2185
2286
|
const MODULES$i = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
|
|
2186
2287
|
class AXCalendarModule {
|
|
2187
2288
|
}
|
|
2188
|
-
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2189
|
-
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2190
|
-
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2289
|
+
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2290
|
+
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule], exports: [AXCalendarComponent] });
|
|
2291
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$i]] });
|
|
2292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
2192
2293
|
type: NgModule,
|
|
2193
2294
|
args: [{
|
|
2194
2295
|
declarations: [...COMPONENT$i],
|
|
@@ -2200,9 +2301,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2200
2301
|
|
|
2201
2302
|
class AXCarouselCore {
|
|
2202
2303
|
}
|
|
2203
|
-
AXCarouselCore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2204
|
-
AXCarouselCore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2304
|
+
AXCarouselCore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselCore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2305
|
+
AXCarouselCore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselCore });
|
|
2306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselCore, decorators: [{
|
|
2206
2307
|
type: Injectable
|
|
2207
2308
|
}] });
|
|
2208
2309
|
|
|
@@ -2467,12 +2568,12 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
2467
2568
|
this.core.destroy();
|
|
2468
2569
|
}
|
|
2469
2570
|
}
|
|
2470
|
-
AXCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2471
|
-
AXCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2571
|
+
AXCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: AXCarouselCore }], target: i0.ɵɵFactoryTarget.Component });
|
|
2572
|
+
AXCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXCarouselComponent, selector: "ax-carousel", inputs: { pageSize: "pageSize", gap: "gap", autoplay: "autoplay", interval: "interval", padding: "padding", centered: "centered", vertical: "vertical", loop: "loop", rewind: "rewind" }, outputs: { onOptionsChanged: "onOptionsChanged", onSlideChanged: "onSlideChanged", pageSizeChange: "pageSizeChange", autoplayChange: "autoplayChange", intervalChange: "intervalChange", paddingChange: "paddingChange", centeredChange: "centeredChange", verticalChange: "verticalChange", loopChange: "loopChange", rewindChange: "rewindChange", onItemsChanged: "onItemsChanged" }, host: { classAttribute: "ax-carousel" }, providers: [{
|
|
2472
2573
|
provide: AXCarouselCore,
|
|
2473
2574
|
useClass: AXCarouselSplideJS
|
|
2474
2575
|
}], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-carousel-list-container\">\r\n <div class=\"ax-carousel-list\">\r\n <ng-content select=\"ax-carousel-item\">\r\n </ng-content>\r\n </div>\r\n <ng-content select=\"ax-carousel-arrows\">\r\n </ng-content>\r\n</div>\r\n\r\n<ng-content select=\"ax-carousel-pager\">\r\n</ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselComponent, decorators: [{
|
|
2476
2577
|
type: Component,
|
|
2477
2578
|
args: [{ selector: 'ax-carousel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-carousel' }, providers: [{
|
|
2478
2579
|
provide: AXCarouselCore,
|
|
@@ -2525,9 +2626,9 @@ class AXCarouselItemComponent extends AXBaseComponentMixin {
|
|
|
2525
2626
|
super(elementRef, cdr);
|
|
2526
2627
|
}
|
|
2527
2628
|
}
|
|
2528
|
-
AXCarouselItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2529
|
-
AXCarouselItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2629
|
+
AXCarouselItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2630
|
+
AXCarouselItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXCarouselItemComponent, selector: "ax-carousel-item", host: { classAttribute: "ax-carousel-item" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselItemComponent, decorators: [{
|
|
2531
2632
|
type: Component,
|
|
2532
2633
|
args: [{
|
|
2533
2634
|
selector: 'ax-carousel-item',
|
|
@@ -2554,8 +2655,8 @@ class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
|
2554
2655
|
this.parent.next();
|
|
2555
2656
|
}
|
|
2556
2657
|
}
|
|
2557
|
-
AXCarouselArrowsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2558
|
-
AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2658
|
+
AXCarouselArrowsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselArrowsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXCarouselComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
2659
|
+
AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXCarouselArrowsComponent, selector: "ax-carousel-arrows", outputs: { onNextClick: "onNextClick", onPrevClick: "onPrevClick" }, host: { classAttribute: "ax-carousel-arrows" }, usesInheritance: true, ngImport: i0, template: `
|
|
2559
2660
|
<button class="ax-carousel-arrow-prev" (click)="_handlePrevClick($event)">
|
|
2560
2661
|
<i class="ax-ic ax-ic-keyboard-arrow-left"></i>
|
|
2561
2662
|
</button>
|
|
@@ -2563,7 +2664,7 @@ AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
2563
2664
|
<i class="ax-ic ax-ic-keyboard-arrow-right"></i>
|
|
2564
2665
|
</button>
|
|
2565
2666
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselArrowsComponent, decorators: [{
|
|
2567
2668
|
type: Component,
|
|
2568
2669
|
args: [{
|
|
2569
2670
|
selector: 'ax-carousel-arrows',
|
|
@@ -2639,12 +2740,12 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
2639
2740
|
});
|
|
2640
2741
|
}
|
|
2641
2742
|
}
|
|
2642
|
-
AXCarouselPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2643
|
-
AXCarouselPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2743
|
+
AXCarouselPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselPagerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXCarouselComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2744
|
+
AXCarouselPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXCarouselPagerComponent, selector: "ax-carousel-pager", host: { classAttribute: "ax-carousel-pager" }, usesInheritance: true, ngImport: i0, template: `
|
|
2644
2745
|
<button *ngFor="let d of _dots;let i=index" [class.ax-state-active]="i==_pageIndex" (click)="_handleClick($event,i)">
|
|
2645
2746
|
</button>
|
|
2646
2747
|
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselPagerComponent, decorators: [{
|
|
2648
2749
|
type: Component,
|
|
2649
2750
|
args: [{
|
|
2650
2751
|
selector: 'ax-carousel-pager',
|
|
@@ -2662,10 +2763,10 @@ const COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArr
|
|
|
2662
2763
|
const MODULES$h = [CommonModule];
|
|
2663
2764
|
class AXCarouselModule {
|
|
2664
2765
|
}
|
|
2665
|
-
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2666
|
-
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2667
|
-
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2766
|
+
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2767
|
+
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
|
|
2768
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$h]] });
|
|
2769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
2669
2770
|
type: NgModule,
|
|
2670
2771
|
args: [{
|
|
2671
2772
|
declarations: [...COMPONENT$h],
|
|
@@ -2675,139 +2776,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2675
2776
|
}]
|
|
2676
2777
|
}] });
|
|
2677
2778
|
|
|
2678
|
-
class AXFormFieldComponent extends AXBaseComponentMixin {
|
|
2679
|
-
constructor(elementRef, cdr) {
|
|
2680
|
-
super(elementRef, cdr);
|
|
2681
|
-
}
|
|
2682
|
-
}
|
|
2683
|
-
AXFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormFieldComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2684
|
-
AXFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormFieldComponent, decorators: [{
|
|
2686
|
-
type: Component,
|
|
2687
|
-
args: [{
|
|
2688
|
-
selector: 'ax-form-field',
|
|
2689
|
-
template: '<ng-content></ng-content>',
|
|
2690
|
-
encapsulation: ViewEncapsulation.None,
|
|
2691
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2692
|
-
}]
|
|
2693
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2694
|
-
|
|
2695
|
-
class AXFormHintComponent extends AXBaseComponentMixin {
|
|
2696
|
-
constructor(elementRef, cdr) {
|
|
2697
|
-
super(elementRef, cdr);
|
|
2698
|
-
}
|
|
2699
|
-
}
|
|
2700
|
-
AXFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormHintComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2701
|
-
AXFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0, template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormHintComponent, decorators: [{
|
|
2703
|
-
type: Component,
|
|
2704
|
-
args: [{
|
|
2705
|
-
selector: 'ax-form-hint',
|
|
2706
|
-
template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>',
|
|
2707
|
-
encapsulation: ViewEncapsulation.None,
|
|
2708
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2709
|
-
}]
|
|
2710
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2711
|
-
|
|
2712
|
-
class AXFormComponent extends AXBaseComponentMixin {
|
|
2713
|
-
constructor(elementRef, cdr) {
|
|
2714
|
-
super(elementRef, cdr);
|
|
2715
|
-
this.cdr = cdr;
|
|
2716
|
-
}
|
|
2717
|
-
_getComponenets() {
|
|
2718
|
-
return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
|
|
2719
|
-
}
|
|
2720
|
-
validate() {
|
|
2721
|
-
const widgets = this._getComponenets();
|
|
2722
|
-
//
|
|
2723
|
-
return new Promise((resolve, reject) => {
|
|
2724
|
-
if (widgets.length === 0) {
|
|
2725
|
-
return Promise.resolve({ result: true });
|
|
2726
|
-
}
|
|
2727
|
-
Promise.all(widgets.map((c) => c.__axContext__.validate())).then((rules) => {
|
|
2728
|
-
const failed = rules.filter((c) => !c.result);
|
|
2729
|
-
if (failed.length) {
|
|
2730
|
-
reject({
|
|
2731
|
-
result: false,
|
|
2732
|
-
items: failed
|
|
2733
|
-
});
|
|
2734
|
-
}
|
|
2735
|
-
else {
|
|
2736
|
-
resolve({ result: true });
|
|
2737
|
-
}
|
|
2738
|
-
});
|
|
2739
|
-
});
|
|
2740
|
-
}
|
|
2741
|
-
clear() {
|
|
2742
|
-
const widgets = this._getComponenets();
|
|
2743
|
-
widgets.forEach(w => {
|
|
2744
|
-
w.__axContext__.clear();
|
|
2745
|
-
});
|
|
2746
|
-
}
|
|
2747
|
-
}
|
|
2748
|
-
AXFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2749
|
-
AXFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormComponent, decorators: [{
|
|
2751
|
-
type: Component,
|
|
2752
|
-
args: [{
|
|
2753
|
-
selector: 'ax-form',
|
|
2754
|
-
template: '<div class="ax-form"><ng-content></ng-content></div>',
|
|
2755
|
-
encapsulation: ViewEncapsulation.None,
|
|
2756
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2757
|
-
}]
|
|
2758
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2759
|
-
|
|
2760
|
-
class AXFormModule {
|
|
2761
|
-
}
|
|
2762
|
-
AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2763
|
-
AXFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
|
|
2764
|
-
AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, providers: [], imports: [[CommonModule]] });
|
|
2765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, decorators: [{
|
|
2766
|
-
type: NgModule,
|
|
2767
|
-
args: [{
|
|
2768
|
-
imports: [CommonModule],
|
|
2769
|
-
exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
2770
|
-
declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
2771
|
-
providers: [],
|
|
2772
|
-
}]
|
|
2773
|
-
}] });
|
|
2774
|
-
|
|
2775
|
-
class AXLabelComponent extends AXBaseComponentMixin {
|
|
2776
|
-
constructor(elementRef, cdr) {
|
|
2777
|
-
super(elementRef, cdr);
|
|
2778
|
-
}
|
|
2779
|
-
}
|
|
2780
|
-
AXLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2781
|
-
AXLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0, template: "<label>\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelComponent, decorators: [{
|
|
2783
|
-
type: Component,
|
|
2784
|
-
args: [{ selector: 'ax-label', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<label>\r\n <ng-content></ng-content>\r\n</label>" }]
|
|
2785
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2786
|
-
|
|
2787
|
-
const COMPONENT$g = [AXLabelComponent];
|
|
2788
|
-
const MODULES$g = [CommonModule];
|
|
2789
|
-
class AXLabelModule {
|
|
2790
|
-
}
|
|
2791
|
-
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2792
|
-
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
2793
|
-
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$g]] });
|
|
2794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
2795
|
-
type: NgModule,
|
|
2796
|
-
args: [{
|
|
2797
|
-
declarations: [...COMPONENT$g],
|
|
2798
|
-
imports: [...MODULES$g],
|
|
2799
|
-
exports: [...COMPONENT$g],
|
|
2800
|
-
providers: [],
|
|
2801
|
-
}]
|
|
2802
|
-
}] });
|
|
2803
|
-
|
|
2804
2779
|
class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
2805
2780
|
constructor(elementRef, cdr) {
|
|
2806
2781
|
super(elementRef, cdr);
|
|
2807
2782
|
}
|
|
2808
2783
|
onInit() {
|
|
2809
2784
|
super.onInit();
|
|
2810
|
-
;
|
|
2811
2785
|
if (!this.allowNull && this.value == null) {
|
|
2812
2786
|
this.value = false;
|
|
2813
2787
|
}
|
|
@@ -2830,29 +2804,23 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
|
2830
2804
|
}
|
|
2831
2805
|
}
|
|
2832
2806
|
}
|
|
2833
|
-
AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2834
|
-
AXCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2807
|
+
AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2808
|
+
AXCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, usesInheritance: true, ngImport: i0, template: "<label class=\"ax-flex ax-items-start\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id\" class=\"ax-h-4 ax-w-4\" type=\"checkbox\" [class.ax-state-readonly]=\"readonly\"\r\n [class.ax-state-disabled]=\"disabled\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\"\r\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <ng-content></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n <span class=\"ax-error-container\"></span>\r\n </div>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\"></ng-content>", directives: [{ type: i1$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
|
|
2836
2810
|
type: Component,
|
|
2837
|
-
args: [{ selector: 'ax-check-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "
|
|
2838
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }
|
|
2839
|
-
type: ContentChildren,
|
|
2840
|
-
args: [AXFormHintComponent]
|
|
2841
|
-
}], _label: [{
|
|
2842
|
-
type: ContentChildren,
|
|
2843
|
-
args: [AXLabelComponent]
|
|
2844
|
-
}] } });
|
|
2811
|
+
args: [{ selector: 'ax-check-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"ax-flex ax-items-start\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id\" class=\"ax-h-4 ax-w-4\" type=\"checkbox\" [class.ax-state-readonly]=\"readonly\"\r\n [class.ax-state-disabled]=\"disabled\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\"\r\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <ng-content></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n <span class=\"ax-error-container\"></span>\r\n </div>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\"></ng-content>" }]
|
|
2812
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2845
2813
|
|
|
2846
2814
|
class AXCheckBoxModule {
|
|
2847
2815
|
}
|
|
2848
|
-
AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2849
|
-
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2850
|
-
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2816
|
+
AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2817
|
+
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXEditorDecoratorModule], exports: [AXCheckBoxComponent] });
|
|
2818
|
+
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule, AXEditorDecoratorModule]] });
|
|
2819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxModule, decorators: [{
|
|
2852
2820
|
type: NgModule,
|
|
2853
2821
|
args: [{
|
|
2854
2822
|
declarations: [AXCheckBoxComponent],
|
|
2855
|
-
imports: [CommonModule, FormsModule],
|
|
2823
|
+
imports: [CommonModule, FormsModule, AXEditorDecoratorModule],
|
|
2856
2824
|
exports: [AXCheckBoxComponent],
|
|
2857
2825
|
providers: [],
|
|
2858
2826
|
}]
|
|
@@ -2902,9 +2870,9 @@ class AXDataListComponent extends AXBaseSelectionValueMixin {
|
|
|
2902
2870
|
}, 100);
|
|
2903
2871
|
}
|
|
2904
2872
|
}
|
|
2905
|
-
AXDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2906
|
-
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2873
|
+
AXDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2874
|
+
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDataListComponent, selector: "ax-datalist", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", items: "items", pageSize: "pageSize", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-list ax-list-container" }, queries: [{ propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, static: true }, { propertyName: "_contentloadingTemplate", first: true, predicate: ["loadingTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>", directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListComponent, decorators: [{
|
|
2908
2876
|
type: Component,
|
|
2909
2877
|
args: [{ selector: 'ax-datalist', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', 'items', 'pageSize'], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-list ax-list-container' }, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>" }]
|
|
2910
2878
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _container: [{
|
|
@@ -2927,19 +2895,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2927
2895
|
type: Input
|
|
2928
2896
|
}] } });
|
|
2929
2897
|
|
|
2930
|
-
const COMPONENT$
|
|
2931
|
-
const MODULES$
|
|
2898
|
+
const COMPONENT$g = [AXDataListComponent];
|
|
2899
|
+
const MODULES$g = [CommonModule, AXButtonModule];
|
|
2932
2900
|
class AXDataListModule {
|
|
2933
2901
|
}
|
|
2934
|
-
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2935
|
-
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2936
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2902
|
+
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2903
|
+
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule], exports: [AXDataListComponent] });
|
|
2904
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$g]] });
|
|
2905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
2938
2906
|
type: NgModule,
|
|
2939
2907
|
args: [{
|
|
2940
|
-
declarations: [...COMPONENT$
|
|
2941
|
-
imports: [...MODULES$
|
|
2942
|
-
exports: [...COMPONENT$
|
|
2908
|
+
declarations: [...COMPONENT$g],
|
|
2909
|
+
imports: [...MODULES$g],
|
|
2910
|
+
exports: [...COMPONENT$g],
|
|
2943
2911
|
providers: [],
|
|
2944
2912
|
}]
|
|
2945
2913
|
}] });
|
|
@@ -2947,6 +2915,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2947
2915
|
class AXPopoverComponent extends AXBaseComponent {
|
|
2948
2916
|
constructor(_elementRef, _cdr, _zone, _overlay, _platform, _viewContainerRef) {
|
|
2949
2917
|
super(_elementRef, _cdr);
|
|
2918
|
+
this._elementRef = _elementRef;
|
|
2950
2919
|
this._cdr = _cdr;
|
|
2951
2920
|
this._zone = _zone;
|
|
2952
2921
|
this._overlay = _overlay;
|
|
@@ -3083,28 +3052,26 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3083
3052
|
if (!targetRef)
|
|
3084
3053
|
return;
|
|
3085
3054
|
if (!this._overlayRef) {
|
|
3086
|
-
let positionStrategy;
|
|
3087
|
-
let scrollStrategy;
|
|
3088
|
-
debugger;
|
|
3089
3055
|
if (this._platform.is('Mobile')) {
|
|
3090
|
-
|
|
3091
|
-
|
|
3056
|
+
this._overlayRef = this._overlay.create({
|
|
3057
|
+
positionStrategy: this._overlay.position().global().centerHorizontally().centerVertically(),
|
|
3058
|
+
disposeOnNavigation: true,
|
|
3059
|
+
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3060
|
+
hasBackdrop: true
|
|
3061
|
+
});
|
|
3092
3062
|
}
|
|
3093
3063
|
else {
|
|
3094
|
-
|
|
3095
|
-
.
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3064
|
+
this._overlayRef = this._overlay.create({
|
|
3065
|
+
positionStrategy: this._overlay.position()
|
|
3066
|
+
.flexibleConnectedTo(targetRef)
|
|
3067
|
+
.withPositions(Array.isArray(this.position) ? this.position : [this.position])
|
|
3068
|
+
.withPush(false),
|
|
3069
|
+
disposeOnNavigation: true,
|
|
3070
|
+
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3071
|
+
hasBackdrop: this.hasBackdrop,
|
|
3072
|
+
backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop']
|
|
3073
|
+
});
|
|
3099
3074
|
}
|
|
3100
|
-
this._overlayRef = this._overlay.create({
|
|
3101
|
-
positionStrategy,
|
|
3102
|
-
scrollStrategy,
|
|
3103
|
-
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3104
|
-
hasBackdrop: true,
|
|
3105
|
-
backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop']
|
|
3106
|
-
});
|
|
3107
|
-
this._updateOverlay();
|
|
3108
3075
|
if (this.closeTrigger == 'clickout') {
|
|
3109
3076
|
this._addSub(this._overlayRef._outsidePointerEvents.subscribe(c => {
|
|
3110
3077
|
const target = c.target;
|
|
@@ -3114,15 +3081,15 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3114
3081
|
}
|
|
3115
3082
|
}));
|
|
3116
3083
|
}
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3084
|
+
this._addSub(this._overlayRef.attachments().subscribe(() => {
|
|
3085
|
+
if (!this._isScrollAttached) {
|
|
3086
|
+
this._addSub(this._platform.scroll.subscribe(c => {
|
|
3087
|
+
if (!c.nativeEvent.target.closest('.ax-overlay-pane'))
|
|
3088
|
+
this.updatePosition();
|
|
3089
|
+
}));
|
|
3090
|
+
this._isScrollAttached = true;
|
|
3091
|
+
}
|
|
3092
|
+
}));
|
|
3126
3093
|
}
|
|
3127
3094
|
if (!this._templatePortal) {
|
|
3128
3095
|
this._templatePortal = new TemplatePortal(this._baseTemplate, this._viewContainerRef);
|
|
@@ -3134,31 +3101,17 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3134
3101
|
_addSub(sub) {
|
|
3135
3102
|
this._subs.push(sub);
|
|
3136
3103
|
}
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
let scrollStrategy;
|
|
3141
|
-
if (this._platform.is('Mobile')) {
|
|
3142
|
-
positionStrategy = this._overlay.position().global().centerHorizontally().bottom();
|
|
3143
|
-
scrollStrategy = this._overlay.scrollStrategies.noop();
|
|
3144
|
-
}
|
|
3145
|
-
else {
|
|
3146
|
-
positionStrategy = this._overlay.position()
|
|
3147
|
-
.flexibleConnectedTo(targetRef)
|
|
3148
|
-
.withPositions(Array.isArray(this.position) ? this.position : [this.position])
|
|
3149
|
-
.withPush(false);
|
|
3150
|
-
scrollStrategy = this._overlay.scrollStrategies.close();
|
|
3151
|
-
}
|
|
3152
|
-
this._overlayRef.updatePositionStrategy(positionStrategy);
|
|
3153
|
-
this._overlayRef.updateScrollStrategy(scrollStrategy);
|
|
3104
|
+
updatePosition() {
|
|
3105
|
+
var _a;
|
|
3106
|
+
(_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.updatePosition();
|
|
3154
3107
|
}
|
|
3155
3108
|
}
|
|
3156
|
-
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3157
|
-
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3109
|
+
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$2.Overlay }, { token: i1$3.AXPlatform }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3110
|
+
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openTrigger: "openTrigger", closeTrigger: "closeTrigger", hasBackdrop: "hasBackdrop", backdropClass: "backdropClass" }, outputs: { onOpened: "onOpened", onClosed: "onClosed" }, host: { listeners: { "document:keydown": "_handleKeydownHandler($event)" } }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverComponent, decorators: [{
|
|
3159
3112
|
type: Component,
|
|
3160
3113
|
args: [{ selector: 'ax-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>" }]
|
|
3161
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$2.Overlay }, { type:
|
|
3114
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$2.Overlay }, { type: i1$3.AXPlatform }, { type: i0.ViewContainerRef }]; }, propDecorators: { target: [{
|
|
3162
3115
|
type: Input
|
|
3163
3116
|
}], position: [{
|
|
3164
3117
|
type: Input
|
|
@@ -3184,12 +3137,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3184
3137
|
|
|
3185
3138
|
const AXBaseDatePickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXCalendarBaseComponent))));
|
|
3186
3139
|
class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
3187
|
-
constructor(_elementRef, _cdr) {
|
|
3140
|
+
constructor(_elementRef, _cdr, _platform) {
|
|
3188
3141
|
super(_elementRef, _cdr);
|
|
3142
|
+
this._platform = _platform;
|
|
3189
3143
|
this._cursorPos = 0;
|
|
3144
|
+
this._isMobile = false;
|
|
3190
3145
|
this.formatChange = new EventEmitter();
|
|
3191
3146
|
this._format = 'YYYY-MM-dd';
|
|
3192
3147
|
this._target = this._getHostElement();
|
|
3148
|
+
this._isMobile = this._platform.is('Mobile');
|
|
3193
3149
|
}
|
|
3194
3150
|
get format() {
|
|
3195
3151
|
return this._format;
|
|
@@ -3200,6 +3156,13 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3200
3156
|
value: v
|
|
3201
3157
|
});
|
|
3202
3158
|
}
|
|
3159
|
+
onViewInit() {
|
|
3160
|
+
super.onViewInit();
|
|
3161
|
+
this._popoverTitle = this.placeholder || AXTranslator.get('datepicker.popover.title');
|
|
3162
|
+
this.popover.onOpened.subscribe(() => {
|
|
3163
|
+
this._calendar.focus();
|
|
3164
|
+
});
|
|
3165
|
+
}
|
|
3203
3166
|
_handleArrowClickEvent(e) {
|
|
3204
3167
|
this.toggle();
|
|
3205
3168
|
}
|
|
@@ -3233,7 +3196,6 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3233
3196
|
switch (part[0]) {
|
|
3234
3197
|
case 'dd':
|
|
3235
3198
|
case 'DD':
|
|
3236
|
-
debugger;
|
|
3237
3199
|
const newVal = Math.max(1, Math.min(31, Number(word + e.key)));
|
|
3238
3200
|
this.value = dateVal.set('day', newVal).date;
|
|
3239
3201
|
break;
|
|
@@ -3305,14 +3267,17 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3305
3267
|
input.setSelectionRange(start, end);
|
|
3306
3268
|
}
|
|
3307
3269
|
}
|
|
3308
|
-
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3309
|
-
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3270
|
+
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$3.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
3271
|
+
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" >\r\n <div *ngIf=\"_isMobile\" class=\"ax-overlay-pane-header\">\r\n <span >{{placeholder || 'Choose a date'}}</span>\r\n <i class=\"ax-ic ax-ic-close \"\r\n (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [min]=\"max\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\">\r\n </ax-calendar>\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "checked", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange"] }], directives: [{ type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
3311
3273
|
type: Component,
|
|
3312
|
-
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\"
|
|
3313
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
3274
|
+
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" >\r\n <div *ngIf=\"_isMobile\" class=\"ax-overlay-pane-header\">\r\n <span >{{placeholder || 'Choose a date'}}</span>\r\n <i class=\"ax-ic ax-ic-close \"\r\n (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [min]=\"max\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\">\r\n </ax-calendar>\r\n </div>\r\n</ax-popover>" }]
|
|
3275
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
3276
|
+
type: ViewChild,
|
|
3277
|
+
args: [AXPopoverComponent, { static: true }]
|
|
3278
|
+
}], _calendar: [{
|
|
3314
3279
|
type: ViewChild,
|
|
3315
|
-
args: [
|
|
3280
|
+
args: [AXCalendarComponent, { static: true }]
|
|
3316
3281
|
}], formatChange: [{
|
|
3317
3282
|
type: Output
|
|
3318
3283
|
}], format: [{
|
|
@@ -3321,10 +3286,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3321
3286
|
|
|
3322
3287
|
class AXPopoverModule {
|
|
3323
3288
|
}
|
|
3324
|
-
AXPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3325
|
-
AXPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3326
|
-
AXPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3289
|
+
AXPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3290
|
+
AXPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverModule, declarations: [AXPopoverComponent], imports: [CommonModule], exports: [AXPopoverComponent] });
|
|
3291
|
+
AXPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverModule, providers: [], imports: [[CommonModule]] });
|
|
3292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverModule, decorators: [{
|
|
3328
3293
|
type: NgModule,
|
|
3329
3294
|
args: [{
|
|
3330
3295
|
declarations: [AXPopoverComponent],
|
|
@@ -3334,63 +3299,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3334
3299
|
}]
|
|
3335
3300
|
}] });
|
|
3336
3301
|
|
|
3337
|
-
class AXInputMaskComponent {
|
|
3338
|
-
constructor() {
|
|
3339
|
-
this.showMaskTyped = false;
|
|
3340
|
-
this.clearIfNotMatch = false;
|
|
3341
|
-
}
|
|
3342
|
-
get prefix() {
|
|
3343
|
-
return this._prefix || '';
|
|
3344
|
-
}
|
|
3345
|
-
set prefix(v) {
|
|
3346
|
-
this._prefix = v;
|
|
3347
|
-
}
|
|
3348
|
-
get suffix() {
|
|
3349
|
-
return this._suffix || '';
|
|
3350
|
-
}
|
|
3351
|
-
set suffix(v) {
|
|
3352
|
-
this._suffix = v;
|
|
3353
|
-
}
|
|
3354
|
-
}
|
|
3355
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3356
|
-
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
3358
|
-
type: Component,
|
|
3359
|
-
args: [{
|
|
3360
|
-
selector: 'ax-input-mask',
|
|
3361
|
-
template: '',
|
|
3362
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3363
|
-
encapsulation: ViewEncapsulation.None,
|
|
3364
|
-
}]
|
|
3365
|
-
}], propDecorators: { prefix: [{
|
|
3366
|
-
type: Input
|
|
3367
|
-
}], suffix: [{
|
|
3368
|
-
type: Input
|
|
3369
|
-
}], showMaskTyped: [{
|
|
3370
|
-
type: Input
|
|
3371
|
-
}], clearIfNotMatch: [{
|
|
3372
|
-
type: Input
|
|
3373
|
-
}], mask: [{
|
|
3374
|
-
type: Input
|
|
3375
|
-
}] } });
|
|
3376
|
-
|
|
3377
|
-
const COMPONENT$e = [AXInputMaskComponent];
|
|
3378
|
-
const MODULES$e = [CommonModule, NgxMaskModule.forRoot()];
|
|
3379
|
-
class AXInputMaskModule {
|
|
3380
|
-
}
|
|
3381
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3382
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$3.NgxMaskModule], exports: [AXInputMaskComponent] });
|
|
3383
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$e]] });
|
|
3384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
3385
|
-
type: NgModule,
|
|
3386
|
-
args: [{
|
|
3387
|
-
declarations: [...COMPONENT$e],
|
|
3388
|
-
imports: [...MODULES$e],
|
|
3389
|
-
exports: [...COMPONENT$e],
|
|
3390
|
-
providers: [],
|
|
3391
|
-
}]
|
|
3392
|
-
}] });
|
|
3393
|
-
|
|
3394
3302
|
/**
|
|
3395
3303
|
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
3396
3304
|
*
|
|
@@ -3403,46 +3311,23 @@ class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
|
3403
3311
|
constructor(elementRef, cdr) {
|
|
3404
3312
|
super(elementRef, cdr);
|
|
3405
3313
|
}
|
|
3406
|
-
//TODO: prefix suffix text
|
|
3407
|
-
get hostClass() {
|
|
3408
|
-
return `${this.cssClass} ax-${this.size}`;
|
|
3409
|
-
}
|
|
3410
3314
|
}
|
|
3411
|
-
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3412
|
-
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3315
|
+
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3316
|
+
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>", directives: [{ type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
3414
3318
|
type: Component,
|
|
3415
|
-
args: [{ selector: 'ax-text-box', inputs: [
|
|
3416
|
-
|
|
3417
|
-
'readonly',
|
|
3418
|
-
'tabIndex',
|
|
3419
|
-
'cssClass',
|
|
3420
|
-
'size',
|
|
3421
|
-
...TEXTBOX_INPUTS,
|
|
3422
|
-
], outputs: [
|
|
3423
|
-
'valueChange',
|
|
3424
|
-
'onValueChanged',
|
|
3425
|
-
'onBlur',
|
|
3426
|
-
'onFocus',
|
|
3427
|
-
...TEXTBOX_OUTPUT,
|
|
3428
|
-
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-text-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [mask]=\"_contentMask?.mask\" [prefix]=\"_contentMask?.prefix\"\r\n [suffix]=\"_contentMask?.suffix\" [showMaskTyped]=\"_contentMask?.showMaskTyped\" [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>" }]
|
|
3429
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
|
|
3430
|
-
type: ContentChild,
|
|
3431
|
-
args: [AXInputMaskComponent]
|
|
3432
|
-
}], hostClass: [{
|
|
3433
|
-
type: HostBinding,
|
|
3434
|
-
args: ['class']
|
|
3435
|
-
}] } });
|
|
3319
|
+
args: [{ selector: 'ax-text-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>" }]
|
|
3320
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
3436
3321
|
|
|
3437
3322
|
class AXTextBoxModule {
|
|
3438
3323
|
}
|
|
3439
|
-
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3440
|
-
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3324
|
+
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3325
|
+
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
3441
3326
|
FormsModule,
|
|
3442
3327
|
AXButtonModule,
|
|
3443
3328
|
AXEditorDecoratorModule,
|
|
3444
|
-
AXIconModule, i1$
|
|
3445
|
-
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3329
|
+
AXIconModule, i1$4.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
3330
|
+
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
3446
3331
|
CommonModule,
|
|
3447
3332
|
FormsModule,
|
|
3448
3333
|
AXButtonModule,
|
|
@@ -3450,7 +3335,7 @@ AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
3450
3335
|
AXIconModule,
|
|
3451
3336
|
NgxMaskModule.forChild()
|
|
3452
3337
|
]] });
|
|
3453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
3454
3339
|
type: NgModule,
|
|
3455
3340
|
args: [{
|
|
3456
3341
|
imports: [
|
|
@@ -3467,8 +3352,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3467
3352
|
}]
|
|
3468
3353
|
}] });
|
|
3469
3354
|
|
|
3470
|
-
const COMPONENT$
|
|
3471
|
-
const MODULES$
|
|
3355
|
+
const COMPONENT$f = [AXDatePickerComponent];
|
|
3356
|
+
const MODULES$f = [
|
|
3472
3357
|
CommonModule,
|
|
3473
3358
|
AXCalendarModule,
|
|
3474
3359
|
AXTextBoxModule,
|
|
@@ -3481,8 +3366,8 @@ const MODULES$d = [
|
|
|
3481
3366
|
];
|
|
3482
3367
|
class AXDatepickerModule {
|
|
3483
3368
|
}
|
|
3484
|
-
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3485
|
-
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3369
|
+
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3370
|
+
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [CommonModule,
|
|
3486
3371
|
AXCalendarModule,
|
|
3487
3372
|
AXTextBoxModule,
|
|
3488
3373
|
AXButtonModule,
|
|
@@ -3491,13 +3376,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
3491
3376
|
AXIconModule,
|
|
3492
3377
|
AXDateTimeModule,
|
|
3493
3378
|
FormsModule], exports: [AXDatePickerComponent] });
|
|
3494
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3379
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$f]] });
|
|
3380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
3496
3381
|
type: NgModule,
|
|
3497
3382
|
args: [{
|
|
3498
|
-
declarations: [...COMPONENT$
|
|
3499
|
-
imports: [...MODULES$
|
|
3500
|
-
exports: [...COMPONENT$
|
|
3383
|
+
declarations: [...COMPONENT$f],
|
|
3384
|
+
imports: [...MODULES$f],
|
|
3385
|
+
exports: [...COMPONENT$f],
|
|
3501
3386
|
providers: [],
|
|
3502
3387
|
}]
|
|
3503
3388
|
}] });
|
|
@@ -3528,9 +3413,9 @@ class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
3528
3413
|
}
|
|
3529
3414
|
}
|
|
3530
3415
|
}
|
|
3531
|
-
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3532
|
-
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3416
|
+
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3417
|
+
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}-default\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogComponent, decorators: [{
|
|
3534
3419
|
type: Component,
|
|
3535
3420
|
args: [{ selector: 'ax-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}-default\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>" }]
|
|
3536
3421
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -3563,7 +3448,6 @@ class AXDialogService {
|
|
|
3563
3448
|
name: 'confirm',
|
|
3564
3449
|
text: AXTranslator.get('common.okay'),
|
|
3565
3450
|
color: type,
|
|
3566
|
-
look: `twotone`,
|
|
3567
3451
|
onClick: () => {
|
|
3568
3452
|
popup.close();
|
|
3569
3453
|
if (resolve) {
|
|
@@ -3668,9 +3552,9 @@ class AXDialogService {
|
|
|
3668
3552
|
};
|
|
3669
3553
|
}
|
|
3670
3554
|
}
|
|
3671
|
-
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3672
|
-
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3555
|
+
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogService, deps: [{ token: i1$2.Overlay }, { token: i0.Injector }, { token: i1$2.ScrollStrategyOptions }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3556
|
+
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogService, providedIn: 'root' });
|
|
3557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogService, decorators: [{
|
|
3674
3558
|
type: Injectable,
|
|
3675
3559
|
args: [{ providedIn: 'root' }]
|
|
3676
3560
|
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.Injector }, { type: i1$2.ScrollStrategyOptions }]; } });
|
|
@@ -3699,17 +3583,23 @@ class AXLoadingComponent extends AXBaseComponentMixin {
|
|
|
3699
3583
|
this._selectedPortal = new ComponentPortal(loading);
|
|
3700
3584
|
this._cdr.markForCheck();
|
|
3701
3585
|
}
|
|
3586
|
+
_handleAttched(ref) {
|
|
3587
|
+
ref = ref;
|
|
3588
|
+
if (ref.instance) {
|
|
3589
|
+
ref.instance.text = this.text;
|
|
3590
|
+
}
|
|
3591
|
+
}
|
|
3702
3592
|
}
|
|
3703
|
-
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3704
|
-
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3705
|
-
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3706
|
-
`, isInline: true, directives: [{ type: i1$
|
|
3707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3593
|
+
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3594
|
+
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type", text: "text" }, outputs: { visibleChange: "visibleChange" }, host: { classAttribute: "ax-loading" }, usesInheritance: true, ngImport: i0, template: `
|
|
3595
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
3596
|
+
`, isInline: true, directives: [{ type: i1$5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
3708
3598
|
type: Component,
|
|
3709
3599
|
args: [{
|
|
3710
3600
|
selector: 'ax-loading',
|
|
3711
3601
|
template: `
|
|
3712
|
-
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3602
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
3713
3603
|
`,
|
|
3714
3604
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3715
3605
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -3721,13 +3611,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3721
3611
|
type: Input
|
|
3722
3612
|
}], type: [{
|
|
3723
3613
|
type: Input
|
|
3614
|
+
}], text: [{
|
|
3615
|
+
type: Input
|
|
3724
3616
|
}] } });
|
|
3725
3617
|
|
|
3726
3618
|
class AXLoadingSpinnerComponent {
|
|
3727
3619
|
}
|
|
3728
|
-
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3729
|
-
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3730
|
-
<svg version="1.1" width="
|
|
3620
|
+
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3621
|
+
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXLoadingSpinnerComponent, selector: "ax-loading-spinner", ngImport: i0, template: `
|
|
3622
|
+
<svg version="1.1" width="24" height="24" class="ax-fill-current" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
3731
3623
|
x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve">
|
|
3732
3624
|
<path fill="current"
|
|
3733
3625
|
d="M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z">
|
|
@@ -3735,13 +3627,14 @@ AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
3735
3627
|
dur="0.6s" repeatCount="indefinite" />
|
|
3736
3628
|
</path>
|
|
3737
3629
|
</svg>
|
|
3738
|
-
|
|
3739
|
-
|
|
3630
|
+
<span class="ax-ms-3" *ngIf="text"> {{text}} </span>
|
|
3631
|
+
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingSpinnerComponent, decorators: [{
|
|
3740
3633
|
type: Component,
|
|
3741
3634
|
args: [{
|
|
3742
3635
|
selector: 'ax-loading-spinner',
|
|
3743
3636
|
template: `
|
|
3744
|
-
<svg version="1.1" width="
|
|
3637
|
+
<svg version="1.1" width="24" height="24" class="ax-fill-current" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
3745
3638
|
x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve">
|
|
3746
3639
|
<path fill="current"
|
|
3747
3640
|
d="M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z">
|
|
@@ -3749,6 +3642,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3749
3642
|
dur="0.6s" repeatCount="indefinite" />
|
|
3750
3643
|
</path>
|
|
3751
3644
|
</svg>
|
|
3645
|
+
<span class="ax-ms-3" *ngIf="text"> {{text}} </span>
|
|
3752
3646
|
`
|
|
3753
3647
|
}]
|
|
3754
3648
|
}] });
|
|
@@ -3805,9 +3699,9 @@ class AXLoadingDirective {
|
|
|
3805
3699
|
this.renderer.addClass(this.overlayElement, OVERLAY_CLASS);
|
|
3806
3700
|
}
|
|
3807
3701
|
}
|
|
3808
|
-
AXLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3809
|
-
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
3810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3702
|
+
AXLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3703
|
+
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: AXLoadingDirective, selector: "[axIsLoading]", inputs: { isLoading: ["axIsLoading", "isLoading"] }, usesOnChanges: true, ngImport: i0 });
|
|
3704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingDirective, decorators: [{
|
|
3811
3705
|
type: Directive,
|
|
3812
3706
|
args: [{
|
|
3813
3707
|
selector: '[axIsLoading]'
|
|
@@ -3817,28 +3711,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3817
3711
|
args: ['axIsLoading']
|
|
3818
3712
|
}] } });
|
|
3819
3713
|
|
|
3820
|
-
const COMPONENT$
|
|
3821
|
-
const MODULES$
|
|
3714
|
+
const COMPONENT$e = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
3715
|
+
const MODULES$e = [CommonModule, OverlayModule, PortalModule];
|
|
3822
3716
|
class AXLoadingModule {
|
|
3823
3717
|
constructor() {
|
|
3824
3718
|
AXConfig.set({
|
|
3825
3719
|
layout: {
|
|
3826
3720
|
loading: {
|
|
3827
|
-
spinner: AXLoadingSpinnerComponent
|
|
3721
|
+
spinner: AXLoadingSpinnerComponent,
|
|
3828
3722
|
}
|
|
3829
3723
|
}
|
|
3830
3724
|
});
|
|
3831
3725
|
}
|
|
3832
3726
|
}
|
|
3833
|
-
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3834
|
-
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3835
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3727
|
+
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3728
|
+
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
3729
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$e]] });
|
|
3730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
3837
3731
|
type: NgModule,
|
|
3838
3732
|
args: [{
|
|
3839
|
-
declarations: [...COMPONENT$
|
|
3840
|
-
imports: [...MODULES$
|
|
3841
|
-
exports: [...COMPONENT$
|
|
3733
|
+
declarations: [...COMPONENT$e],
|
|
3734
|
+
imports: [...MODULES$e],
|
|
3735
|
+
exports: [...COMPONENT$e],
|
|
3842
3736
|
providers: [],
|
|
3843
3737
|
}]
|
|
3844
3738
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3848,9 +3742,9 @@ class DynamicOverlayContainer extends OverlayContainer {
|
|
|
3848
3742
|
this._containerElement = containerElement;
|
|
3849
3743
|
}
|
|
3850
3744
|
}
|
|
3851
|
-
DynamicOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3852
|
-
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3745
|
+
DynamicOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlayContainer, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3746
|
+
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlayContainer, providedIn: 'root' });
|
|
3747
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlayContainer, decorators: [{
|
|
3854
3748
|
type: Injectable,
|
|
3855
3749
|
args: [{
|
|
3856
3750
|
providedIn: 'root'
|
|
@@ -3871,9 +3765,9 @@ class DynamicOverlay extends Overlay {
|
|
|
3871
3765
|
return super.create(config);
|
|
3872
3766
|
}
|
|
3873
3767
|
}
|
|
3874
|
-
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3875
|
-
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3768
|
+
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlay, deps: [{ token: i1$2.ScrollStrategyOptions }, { token: DynamicOverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: i1$2.OverlayPositionBuilder }, { token: i1$2.OverlayKeyboardDispatcher }, { token: i0.Injector }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i2$1.Directionality }, { token: i0.RendererFactory2 }, { token: i1.Location }, { token: i1$2.OverlayOutsideClickDispatcher }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3769
|
+
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlay, providedIn: 'root' });
|
|
3770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlay, decorators: [{
|
|
3877
3771
|
type: Injectable,
|
|
3878
3772
|
args: [{
|
|
3879
3773
|
providedIn: 'root'
|
|
@@ -3882,7 +3776,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3882
3776
|
return [{ type: i1$2.ScrollStrategyOptions }, { type: DynamicOverlayContainer }, { type: i0.ComponentFactoryResolver }, { type: i1$2.OverlayPositionBuilder }, { type: i1$2.OverlayKeyboardDispatcher }, { type: i0.Injector }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
3883
3777
|
type: Inject,
|
|
3884
3778
|
args: [DOCUMENT]
|
|
3885
|
-
}] }, { type: i2$
|
|
3779
|
+
}] }, { type: i2$1.Directionality }, { type: i0.RendererFactory2 }, { type: i1.Location }, { type: i1$2.OverlayOutsideClickDispatcher }];
|
|
3886
3780
|
} });
|
|
3887
3781
|
|
|
3888
3782
|
class AXOverlayService {
|
|
@@ -3963,9 +3857,9 @@ class AXOverlayService {
|
|
|
3963
3857
|
};
|
|
3964
3858
|
}
|
|
3965
3859
|
}
|
|
3966
|
-
AXOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3967
|
-
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3860
|
+
AXOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1$2.Overlay }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3861
|
+
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXOverlayService, providedIn: 'root' });
|
|
3862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXOverlayService, decorators: [{
|
|
3969
3863
|
type: Injectable,
|
|
3970
3864
|
args: [{ providedIn: 'root' }]
|
|
3971
3865
|
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1$2.Overlay }, { type: i0.ApplicationRef }]; } });
|
|
@@ -4110,9 +4004,9 @@ class AXLoadingService {
|
|
|
4110
4004
|
return loaderId !== null && loaderId !== void 0 ? loaderId : DEFAULT_LOADER_ID;
|
|
4111
4005
|
}
|
|
4112
4006
|
}
|
|
4113
|
-
AXLoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4114
|
-
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4007
|
+
AXLoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingService, deps: [{ token: i0.NgZone }, { token: AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4008
|
+
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingService, providedIn: 'root' });
|
|
4009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingService, decorators: [{
|
|
4116
4010
|
type: Injectable,
|
|
4117
4011
|
args: [{
|
|
4118
4012
|
providedIn: 'root'
|
|
@@ -4139,9 +4033,9 @@ class AXPageComponent extends AXBaseComponentMixin {
|
|
|
4139
4033
|
}
|
|
4140
4034
|
}
|
|
4141
4035
|
}
|
|
4142
|
-
AXPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4143
|
-
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4036
|
+
AXPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXLoadingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4037
|
+
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageComponent });
|
|
4038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageComponent, decorators: [{
|
|
4145
4039
|
type: Injectable
|
|
4146
4040
|
}], ctorParameters: function () {
|
|
4147
4041
|
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
@@ -4152,14 +4046,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4152
4046
|
|
|
4153
4047
|
class AXPageFooterComponent {
|
|
4154
4048
|
}
|
|
4155
|
-
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4156
|
-
AXPageFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4049
|
+
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4050
|
+
AXPageFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
|
|
4157
4051
|
<ng-content select="ax-prefix">
|
|
4158
4052
|
</ng-content>
|
|
4159
4053
|
<ng-content select="ax-suffix">
|
|
4160
4054
|
</ng-content>
|
|
4161
4055
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageFooterComponent, decorators: [{
|
|
4163
4057
|
type: Component,
|
|
4164
4058
|
args: [{
|
|
4165
4059
|
selector: 'ax-page-footer',
|
|
@@ -4226,9 +4120,9 @@ class AXBasePageComponent {
|
|
|
4226
4120
|
this.onClosed.unsubscribe();
|
|
4227
4121
|
}
|
|
4228
4122
|
}
|
|
4229
|
-
AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4230
|
-
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4123
|
+
AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBasePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4124
|
+
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBasePageComponent });
|
|
4125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBasePageComponent, decorators: [{
|
|
4232
4126
|
type: Injectable
|
|
4233
4127
|
}], propDecorators: { pageContainer: [{
|
|
4234
4128
|
type: ViewChild,
|
|
@@ -4240,10 +4134,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4240
4134
|
|
|
4241
4135
|
class AXPageModule {
|
|
4242
4136
|
}
|
|
4243
|
-
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4244
|
-
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4245
|
-
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4137
|
+
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4138
|
+
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageModule, declarations: [AXPageFooterComponent], exports: [AXPageFooterComponent] });
|
|
4139
|
+
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
|
|
4140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageModule, decorators: [{
|
|
4247
4141
|
type: NgModule,
|
|
4248
4142
|
args: [{
|
|
4249
4143
|
imports: [],
|
|
@@ -4253,19 +4147,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4253
4147
|
}]
|
|
4254
4148
|
}] });
|
|
4255
4149
|
|
|
4256
|
-
const COMPONENT$
|
|
4257
|
-
const MODULES$
|
|
4150
|
+
const COMPONENT$d = [AXDialogComponent];
|
|
4151
|
+
const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4258
4152
|
class AXDialogModule {
|
|
4259
4153
|
}
|
|
4260
|
-
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4261
|
-
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4262
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4154
|
+
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4155
|
+
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
|
|
4156
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$d]] });
|
|
4157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
4264
4158
|
type: NgModule,
|
|
4265
4159
|
args: [{
|
|
4266
|
-
declarations: [...COMPONENT$
|
|
4267
|
-
imports: [...MODULES$
|
|
4268
|
-
exports: [...COMPONENT$
|
|
4160
|
+
declarations: [...COMPONENT$d],
|
|
4161
|
+
imports: [...MODULES$d],
|
|
4162
|
+
exports: [...COMPONENT$d],
|
|
4269
4163
|
providers: [],
|
|
4270
4164
|
}]
|
|
4271
4165
|
}] });
|
|
@@ -4388,12 +4282,12 @@ class AXDrawerComponent extends AXBaseComponentMixin {
|
|
|
4388
4282
|
this.collapsed = true;
|
|
4389
4283
|
}
|
|
4390
4284
|
}
|
|
4391
|
-
AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4392
|
-
AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4285
|
+
AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4286
|
+
AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDrawerComponent, selector: "ax-drawer", inputs: { mode: "mode", location: "location", collapsed: "collapsed" }, outputs: { onChanged: "onChanged" }, host: { listeners: { "window:resize": "_handleWindowsResize($event)" }, classAttribute: "ax-drawer" }, usesInheritance: true, ngImport: i0, template: `
|
|
4393
4287
|
<ng-content>
|
|
4394
4288
|
</ng-content>
|
|
4395
4289
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
4397
4291
|
type: Component,
|
|
4398
4292
|
args: [{
|
|
4399
4293
|
selector: 'ax-drawer',
|
|
@@ -4456,8 +4350,8 @@ class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
|
4456
4350
|
});
|
|
4457
4351
|
}
|
|
4458
4352
|
}
|
|
4459
|
-
AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4460
|
-
AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4353
|
+
AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4354
|
+
AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDrawerContainerComponent, selector: "ax-drawer-container", inputs: { rtl: "rtl" }, host: { classAttribute: "ax-drawer-container" }, queries: [{ propertyName: "drawers", predicate: AXDrawerComponent }], usesInheritance: true, ngImport: i0, template: `
|
|
4461
4355
|
<ng-content select="ax-drawer[location='start']">
|
|
4462
4356
|
</ng-content>
|
|
4463
4357
|
<ng-content select="ax-drawer-content">
|
|
@@ -4465,7 +4359,7 @@ AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
4465
4359
|
<ng-content select="ax-drawer[location='end']">
|
|
4466
4360
|
</ng-content>
|
|
4467
4361
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
4469
4363
|
type: Component,
|
|
4470
4364
|
args: [{
|
|
4471
4365
|
selector: 'ax-drawer-container',
|
|
@@ -4492,12 +4386,12 @@ class AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
|
4492
4386
|
super(elementRef, cdr);
|
|
4493
4387
|
}
|
|
4494
4388
|
}
|
|
4495
|
-
AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4496
|
-
AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4389
|
+
AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4390
|
+
AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDrawerContentComponent, selector: "ax-drawer-content", host: { classAttribute: "ax-drawer-content" }, usesInheritance: true, ngImport: i0, template: `
|
|
4497
4391
|
<ng-content>
|
|
4498
4392
|
</ng-content>
|
|
4499
4393
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
4501
4395
|
type: Component,
|
|
4502
4396
|
args: [{
|
|
4503
4397
|
selector: 'ax-drawer-content',
|
|
@@ -4511,42 +4405,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4511
4405
|
}]
|
|
4512
4406
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4513
4407
|
|
|
4514
|
-
const COMPONENT$
|
|
4515
|
-
const MODULES$
|
|
4408
|
+
const COMPONENT$c = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
4409
|
+
const MODULES$c = [CommonModule];
|
|
4516
4410
|
class AXDrawerModule {
|
|
4517
4411
|
}
|
|
4518
|
-
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4519
|
-
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4520
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4412
|
+
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4413
|
+
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
|
|
4414
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$c]] });
|
|
4415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
4522
4416
|
type: NgModule,
|
|
4523
4417
|
args: [{
|
|
4524
|
-
declarations: [...COMPONENT$
|
|
4525
|
-
imports: [...MODULES$
|
|
4526
|
-
exports: [...COMPONENT$
|
|
4418
|
+
declarations: [...COMPONENT$c],
|
|
4419
|
+
imports: [...MODULES$c],
|
|
4420
|
+
exports: [...COMPONENT$c],
|
|
4527
4421
|
providers: [],
|
|
4528
4422
|
}]
|
|
4529
4423
|
}] });
|
|
4530
4424
|
|
|
4531
|
-
class AXDropdownComponent extends AXBaseDropdownMixin {
|
|
4532
|
-
constructor(_elementRef, _cdr) {
|
|
4533
|
-
super(_elementRef, _cdr);
|
|
4534
|
-
this._target = this;
|
|
4535
|
-
}
|
|
4536
|
-
_handleArrowClickEvent() {
|
|
4537
|
-
this.toggle();
|
|
4538
|
-
}
|
|
4539
|
-
}
|
|
4540
|
-
AXDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4541
|
-
AXDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDropdownComponent, selector: "ax-drop-down", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-editor-container\" [class.ax-state-disabled]=\"disabled\">\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-dropdown-content\" style=\"display: inline-flex;\" (click)=\"_handleArrowClickEvent()\">\r\n <ng-content select=\"[input]\">\r\n </ng-content>\r\n </div>\r\n <ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" [size]=\"size\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent()\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-button>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n</div>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [style.min-width.px]=\"dropdownWidth\">\r\n <ng-content select=\"[panel]\">\r\n </ng-content>\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownComponent, decorators: [{
|
|
4543
|
-
type: Component,
|
|
4544
|
-
args: [{ selector: 'ax-drop-down', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-editor-container\" [class.ax-state-disabled]=\"disabled\">\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-dropdown-content\" style=\"display: inline-flex;\" (click)=\"_handleArrowClickEvent()\">\r\n <ng-content select=\"[input]\">\r\n </ng-content>\r\n </div>\r\n <ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" [size]=\"size\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent()\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-button>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n</div>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [style.min-width.px]=\"dropdownWidth\">\r\n <ng-content select=\"[panel]\">\r\n </ng-content>\r\n </div>\r\n</ax-popover>" }]
|
|
4545
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
4546
|
-
type: ViewChild,
|
|
4547
|
-
args: [AXPopoverComponent]
|
|
4548
|
-
}] } });
|
|
4549
|
-
|
|
4550
4425
|
class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
4551
4426
|
constructor(elementRef, cdr, _parent) {
|
|
4552
4427
|
super(elementRef, cdr);
|
|
@@ -4593,9 +4468,9 @@ class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
|
4593
4468
|
this._emitOnItemClickEvent(e, e.component);
|
|
4594
4469
|
}
|
|
4595
4470
|
}
|
|
4596
|
-
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4597
|
-
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4471
|
+
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4472
|
+
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", items: "items" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
4599
4474
|
type: Component,
|
|
4600
4475
|
args: [{ selector: 'ax-dropdown-panel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...DROPDOWN_INPUTS], outputs: [...DROPDOWN_OUTPUT], template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>" }]
|
|
4601
4476
|
}], ctorParameters: function () {
|
|
@@ -4612,22 +4487,223 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4612
4487
|
type: Output
|
|
4613
4488
|
}], popover: [{
|
|
4614
4489
|
type: ViewChild,
|
|
4615
|
-
args: [AXPopoverComponent]
|
|
4490
|
+
args: [AXPopoverComponent, { static: true }]
|
|
4616
4491
|
}], items: [{
|
|
4617
4492
|
type: Input
|
|
4618
4493
|
}] } });
|
|
4619
4494
|
|
|
4620
4495
|
class AXDropdownModule {
|
|
4621
4496
|
}
|
|
4622
|
-
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4623
|
-
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4624
|
-
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4497
|
+
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4498
|
+
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownModule, declarations: [AXDropdownPanelComponent], imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule], exports: [AXDropdownPanelComponent] });
|
|
4499
|
+
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
|
|
4500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownModule, decorators: [{
|
|
4626
4501
|
type: NgModule,
|
|
4627
4502
|
args: [{
|
|
4628
4503
|
imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
|
|
4629
|
-
exports: [
|
|
4630
|
-
declarations: [
|
|
4504
|
+
exports: [AXDropdownPanelComponent],
|
|
4505
|
+
declarations: [AXDropdownPanelComponent],
|
|
4506
|
+
providers: [],
|
|
4507
|
+
}]
|
|
4508
|
+
}] });
|
|
4509
|
+
|
|
4510
|
+
class AXFormFieldComponent extends AXBaseComponentMixin {
|
|
4511
|
+
constructor(elementRef, cdr) {
|
|
4512
|
+
super(elementRef, cdr);
|
|
4513
|
+
}
|
|
4514
|
+
}
|
|
4515
|
+
AXFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormFieldComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4516
|
+
AXFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormFieldComponent, decorators: [{
|
|
4518
|
+
type: Component,
|
|
4519
|
+
args: [{
|
|
4520
|
+
selector: 'ax-form-field',
|
|
4521
|
+
template: '<ng-content></ng-content>',
|
|
4522
|
+
encapsulation: ViewEncapsulation.None,
|
|
4523
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4524
|
+
}]
|
|
4525
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4526
|
+
|
|
4527
|
+
class AXFormHintComponent extends AXBaseComponentMixin {
|
|
4528
|
+
constructor(elementRef, cdr) {
|
|
4529
|
+
super(elementRef, cdr);
|
|
4530
|
+
}
|
|
4531
|
+
}
|
|
4532
|
+
AXFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormHintComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4533
|
+
AXFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0, template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormHintComponent, decorators: [{
|
|
4535
|
+
type: Component,
|
|
4536
|
+
args: [{
|
|
4537
|
+
selector: 'ax-form-hint',
|
|
4538
|
+
template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>',
|
|
4539
|
+
encapsulation: ViewEncapsulation.None,
|
|
4540
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4541
|
+
}]
|
|
4542
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4543
|
+
|
|
4544
|
+
class AXFormComponent extends AXBaseComponentMixin {
|
|
4545
|
+
constructor(elementRef, cdr) {
|
|
4546
|
+
super(elementRef, cdr);
|
|
4547
|
+
this.cdr = cdr;
|
|
4548
|
+
}
|
|
4549
|
+
_getComponenets() {
|
|
4550
|
+
return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
|
|
4551
|
+
}
|
|
4552
|
+
validate() {
|
|
4553
|
+
const widgets = this._getComponenets();
|
|
4554
|
+
//
|
|
4555
|
+
return new Promise((resolve, reject) => {
|
|
4556
|
+
if (widgets.length === 0) {
|
|
4557
|
+
return Promise.resolve({ result: true });
|
|
4558
|
+
}
|
|
4559
|
+
Promise.all(widgets.map((c) => c.__axContext__.validate())).then((rules) => {
|
|
4560
|
+
const failed = rules.filter((c) => !c.result);
|
|
4561
|
+
if (failed.length) {
|
|
4562
|
+
reject({
|
|
4563
|
+
result: false,
|
|
4564
|
+
items: failed
|
|
4565
|
+
});
|
|
4566
|
+
}
|
|
4567
|
+
else {
|
|
4568
|
+
resolve({ result: true });
|
|
4569
|
+
}
|
|
4570
|
+
});
|
|
4571
|
+
});
|
|
4572
|
+
}
|
|
4573
|
+
clear() {
|
|
4574
|
+
const widgets = this._getComponenets();
|
|
4575
|
+
widgets.forEach(w => {
|
|
4576
|
+
w.__axContext__.clear();
|
|
4577
|
+
});
|
|
4578
|
+
}
|
|
4579
|
+
}
|
|
4580
|
+
AXFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4581
|
+
AXFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormComponent, decorators: [{
|
|
4583
|
+
type: Component,
|
|
4584
|
+
args: [{
|
|
4585
|
+
selector: 'ax-form',
|
|
4586
|
+
template: '<div class="ax-form"><ng-content></ng-content></div>',
|
|
4587
|
+
encapsulation: ViewEncapsulation.None,
|
|
4588
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4589
|
+
}]
|
|
4590
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4591
|
+
|
|
4592
|
+
class AXFormModule {
|
|
4593
|
+
}
|
|
4594
|
+
AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4595
|
+
AXFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
|
|
4596
|
+
AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormModule, providers: [], imports: [[CommonModule]] });
|
|
4597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormModule, decorators: [{
|
|
4598
|
+
type: NgModule,
|
|
4599
|
+
args: [{
|
|
4600
|
+
imports: [CommonModule],
|
|
4601
|
+
exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
4602
|
+
declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
4603
|
+
providers: [],
|
|
4604
|
+
}]
|
|
4605
|
+
}] });
|
|
4606
|
+
|
|
4607
|
+
class AXInputMaskComponent extends AXBaseComponent {
|
|
4608
|
+
/**
|
|
4609
|
+
* @ignore
|
|
4610
|
+
*/
|
|
4611
|
+
constructor(_elementRef, _cdr, _textbox) {
|
|
4612
|
+
super(_elementRef, _cdr);
|
|
4613
|
+
this._elementRef = _elementRef;
|
|
4614
|
+
this._textbox = _textbox;
|
|
4615
|
+
this.showMaskTyped = false;
|
|
4616
|
+
this.clearIfNotMatch = false;
|
|
4617
|
+
}
|
|
4618
|
+
onViewInit() {
|
|
4619
|
+
this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
|
|
4620
|
+
mask: this.mask
|
|
4621
|
+
});
|
|
4622
|
+
}
|
|
4623
|
+
get prefix() {
|
|
4624
|
+
return this._prefix || '';
|
|
4625
|
+
}
|
|
4626
|
+
set prefix(v) {
|
|
4627
|
+
this._prefix = v;
|
|
4628
|
+
}
|
|
4629
|
+
get suffix() {
|
|
4630
|
+
return this._suffix || '';
|
|
4631
|
+
}
|
|
4632
|
+
set suffix(v) {
|
|
4633
|
+
this._suffix = v;
|
|
4634
|
+
}
|
|
4635
|
+
}
|
|
4636
|
+
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXTextBoxComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
4637
|
+
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
4639
|
+
type: Component,
|
|
4640
|
+
args: [{
|
|
4641
|
+
selector: 'ax-input-mask',
|
|
4642
|
+
template: '',
|
|
4643
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4644
|
+
encapsulation: ViewEncapsulation.None,
|
|
4645
|
+
}]
|
|
4646
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXTextBoxComponent }]; }, propDecorators: { prefix: [{
|
|
4647
|
+
type: Input
|
|
4648
|
+
}], suffix: [{
|
|
4649
|
+
type: Input
|
|
4650
|
+
}], showMaskTyped: [{
|
|
4651
|
+
type: Input
|
|
4652
|
+
}], clearIfNotMatch: [{
|
|
4653
|
+
type: Input
|
|
4654
|
+
}], mask: [{
|
|
4655
|
+
type: Input
|
|
4656
|
+
}] } });
|
|
4657
|
+
|
|
4658
|
+
const COMPONENT$b = [AXInputMaskComponent];
|
|
4659
|
+
const MODULES$b = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
4660
|
+
class AXInputMaskModule {
|
|
4661
|
+
}
|
|
4662
|
+
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4663
|
+
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$4.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
|
|
4664
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$b]] });
|
|
4665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
4666
|
+
type: NgModule,
|
|
4667
|
+
args: [{
|
|
4668
|
+
declarations: [...COMPONENT$b],
|
|
4669
|
+
imports: [...MODULES$b],
|
|
4670
|
+
exports: [...COMPONENT$b],
|
|
4671
|
+
providers: [],
|
|
4672
|
+
}]
|
|
4673
|
+
}] });
|
|
4674
|
+
|
|
4675
|
+
class AXLabelComponent extends AXBaseComponentMixin {
|
|
4676
|
+
constructor(elementRef, cdr) {
|
|
4677
|
+
super(elementRef, cdr);
|
|
4678
|
+
}
|
|
4679
|
+
get target() {
|
|
4680
|
+
return this._target;
|
|
4681
|
+
}
|
|
4682
|
+
set target(v) {
|
|
4683
|
+
this._target = v;
|
|
4684
|
+
this._cdr.markForCheck();
|
|
4685
|
+
}
|
|
4686
|
+
}
|
|
4687
|
+
AXLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4688
|
+
AXLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0, template: "<label [attr.for]=\"target\">\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelComponent, decorators: [{
|
|
4690
|
+
type: Component,
|
|
4691
|
+
args: [{ selector: 'ax-label', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<label [attr.for]=\"target\">\r\n <ng-content></ng-content>\r\n</label>" }]
|
|
4692
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4693
|
+
|
|
4694
|
+
const COMPONENT$a = [AXLabelComponent];
|
|
4695
|
+
const MODULES$a = [CommonModule];
|
|
4696
|
+
class AXLabelModule {
|
|
4697
|
+
}
|
|
4698
|
+
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4699
|
+
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
4700
|
+
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$a]] });
|
|
4701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
4702
|
+
type: NgModule,
|
|
4703
|
+
args: [{
|
|
4704
|
+
declarations: [...COMPONENT$a],
|
|
4705
|
+
imports: [...MODULES$a],
|
|
4706
|
+
exports: [...COMPONENT$a],
|
|
4631
4707
|
providers: [],
|
|
4632
4708
|
}]
|
|
4633
4709
|
}] });
|
|
@@ -4641,40 +4717,64 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4641
4717
|
/**
|
|
4642
4718
|
* @ignore
|
|
4643
4719
|
*/
|
|
4644
|
-
constructor(elementRef, cdr
|
|
4720
|
+
constructor(elementRef, cdr) {
|
|
4645
4721
|
super(elementRef, cdr);
|
|
4646
4722
|
this.cdr = cdr;
|
|
4647
|
-
this.
|
|
4648
|
-
/**
|
|
4649
|
-
* A character value that specifies the separator character.
|
|
4650
|
-
*/
|
|
4651
|
-
this.separator = ',';
|
|
4652
|
-
/**
|
|
4653
|
-
* Specifies whether the Separator character will be displayed or not
|
|
4654
|
-
*/
|
|
4655
|
-
this.thousandSeparator = false;
|
|
4723
|
+
this._padDecimalZeros = false;
|
|
4656
4724
|
/**
|
|
4657
4725
|
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
4658
4726
|
*/
|
|
4659
4727
|
this.step = 1;
|
|
4660
|
-
|
|
4661
|
-
* Specifies the number of decimals that the user can enter
|
|
4662
|
-
*/
|
|
4663
|
-
this.scale = 0;
|
|
4728
|
+
this._decimals = 0;
|
|
4664
4729
|
/**
|
|
4665
4730
|
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
4666
4731
|
*/
|
|
4667
|
-
this.decimalStep =
|
|
4732
|
+
this.decimalStep = 'auto';
|
|
4668
4733
|
/**
|
|
4669
4734
|
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
4670
4735
|
*/
|
|
4671
4736
|
this.showSpinButtons = true;
|
|
4672
|
-
this._minValue = Number.
|
|
4673
|
-
this._maxValue = Number.
|
|
4674
|
-
this.
|
|
4737
|
+
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
4738
|
+
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
4739
|
+
this.toNum = (val) => {
|
|
4740
|
+
return Number(val.replace(/[^0-9.-]+/g, ''));
|
|
4741
|
+
};
|
|
4675
4742
|
}
|
|
4676
|
-
|
|
4677
|
-
|
|
4743
|
+
/**
|
|
4744
|
+
* A character value that specifies the separator character.
|
|
4745
|
+
*/
|
|
4746
|
+
get thousandsSeparator() {
|
|
4747
|
+
return this._thousandsSeparator;
|
|
4748
|
+
}
|
|
4749
|
+
set thousandsSeparator(v) {
|
|
4750
|
+
this._setOption({
|
|
4751
|
+
name: "thousandsSeparator",
|
|
4752
|
+
value: v !== null && v !== void 0 ? v : '',
|
|
4753
|
+
});
|
|
4754
|
+
}
|
|
4755
|
+
/**
|
|
4756
|
+
* A character value that specifies the separator character.
|
|
4757
|
+
*/
|
|
4758
|
+
get padDecimalZeros() {
|
|
4759
|
+
return this._padDecimalZeros;
|
|
4760
|
+
}
|
|
4761
|
+
set padDecimalZeros(v) {
|
|
4762
|
+
this._setOption({
|
|
4763
|
+
name: "padDecimalZeros",
|
|
4764
|
+
value: v,
|
|
4765
|
+
});
|
|
4766
|
+
}
|
|
4767
|
+
/**
|
|
4768
|
+
* Specifies the number of decimals that the user can enter
|
|
4769
|
+
*/
|
|
4770
|
+
get decimals() {
|
|
4771
|
+
return this._decimals;
|
|
4772
|
+
}
|
|
4773
|
+
set decimals(v) {
|
|
4774
|
+
this._setOption({
|
|
4775
|
+
name: "decimals",
|
|
4776
|
+
value: v !== null && v !== void 0 ? v : 0,
|
|
4777
|
+
});
|
|
4678
4778
|
}
|
|
4679
4779
|
/**
|
|
4680
4780
|
* Specifies the smallest value that is valid
|
|
@@ -4683,7 +4783,10 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4683
4783
|
return this._minValue;
|
|
4684
4784
|
}
|
|
4685
4785
|
set minValue(v) {
|
|
4686
|
-
this.
|
|
4786
|
+
this._setOption({
|
|
4787
|
+
name: "minValue",
|
|
4788
|
+
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
4789
|
+
});
|
|
4687
4790
|
}
|
|
4688
4791
|
/**
|
|
4689
4792
|
* Specifies the greatest value that is valid
|
|
@@ -4692,179 +4795,92 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4692
4795
|
return this._maxValue;
|
|
4693
4796
|
}
|
|
4694
4797
|
set maxValue(v) {
|
|
4695
|
-
this.
|
|
4798
|
+
this._setOption({
|
|
4799
|
+
name: "maxValue",
|
|
4800
|
+
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
4801
|
+
});
|
|
4696
4802
|
}
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
get displayText() {
|
|
4701
|
-
return this._displayText;
|
|
4803
|
+
onViewInit() {
|
|
4804
|
+
super.onViewInit();
|
|
4805
|
+
this._updateMask();
|
|
4702
4806
|
}
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
this.
|
|
4807
|
+
_onOptionChanged(option) {
|
|
4808
|
+
super._onOptionChanged(option);
|
|
4809
|
+
this._updateMask();
|
|
4810
|
+
}
|
|
4811
|
+
_updateMask() {
|
|
4812
|
+
var _a, _b, _c, _d;
|
|
4813
|
+
if (!this._maskObj) {
|
|
4814
|
+
this._maskObj = IMask.createMask({
|
|
4815
|
+
mask: Number,
|
|
4816
|
+
min: this.minValue,
|
|
4817
|
+
max: this.maxValue,
|
|
4818
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4819
|
+
scale: this.decimals,
|
|
4820
|
+
radix: '.',
|
|
4821
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4822
|
+
});
|
|
4823
|
+
}
|
|
4824
|
+
else {
|
|
4825
|
+
this._maskObj.updateOptions({
|
|
4826
|
+
min: this.minValue,
|
|
4827
|
+
max: this.maxValue,
|
|
4828
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4829
|
+
scale: this.decimals,
|
|
4830
|
+
radix: '.',
|
|
4831
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4832
|
+
});
|
|
4833
|
+
}
|
|
4834
|
+
(_b = (_a = this._maskDirective) === null || _a === void 0 ? void 0 : _a.maskRef) === null || _b === void 0 ? void 0 : _b.updateValue();
|
|
4835
|
+
(_d = (_c = this._maskDirective) === null || _c === void 0 ? void 0 : _c.maskRef) === null || _d === void 0 ? void 0 : _d.updateControl();
|
|
4706
4836
|
}
|
|
4707
4837
|
_handleOnKeydownEvent(e) {
|
|
4708
4838
|
const ignore = () => {
|
|
4709
4839
|
e.preventDefault();
|
|
4710
4840
|
e.stopPropagation();
|
|
4711
4841
|
};
|
|
4712
|
-
const toNum = (val) => {
|
|
4713
|
-
return Number(val.replace(/[^0-9.-]+/g, ''));
|
|
4714
|
-
};
|
|
4715
|
-
const nums = Array(10)
|
|
4716
|
-
.fill(0)
|
|
4717
|
-
.map((v, i) => i.toString());
|
|
4718
|
-
const chars = [
|
|
4719
|
-
'.',
|
|
4720
|
-
'-',
|
|
4721
|
-
'Backspace',
|
|
4722
|
-
'ArrowDown',
|
|
4723
|
-
'ArrowUp',
|
|
4724
|
-
'ArrowRight',
|
|
4725
|
-
'ArrowLeft',
|
|
4726
|
-
'Tab',
|
|
4727
|
-
'Enter',
|
|
4728
|
-
];
|
|
4729
4842
|
const input = e.target;
|
|
4730
|
-
const key = e.key;
|
|
4731
4843
|
const valStr = input.value;
|
|
4732
|
-
const val = toNum(valStr);
|
|
4733
4844
|
const decimalPointIndex = valStr.indexOf('.');
|
|
4734
4845
|
const selectionStart = input.selectionStart;
|
|
4735
4846
|
const selectionEnd = input.selectionEnd;
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
ignore();
|
|
4740
|
-
}
|
|
4741
|
-
if (e.key === 'ArrowDown' || e.key === 'ArrowUp') {
|
|
4742
|
-
const stepVal = decimalPointIndex > -1
|
|
4743
|
-
? selectionStart >= decimalPointIndex
|
|
4744
|
-
? this.decimalStep
|
|
4745
|
-
: this.step
|
|
4746
|
-
: this.step;
|
|
4747
|
-
if (e.key === 'ArrowDown') {
|
|
4748
|
-
this.value = val - stepVal;
|
|
4847
|
+
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
4848
|
+
if (selectionStart > decimalPointIndex && this.decimals > 0) {
|
|
4849
|
+
e.key === 'ArrowDown' ? this.decimalStepDown() : this.decimalStepUp();
|
|
4749
4850
|
}
|
|
4750
4851
|
else {
|
|
4751
|
-
|
|
4852
|
+
e.key === 'ArrowDown' ? this.stepDown() : this.stepUp();
|
|
4752
4853
|
}
|
|
4753
4854
|
ignore();
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
const chr = valStr.substr(selectionStart - 1, 1);
|
|
4758
|
-
if (!nums.includes(chr)) {
|
|
4759
|
-
ignore();
|
|
4760
|
-
input.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
4761
|
-
}
|
|
4762
|
-
else {
|
|
4763
|
-
const newVal = toNum(valStr.substr(0, selectionStart - 1) + valStr.substr(selectionEnd));
|
|
4764
|
-
input.value = this._format(newVal);
|
|
4765
|
-
this.value = newVal;
|
|
4766
|
-
ignore();
|
|
4767
|
-
if (newVal == 0) {
|
|
4768
|
-
input.setSelectionRange(1, 1);
|
|
4769
|
-
}
|
|
4770
|
-
else {
|
|
4771
|
-
input.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
4772
|
-
}
|
|
4773
|
-
}
|
|
4774
|
-
}
|
|
4775
|
-
else if (e.key == '.') {
|
|
4776
|
-
if (!this.scale) {
|
|
4777
|
-
ignore();
|
|
4778
|
-
}
|
|
4779
|
-
else if (decimalPointIndex > -1) {
|
|
4780
|
-
input.setSelectionRange(decimalPointIndex + 1, decimalPointIndex + 1);
|
|
4781
|
-
ignore();
|
|
4782
|
-
}
|
|
4783
|
-
else {
|
|
4784
|
-
if (input.selectionEnd != valStr.length) {
|
|
4785
|
-
input.setSelectionRange(valStr.length, valStr.length);
|
|
4786
|
-
ignore();
|
|
4787
|
-
}
|
|
4788
|
-
}
|
|
4789
|
-
}
|
|
4790
|
-
else if (e.key == '-') {
|
|
4791
|
-
const index = valStr.indexOf('-');
|
|
4792
|
-
if (index > -1) {
|
|
4793
|
-
ignore();
|
|
4794
|
-
}
|
|
4795
|
-
else {
|
|
4796
|
-
this.value = Math.abs(this.value) * -1;
|
|
4797
|
-
input.setSelectionRange(index + 1, index + 1);
|
|
4798
|
-
ignore();
|
|
4799
|
-
}
|
|
4800
|
-
}
|
|
4801
|
-
else if (nums.includes(key)) {
|
|
4802
|
-
const newVal = toNum(valStr.substr(0, selectionStart) + key + valStr.substr(selectionEnd));
|
|
4803
|
-
if (newVal < this.minValue) {
|
|
4804
|
-
//TODO : highlight correct number
|
|
4805
|
-
//input.value = this._format(this.minValue);
|
|
4806
|
-
//const diff = this.minValue - val;
|
|
4807
|
-
//this.value = this.minValue;
|
|
4808
|
-
//ignore();
|
|
4809
|
-
// setTimeout(() => {
|
|
4810
|
-
// input.setSelectionRange(input.selectionStart + 1, this.minValue.toString().length);
|
|
4811
|
-
// }, 50);
|
|
4812
|
-
}
|
|
4813
|
-
else if (newVal > this.maxValue) {
|
|
4814
|
-
input.value = this._format(this.maxValue);
|
|
4815
|
-
this.value = this.maxValue;
|
|
4816
|
-
ignore();
|
|
4817
|
-
}
|
|
4818
|
-
else {
|
|
4819
|
-
input.value = this._format(newVal);
|
|
4820
|
-
this.value = newVal;
|
|
4821
|
-
ignore();
|
|
4822
|
-
}
|
|
4855
|
+
setTimeout(() => {
|
|
4856
|
+
input.setSelectionRange(selectionStart, selectionStart);
|
|
4857
|
+
});
|
|
4823
4858
|
}
|
|
4824
4859
|
super._emitOnKeydownEvent(e);
|
|
4825
4860
|
}
|
|
4861
|
+
_handleUpDownClick(e, v) {
|
|
4862
|
+
v == 1 ? this.stepUp() : this.stepDown();
|
|
4863
|
+
}
|
|
4826
4864
|
_onValueChanging(value) {
|
|
4827
|
-
return
|
|
4865
|
+
return _.toNumber(value);
|
|
4828
4866
|
}
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
return this.allowNull ? null : this.minValue;
|
|
4832
|
-
}
|
|
4833
|
-
else if (value > this.maxValue) {
|
|
4834
|
-
return this.maxValue;
|
|
4835
|
-
}
|
|
4836
|
-
else if (value < this.minValue) {
|
|
4837
|
-
return this.minValue;
|
|
4838
|
-
}
|
|
4839
|
-
return parseFloat(value.toFixed(this.scale));
|
|
4867
|
+
stepUp() {
|
|
4868
|
+
this.value += this.step;
|
|
4840
4869
|
}
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
this._maskService.thousandSeparator = this.separator;
|
|
4844
|
-
this._maskService.allowNegativeNumbers = true;
|
|
4845
|
-
const format = `separator.${this.scale}`;
|
|
4846
|
-
return this._maskService.applyMask(value === null || value === void 0 ? void 0 : value.toString(), format);
|
|
4847
|
-
}
|
|
4848
|
-
else {
|
|
4849
|
-
this._maskService.thousandSeparator = '';
|
|
4850
|
-
this._maskService.allowNegativeNumbers = true;
|
|
4851
|
-
const format = `separator.${this.scale}`;
|
|
4852
|
-
return this._maskService.applyMask(value === null || value === void 0 ? void 0 : value.toString(), format);
|
|
4853
|
-
}
|
|
4870
|
+
stepDown() {
|
|
4871
|
+
this.value -= this.step;
|
|
4854
4872
|
}
|
|
4855
|
-
|
|
4856
|
-
this.
|
|
4873
|
+
decimalStepUp() {
|
|
4874
|
+
this.value += this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep;
|
|
4857
4875
|
}
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
input.value = this._format(this.value);
|
|
4862
|
-
this._emitOnFocusEvent(e);
|
|
4876
|
+
decimalStepDown() {
|
|
4877
|
+
this.value -= this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep;
|
|
4878
|
+
;
|
|
4863
4879
|
}
|
|
4864
4880
|
}
|
|
4865
|
-
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4866
|
-
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4881
|
+
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4882
|
+
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", checked: "checked", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-editor-container" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnFocusEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4868
4884
|
type: Component,
|
|
4869
4885
|
args: [{ selector: 'ax-number-box', inputs: [
|
|
4870
4886
|
'disabled',
|
|
@@ -4879,17 +4895,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4879
4895
|
'onBlur',
|
|
4880
4896
|
'onFocus',
|
|
4881
4897
|
...TEXTBOX_OUTPUT,
|
|
4882
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-
|
|
4883
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }
|
|
4884
|
-
type: HostBinding,
|
|
4885
|
-
args: ['class']
|
|
4886
|
-
}], separator: [{
|
|
4898
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnFocusEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
|
4899
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { thousandsSeparator: [{
|
|
4887
4900
|
type: Input
|
|
4888
|
-
}],
|
|
4901
|
+
}], padDecimalZeros: [{
|
|
4889
4902
|
type: Input
|
|
4890
4903
|
}], step: [{
|
|
4891
4904
|
type: Input
|
|
4892
|
-
}],
|
|
4905
|
+
}], decimals: [{
|
|
4893
4906
|
type: Input
|
|
4894
4907
|
}], decimalStep: [{
|
|
4895
4908
|
type: Input
|
|
@@ -4899,10 +4912,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4899
4912
|
type: Input
|
|
4900
4913
|
}], maxValue: [{
|
|
4901
4914
|
type: Input
|
|
4902
|
-
}],
|
|
4903
|
-
type:
|
|
4904
|
-
|
|
4905
|
-
type: Input
|
|
4915
|
+
}], _maskDirective: [{
|
|
4916
|
+
type: ViewChild,
|
|
4917
|
+
args: [IMaskDirective]
|
|
4906
4918
|
}] } });
|
|
4907
4919
|
|
|
4908
4920
|
const COMPONENT$9 = [AXNumberBoxComponent];
|
|
@@ -4910,16 +4922,21 @@ const MODULES$9 = [
|
|
|
4910
4922
|
CommonModule,
|
|
4911
4923
|
FormsModule,
|
|
4912
4924
|
AXButtonModule,
|
|
4913
|
-
|
|
4925
|
+
AXEditorDecoratorModule,
|
|
4926
|
+
AXIconModule,
|
|
4927
|
+
IMaskModule
|
|
4914
4928
|
];
|
|
4915
4929
|
class AXNumberBoxModule {
|
|
4916
4930
|
}
|
|
4917
|
-
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4918
|
-
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4931
|
+
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4932
|
+
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
|
|
4919
4933
|
FormsModule,
|
|
4920
|
-
AXButtonModule,
|
|
4921
|
-
|
|
4922
|
-
|
|
4934
|
+
AXButtonModule,
|
|
4935
|
+
AXEditorDecoratorModule,
|
|
4936
|
+
AXIconModule,
|
|
4937
|
+
IMaskModule], exports: [AXNumberBoxComponent] });
|
|
4938
|
+
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$9]] });
|
|
4939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxModule, decorators: [{
|
|
4923
4940
|
type: NgModule,
|
|
4924
4941
|
args: [{
|
|
4925
4942
|
declarations: [...COMPONENT$9],
|
|
@@ -4961,9 +4978,9 @@ class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4961
4978
|
}
|
|
4962
4979
|
}
|
|
4963
4980
|
}
|
|
4964
|
-
AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4965
|
-
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4981
|
+
AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4982
|
+
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXPasswordBoxComponent, selector: "ax-password-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name", checked: "checked", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n\r\n<ng-content select=\"ax-suffix\">\r\n\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"toggleType()\" [tabIndex]=\"-1\" *ngIf=\"showToggleButton\">\r\n <ax-icon [icon]=\"_icon\"></ax-icon>\r\n</ax-button>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxComponent, decorators: [{
|
|
4967
4984
|
type: Component,
|
|
4968
4985
|
args: [{ selector: 'ax-password-box', inputs: [
|
|
4969
4986
|
'disabled',
|
|
@@ -4978,7 +4995,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4978
4995
|
'onBlur',
|
|
4979
4996
|
'onFocus',
|
|
4980
4997
|
...TEXTBOX_OUTPUT,
|
|
4981
|
-
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-password-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n
|
|
4998
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-password-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n\r\n<ng-content select=\"ax-suffix\">\r\n\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"toggleType()\" [tabIndex]=\"-1\" *ngIf=\"showToggleButton\">\r\n <ax-icon [icon]=\"_icon\"></ax-icon>\r\n</ax-button>" }]
|
|
4982
4999
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
|
|
4983
5000
|
type: HostBinding,
|
|
4984
5001
|
args: ['class']
|
|
@@ -4996,14 +5013,14 @@ const MODULES$8 = [
|
|
|
4996
5013
|
];
|
|
4997
5014
|
class AXPasswordBoxModule {
|
|
4998
5015
|
}
|
|
4999
|
-
AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5000
|
-
AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5016
|
+
AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5017
|
+
AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [CommonModule,
|
|
5001
5018
|
FormsModule,
|
|
5002
5019
|
AXButtonModule,
|
|
5003
5020
|
AXEditorDecoratorModule,
|
|
5004
5021
|
AXIconModule], exports: [AXPasswordBoxComponent] });
|
|
5005
|
-
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5022
|
+
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$8]] });
|
|
5023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
|
|
5007
5024
|
type: NgModule,
|
|
5008
5025
|
args: [{
|
|
5009
5026
|
declarations: [...COMPONENT$8],
|
|
@@ -5028,8 +5045,8 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
5028
5045
|
this.showCloseButton = true;
|
|
5029
5046
|
this.showHeader = true;
|
|
5030
5047
|
}
|
|
5031
|
-
|
|
5032
|
-
|
|
5048
|
+
onInit() {
|
|
5049
|
+
super.onInit();
|
|
5033
5050
|
if (this._platform.is('Mobile')) {
|
|
5034
5051
|
this.draggable = false;
|
|
5035
5052
|
}
|
|
@@ -5099,12 +5116,12 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
5099
5116
|
}
|
|
5100
5117
|
onFullScreen() { }
|
|
5101
5118
|
}
|
|
5102
|
-
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5103
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5119
|
+
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: AXLoadingService }, { token: i1$3.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
5120
|
+
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <span>{{title}}</span>\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"showCloseButton\"\r\n (click)=\"_handleCloseClick()\" tabindex=\"1\"></i>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n </div>\r\n</div>", directives: [{ type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
5105
5122
|
type: Component,
|
|
5106
|
-
args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <
|
|
5107
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type:
|
|
5123
|
+
args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <span>{{title}}</span>\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"showCloseButton\"\r\n (click)=\"_handleCloseClick()\" tabindex=\"1\"></i>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n </div>\r\n</div>" }]
|
|
5124
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$3.AXPlatform }]; }, propDecorators: { onKeydownHandler: [{
|
|
5108
5125
|
type: HostListener,
|
|
5109
5126
|
args: ['keydown.escape', ['$event']]
|
|
5110
5127
|
}] } });
|
|
@@ -5193,26 +5210,27 @@ class AXPopupService {
|
|
|
5193
5210
|
}
|
|
5194
5211
|
}
|
|
5195
5212
|
}
|
|
5196
|
-
AXPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5197
|
-
AXPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
5198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5199
|
-
type: Injectable
|
|
5213
|
+
AXPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupService, deps: [{ token: AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5214
|
+
AXPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupService, providedIn: 'root' });
|
|
5215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupService, decorators: [{
|
|
5216
|
+
type: Injectable,
|
|
5217
|
+
args: [{ providedIn: 'root' }]
|
|
5200
5218
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
5201
5219
|
|
|
5202
5220
|
const COMPONENT$7 = [AXPopupComponent];
|
|
5203
5221
|
const MODULES$7 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
|
|
5204
5222
|
class AXPopupModule {
|
|
5205
5223
|
}
|
|
5206
|
-
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5207
|
-
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5208
|
-
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5224
|
+
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5225
|
+
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule], exports: [AXPopupComponent] });
|
|
5226
|
+
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$7]] });
|
|
5227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupModule, decorators: [{
|
|
5210
5228
|
type: NgModule,
|
|
5211
5229
|
args: [{
|
|
5212
5230
|
declarations: [...COMPONENT$7],
|
|
5213
5231
|
imports: [...MODULES$7],
|
|
5214
5232
|
exports: [...COMPONENT$7],
|
|
5215
|
-
providers: [
|
|
5233
|
+
providers: [],
|
|
5216
5234
|
}]
|
|
5217
5235
|
}] });
|
|
5218
5236
|
|
|
@@ -5229,9 +5247,9 @@ class AXRadioComponent extends AXBaseValueComponentMixin {
|
|
|
5229
5247
|
}
|
|
5230
5248
|
}
|
|
5231
5249
|
}
|
|
5232
|
-
AXRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5233
|
-
AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5250
|
+
AXRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5251
|
+
AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXRadioComponent, selector: "ax-radio", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-radio" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-items-start\">\n <div class=\"ax-flex ax-items-center ax-h-5\">\n <input [id]=\"id\" class=\"ax-radio\" type=\"radio\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-ms-3 ax-text-sm\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>", directives: [{ type: i1$1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioComponent, decorators: [{
|
|
5235
5253
|
type: Component,
|
|
5236
5254
|
args: [{ selector: 'ax-radio', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-radio' }, template: "<div class=\"ax-flex ax-items-start\">\n <div class=\"ax-flex ax-items-center ax-h-5\">\n <input [id]=\"id\" class=\"ax-radio\" type=\"radio\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-ms-3 ax-text-sm\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>" }]
|
|
5237
5255
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5240,10 +5258,10 @@ const COMPONENT$6 = [AXRadioComponent];
|
|
|
5240
5258
|
const MODULES$6 = [CommonModule, FormsModule];
|
|
5241
5259
|
class AXRadioModule {
|
|
5242
5260
|
}
|
|
5243
|
-
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5244
|
-
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5245
|
-
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5261
|
+
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5262
|
+
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule, FormsModule], exports: [AXRadioComponent] });
|
|
5263
|
+
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$6]] });
|
|
5264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioModule, decorators: [{
|
|
5247
5265
|
type: NgModule,
|
|
5248
5266
|
args: [{
|
|
5249
5267
|
declarations: [...COMPONENT$6],
|
|
@@ -5259,9 +5277,9 @@ class AXRangeSliderComponent extends AXBaseComponentMixin {
|
|
|
5259
5277
|
//TODO: ax-range-slider
|
|
5260
5278
|
}
|
|
5261
5279
|
}
|
|
5262
|
-
AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5263
|
-
AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5280
|
+
AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5281
|
+
AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXRangeSliderComponent, selector: "ax-range-slider", host: { classAttribute: "ax-range-slider" }, usesInheritance: true, ngImport: i0, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderComponent, decorators: [{
|
|
5265
5283
|
type: Component,
|
|
5266
5284
|
args: [{ selector: 'ax-range-slider', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-range-slider' }, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">" }]
|
|
5267
5285
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5270,10 +5288,10 @@ const COMPONENT$5 = [AXRangeSliderComponent];
|
|
|
5270
5288
|
const MODULES$5 = [CommonModule];
|
|
5271
5289
|
class AXRangeSliderModule {
|
|
5272
5290
|
}
|
|
5273
|
-
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5274
|
-
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5275
|
-
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5291
|
+
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5292
|
+
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
|
|
5293
|
+
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$5]] });
|
|
5294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderModule, decorators: [{
|
|
5277
5295
|
type: NgModule,
|
|
5278
5296
|
args: [{
|
|
5279
5297
|
declarations: [...COMPONENT$5],
|
|
@@ -5284,27 +5302,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5284
5302
|
}] });
|
|
5285
5303
|
|
|
5286
5304
|
class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
5287
|
-
constructor(
|
|
5288
|
-
super(
|
|
5289
|
-
this.
|
|
5305
|
+
constructor(_elementRef, _cdr, _zone, _platform) {
|
|
5306
|
+
super(_elementRef, _cdr);
|
|
5307
|
+
this._elementRef = _elementRef;
|
|
5308
|
+
this._cdr = _cdr;
|
|
5309
|
+
this._zone = _zone;
|
|
5310
|
+
this._platform = _platform;
|
|
5311
|
+
this.checkbox = false;
|
|
5290
5312
|
this._currentfocusedIndex = -1;
|
|
5291
|
-
this.
|
|
5313
|
+
this._isMobile = false;
|
|
5292
5314
|
}
|
|
5293
5315
|
_handleArrowClickEvent(e) {
|
|
5316
|
+
e.nativeEvent.stopPropagation();
|
|
5294
5317
|
this.toggle();
|
|
5295
5318
|
}
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5319
|
+
_handleInputClickEvent(e) {
|
|
5320
|
+
e.stopPropagation();
|
|
5321
|
+
this.toggle();
|
|
5322
|
+
}
|
|
5323
|
+
onInit() {
|
|
5324
|
+
super.onInit();
|
|
5325
|
+
this._target = this._elementRef.nativeElement;
|
|
5326
|
+
this._isMobile = this._platform.is('Mobile');
|
|
5327
|
+
this._popoverTitle = this.placeholder || AXTranslator.get('selectbox.popover.title');
|
|
5300
5328
|
this.onOpened.subscribe(() => {
|
|
5301
|
-
this.
|
|
5329
|
+
if (this.displayItems.length == 0) {
|
|
5330
|
+
this._fetchData();
|
|
5331
|
+
}
|
|
5332
|
+
else {
|
|
5333
|
+
this._focusSelectedItem();
|
|
5334
|
+
}
|
|
5335
|
+
});
|
|
5336
|
+
this.onClosed.subscribe(() => {
|
|
5337
|
+
this.focus();
|
|
5302
5338
|
});
|
|
5303
5339
|
}
|
|
5340
|
+
onViewInit() {
|
|
5341
|
+
super.onViewInit();
|
|
5342
|
+
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
5343
|
+
}
|
|
5304
5344
|
_handleOnItemClick(e, item) {
|
|
5345
|
+
if (this.isItemDisabled(item)) {
|
|
5346
|
+
return;
|
|
5347
|
+
}
|
|
5305
5348
|
if (!this.multiple)
|
|
5306
5349
|
this.close();
|
|
5307
5350
|
this.toggleSelect(item);
|
|
5351
|
+
this._cdr.detectChanges();
|
|
5308
5352
|
}
|
|
5309
5353
|
_handleListScroll(e) {
|
|
5310
5354
|
const list = e.target;
|
|
@@ -5314,14 +5358,17 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5314
5358
|
this._fetchData();
|
|
5315
5359
|
}
|
|
5316
5360
|
_checkForLoadData() {
|
|
5361
|
+
var _a;
|
|
5317
5362
|
const list = this.listContainer.nativeElement;
|
|
5318
|
-
|
|
5363
|
+
const headerSize = ((_a = list.parentElement.querySelector('.ax-overlay-pane-header')) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
5364
|
+
if (this.loadedCount < this.totalCount && list.scrollHeight < ((list.parentElement.clientHeight - headerSize) * 1.5)) {
|
|
5319
5365
|
this._fetchData();
|
|
5320
5366
|
}
|
|
5321
5367
|
}
|
|
5322
5368
|
_onDataLoaded() {
|
|
5323
5369
|
setTimeout(() => {
|
|
5324
5370
|
this._checkForLoadData();
|
|
5371
|
+
this.popover.updatePosition();
|
|
5325
5372
|
}, 100);
|
|
5326
5373
|
}
|
|
5327
5374
|
_handleOnRemoveItemClick(e, item) {
|
|
@@ -5331,6 +5378,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5331
5378
|
_handleBadgeRemove(e, item) {
|
|
5332
5379
|
this.unselectItems(item);
|
|
5333
5380
|
e.stopPropagation();
|
|
5381
|
+
this.close();
|
|
5334
5382
|
}
|
|
5335
5383
|
_handleKeydown(e) {
|
|
5336
5384
|
if (!(this._getHostElement() == document.activeElement ||
|
|
@@ -5352,7 +5400,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5352
5400
|
e.preventDefault();
|
|
5353
5401
|
return;
|
|
5354
5402
|
}
|
|
5355
|
-
else if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0 && !this.
|
|
5403
|
+
else if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0 && !this.popover.isOpen && e.type === 'keydown') {
|
|
5356
5404
|
if (this.multiple) {
|
|
5357
5405
|
this.open();
|
|
5358
5406
|
}
|
|
@@ -5374,7 +5422,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5374
5422
|
e.preventDefault();
|
|
5375
5423
|
return;
|
|
5376
5424
|
}
|
|
5377
|
-
if (this.
|
|
5425
|
+
if (this.popover.isOpen) {
|
|
5378
5426
|
if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0) {
|
|
5379
5427
|
this.isUserInput = true;
|
|
5380
5428
|
this._focusItemByNav((e.key === 'ArrowDown' ? 1 : -1));
|
|
@@ -5384,9 +5432,14 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5384
5432
|
e.preventDefault();
|
|
5385
5433
|
return;
|
|
5386
5434
|
}
|
|
5387
|
-
|
|
5435
|
+
//e.key === 'Enter' ||
|
|
5436
|
+
if ((e.code === 'Space')) {
|
|
5437
|
+
e.preventDefault();
|
|
5388
5438
|
const focusedItem = this.displayItems[this._currentfocusedIndex];
|
|
5389
5439
|
if (focusedItem) {
|
|
5440
|
+
if (this.isItemDisabled(focusedItem)) {
|
|
5441
|
+
return;
|
|
5442
|
+
}
|
|
5390
5443
|
if (this.multiple) {
|
|
5391
5444
|
this.isUserInput = true;
|
|
5392
5445
|
this.toggleSelect(focusedItem);
|
|
@@ -5397,7 +5450,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5397
5450
|
this.close();
|
|
5398
5451
|
}
|
|
5399
5452
|
}
|
|
5400
|
-
e.preventDefault();
|
|
5401
5453
|
return;
|
|
5402
5454
|
}
|
|
5403
5455
|
}
|
|
@@ -5421,7 +5473,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5421
5473
|
}
|
|
5422
5474
|
_focusItemByIndex(inedx) {
|
|
5423
5475
|
if (this.listContainer) {
|
|
5424
|
-
this.
|
|
5476
|
+
this._zone.runOutsideAngular(() => {
|
|
5425
5477
|
const itemDiv = this.listContainer.nativeElement.querySelector(`.ax-list-item:nth-child(${inedx + 1})`);
|
|
5426
5478
|
if (itemDiv) {
|
|
5427
5479
|
itemDiv.focus();
|
|
@@ -5446,14 +5498,16 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5446
5498
|
this._currentfocusedIndex = index;
|
|
5447
5499
|
}
|
|
5448
5500
|
}
|
|
5449
|
-
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5450
|
-
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5501
|
+
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$3.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
5502
|
+
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", pageSize: "pageSize", valueField: "valueField", textField: "textField", items: "items", disabledField: "disabledField", disabledCallback: "disabledCallback", multiple: "multiple", selectionMode: "selectionMode", checkbox: "checkbox" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", valueChanged: "valueChanged" }, host: { listeners: { "document:keydown": "_handleKeydown($event)" }, classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close ax-cursor-pointer\"\r\n (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane \" [class.ax-overlay-center]=\"_isMobile\" [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div *ngIf=\"_isMobile\" class=\"ax-overlay-pane-header\">\r\n <span>{{_popoverTitle}}</span>\r\n <i class=\"ax-ic {{multiple?'ax-ic-check':'ax-ic-close'}}\" (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"!multiple; then singleTemplate; else multipleTemplate\"></ng-container>\r\n <ng-template #singleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [attr.tabindex]=\"i\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n <ng-template #multipleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n (click)=\"_handleOnItemClick($event,item)\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\" *ngIf=\"checkbox\"\r\n [checked]=\"isItemSelected(item)\" [disabled]=\"isItemDisabled(item)\">\r\n \r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</ax-popover>", components: [{ type: AXBadgeComponent, selector: "ax-badge", inputs: ["text", "color"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$3.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
5452
5504
|
type: Component,
|
|
5453
|
-
args: [{ selector: 'ax-select-box', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...
|
|
5454
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { popover: [{
|
|
5505
|
+
args: [{ selector: 'ax-select-box', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...DATALIST_INPUTS, ...SELECTION_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...SELECTION_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close ax-cursor-pointer\"\r\n (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane \" [class.ax-overlay-center]=\"_isMobile\" [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div *ngIf=\"_isMobile\" class=\"ax-overlay-pane-header\">\r\n <span>{{_popoverTitle}}</span>\r\n <i class=\"ax-ic {{multiple?'ax-ic-check':'ax-ic-close'}}\" (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"!multiple; then singleTemplate; else multipleTemplate\"></ng-container>\r\n <ng-template #singleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [attr.tabindex]=\"i\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n <ng-template #multipleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n (click)=\"_handleOnItemClick($event,item)\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\" *ngIf=\"checkbox\"\r\n [checked]=\"isItemSelected(item)\" [disabled]=\"isItemDisabled(item)\">\r\n \r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</ax-popover>" }]
|
|
5506
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
5455
5507
|
type: ViewChild,
|
|
5456
|
-
args: [AXPopoverComponent]
|
|
5508
|
+
args: [AXPopoverComponent, { static: true }]
|
|
5509
|
+
}], checkbox: [{
|
|
5510
|
+
type: Input
|
|
5457
5511
|
}], listContainer: [{
|
|
5458
5512
|
type: ViewChild,
|
|
5459
5513
|
args: ['listContainer', { static: true }]
|
|
@@ -5464,13 +5518,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5464
5518
|
|
|
5465
5519
|
class AXSelectBoxModule {
|
|
5466
5520
|
}
|
|
5467
|
-
AXSelectBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5468
|
-
AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5469
|
-
AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5521
|
+
AXSelectBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5522
|
+
AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [CommonModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXTranslationModule, AXIconModule, AXPopoverModule, AXButtonModule, AXLabelModule, AXLoadingModule], exports: [AXSelectBoxComponent] });
|
|
5523
|
+
AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxModule, providers: [], imports: [[CommonModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXTranslationModule, AXIconModule, AXPopoverModule, AXButtonModule, AXLabelModule, AXLoadingModule]] });
|
|
5524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxModule, decorators: [{
|
|
5471
5525
|
type: NgModule,
|
|
5472
5526
|
args: [{
|
|
5473
|
-
imports: [CommonModule,
|
|
5527
|
+
imports: [CommonModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXTranslationModule, AXIconModule, AXPopoverModule, AXButtonModule, AXLabelModule, AXLoadingModule],
|
|
5474
5528
|
exports: [AXSelectBoxComponent],
|
|
5475
5529
|
declarations: [AXSelectBoxComponent],
|
|
5476
5530
|
providers: [],
|
|
@@ -5492,9 +5546,9 @@ class AXSelectionListComponent extends AXBaseSelectionValueMixin {
|
|
|
5492
5546
|
}
|
|
5493
5547
|
}
|
|
5494
5548
|
}
|
|
5495
|
-
AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5496
|
-
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5549
|
+
AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5550
|
+
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", cssClass: "cssClass", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-check-box\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5 ax-radio\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>\r\n\r\n<!-- <div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <ax-check-box [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n \r\n <ax-label> {{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-check-box>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <ax-radio [id]=\"id+'-'+i\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n <ax-label>{{item[textField]}} | {{isItemSelected(item)}}</ax-label>\r\n <ax-form-hint *ngIf=\"item[hintField]\"> {{item[hintField]}} </ax-form-hint>\r\n </ax-radio>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div> -->", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListComponent, decorators: [{
|
|
5498
5552
|
type: Component,
|
|
5499
5553
|
args: [{ selector: 'ax-selection-list', inputs: [
|
|
5500
5554
|
'disabled',
|
|
@@ -5515,10 +5569,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5515
5569
|
|
|
5516
5570
|
class AXSelectionListModule {
|
|
5517
5571
|
}
|
|
5518
|
-
AXSelectionListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5519
|
-
AXSelectionListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5520
|
-
AXSelectionListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5572
|
+
AXSelectionListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5573
|
+
AXSelectionListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListModule, declarations: [AXSelectionListComponent], imports: [CommonModule, FormsModule, AXCheckBoxModule, AXRadioModule, AXLabelModule, AXFormModule], exports: [AXSelectionListComponent] });
|
|
5574
|
+
AXSelectionListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListModule, providers: [], imports: [[CommonModule, FormsModule, AXCheckBoxModule, AXRadioModule, AXLabelModule, AXFormModule]] });
|
|
5575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListModule, decorators: [{
|
|
5522
5576
|
type: NgModule,
|
|
5523
5577
|
args: [{
|
|
5524
5578
|
declarations: [AXSelectionListComponent],
|
|
@@ -5533,9 +5587,9 @@ class AXSideMenuComponent extends AXBaseComponentMixin {
|
|
|
5533
5587
|
super(elementRef, cdr);
|
|
5534
5588
|
}
|
|
5535
5589
|
}
|
|
5536
|
-
AXSideMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5537
|
-
AXSideMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5590
|
+
AXSideMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5591
|
+
AXSideMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXSideMenuComponent, selector: "ax-side-menu", host: { classAttribute: "ax-side-menu" }, usesInheritance: true, ngImport: i0, template: "\r\n<div>Hi ax-side-menu</div>\r\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuComponent, decorators: [{
|
|
5539
5593
|
type: Component,
|
|
5540
5594
|
args: [{ selector: 'ax-side-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-side-menu' }, template: "\r\n<div>Hi ax-side-menu</div>\r\n" }]
|
|
5541
5595
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5544,10 +5598,10 @@ const COMPONENT$4 = [AXSideMenuComponent];
|
|
|
5544
5598
|
const MODULES$4 = [CommonModule];
|
|
5545
5599
|
class AXSideMenuModule {
|
|
5546
5600
|
}
|
|
5547
|
-
AXSideMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5548
|
-
AXSideMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5549
|
-
AXSideMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5601
|
+
AXSideMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5602
|
+
AXSideMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuModule, declarations: [AXSideMenuComponent], imports: [CommonModule], exports: [AXSideMenuComponent] });
|
|
5603
|
+
AXSideMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuModule, providers: [], imports: [[...MODULES$4]] });
|
|
5604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuModule, decorators: [{
|
|
5551
5605
|
type: NgModule,
|
|
5552
5606
|
args: [{
|
|
5553
5607
|
declarations: [...COMPONENT$4],
|
|
@@ -5571,9 +5625,9 @@ class AXSwitchComponent extends AXBaseValueComponentMixin {
|
|
|
5571
5625
|
return this._classes;
|
|
5572
5626
|
}
|
|
5573
5627
|
}
|
|
5574
|
-
AXSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5575
|
-
AXSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5628
|
+
AXSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5629
|
+
AXSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXSwitchComponent, selector: "ax-switch", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", cssClass: "cssClass", cssStyle: "cssStyle", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<!-- <label class=\"ax-switch {{cssClass}} ax-{{size}}\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [attr.style]=\"cssStyle\" (click)=\"handleOnClickEvent($event)\">\r\n <input type=\"checkbox\" [(ngModel)]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <span class=\"ax-switch-slider\"></span>\r\n</label>\r\n\r\n -->\r\n\r\n<!-- <label for=\"toggle-example\" class=\"ax-flex ax-items-center ax-cursor-pointer ax-relative ax-mb-4\">\r\n <input type=\"checkbox\" id=\"toggle-example\" class=\"ax-sr-only\">\r\n <div class=\"ax-switch ax-bg-gray-200 ax-border-2 ax-border-gray-200 ax-h-6 ax-rounded-full\"></div>\r\n <span class=\"ax-ml-3 ax-text-gray-900 ax-text-sm ax-font-medium\">Toggle me</span>\r\n </label> -->\r\n\r\n<label class=\"ax-switch\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n (click)=\"handleOnClickEvent($event)\">\r\n <input type=\"checkbox\" [(ngModel)]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <span class=\"ax-switch-slider\"></span>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", directives: [{ type: i1$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchComponent, decorators: [{
|
|
5577
5631
|
type: Component,
|
|
5578
5632
|
args: [{ selector: 'ax-switch', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'cssClass', 'cssStyle', ...VALUE_INPUTS], outputs: ['onBlur', 'onFocus', ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <label class=\"ax-switch {{cssClass}} ax-{{size}}\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [attr.style]=\"cssStyle\" (click)=\"handleOnClickEvent($event)\">\r\n <input type=\"checkbox\" [(ngModel)]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <span class=\"ax-switch-slider\"></span>\r\n</label>\r\n\r\n -->\r\n\r\n<!-- <label for=\"toggle-example\" class=\"ax-flex ax-items-center ax-cursor-pointer ax-relative ax-mb-4\">\r\n <input type=\"checkbox\" id=\"toggle-example\" class=\"ax-sr-only\">\r\n <div class=\"ax-switch ax-bg-gray-200 ax-border-2 ax-border-gray-200 ax-h-6 ax-rounded-full\"></div>\r\n <span class=\"ax-ml-3 ax-text-gray-900 ax-text-sm ax-font-medium\">Toggle me</span>\r\n </label> -->\r\n\r\n<label class=\"ax-switch\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n (click)=\"handleOnClickEvent($event)\">\r\n <input type=\"checkbox\" [(ngModel)]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <span class=\"ax-switch-slider\"></span>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
|
5579
5633
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
@@ -5583,10 +5637,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5583
5637
|
|
|
5584
5638
|
class AXSwitchModule {
|
|
5585
5639
|
}
|
|
5586
|
-
AXSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5587
|
-
AXSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5588
|
-
AXSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5640
|
+
AXSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5641
|
+
AXSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchModule, declarations: [AXSwitchComponent], imports: [CommonModule, FormsModule], exports: [AXSwitchComponent] });
|
|
5642
|
+
AXSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchModule, providers: [], imports: [[CommonModule, FormsModule]] });
|
|
5643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchModule, decorators: [{
|
|
5590
5644
|
type: NgModule,
|
|
5591
5645
|
args: [{
|
|
5592
5646
|
declarations: [AXSwitchComponent],
|
|
@@ -5628,8 +5682,8 @@ class AXTabItemComponent extends AXBaseClickableMixin {
|
|
|
5628
5682
|
});
|
|
5629
5683
|
}
|
|
5630
5684
|
}
|
|
5631
|
-
AXTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5632
|
-
AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5685
|
+
AXTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5686
|
+
AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXTabItemComponent, selector: "ax-tab-item", inputs: { text: "text", width: "width", active: "active" }, outputs: { activeChange: "activeChange" }, host: { listeners: { "click": "__hostClick($event)" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, static: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5633
5687
|
<ng-container *ngIf="headerTemplate;else header">
|
|
5634
5688
|
<ng-container [ngTemplateOutlet]="headerTemplate" [ngTemplateOutletContext]="{ $implicit: {text,active} }"></ng-container>
|
|
5635
5689
|
</ng-container>
|
|
@@ -5647,7 +5701,7 @@ AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5647
5701
|
</ng-content>
|
|
5648
5702
|
</ng-template>
|
|
5649
5703
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabItemComponent, decorators: [{
|
|
5651
5705
|
type: Component,
|
|
5652
5706
|
args: [{
|
|
5653
5707
|
selector: 'ax-tab-item',
|
|
@@ -5730,14 +5784,14 @@ class AXTabsComponent extends AXBaseComponent {
|
|
|
5730
5784
|
});
|
|
5731
5785
|
}
|
|
5732
5786
|
}
|
|
5733
|
-
AXTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5734
|
-
AXTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5787
|
+
AXTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5788
|
+
AXTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXTabsComponent, selector: "ax-tabs", inputs: { fitParent: "fitParent", minWidth: "minWidth", content: "content" }, outputs: { onActiveTabChanged: "onActiveTabChanged" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabItemComponent }], usesInheritance: true, ngImport: i0, template: `
|
|
5735
5789
|
<div class="ax-items-wrapper">
|
|
5736
5790
|
<ng-content select="ax-tab-item">
|
|
5737
5791
|
</ng-content>
|
|
5738
5792
|
</div>
|
|
5739
5793
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsComponent, decorators: [{
|
|
5741
5795
|
type: Component,
|
|
5742
5796
|
args: [{
|
|
5743
5797
|
selector: 'ax-tabs',
|
|
@@ -5782,9 +5836,9 @@ class AXTabContentDirective {
|
|
|
5782
5836
|
}
|
|
5783
5837
|
}
|
|
5784
5838
|
}
|
|
5785
|
-
AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5786
|
-
AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
5787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5839
|
+
AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabContentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5840
|
+
AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0 });
|
|
5841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabContentDirective, decorators: [{
|
|
5788
5842
|
type: Directive,
|
|
5789
5843
|
args: [{
|
|
5790
5844
|
selector: '[axTabContent]',
|
|
@@ -5797,10 +5851,10 @@ const COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective]
|
|
|
5797
5851
|
const MODULES$3 = [CommonModule, PortalModule, AXEditorDecoratorModule];
|
|
5798
5852
|
class AXTabsModule {
|
|
5799
5853
|
}
|
|
5800
|
-
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5801
|
-
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5802
|
-
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5854
|
+
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5855
|
+
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
|
|
5856
|
+
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES$3]] });
|
|
5857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsModule, decorators: [{
|
|
5804
5858
|
type: NgModule,
|
|
5805
5859
|
args: [{
|
|
5806
5860
|
declarations: [...COMPONENT$3],
|
|
@@ -5907,12 +5961,12 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
5907
5961
|
this._emitOnFocusEvent(e);
|
|
5908
5962
|
}
|
|
5909
5963
|
}
|
|
5910
|
-
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5911
|
-
AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5964
|
+
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$4.MaskApplierService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5965
|
+
AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", checked: "checked", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-time-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", directives: [{ type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
|
|
5913
5967
|
type: Component,
|
|
5914
|
-
args: [{ selector: 'ax-time-box', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', ...TEXTBOX_INPUTS], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus', ...TEXTBOX_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-time-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<
|
|
5915
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
5968
|
+
args: [{ selector: 'ax-time-box', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', ...TEXTBOX_INPUTS], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus', ...TEXTBOX_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-time-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
|
5969
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.MaskApplierService }]; }, propDecorators: { hostClass: [{
|
|
5916
5970
|
type: HostBinding,
|
|
5917
5971
|
args: ['class']
|
|
5918
5972
|
}], minValue: [{
|
|
@@ -5936,12 +5990,12 @@ const MODULES$2 = [
|
|
|
5936
5990
|
];
|
|
5937
5991
|
class AXTimeBoxModule {
|
|
5938
5992
|
}
|
|
5939
|
-
AXTimeBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5940
|
-
AXTimeBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5993
|
+
AXTimeBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5994
|
+
AXTimeBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [CommonModule,
|
|
5941
5995
|
FormsModule,
|
|
5942
|
-
AXButtonModule, i1$
|
|
5943
|
-
AXTimeBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5996
|
+
AXButtonModule, i1$4.NgxMaskModule], exports: [AXTimeBoxComponent] });
|
|
5997
|
+
AXTimeBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxModule, providers: [], imports: [[...MODULES$2]] });
|
|
5998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxModule, decorators: [{
|
|
5945
5999
|
type: NgModule,
|
|
5946
6000
|
args: [{
|
|
5947
6001
|
declarations: [...COMPONENT$2],
|
|
@@ -5984,9 +6038,9 @@ class AXToastComponent extends AXBaseComponentMixin {
|
|
|
5984
6038
|
}
|
|
5985
6039
|
}
|
|
5986
6040
|
}
|
|
5987
|
-
AXToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5988
|
-
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6041
|
+
AXToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6042
|
+
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastComponent, decorators: [{
|
|
5990
6044
|
type: Component,
|
|
5991
6045
|
args: [{ selector: 'ax-toast', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-toast' }, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>" }]
|
|
5992
6046
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5995,10 +6049,10 @@ const COMPONENT$1 = [AXToastComponent];
|
|
|
5995
6049
|
const MODULES$1 = [CommonModule, AXButtonModule];
|
|
5996
6050
|
class AXToastModule {
|
|
5997
6051
|
}
|
|
5998
|
-
AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5999
|
-
AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
6000
|
-
AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
6001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6052
|
+
AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6053
|
+
AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule], exports: [AXToastComponent] });
|
|
6054
|
+
AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastModule, providers: [], imports: [[...MODULES$1]] });
|
|
6055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastModule, decorators: [{
|
|
6002
6056
|
type: NgModule,
|
|
6003
6057
|
args: [{
|
|
6004
6058
|
declarations: [...COMPONENT$1],
|
|
@@ -6110,9 +6164,9 @@ class AXToastService {
|
|
|
6110
6164
|
}
|
|
6111
6165
|
}
|
|
6112
6166
|
}
|
|
6113
|
-
AXToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6114
|
-
AXToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
6115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6167
|
+
AXToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastService, deps: [{ token: i1$2.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6168
|
+
AXToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastService, providedIn: 'root' });
|
|
6169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastService, decorators: [{
|
|
6116
6170
|
type: Injectable,
|
|
6117
6171
|
args: [{ providedIn: 'root' }]
|
|
6118
6172
|
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.Injector }]; } });
|
|
@@ -6124,8 +6178,8 @@ class AXTooltipComponent extends AXBaseComponentMixin {
|
|
|
6124
6178
|
this.position = 'top';
|
|
6125
6179
|
}
|
|
6126
6180
|
}
|
|
6127
|
-
AXTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6128
|
-
AXTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
6181
|
+
AXTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6182
|
+
AXTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXTooltipComponent, selector: "ax-tooltip", inputs: { text: "text", position: "position" }, host: { classAttribute: "ax-tooltip" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tooltip-container\">\r\n <div class=\"ax-tooltip\" @tooltip>\r\n {{ text }}\r\n </div>\r\n <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{position}}\"></div>\r\n</div>", animations: [
|
|
6129
6183
|
trigger('tooltip', [
|
|
6130
6184
|
transition(':enter', [
|
|
6131
6185
|
style({ opacity: 0 }),
|
|
@@ -6134,7 +6188,7 @@ AXTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6134
6188
|
transition(':leave', [animate(50, style({ opacity: 0 }))]),
|
|
6135
6189
|
]),
|
|
6136
6190
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipComponent, decorators: [{
|
|
6138
6192
|
type: Component,
|
|
6139
6193
|
args: [{ selector: 'ax-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-tooltip' }, animations: [
|
|
6140
6194
|
trigger('tooltip', [
|
|
@@ -6213,9 +6267,9 @@ class AXTooltipDirective {
|
|
|
6213
6267
|
this.overlayRef.detach();
|
|
6214
6268
|
}
|
|
6215
6269
|
}
|
|
6216
|
-
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6217
|
-
AXTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
6218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6270
|
+
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i1$2.Overlay }, { token: i1$2.OverlayPositionBuilder }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6271
|
+
AXTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { text: ["axTooltip", "text"], position: ["axTooltipPositon", "position"] }, host: { listeners: { "mouseenter": "show()", "mouseout": "hide()" } }, ngImport: i0 });
|
|
6272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipDirective, decorators: [{
|
|
6219
6273
|
type: Directive,
|
|
6220
6274
|
args: [{ selector: '[axTooltip]' }]
|
|
6221
6275
|
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i1$2.OverlayPositionBuilder }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
@@ -6236,10 +6290,10 @@ const COMPONENT = [AXTooltipComponent, AXTooltipDirective];
|
|
|
6236
6290
|
const MODULES = [CommonModule, OverlayModule];
|
|
6237
6291
|
class AXTooltipModule {
|
|
6238
6292
|
}
|
|
6239
|
-
AXTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6240
|
-
AXTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
6241
|
-
AXTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
6242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6293
|
+
AXTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6294
|
+
AXTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [CommonModule, OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] });
|
|
6295
|
+
AXTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipModule, providers: [], imports: [[...MODULES]] });
|
|
6296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipModule, decorators: [{
|
|
6243
6297
|
type: NgModule,
|
|
6244
6298
|
args: [{
|
|
6245
6299
|
declarations: [...COMPONENT],
|
|
@@ -6336,9 +6390,9 @@ class AXValidationRuleComponent extends AXBaseComponentMixin {
|
|
|
6336
6390
|
});
|
|
6337
6391
|
}
|
|
6338
6392
|
}
|
|
6339
|
-
AXValidationRuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6340
|
-
AXValidationRuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
6341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6393
|
+
AXValidationRuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationRuleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6394
|
+
AXValidationRuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXValidationRuleComponent, selector: "ax-validation-rule", inputs: { rule: "rule", message: "message", showMessage: "showMessage", value: "value", enabled: "enabled" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationRuleComponent, decorators: [{
|
|
6342
6396
|
type: Component,
|
|
6343
6397
|
args: [{
|
|
6344
6398
|
selector: 'ax-validation-rule',
|
|
@@ -6372,10 +6426,10 @@ class AXValidationModule {
|
|
|
6372
6426
|
});
|
|
6373
6427
|
}
|
|
6374
6428
|
}
|
|
6375
|
-
AXValidationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6376
|
-
AXValidationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
6377
|
-
AXValidationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
6378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6429
|
+
AXValidationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6430
|
+
AXValidationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationModule, declarations: [AXValidationRuleComponent], imports: [CommonModule], exports: [AXValidationRuleComponent] });
|
|
6431
|
+
AXValidationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationModule, providers: [], imports: [[CommonModule]] });
|
|
6432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationModule, decorators: [{
|
|
6379
6433
|
type: NgModule,
|
|
6380
6434
|
args: [{
|
|
6381
6435
|
declarations: [AXValidationRuleComponent],
|
|
@@ -6394,5 +6448,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
6394
6448
|
* Generated bundle index. Do not edit.
|
|
6395
6449
|
*/
|
|
6396
6450
|
|
|
6397
|
-
export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule,
|
|
6451
|
+
export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXRadioComponent, AXRadioModule, AXRangeSliderComponent, AXRangeSliderModule, AXResponsiveDirective, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSideMenuComponent, AXSideMenuModule, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
|
|
6398
6452
|
//# sourceMappingURL=acorex-components.mjs.map
|