@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 () { return [{ type: undefined, decorators: [{
|
|
109
112
|
type: Inject,
|
|
@@ -128,10 +131,6 @@ function _ButtonComponentMixin(Base) {
|
|
|
128
131
|
constructor(...args) {
|
|
129
132
|
super(...args);
|
|
130
133
|
/**
|
|
131
|
-
* Defines the primary text to show inside the button.
|
|
132
|
-
*/
|
|
133
|
-
this.text = '';
|
|
134
|
-
/**
|
|
135
134
|
* Trigger click event by Enter Key
|
|
136
135
|
*/
|
|
137
136
|
this.submitBehavior = false;
|
|
@@ -149,6 +148,21 @@ function _ButtonComponentMixin(Base) {
|
|
|
149
148
|
this._selected = false;
|
|
150
149
|
}
|
|
151
150
|
/**
|
|
151
|
+
* Defines the primary text to show inside the button.
|
|
152
|
+
*/
|
|
153
|
+
get text() {
|
|
154
|
+
return this._text;
|
|
155
|
+
}
|
|
156
|
+
set text(v) {
|
|
157
|
+
this._setOption({
|
|
158
|
+
name: 'text',
|
|
159
|
+
value: v,
|
|
160
|
+
afterCallback: () => {
|
|
161
|
+
this._cdr.markForCheck();
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
152
166
|
* Predefined color schemes
|
|
153
167
|
*/
|
|
154
168
|
get color() {
|
|
@@ -288,7 +302,18 @@ function _DatalistComponenetMixin(Base) {
|
|
|
288
302
|
return __classPrivateFieldGet(this, _items, "f");
|
|
289
303
|
}
|
|
290
304
|
set items(v) {
|
|
291
|
-
|
|
305
|
+
if (Array.isArray(v)) {
|
|
306
|
+
__classPrivateFieldSet(this, _items, this._formatData(v), "f");
|
|
307
|
+
this._onDataLoaded();
|
|
308
|
+
}
|
|
309
|
+
else if (typeof v === 'function') {
|
|
310
|
+
__classPrivateFieldSet(this, _isLazy, true, "f");
|
|
311
|
+
__classPrivateFieldSet(this, _items, v, "f");
|
|
312
|
+
}
|
|
313
|
+
else {
|
|
314
|
+
__classPrivateFieldSet(this, _items, [], "f");
|
|
315
|
+
this._onDataLoaded();
|
|
316
|
+
}
|
|
292
317
|
}
|
|
293
318
|
get displayItems() {
|
|
294
319
|
if (Array.isArray(this.items)) {
|
|
@@ -302,6 +327,18 @@ function _DatalistComponenetMixin(Base) {
|
|
|
302
327
|
get isLoading() {
|
|
303
328
|
return __classPrivateFieldGet(this, _isLoading, "f");
|
|
304
329
|
}
|
|
330
|
+
_formatData(v) {
|
|
331
|
+
return _.unionBy(v.map((o, i) => {
|
|
332
|
+
if (typeof o == 'object')
|
|
333
|
+
return o;
|
|
334
|
+
else {
|
|
335
|
+
const no = {};
|
|
336
|
+
no[this.valueField] = o;
|
|
337
|
+
no[Array.isArray(this.textField) ? this.textField[0] : this.textField] = o;
|
|
338
|
+
return no;
|
|
339
|
+
}
|
|
340
|
+
}), this.valueField);
|
|
341
|
+
}
|
|
305
342
|
_fetchData() {
|
|
306
343
|
if ((this.loadedCount >= this.totalCount && this.totalCount != 0) || __classPrivateFieldGet(this, _isLoading, "f") || !__classPrivateFieldGet(this, _isLazy, "f")) {
|
|
307
344
|
return;
|
|
@@ -326,13 +363,13 @@ function _DatalistComponenetMixin(Base) {
|
|
|
326
363
|
});
|
|
327
364
|
}
|
|
328
365
|
}
|
|
329
|
-
_onInternalInit() {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}
|
|
366
|
+
// _onInternalInit() {
|
|
367
|
+
// if (typeof this.#items == 'function') {
|
|
368
|
+
// this.#isLazy = true;
|
|
369
|
+
// this._fetchData();
|
|
370
|
+
// }
|
|
371
|
+
// super._onInternalInit();
|
|
372
|
+
// }
|
|
336
373
|
_onDataLoaded() {
|
|
337
374
|
}
|
|
338
375
|
_getItemDisplayTextTemplte(item) {
|
|
@@ -354,13 +391,19 @@ function _DatalistComponenetMixin(Base) {
|
|
|
354
391
|
_isLazy = new WeakMap(),
|
|
355
392
|
_items = new WeakMap(),
|
|
356
393
|
_a;
|
|
357
|
-
}
|
|
394
|
+
}
|
|
395
|
+
const DATALIST_INPUTS = [
|
|
396
|
+
'pageSize',
|
|
397
|
+
'valueField',
|
|
398
|
+
'textField',
|
|
399
|
+
'items'
|
|
400
|
+
];
|
|
401
|
+
const DATALIST_OUTPUT = [];
|
|
358
402
|
|
|
359
403
|
function _DropdownComponenetMixin(Base) {
|
|
360
404
|
class Mixin extends Base {
|
|
361
405
|
constructor(...args) {
|
|
362
406
|
super(...args);
|
|
363
|
-
this.fitParent = true;
|
|
364
407
|
this.readonly = false;
|
|
365
408
|
this.onOpened = new EventEmitter();
|
|
366
409
|
this.onClosed = new EventEmitter();
|
|
@@ -381,12 +424,12 @@ function _DropdownComponenetMixin(Base) {
|
|
|
381
424
|
htmlElement: this._getHostElement()
|
|
382
425
|
});
|
|
383
426
|
}
|
|
427
|
+
onInit() {
|
|
428
|
+
super.onInit();
|
|
429
|
+
this.popover.onOpened.subscribe(this.onOpened);
|
|
430
|
+
this.popover.onClosed.subscribe(this.onClosed);
|
|
431
|
+
}
|
|
384
432
|
onViewInit() {
|
|
385
|
-
if (this.dropdownWidth == null) {
|
|
386
|
-
if (this.fitParent === true) {
|
|
387
|
-
this.dropdownWidth = this._getInnerElement().offsetWidth;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
433
|
// wait for documentElement
|
|
391
434
|
setTimeout(() => {
|
|
392
435
|
if (this.position.length == 0) {
|
|
@@ -405,7 +448,21 @@ function _DropdownComponenetMixin(Base) {
|
|
|
405
448
|
overlayX: 'start',
|
|
406
449
|
overlayY: 'bottom',
|
|
407
450
|
offsetY: -offset
|
|
408
|
-
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
originX: 'end',
|
|
454
|
+
originY: 'bottom',
|
|
455
|
+
overlayX: 'end',
|
|
456
|
+
overlayY: 'top',
|
|
457
|
+
offsetY: offset
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
originX: 'end',
|
|
461
|
+
originY: 'top',
|
|
462
|
+
overlayX: 'end',
|
|
463
|
+
overlayY: 'bottom',
|
|
464
|
+
offsetY: -offset
|
|
465
|
+
},
|
|
409
466
|
];
|
|
410
467
|
this.position.push(...list);
|
|
411
468
|
}
|
|
@@ -421,14 +478,12 @@ function _DropdownComponenetMixin(Base) {
|
|
|
421
478
|
return;
|
|
422
479
|
}
|
|
423
480
|
this.popover.close();
|
|
424
|
-
this._emitOnClosedEvent();
|
|
425
481
|
}
|
|
426
482
|
open() {
|
|
427
483
|
if (this.isOpen || this['disabled']) {
|
|
428
484
|
return;
|
|
429
485
|
}
|
|
430
486
|
this.popover.open();
|
|
431
|
-
this._emitOnOpenedEvent();
|
|
432
487
|
}
|
|
433
488
|
get isOpen() {
|
|
434
489
|
return this.popover?.isOpen;
|
|
@@ -481,7 +536,7 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
481
536
|
/**
|
|
482
537
|
* Specifies the tabindex of the component.
|
|
483
538
|
*/
|
|
484
|
-
get tabIndex() { return this.disabled
|
|
539
|
+
get tabIndex() { return this.disabled ? -1 : __classPrivateFieldGet(this, _Mixin_tabIndex, "f"); }
|
|
485
540
|
set tabIndex(value) {
|
|
486
541
|
__classPrivateFieldSet(this, _Mixin_tabIndex, value != null ? coerceNumberProperty(value) : 0, "f");
|
|
487
542
|
}
|
|
@@ -524,6 +579,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
524
579
|
super(...args);
|
|
525
580
|
this.valueField = 'id';
|
|
526
581
|
this.textField = 'text';
|
|
582
|
+
this.disabledField = 'disabled';
|
|
527
583
|
this.multiple = false;
|
|
528
584
|
this.selectionMode = 'value';
|
|
529
585
|
this.valueChange = new EventEmitter();
|
|
@@ -562,7 +618,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
562
618
|
selectedItems: this.selectedItems.slice()
|
|
563
619
|
});
|
|
564
620
|
if (v == null || v == undefined || v == "") {
|
|
565
|
-
this.
|
|
621
|
+
this._setState('clear');
|
|
566
622
|
}
|
|
567
623
|
else {
|
|
568
624
|
if (this._isInited) {
|
|
@@ -660,7 +716,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
660
716
|
if (items && items.length) {
|
|
661
717
|
items.forEach(item => {
|
|
662
718
|
if (this.multiple) {
|
|
663
|
-
this.
|
|
719
|
+
this.isItemSelected(item) ? this.unselectItems(item) : this.selectItems(item);
|
|
664
720
|
}
|
|
665
721
|
else {
|
|
666
722
|
this.selectItems(item);
|
|
@@ -671,8 +727,20 @@ function _SelectionComponenetMixin(Base) {
|
|
|
671
727
|
isItemSelected(item) {
|
|
672
728
|
return this.selectedItems.some(c => c[this.valueField] === item[this.valueField]);
|
|
673
729
|
}
|
|
730
|
+
isItemDisabled(item) {
|
|
731
|
+
return coerceBooleanProperty(item[this.disabledField]) === true || (this.disabledCallback ? this.disabledCallback({ item, index: -1 }) : false);
|
|
732
|
+
}
|
|
674
733
|
};
|
|
675
|
-
}
|
|
734
|
+
}
|
|
735
|
+
const SELECTION_INPUTS = [
|
|
736
|
+
'valueField',
|
|
737
|
+
'textField',
|
|
738
|
+
'disabledField',
|
|
739
|
+
'disabledCallback',
|
|
740
|
+
'multiple',
|
|
741
|
+
'selectionMode'
|
|
742
|
+
];
|
|
743
|
+
const SELECTION_OUTPUT = ['onValueChanged', 'valueChanged'];
|
|
676
744
|
|
|
677
745
|
function _SizableComponenetMixin(Base) {
|
|
678
746
|
return class extends Base {
|
|
@@ -693,7 +761,7 @@ const SIZABLE_INPUTS = [
|
|
|
693
761
|
const SIZABLE_OUTPUT = [];
|
|
694
762
|
|
|
695
763
|
function _ValueComponenetMixin(Base) {
|
|
696
|
-
var _readonly, _allowNull, _name, _debounceTime, _valueSubscription, _valueSubject, _value, _a;
|
|
764
|
+
var _readonly, _allowNull, _name, _debounceTime, _valueSubscription, _valueSubject, _value, _state, _a;
|
|
697
765
|
return _a = class extends Base {
|
|
698
766
|
/**
|
|
699
767
|
* @ignore
|
|
@@ -707,12 +775,13 @@ function _ValueComponenetMixin(Base) {
|
|
|
707
775
|
this.onValueChanged = new EventEmitter();
|
|
708
776
|
this.valueChange = new EventEmitter();
|
|
709
777
|
_readonly.set(this, false);
|
|
710
|
-
_allowNull.set(this,
|
|
778
|
+
_allowNull.set(this, true);
|
|
711
779
|
_name.set(this, void 0);
|
|
712
780
|
_debounceTime.set(this, 0);
|
|
713
781
|
_valueSubscription.set(this, new Subscription());
|
|
714
782
|
_valueSubject.set(this, new Subject());
|
|
715
783
|
_value.set(this, void 0);
|
|
784
|
+
_state.set(this, 'clear');
|
|
716
785
|
}
|
|
717
786
|
/**
|
|
718
787
|
* If set to true, user cannot change the value of component.
|
|
@@ -753,6 +822,9 @@ function _ValueComponenetMixin(Base) {
|
|
|
753
822
|
__classPrivateFieldGet(this, _valueSubject, "f").next(v);
|
|
754
823
|
}
|
|
755
824
|
}
|
|
825
|
+
get state() {
|
|
826
|
+
return __classPrivateFieldGet(this, _state, "f");
|
|
827
|
+
}
|
|
756
828
|
_emitOnValueChangedEvent(oldValue, newValue) {
|
|
757
829
|
this.valueChange.emit(newValue);
|
|
758
830
|
this.onValueChanged.emit({
|
|
@@ -764,8 +836,8 @@ function _ValueComponenetMixin(Base) {
|
|
|
764
836
|
this._onValueChanged(oldValue, __classPrivateFieldGet(this, _value, "f"));
|
|
765
837
|
}
|
|
766
838
|
_onInternalValueChanging(value) {
|
|
767
|
-
if (this.readonly)
|
|
768
|
-
|
|
839
|
+
// if (this.readonly)
|
|
840
|
+
// return this.value;
|
|
769
841
|
return this._onValueChanging(value);
|
|
770
842
|
}
|
|
771
843
|
_onValueChanging(value) {
|
|
@@ -794,7 +866,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
794
866
|
this._emitOnValueChangedEvent(old, __classPrivateFieldGet(this, _value, "f"));
|
|
795
867
|
this._cdr.markForCheck();
|
|
796
868
|
if (v == null || v == undefined || v == '') {
|
|
797
|
-
this.
|
|
869
|
+
this._setState('clear');
|
|
798
870
|
}
|
|
799
871
|
else {
|
|
800
872
|
if (this._isInited) {
|
|
@@ -810,7 +882,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
810
882
|
const rules = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).filter((c) => c.__axContext__.enabled);
|
|
811
883
|
//
|
|
812
884
|
if (!rules || rules.length === 0) {
|
|
813
|
-
this.
|
|
885
|
+
this._setState('clear');
|
|
814
886
|
return Promise.resolve({ result: true, value: this.value });
|
|
815
887
|
}
|
|
816
888
|
return new Promise((resolve) => {
|
|
@@ -821,26 +893,30 @@ function _ValueComponenetMixin(Base) {
|
|
|
821
893
|
})).then((d) => {
|
|
822
894
|
const error = d.find((c) => c.result === false);
|
|
823
895
|
if (error) {
|
|
824
|
-
this.
|
|
896
|
+
this._setState('error', error.message);
|
|
825
897
|
resolve({ result: false, value: this.value });
|
|
826
898
|
}
|
|
827
899
|
else {
|
|
828
|
-
this.
|
|
900
|
+
this._setState('success');
|
|
829
901
|
resolve({ result: true, value: this.value });
|
|
830
902
|
}
|
|
831
903
|
});
|
|
832
904
|
});
|
|
833
905
|
}
|
|
834
|
-
|
|
906
|
+
_setState(state, ...args) {
|
|
835
907
|
const container = this._getHostElement().classList.contains('ax-editor-container') ?
|
|
836
908
|
this._getHostElement() :
|
|
837
909
|
this._getHostElement().querySelector('.ax-editor-container');
|
|
838
910
|
const formField = container?.closest('.ax-form-field');
|
|
839
|
-
const label = formField?.querySelector('ax-label');
|
|
840
|
-
|
|
911
|
+
const label = formField?.querySelector('ax-label') || formField?.querySelector('label');
|
|
912
|
+
let target = container || this._getInnerElement();
|
|
913
|
+
if (target.querySelector('.ax-error-container')) {
|
|
914
|
+
target = target.querySelector('.ax-error-container');
|
|
915
|
+
}
|
|
841
916
|
const parent = target.parentElement;
|
|
842
917
|
switch (state) {
|
|
843
918
|
case 'clear':
|
|
919
|
+
__classPrivateFieldSet(this, _state, 'clear', "f");
|
|
844
920
|
if (parent.querySelector('span.ax-error-msg')) {
|
|
845
921
|
parent.removeChild(parent.querySelector('span.ax-error-msg'));
|
|
846
922
|
}
|
|
@@ -848,11 +924,12 @@ function _ValueComponenetMixin(Base) {
|
|
|
848
924
|
target.classList.remove('ax-state-error', 'ax-state-success');
|
|
849
925
|
break;
|
|
850
926
|
case 'success':
|
|
851
|
-
this.
|
|
927
|
+
this._setState('clear');
|
|
852
928
|
target.classList.add('ax-state-success');
|
|
929
|
+
__classPrivateFieldSet(this, _state, 'success', "f");
|
|
853
930
|
break;
|
|
854
931
|
case 'error':
|
|
855
|
-
this.
|
|
932
|
+
this._setState('clear');
|
|
856
933
|
if (args[0]) {
|
|
857
934
|
const span = document.createElement('span');
|
|
858
935
|
span.innerText = args[0];
|
|
@@ -861,8 +938,10 @@ function _ValueComponenetMixin(Base) {
|
|
|
861
938
|
}
|
|
862
939
|
label?.classList.add('ax-state-error');
|
|
863
940
|
target.classList.add('ax-state-error');
|
|
941
|
+
__classPrivateFieldSet(this, _state, 'error', "f");
|
|
864
942
|
break;
|
|
865
943
|
}
|
|
944
|
+
this._cdr.markForCheck();
|
|
866
945
|
}
|
|
867
946
|
},
|
|
868
947
|
_readonly = new WeakMap(),
|
|
@@ -872,6 +951,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
872
951
|
_valueSubscription = new WeakMap(),
|
|
873
952
|
_valueSubject = new WeakMap(),
|
|
874
953
|
_value = new WeakMap(),
|
|
954
|
+
_state = new WeakMap(),
|
|
875
955
|
_a;
|
|
876
956
|
}
|
|
877
957
|
const VALUE_INPUTS = [
|
|
@@ -1016,19 +1096,19 @@ class AXResponsiveDirective {
|
|
|
1016
1096
|
this._observer.unobserve(this._elementRef.nativeElement);
|
|
1017
1097
|
}
|
|
1018
1098
|
}
|
|
1019
|
-
AXResponsiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1020
|
-
AXResponsiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1099
|
+
AXResponsiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXResponsiveDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1100
|
+
AXResponsiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: AXResponsiveDirective, selector: "[ax-responsive]", ngImport: i0 });
|
|
1101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
|
1022
1102
|
type: Directive,
|
|
1023
1103
|
args: [{ selector: '[ax-responsive]' }]
|
|
1024
1104
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1025
1105
|
|
|
1026
1106
|
class AXCommonModule {
|
|
1027
1107
|
}
|
|
1028
|
-
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1029
|
-
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1030
|
-
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1108
|
+
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1109
|
+
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective], exports: [AXResponsiveDirective] });
|
|
1110
|
+
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCommonModule, providers: [], imports: [[]] });
|
|
1111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCommonModule, decorators: [{
|
|
1032
1112
|
type: NgModule,
|
|
1033
1113
|
args: [{
|
|
1034
1114
|
imports: [],
|
|
@@ -1137,9 +1217,9 @@ class AXAlertComponent extends AXBaseComponentMixin {
|
|
|
1137
1217
|
}
|
|
1138
1218
|
}
|
|
1139
1219
|
_AXAlertComponent_visible = new WeakMap();
|
|
1140
|
-
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1141
|
-
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1220
|
+
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 });
|
|
1221
|
+
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 });
|
|
1222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
1143
1223
|
type: Component,
|
|
1144
1224
|
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>" }]
|
|
1145
1225
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
|
|
@@ -1159,12 +1239,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1159
1239
|
|
|
1160
1240
|
class AXAlertTitleComponent {
|
|
1161
1241
|
}
|
|
1162
|
-
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1163
|
-
AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1242
|
+
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1243
|
+
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: `
|
|
1164
1244
|
<ng-content>
|
|
1165
1245
|
</ng-content>
|
|
1166
1246
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
|
|
1168
1248
|
type: Component,
|
|
1169
1249
|
args: [{
|
|
1170
1250
|
selector: 'ax-alert-title',
|
|
@@ -1192,12 +1272,12 @@ class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
|
1192
1272
|
this._emitOnBlurEvent(e);
|
|
1193
1273
|
}
|
|
1194
1274
|
}
|
|
1195
|
-
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1196
|
-
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1275
|
+
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 });
|
|
1276
|
+
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: `
|
|
1197
1277
|
{{text}}
|
|
1198
1278
|
<ng-content select="ax-icon"></ng-content>
|
|
1199
1279
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
1201
1281
|
type: Component,
|
|
1202
1282
|
args: [{
|
|
1203
1283
|
selector: 'ax-alert-button',
|
|
@@ -1227,11 +1307,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1227
1307
|
|
|
1228
1308
|
class AXAlertContentComponent {
|
|
1229
1309
|
}
|
|
1230
|
-
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1231
|
-
AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1310
|
+
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1311
|
+
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>
|
|
1232
1312
|
</ng-content>
|
|
1233
1313
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertContentComponent, decorators: [{
|
|
1235
1315
|
type: Component,
|
|
1236
1316
|
args: [{
|
|
1237
1317
|
selector: 'ax-alert-content',
|
|
@@ -1246,14 +1326,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1246
1326
|
|
|
1247
1327
|
class AXAlertSuffixComponent {
|
|
1248
1328
|
}
|
|
1249
|
-
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1250
|
-
AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1329
|
+
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1330
|
+
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: `
|
|
1251
1331
|
<div class="ax-alert-buttons">
|
|
1252
1332
|
<ng-content select="ax-alert-button">
|
|
1253
1333
|
</ng-content>
|
|
1254
1334
|
</div>
|
|
1255
1335
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
|
|
1257
1337
|
type: Component,
|
|
1258
1338
|
args: [{
|
|
1259
1339
|
selector: 'ax-alert-suffix',
|
|
@@ -1271,14 +1351,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1271
1351
|
|
|
1272
1352
|
class AXAlertFooterComponent {
|
|
1273
1353
|
}
|
|
1274
|
-
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1275
|
-
AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1354
|
+
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1355
|
+
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: `
|
|
1276
1356
|
<div class="ax-alert-buttons">
|
|
1277
1357
|
<ng-content select="ax-alert-button">
|
|
1278
1358
|
</ng-content>
|
|
1279
1359
|
</div>
|
|
1280
1360
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
|
|
1282
1362
|
type: Component,
|
|
1283
1363
|
args: [{
|
|
1284
1364
|
selector: 'ax-alert-footer',
|
|
@@ -1302,13 +1382,13 @@ class AXIconComponent extends AXSizableComponentMixin {
|
|
|
1302
1382
|
return `ax-ic ${this.icon}`;
|
|
1303
1383
|
}
|
|
1304
1384
|
}
|
|
1305
|
-
AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1306
|
-
AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1385
|
+
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 });
|
|
1386
|
+
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 });
|
|
1387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconComponent, decorators: [{
|
|
1308
1388
|
type: Component,
|
|
1309
1389
|
args: [{
|
|
1310
1390
|
selector: 'ax-icon',
|
|
1311
|
-
template: '<ng-content></ng-content>',
|
|
1391
|
+
template: '<ng-content select="i,svg,img"></ng-content>',
|
|
1312
1392
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1313
1393
|
encapsulation: ViewEncapsulation.None,
|
|
1314
1394
|
}]
|
|
@@ -1323,10 +1403,10 @@ const COMPONENT$o = [AXIconComponent];
|
|
|
1323
1403
|
const MODULES$o = [CommonModule];
|
|
1324
1404
|
class AXIconModule {
|
|
1325
1405
|
}
|
|
1326
|
-
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1327
|
-
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1328
|
-
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1406
|
+
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1407
|
+
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
1408
|
+
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$o]] });
|
|
1409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXIconModule, decorators: [{
|
|
1330
1410
|
type: NgModule,
|
|
1331
1411
|
args: [{
|
|
1332
1412
|
declarations: [...COMPONENT$o],
|
|
@@ -1347,8 +1427,8 @@ const COMPONENT$n = [
|
|
|
1347
1427
|
const MODULES$n = [CommonModule, AXIconModule];
|
|
1348
1428
|
class AXAlertModule {
|
|
1349
1429
|
}
|
|
1350
|
-
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1351
|
-
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1430
|
+
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1431
|
+
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
1352
1432
|
AXAlertContentComponent,
|
|
1353
1433
|
AXAlertTitleComponent,
|
|
1354
1434
|
AXAlertButtonComponent,
|
|
@@ -1359,8 +1439,8 @@ AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
1359
1439
|
AXAlertButtonComponent,
|
|
1360
1440
|
AXAlertFooterComponent,
|
|
1361
1441
|
AXAlertSuffixComponent] });
|
|
1362
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1442
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$n]] });
|
|
1443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
1364
1444
|
type: NgModule,
|
|
1365
1445
|
args: [{
|
|
1366
1446
|
declarations: [...COMPONENT$n],
|
|
@@ -1399,9 +1479,9 @@ class AXAvatarComponent extends AXSizableComponentMixin {
|
|
|
1399
1479
|
this._abbr = v;
|
|
1400
1480
|
}
|
|
1401
1481
|
}
|
|
1402
|
-
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1403
|
-
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1482
|
+
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 });
|
|
1483
|
+
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 });
|
|
1484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
1405
1485
|
type: Component,
|
|
1406
1486
|
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" }]
|
|
1407
1487
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { image: [{
|
|
@@ -1418,10 +1498,10 @@ const COMPONENT$m = [AXAvatarComponent];
|
|
|
1418
1498
|
const MODULES$m = [CommonModule];
|
|
1419
1499
|
class AXAvatarModule {
|
|
1420
1500
|
}
|
|
1421
|
-
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1422
|
-
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1423
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1501
|
+
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1502
|
+
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [CommonModule], exports: [AXAvatarComponent] });
|
|
1503
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$m]] });
|
|
1504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
1425
1505
|
type: NgModule,
|
|
1426
1506
|
args: [{
|
|
1427
1507
|
declarations: [...COMPONENT$m],
|
|
@@ -1442,11 +1522,11 @@ class AXBadgeComponent extends AXBaseComponentMixin {
|
|
|
1442
1522
|
return [`ax-${this.color}-default`, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
1443
1523
|
}
|
|
1444
1524
|
}
|
|
1445
|
-
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1446
|
-
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1525
|
+
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 });
|
|
1526
|
+
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 });
|
|
1527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
|
1448
1528
|
type: Component,
|
|
1449
|
-
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>" }]
|
|
1529
|
+
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>" }]
|
|
1450
1530
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1451
1531
|
type: Input
|
|
1452
1532
|
}], color: [{
|
|
@@ -1460,10 +1540,10 @@ const COMPONENT$l = [AXBadgeComponent];
|
|
|
1460
1540
|
const MODULES$l = [CommonModule];
|
|
1461
1541
|
class AXBadgeModule {
|
|
1462
1542
|
}
|
|
1463
|
-
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1464
|
-
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1465
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1543
|
+
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1544
|
+
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
1545
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$l]] });
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
1467
1547
|
type: NgModule,
|
|
1468
1548
|
args: [{
|
|
1469
1549
|
declarations: [...COMPONENT$l],
|
|
@@ -1511,9 +1591,9 @@ class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
1511
1591
|
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).concat(...[`ax-${this.size}`]).join(' ');
|
|
1512
1592
|
}
|
|
1513
1593
|
}
|
|
1514
|
-
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1515
|
-
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1594
|
+
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 });
|
|
1595
|
+
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 });
|
|
1596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
1517
1597
|
type: Component,
|
|
1518
1598
|
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> -->" }]
|
|
1519
1599
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
|
|
@@ -1629,9 +1709,9 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1629
1709
|
});
|
|
1630
1710
|
}
|
|
1631
1711
|
}
|
|
1632
|
-
AXButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1633
|
-
AXButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1712
|
+
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 });
|
|
1713
|
+
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 });
|
|
1714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
|
|
1635
1715
|
type: Component,
|
|
1636
1716
|
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>" }]
|
|
1637
1717
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
|
|
@@ -1664,7 +1744,7 @@ class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
|
1664
1744
|
this.tooltip = null;
|
|
1665
1745
|
this.selected = false;
|
|
1666
1746
|
this.seperated = false;
|
|
1667
|
-
this.color = '
|
|
1747
|
+
this.color = 'light';
|
|
1668
1748
|
}
|
|
1669
1749
|
__hostClick(e) {
|
|
1670
1750
|
this._emitOnClickEvent(e);
|
|
@@ -1679,8 +1759,8 @@ class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
|
1679
1759
|
return Object.entries(cssClasses).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
1680
1760
|
}
|
|
1681
1761
|
}
|
|
1682
|
-
AXButtonItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1683
|
-
AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1762
|
+
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 });
|
|
1763
|
+
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: `
|
|
1684
1764
|
<ng-content select="ax-prefix">
|
|
1685
1765
|
</ng-content>
|
|
1686
1766
|
<ng-content select="ax-icon">
|
|
@@ -1689,7 +1769,7 @@ AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1689
1769
|
<ng-content select="ax-suffix">
|
|
1690
1770
|
</ng-content>
|
|
1691
1771
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonItemComponent, decorators: [{
|
|
1693
1773
|
type: Component,
|
|
1694
1774
|
args: [{
|
|
1695
1775
|
selector: 'ax-button-item',
|
|
@@ -1704,7 +1784,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1704
1784
|
`,
|
|
1705
1785
|
encapsulation: ViewEncapsulation.None,
|
|
1706
1786
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1707
|
-
host: { style: 'cssStyle' }
|
|
1708
1787
|
}]
|
|
1709
1788
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1710
1789
|
type: Input
|
|
@@ -1733,12 +1812,12 @@ class AXDecoratorContentComponent extends AXBaseComponentMixin {
|
|
|
1733
1812
|
super(elementRef, cdr);
|
|
1734
1813
|
}
|
|
1735
1814
|
}
|
|
1736
|
-
AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1737
|
-
AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1815
|
+
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 });
|
|
1816
|
+
AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0, template: `
|
|
1738
1817
|
<ng-content>
|
|
1739
1818
|
</ng-content>
|
|
1740
1819
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
|
|
1742
1821
|
type: Component,
|
|
1743
1822
|
args: [{
|
|
1744
1823
|
selector: 'ax-content',
|
|
@@ -1751,17 +1830,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1751
1830
|
}]
|
|
1752
1831
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1753
1832
|
|
|
1833
|
+
class AXDecoratorAddOnComponent extends AXBaseComponentMixin {
|
|
1834
|
+
constructor(_elementRef, _cdr) {
|
|
1835
|
+
super(_elementRef, _cdr);
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
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 });
|
|
1839
|
+
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 });
|
|
1840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorAddOnComponent, decorators: [{
|
|
1841
|
+
type: Component,
|
|
1842
|
+
args: [{
|
|
1843
|
+
selector: 'ax-addon',
|
|
1844
|
+
template: `<ng-content></ng-content>`,
|
|
1845
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1846
|
+
encapsulation: ViewEncapsulation.None
|
|
1847
|
+
}]
|
|
1848
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1849
|
+
|
|
1754
1850
|
class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
|
|
1755
1851
|
constructor(elementRef, cdr) {
|
|
1756
1852
|
super(elementRef, cdr);
|
|
1757
1853
|
}
|
|
1758
1854
|
}
|
|
1759
|
-
AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1760
|
-
AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1855
|
+
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 });
|
|
1856
|
+
AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorHeaderComponent, selector: "ax-header", usesInheritance: true, ngImport: i0, template: `
|
|
1761
1857
|
<ng-content>
|
|
1762
1858
|
</ng-content>
|
|
1763
1859
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
|
|
1765
1861
|
type: Component,
|
|
1766
1862
|
args: [{
|
|
1767
1863
|
selector: 'ax-header',
|
|
@@ -1779,17 +1875,17 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
|
1779
1875
|
super(elementRef, cdr);
|
|
1780
1876
|
}
|
|
1781
1877
|
}
|
|
1782
|
-
AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1783
|
-
AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1784
|
-
<ng-content select="ax-button,ax-loading,ax-icon,ax-content">
|
|
1878
|
+
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 });
|
|
1879
|
+
AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
|
|
1880
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
1785
1881
|
</ng-content>
|
|
1786
1882
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
|
|
1788
1884
|
type: Component,
|
|
1789
1885
|
args: [{
|
|
1790
1886
|
selector: 'ax-prefix',
|
|
1791
1887
|
template: `
|
|
1792
|
-
<ng-content select="ax-button,ax-loading,ax-icon,ax-content">
|
|
1888
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
1793
1889
|
</ng-content>
|
|
1794
1890
|
`,
|
|
1795
1891
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1802,17 +1898,17 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
|
1802
1898
|
super(elementRef, cdr);
|
|
1803
1899
|
}
|
|
1804
1900
|
}
|
|
1805
|
-
AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1806
|
-
AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1807
|
-
<ng-content select="ax-button,ax-icon,ax-badge,ax-
|
|
1901
|
+
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 });
|
|
1902
|
+
AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
|
|
1903
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
1808
1904
|
</ng-content>
|
|
1809
1905
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
|
|
1811
1907
|
type: Component,
|
|
1812
1908
|
args: [{
|
|
1813
1909
|
selector: 'ax-suffix',
|
|
1814
1910
|
template: `
|
|
1815
|
-
<ng-content select="ax-button,ax-icon,ax-badge,ax-
|
|
1911
|
+
<ng-content select="ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon">
|
|
1816
1912
|
</ng-content>
|
|
1817
1913
|
`,
|
|
1818
1914
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1820,14 +1916,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1820
1916
|
}]
|
|
1821
1917
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
1822
1918
|
|
|
1823
|
-
const COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent];
|
|
1919
|
+
const COMPONENT$k = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorAddOnComponent];
|
|
1824
1920
|
const MODULES$k = [CommonModule];
|
|
1825
1921
|
class AXEditorDecoratorModule {
|
|
1826
1922
|
}
|
|
1827
|
-
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1828
|
-
AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1829
|
-
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1923
|
+
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1924
|
+
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] });
|
|
1925
|
+
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$k]] });
|
|
1926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
|
|
1831
1927
|
type: NgModule,
|
|
1832
1928
|
args: [{
|
|
1833
1929
|
declarations: [...COMPONENT$k],
|
|
@@ -1845,14 +1941,14 @@ const COMPONENT$j = [
|
|
|
1845
1941
|
const MODULES$j = [CommonModule, AXIconModule, AXEditorDecoratorModule];
|
|
1846
1942
|
class AXButtonModule {
|
|
1847
1943
|
}
|
|
1848
|
-
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1849
|
-
AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1944
|
+
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1945
|
+
AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
|
|
1850
1946
|
AXButtonItemComponent,
|
|
1851
1947
|
AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
|
|
1852
1948
|
AXButtonItemComponent,
|
|
1853
1949
|
AXButtonGroupComponent] });
|
|
1854
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1950
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$j]] });
|
|
1951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
1856
1952
|
type: NgModule,
|
|
1857
1953
|
args: [{
|
|
1858
1954
|
imports: [MODULES$j],
|
|
@@ -1917,9 +2013,9 @@ class AXCalendarBaseComponent extends AXBaseComponent {
|
|
|
1917
2013
|
this._setOption({ name: 'holidayDates', value: v });
|
|
1918
2014
|
}
|
|
1919
2015
|
}
|
|
1920
|
-
AXCalendarBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1921
|
-
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2016
|
+
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 });
|
|
2017
|
+
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarBaseComponent });
|
|
2018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarBaseComponent, decorators: [{
|
|
1923
2019
|
type: Injectable
|
|
1924
2020
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeViewChange: [{
|
|
1925
2021
|
type: Output
|
|
@@ -2123,6 +2219,10 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2123
2219
|
prev() {
|
|
2124
2220
|
this._navNextPrev(true);
|
|
2125
2221
|
}
|
|
2222
|
+
focus() {
|
|
2223
|
+
debugger;
|
|
2224
|
+
this._getHostElement().querySelector('.ax-calendar-slots>div')?.focus();
|
|
2225
|
+
}
|
|
2126
2226
|
_navNextPrev(prev) {
|
|
2127
2227
|
const sign = (prev ? -1 : 1);
|
|
2128
2228
|
if (this.activeView == 'days')
|
|
@@ -2168,9 +2268,9 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2168
2268
|
return date.dayOfWeek == 7 || date.dayOfWeek == 1;
|
|
2169
2269
|
}
|
|
2170
2270
|
}
|
|
2171
|
-
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2172
|
-
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2271
|
+
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 });
|
|
2272
|
+
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 });
|
|
2273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
2174
2274
|
type: Component,
|
|
2175
2275
|
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>" }]
|
|
2176
2276
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
@@ -2182,10 +2282,10 @@ const COMPONENT$i = [AXCalendarComponent];
|
|
|
2182
2282
|
const MODULES$i = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
|
|
2183
2283
|
class AXCalendarModule {
|
|
2184
2284
|
}
|
|
2185
|
-
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2186
|
-
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2187
|
-
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2285
|
+
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2286
|
+
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] });
|
|
2287
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$i]] });
|
|
2288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
2189
2289
|
type: NgModule,
|
|
2190
2290
|
args: [{
|
|
2191
2291
|
declarations: [...COMPONENT$i],
|
|
@@ -2197,9 +2297,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2197
2297
|
|
|
2198
2298
|
class AXCarouselCore {
|
|
2199
2299
|
}
|
|
2200
|
-
AXCarouselCore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2201
|
-
AXCarouselCore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2300
|
+
AXCarouselCore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselCore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2301
|
+
AXCarouselCore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselCore });
|
|
2302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselCore, decorators: [{
|
|
2203
2303
|
type: Injectable
|
|
2204
2304
|
}] });
|
|
2205
2305
|
|
|
@@ -2463,12 +2563,12 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
2463
2563
|
this.core.destroy();
|
|
2464
2564
|
}
|
|
2465
2565
|
}
|
|
2466
|
-
AXCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2467
|
-
AXCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2566
|
+
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 });
|
|
2567
|
+
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: [{
|
|
2468
2568
|
provide: AXCarouselCore,
|
|
2469
2569
|
useClass: AXCarouselSplideJS
|
|
2470
2570
|
}], 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 });
|
|
2471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselComponent, decorators: [{
|
|
2472
2572
|
type: Component,
|
|
2473
2573
|
args: [{ selector: 'ax-carousel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-carousel' }, providers: [{
|
|
2474
2574
|
provide: AXCarouselCore,
|
|
@@ -2521,9 +2621,9 @@ class AXCarouselItemComponent extends AXBaseComponentMixin {
|
|
|
2521
2621
|
super(elementRef, cdr);
|
|
2522
2622
|
}
|
|
2523
2623
|
}
|
|
2524
|
-
AXCarouselItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2525
|
-
AXCarouselItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2624
|
+
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 });
|
|
2625
|
+
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 });
|
|
2626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselItemComponent, decorators: [{
|
|
2527
2627
|
type: Component,
|
|
2528
2628
|
args: [{
|
|
2529
2629
|
selector: 'ax-carousel-item',
|
|
@@ -2550,8 +2650,8 @@ class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
|
2550
2650
|
this.parent.next();
|
|
2551
2651
|
}
|
|
2552
2652
|
}
|
|
2553
|
-
AXCarouselArrowsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2554
|
-
AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2653
|
+
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 });
|
|
2654
|
+
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: `
|
|
2555
2655
|
<button class="ax-carousel-arrow-prev" (click)="_handlePrevClick($event)">
|
|
2556
2656
|
<i class="ax-ic ax-ic-keyboard-arrow-left"></i>
|
|
2557
2657
|
</button>
|
|
@@ -2559,7 +2659,7 @@ AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
2559
2659
|
<i class="ax-ic ax-ic-keyboard-arrow-right"></i>
|
|
2560
2660
|
</button>
|
|
2561
2661
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselArrowsComponent, decorators: [{
|
|
2563
2663
|
type: Component,
|
|
2564
2664
|
args: [{
|
|
2565
2665
|
selector: 'ax-carousel-arrows',
|
|
@@ -2633,12 +2733,12 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
2633
2733
|
});
|
|
2634
2734
|
}
|
|
2635
2735
|
}
|
|
2636
|
-
AXCarouselPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2637
|
-
AXCarouselPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2736
|
+
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 });
|
|
2737
|
+
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: `
|
|
2638
2738
|
<button *ngFor="let d of _dots;let i=index" [class.ax-state-active]="i==_pageIndex" (click)="_handleClick($event,i)">
|
|
2639
2739
|
</button>
|
|
2640
2740
|
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselPagerComponent, decorators: [{
|
|
2642
2742
|
type: Component,
|
|
2643
2743
|
args: [{
|
|
2644
2744
|
selector: 'ax-carousel-pager',
|
|
@@ -2656,10 +2756,10 @@ const COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArr
|
|
|
2656
2756
|
const MODULES$h = [CommonModule];
|
|
2657
2757
|
class AXCarouselModule {
|
|
2658
2758
|
}
|
|
2659
|
-
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2660
|
-
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2661
|
-
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2759
|
+
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2760
|
+
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] });
|
|
2761
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$h]] });
|
|
2762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
2663
2763
|
type: NgModule,
|
|
2664
2764
|
args: [{
|
|
2665
2765
|
declarations: [...COMPONENT$h],
|
|
@@ -2669,139 +2769,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2669
2769
|
}]
|
|
2670
2770
|
}] });
|
|
2671
2771
|
|
|
2672
|
-
class AXFormFieldComponent extends AXBaseComponentMixin {
|
|
2673
|
-
constructor(elementRef, cdr) {
|
|
2674
|
-
super(elementRef, cdr);
|
|
2675
|
-
}
|
|
2676
|
-
}
|
|
2677
|
-
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 });
|
|
2678
|
-
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 });
|
|
2679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormFieldComponent, decorators: [{
|
|
2680
|
-
type: Component,
|
|
2681
|
-
args: [{
|
|
2682
|
-
selector: 'ax-form-field',
|
|
2683
|
-
template: '<ng-content></ng-content>',
|
|
2684
|
-
encapsulation: ViewEncapsulation.None,
|
|
2685
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2686
|
-
}]
|
|
2687
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2688
|
-
|
|
2689
|
-
class AXFormHintComponent extends AXBaseComponentMixin {
|
|
2690
|
-
constructor(elementRef, cdr) {
|
|
2691
|
-
super(elementRef, cdr);
|
|
2692
|
-
}
|
|
2693
|
-
}
|
|
2694
|
-
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 });
|
|
2695
|
-
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 });
|
|
2696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormHintComponent, decorators: [{
|
|
2697
|
-
type: Component,
|
|
2698
|
-
args: [{
|
|
2699
|
-
selector: 'ax-form-hint',
|
|
2700
|
-
template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>',
|
|
2701
|
-
encapsulation: ViewEncapsulation.None,
|
|
2702
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2703
|
-
}]
|
|
2704
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2705
|
-
|
|
2706
|
-
class AXFormComponent extends AXBaseComponentMixin {
|
|
2707
|
-
constructor(elementRef, cdr) {
|
|
2708
|
-
super(elementRef, cdr);
|
|
2709
|
-
this.cdr = cdr;
|
|
2710
|
-
}
|
|
2711
|
-
_getComponenets() {
|
|
2712
|
-
return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
|
|
2713
|
-
}
|
|
2714
|
-
validate() {
|
|
2715
|
-
const widgets = this._getComponenets();
|
|
2716
|
-
//
|
|
2717
|
-
return new Promise((resolve, reject) => {
|
|
2718
|
-
if (widgets.length === 0) {
|
|
2719
|
-
return Promise.resolve({ result: true });
|
|
2720
|
-
}
|
|
2721
|
-
Promise.all(widgets.map((c) => c.__axContext__.validate())).then((rules) => {
|
|
2722
|
-
const failed = rules.filter((c) => !c.result);
|
|
2723
|
-
if (failed.length) {
|
|
2724
|
-
reject({
|
|
2725
|
-
result: false,
|
|
2726
|
-
items: failed
|
|
2727
|
-
});
|
|
2728
|
-
}
|
|
2729
|
-
else {
|
|
2730
|
-
resolve({ result: true });
|
|
2731
|
-
}
|
|
2732
|
-
});
|
|
2733
|
-
});
|
|
2734
|
-
}
|
|
2735
|
-
clear() {
|
|
2736
|
-
const widgets = this._getComponenets();
|
|
2737
|
-
widgets.forEach(w => {
|
|
2738
|
-
w.__axContext__.clear();
|
|
2739
|
-
});
|
|
2740
|
-
}
|
|
2741
|
-
}
|
|
2742
|
-
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 });
|
|
2743
|
-
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 });
|
|
2744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormComponent, decorators: [{
|
|
2745
|
-
type: Component,
|
|
2746
|
-
args: [{
|
|
2747
|
-
selector: 'ax-form',
|
|
2748
|
-
template: '<div class="ax-form"><ng-content></ng-content></div>',
|
|
2749
|
-
encapsulation: ViewEncapsulation.None,
|
|
2750
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2751
|
-
}]
|
|
2752
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2753
|
-
|
|
2754
|
-
class AXFormModule {
|
|
2755
|
-
}
|
|
2756
|
-
AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2757
|
-
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] });
|
|
2758
|
-
AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, providers: [], imports: [[CommonModule]] });
|
|
2759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, decorators: [{
|
|
2760
|
-
type: NgModule,
|
|
2761
|
-
args: [{
|
|
2762
|
-
imports: [CommonModule],
|
|
2763
|
-
exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
2764
|
-
declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
2765
|
-
providers: [],
|
|
2766
|
-
}]
|
|
2767
|
-
}] });
|
|
2768
|
-
|
|
2769
|
-
class AXLabelComponent extends AXBaseComponentMixin {
|
|
2770
|
-
constructor(elementRef, cdr) {
|
|
2771
|
-
super(elementRef, cdr);
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
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 });
|
|
2775
|
-
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 });
|
|
2776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelComponent, decorators: [{
|
|
2777
|
-
type: Component,
|
|
2778
|
-
args: [{ selector: 'ax-label', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<label>\r\n <ng-content></ng-content>\r\n</label>" }]
|
|
2779
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2780
|
-
|
|
2781
|
-
const COMPONENT$g = [AXLabelComponent];
|
|
2782
|
-
const MODULES$g = [CommonModule];
|
|
2783
|
-
class AXLabelModule {
|
|
2784
|
-
}
|
|
2785
|
-
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2786
|
-
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
2787
|
-
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$g]] });
|
|
2788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
2789
|
-
type: NgModule,
|
|
2790
|
-
args: [{
|
|
2791
|
-
declarations: [...COMPONENT$g],
|
|
2792
|
-
imports: [...MODULES$g],
|
|
2793
|
-
exports: [...COMPONENT$g],
|
|
2794
|
-
providers: [],
|
|
2795
|
-
}]
|
|
2796
|
-
}] });
|
|
2797
|
-
|
|
2798
2772
|
class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
2799
2773
|
constructor(elementRef, cdr) {
|
|
2800
2774
|
super(elementRef, cdr);
|
|
2801
2775
|
}
|
|
2802
2776
|
onInit() {
|
|
2803
2777
|
super.onInit();
|
|
2804
|
-
;
|
|
2805
2778
|
if (!this.allowNull && this.value == null) {
|
|
2806
2779
|
this.value = false;
|
|
2807
2780
|
}
|
|
@@ -2824,29 +2797,23 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
|
2824
2797
|
}
|
|
2825
2798
|
}
|
|
2826
2799
|
}
|
|
2827
|
-
AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2828
|
-
AXCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2800
|
+
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 });
|
|
2801
|
+
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 });
|
|
2802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
|
|
2830
2803
|
type: Component,
|
|
2831
|
-
args: [{ selector: 'ax-check-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "
|
|
2832
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }
|
|
2833
|
-
type: ContentChildren,
|
|
2834
|
-
args: [AXFormHintComponent]
|
|
2835
|
-
}], _label: [{
|
|
2836
|
-
type: ContentChildren,
|
|
2837
|
-
args: [AXLabelComponent]
|
|
2838
|
-
}] } });
|
|
2804
|
+
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>" }]
|
|
2805
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2839
2806
|
|
|
2840
2807
|
class AXCheckBoxModule {
|
|
2841
2808
|
}
|
|
2842
|
-
AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2843
|
-
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2844
|
-
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2809
|
+
AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2810
|
+
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXEditorDecoratorModule], exports: [AXCheckBoxComponent] });
|
|
2811
|
+
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule, AXEditorDecoratorModule]] });
|
|
2812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCheckBoxModule, decorators: [{
|
|
2846
2813
|
type: NgModule,
|
|
2847
2814
|
args: [{
|
|
2848
2815
|
declarations: [AXCheckBoxComponent],
|
|
2849
|
-
imports: [CommonModule, FormsModule],
|
|
2816
|
+
imports: [CommonModule, FormsModule, AXEditorDecoratorModule],
|
|
2850
2817
|
exports: [AXCheckBoxComponent],
|
|
2851
2818
|
providers: [],
|
|
2852
2819
|
}]
|
|
@@ -2896,9 +2863,9 @@ class AXDataListComponent extends AXBaseSelectionValueMixin {
|
|
|
2896
2863
|
}, 100);
|
|
2897
2864
|
}
|
|
2898
2865
|
}
|
|
2899
|
-
AXDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2900
|
-
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2901
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2866
|
+
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 });
|
|
2867
|
+
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 });
|
|
2868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListComponent, decorators: [{
|
|
2902
2869
|
type: Component,
|
|
2903
2870
|
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>" }]
|
|
2904
2871
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _container: [{
|
|
@@ -2921,19 +2888,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2921
2888
|
type: Input
|
|
2922
2889
|
}] } });
|
|
2923
2890
|
|
|
2924
|
-
const COMPONENT$
|
|
2925
|
-
const MODULES$
|
|
2891
|
+
const COMPONENT$g = [AXDataListComponent];
|
|
2892
|
+
const MODULES$g = [CommonModule, AXButtonModule];
|
|
2926
2893
|
class AXDataListModule {
|
|
2927
2894
|
}
|
|
2928
|
-
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2929
|
-
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2930
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2895
|
+
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2896
|
+
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule], exports: [AXDataListComponent] });
|
|
2897
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$g]] });
|
|
2898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
2932
2899
|
type: NgModule,
|
|
2933
2900
|
args: [{
|
|
2934
|
-
declarations: [...COMPONENT$
|
|
2935
|
-
imports: [...MODULES$
|
|
2936
|
-
exports: [...COMPONENT$
|
|
2901
|
+
declarations: [...COMPONENT$g],
|
|
2902
|
+
imports: [...MODULES$g],
|
|
2903
|
+
exports: [...COMPONENT$g],
|
|
2937
2904
|
providers: [],
|
|
2938
2905
|
}]
|
|
2939
2906
|
}] });
|
|
@@ -2941,6 +2908,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2941
2908
|
class AXPopoverComponent extends AXBaseComponent {
|
|
2942
2909
|
constructor(_elementRef, _cdr, _zone, _overlay, _platform, _viewContainerRef) {
|
|
2943
2910
|
super(_elementRef, _cdr);
|
|
2911
|
+
this._elementRef = _elementRef;
|
|
2944
2912
|
this._cdr = _cdr;
|
|
2945
2913
|
this._zone = _zone;
|
|
2946
2914
|
this._overlay = _overlay;
|
|
@@ -3075,28 +3043,26 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3075
3043
|
if (!targetRef)
|
|
3076
3044
|
return;
|
|
3077
3045
|
if (!this._overlayRef) {
|
|
3078
|
-
let positionStrategy;
|
|
3079
|
-
let scrollStrategy;
|
|
3080
|
-
debugger;
|
|
3081
3046
|
if (this._platform.is('Mobile')) {
|
|
3082
|
-
|
|
3083
|
-
|
|
3047
|
+
this._overlayRef = this._overlay.create({
|
|
3048
|
+
positionStrategy: this._overlay.position().global().centerHorizontally().centerVertically(),
|
|
3049
|
+
disposeOnNavigation: true,
|
|
3050
|
+
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3051
|
+
hasBackdrop: true
|
|
3052
|
+
});
|
|
3084
3053
|
}
|
|
3085
3054
|
else {
|
|
3086
|
-
|
|
3087
|
-
.
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3055
|
+
this._overlayRef = this._overlay.create({
|
|
3056
|
+
positionStrategy: this._overlay.position()
|
|
3057
|
+
.flexibleConnectedTo(targetRef)
|
|
3058
|
+
.withPositions(Array.isArray(this.position) ? this.position : [this.position])
|
|
3059
|
+
.withPush(false),
|
|
3060
|
+
disposeOnNavigation: true,
|
|
3061
|
+
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3062
|
+
hasBackdrop: this.hasBackdrop,
|
|
3063
|
+
backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop']
|
|
3064
|
+
});
|
|
3091
3065
|
}
|
|
3092
|
-
this._overlayRef = this._overlay.create({
|
|
3093
|
-
positionStrategy,
|
|
3094
|
-
scrollStrategy,
|
|
3095
|
-
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3096
|
-
hasBackdrop: true,
|
|
3097
|
-
backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop']
|
|
3098
|
-
});
|
|
3099
|
-
this._updateOverlay();
|
|
3100
3066
|
if (this.closeTrigger == 'clickout') {
|
|
3101
3067
|
this._addSub(this._overlayRef._outsidePointerEvents.subscribe(c => {
|
|
3102
3068
|
const target = c.target;
|
|
@@ -3106,15 +3072,15 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3106
3072
|
}
|
|
3107
3073
|
}));
|
|
3108
3074
|
}
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3075
|
+
this._addSub(this._overlayRef.attachments().subscribe(() => {
|
|
3076
|
+
if (!this._isScrollAttached) {
|
|
3077
|
+
this._addSub(this._platform.scroll.subscribe(c => {
|
|
3078
|
+
if (!c.nativeEvent.target.closest('.ax-overlay-pane'))
|
|
3079
|
+
this.updatePosition();
|
|
3080
|
+
}));
|
|
3081
|
+
this._isScrollAttached = true;
|
|
3082
|
+
}
|
|
3083
|
+
}));
|
|
3118
3084
|
}
|
|
3119
3085
|
if (!this._templatePortal) {
|
|
3120
3086
|
this._templatePortal = new TemplatePortal(this._baseTemplate, this._viewContainerRef);
|
|
@@ -3126,31 +3092,16 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3126
3092
|
_addSub(sub) {
|
|
3127
3093
|
this._subs.push(sub);
|
|
3128
3094
|
}
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
let positionStrategy;
|
|
3132
|
-
let scrollStrategy;
|
|
3133
|
-
if (this._platform.is('Mobile')) {
|
|
3134
|
-
positionStrategy = this._overlay.position().global().centerHorizontally().bottom();
|
|
3135
|
-
scrollStrategy = this._overlay.scrollStrategies.noop();
|
|
3136
|
-
}
|
|
3137
|
-
else {
|
|
3138
|
-
positionStrategy = this._overlay.position()
|
|
3139
|
-
.flexibleConnectedTo(targetRef)
|
|
3140
|
-
.withPositions(Array.isArray(this.position) ? this.position : [this.position])
|
|
3141
|
-
.withPush(false);
|
|
3142
|
-
scrollStrategy = this._overlay.scrollStrategies.close();
|
|
3143
|
-
}
|
|
3144
|
-
this._overlayRef.updatePositionStrategy(positionStrategy);
|
|
3145
|
-
this._overlayRef.updateScrollStrategy(scrollStrategy);
|
|
3095
|
+
updatePosition() {
|
|
3096
|
+
this._overlayRef?.updatePosition();
|
|
3146
3097
|
}
|
|
3147
3098
|
}
|
|
3148
|
-
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3149
|
-
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3099
|
+
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 });
|
|
3100
|
+
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 });
|
|
3101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverComponent, decorators: [{
|
|
3151
3102
|
type: Component,
|
|
3152
3103
|
args: [{ selector: 'ax-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>" }]
|
|
3153
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$2.Overlay }, { type:
|
|
3104
|
+
}], 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: [{
|
|
3154
3105
|
type: Input
|
|
3155
3106
|
}], position: [{
|
|
3156
3107
|
type: Input
|
|
@@ -3176,12 +3127,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3176
3127
|
|
|
3177
3128
|
const AXBaseDatePickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXCalendarBaseComponent))));
|
|
3178
3129
|
class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
3179
|
-
constructor(_elementRef, _cdr) {
|
|
3130
|
+
constructor(_elementRef, _cdr, _platform) {
|
|
3180
3131
|
super(_elementRef, _cdr);
|
|
3132
|
+
this._platform = _platform;
|
|
3181
3133
|
this._cursorPos = 0;
|
|
3134
|
+
this._isMobile = false;
|
|
3182
3135
|
this.formatChange = new EventEmitter();
|
|
3183
3136
|
this._format = 'YYYY-MM-dd';
|
|
3184
3137
|
this._target = this._getHostElement();
|
|
3138
|
+
this._isMobile = this._platform.is('Mobile');
|
|
3185
3139
|
}
|
|
3186
3140
|
get format() {
|
|
3187
3141
|
return this._format;
|
|
@@ -3192,6 +3146,13 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3192
3146
|
value: v
|
|
3193
3147
|
});
|
|
3194
3148
|
}
|
|
3149
|
+
onViewInit() {
|
|
3150
|
+
super.onViewInit();
|
|
3151
|
+
this._popoverTitle = this.placeholder || AXTranslator.get('datepicker.popover.title');
|
|
3152
|
+
this.popover.onOpened.subscribe(() => {
|
|
3153
|
+
this._calendar.focus();
|
|
3154
|
+
});
|
|
3155
|
+
}
|
|
3195
3156
|
_handleArrowClickEvent(e) {
|
|
3196
3157
|
this.toggle();
|
|
3197
3158
|
}
|
|
@@ -3224,7 +3185,6 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3224
3185
|
switch (part[0]) {
|
|
3225
3186
|
case 'dd':
|
|
3226
3187
|
case 'DD':
|
|
3227
|
-
debugger;
|
|
3228
3188
|
const newVal = Math.max(1, Math.min(31, Number(word + e.key)));
|
|
3229
3189
|
this.value = dateVal.set('day', newVal).date;
|
|
3230
3190
|
break;
|
|
@@ -3296,14 +3256,17 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3296
3256
|
input.setSelectionRange(start, end);
|
|
3297
3257
|
}
|
|
3298
3258
|
}
|
|
3299
|
-
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3300
|
-
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3259
|
+
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 });
|
|
3260
|
+
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 });
|
|
3261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
3302
3262
|
type: Component,
|
|
3303
|
-
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\"
|
|
3304
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
3263
|
+
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>" }]
|
|
3264
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
3305
3265
|
type: ViewChild,
|
|
3306
|
-
args: [AXPopoverComponent]
|
|
3266
|
+
args: [AXPopoverComponent, { static: true }]
|
|
3267
|
+
}], _calendar: [{
|
|
3268
|
+
type: ViewChild,
|
|
3269
|
+
args: [AXCalendarComponent, { static: true }]
|
|
3307
3270
|
}], formatChange: [{
|
|
3308
3271
|
type: Output
|
|
3309
3272
|
}], format: [{
|
|
@@ -3312,10 +3275,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3312
3275
|
|
|
3313
3276
|
class AXPopoverModule {
|
|
3314
3277
|
}
|
|
3315
|
-
AXPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3316
|
-
AXPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3317
|
-
AXPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3278
|
+
AXPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3279
|
+
AXPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverModule, declarations: [AXPopoverComponent], imports: [CommonModule], exports: [AXPopoverComponent] });
|
|
3280
|
+
AXPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverModule, providers: [], imports: [[CommonModule]] });
|
|
3281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopoverModule, decorators: [{
|
|
3319
3282
|
type: NgModule,
|
|
3320
3283
|
args: [{
|
|
3321
3284
|
declarations: [AXPopoverComponent],
|
|
@@ -3325,63 +3288,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3325
3288
|
}]
|
|
3326
3289
|
}] });
|
|
3327
3290
|
|
|
3328
|
-
class AXInputMaskComponent {
|
|
3329
|
-
constructor() {
|
|
3330
|
-
this.showMaskTyped = false;
|
|
3331
|
-
this.clearIfNotMatch = false;
|
|
3332
|
-
}
|
|
3333
|
-
get prefix() {
|
|
3334
|
-
return this._prefix || '';
|
|
3335
|
-
}
|
|
3336
|
-
set prefix(v) {
|
|
3337
|
-
this._prefix = v;
|
|
3338
|
-
}
|
|
3339
|
-
get suffix() {
|
|
3340
|
-
return this._suffix || '';
|
|
3341
|
-
}
|
|
3342
|
-
set suffix(v) {
|
|
3343
|
-
this._suffix = v;
|
|
3344
|
-
}
|
|
3345
|
-
}
|
|
3346
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3347
|
-
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 });
|
|
3348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
3349
|
-
type: Component,
|
|
3350
|
-
args: [{
|
|
3351
|
-
selector: 'ax-input-mask',
|
|
3352
|
-
template: '',
|
|
3353
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3354
|
-
encapsulation: ViewEncapsulation.None,
|
|
3355
|
-
}]
|
|
3356
|
-
}], propDecorators: { prefix: [{
|
|
3357
|
-
type: Input
|
|
3358
|
-
}], suffix: [{
|
|
3359
|
-
type: Input
|
|
3360
|
-
}], showMaskTyped: [{
|
|
3361
|
-
type: Input
|
|
3362
|
-
}], clearIfNotMatch: [{
|
|
3363
|
-
type: Input
|
|
3364
|
-
}], mask: [{
|
|
3365
|
-
type: Input
|
|
3366
|
-
}] } });
|
|
3367
|
-
|
|
3368
|
-
const COMPONENT$e = [AXInputMaskComponent];
|
|
3369
|
-
const MODULES$e = [CommonModule, NgxMaskModule.forRoot()];
|
|
3370
|
-
class AXInputMaskModule {
|
|
3371
|
-
}
|
|
3372
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3373
|
-
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] });
|
|
3374
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$e]] });
|
|
3375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
3376
|
-
type: NgModule,
|
|
3377
|
-
args: [{
|
|
3378
|
-
declarations: [...COMPONENT$e],
|
|
3379
|
-
imports: [...MODULES$e],
|
|
3380
|
-
exports: [...COMPONENT$e],
|
|
3381
|
-
providers: [],
|
|
3382
|
-
}]
|
|
3383
|
-
}] });
|
|
3384
|
-
|
|
3385
3291
|
/**
|
|
3386
3292
|
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
3387
3293
|
*
|
|
@@ -3394,46 +3300,23 @@ class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
|
3394
3300
|
constructor(elementRef, cdr) {
|
|
3395
3301
|
super(elementRef, cdr);
|
|
3396
3302
|
}
|
|
3397
|
-
//TODO: prefix suffix text
|
|
3398
|
-
get hostClass() {
|
|
3399
|
-
return `${this.cssClass} ax-${this.size}`;
|
|
3400
|
-
}
|
|
3401
3303
|
}
|
|
3402
|
-
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3403
|
-
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3304
|
+
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 });
|
|
3305
|
+
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 });
|
|
3306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
3405
3307
|
type: Component,
|
|
3406
|
-
args: [{ selector: 'ax-text-box', inputs: [
|
|
3407
|
-
|
|
3408
|
-
'readonly',
|
|
3409
|
-
'tabIndex',
|
|
3410
|
-
'cssClass',
|
|
3411
|
-
'size',
|
|
3412
|
-
...TEXTBOX_INPUTS,
|
|
3413
|
-
], outputs: [
|
|
3414
|
-
'valueChange',
|
|
3415
|
-
'onValueChanged',
|
|
3416
|
-
'onBlur',
|
|
3417
|
-
'onFocus',
|
|
3418
|
-
...TEXTBOX_OUTPUT,
|
|
3419
|
-
], 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>" }]
|
|
3420
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
|
|
3421
|
-
type: ContentChild,
|
|
3422
|
-
args: [AXInputMaskComponent]
|
|
3423
|
-
}], hostClass: [{
|
|
3424
|
-
type: HostBinding,
|
|
3425
|
-
args: ['class']
|
|
3426
|
-
}] } });
|
|
3308
|
+
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>" }]
|
|
3309
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
3427
3310
|
|
|
3428
3311
|
class AXTextBoxModule {
|
|
3429
3312
|
}
|
|
3430
|
-
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3431
|
-
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3313
|
+
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3314
|
+
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
3432
3315
|
FormsModule,
|
|
3433
3316
|
AXButtonModule,
|
|
3434
3317
|
AXEditorDecoratorModule,
|
|
3435
|
-
AXIconModule, i1$
|
|
3436
|
-
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3318
|
+
AXIconModule, i1$4.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
3319
|
+
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
3437
3320
|
CommonModule,
|
|
3438
3321
|
FormsModule,
|
|
3439
3322
|
AXButtonModule,
|
|
@@ -3441,7 +3324,7 @@ AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
3441
3324
|
AXIconModule,
|
|
3442
3325
|
NgxMaskModule.forChild()
|
|
3443
3326
|
]] });
|
|
3444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
3445
3328
|
type: NgModule,
|
|
3446
3329
|
args: [{
|
|
3447
3330
|
imports: [
|
|
@@ -3458,8 +3341,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3458
3341
|
}]
|
|
3459
3342
|
}] });
|
|
3460
3343
|
|
|
3461
|
-
const COMPONENT$
|
|
3462
|
-
const MODULES$
|
|
3344
|
+
const COMPONENT$f = [AXDatePickerComponent];
|
|
3345
|
+
const MODULES$f = [
|
|
3463
3346
|
CommonModule,
|
|
3464
3347
|
AXCalendarModule,
|
|
3465
3348
|
AXTextBoxModule,
|
|
@@ -3472,8 +3355,8 @@ const MODULES$d = [
|
|
|
3472
3355
|
];
|
|
3473
3356
|
class AXDatepickerModule {
|
|
3474
3357
|
}
|
|
3475
|
-
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3476
|
-
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3358
|
+
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3359
|
+
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [CommonModule,
|
|
3477
3360
|
AXCalendarModule,
|
|
3478
3361
|
AXTextBoxModule,
|
|
3479
3362
|
AXButtonModule,
|
|
@@ -3482,13 +3365,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
3482
3365
|
AXIconModule,
|
|
3483
3366
|
AXDateTimeModule,
|
|
3484
3367
|
FormsModule], exports: [AXDatePickerComponent] });
|
|
3485
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3368
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$f]] });
|
|
3369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
3487
3370
|
type: NgModule,
|
|
3488
3371
|
args: [{
|
|
3489
|
-
declarations: [...COMPONENT$
|
|
3490
|
-
imports: [...MODULES$
|
|
3491
|
-
exports: [...COMPONENT$
|
|
3372
|
+
declarations: [...COMPONENT$f],
|
|
3373
|
+
imports: [...MODULES$f],
|
|
3374
|
+
exports: [...COMPONENT$f],
|
|
3492
3375
|
providers: [],
|
|
3493
3376
|
}]
|
|
3494
3377
|
}] });
|
|
@@ -3519,9 +3402,9 @@ class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
3519
3402
|
}
|
|
3520
3403
|
}
|
|
3521
3404
|
}
|
|
3522
|
-
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3523
|
-
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3405
|
+
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 });
|
|
3406
|
+
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 });
|
|
3407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogComponent, decorators: [{
|
|
3525
3408
|
type: Component,
|
|
3526
3409
|
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>" }]
|
|
3527
3410
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -3554,7 +3437,6 @@ class AXDialogService {
|
|
|
3554
3437
|
name: 'confirm',
|
|
3555
3438
|
text: AXTranslator.get('common.okay'),
|
|
3556
3439
|
color: type,
|
|
3557
|
-
look: `twotone`,
|
|
3558
3440
|
onClick: () => {
|
|
3559
3441
|
popup.close();
|
|
3560
3442
|
if (resolve) {
|
|
@@ -3658,9 +3540,9 @@ class AXDialogService {
|
|
|
3658
3540
|
};
|
|
3659
3541
|
}
|
|
3660
3542
|
}
|
|
3661
|
-
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3662
|
-
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3543
|
+
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 });
|
|
3544
|
+
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogService, providedIn: 'root' });
|
|
3545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogService, decorators: [{
|
|
3664
3546
|
type: Injectable,
|
|
3665
3547
|
args: [{ providedIn: 'root' }]
|
|
3666
3548
|
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.Injector }, { type: i1$2.ScrollStrategyOptions }]; } });
|
|
@@ -3689,17 +3571,23 @@ class AXLoadingComponent extends AXBaseComponentMixin {
|
|
|
3689
3571
|
this._selectedPortal = new ComponentPortal(loading);
|
|
3690
3572
|
this._cdr.markForCheck();
|
|
3691
3573
|
}
|
|
3574
|
+
_handleAttched(ref) {
|
|
3575
|
+
ref = ref;
|
|
3576
|
+
if (ref.instance) {
|
|
3577
|
+
ref.instance.text = this.text;
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3692
3580
|
}
|
|
3693
|
-
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3694
|
-
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3695
|
-
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3696
|
-
`, isInline: true, directives: [{ type: i1$
|
|
3697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3581
|
+
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 });
|
|
3582
|
+
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: `
|
|
3583
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
3584
|
+
`, isInline: true, directives: [{ type: i1$5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
3698
3586
|
type: Component,
|
|
3699
3587
|
args: [{
|
|
3700
3588
|
selector: 'ax-loading',
|
|
3701
3589
|
template: `
|
|
3702
|
-
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3590
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
3703
3591
|
`,
|
|
3704
3592
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3705
3593
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -3711,13 +3599,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3711
3599
|
type: Input
|
|
3712
3600
|
}], type: [{
|
|
3713
3601
|
type: Input
|
|
3602
|
+
}], text: [{
|
|
3603
|
+
type: Input
|
|
3714
3604
|
}] } });
|
|
3715
3605
|
|
|
3716
3606
|
class AXLoadingSpinnerComponent {
|
|
3717
3607
|
}
|
|
3718
|
-
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3719
|
-
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3720
|
-
<svg version="1.1" width="
|
|
3608
|
+
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3609
|
+
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXLoadingSpinnerComponent, selector: "ax-loading-spinner", ngImport: i0, template: `
|
|
3610
|
+
<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"
|
|
3721
3611
|
x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve">
|
|
3722
3612
|
<path fill="current"
|
|
3723
3613
|
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">
|
|
@@ -3725,13 +3615,14 @@ AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
3725
3615
|
dur="0.6s" repeatCount="indefinite" />
|
|
3726
3616
|
</path>
|
|
3727
3617
|
</svg>
|
|
3728
|
-
|
|
3729
|
-
|
|
3618
|
+
<span class="ax-ms-3" *ngIf="text"> {{text}} </span>
|
|
3619
|
+
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingSpinnerComponent, decorators: [{
|
|
3730
3621
|
type: Component,
|
|
3731
3622
|
args: [{
|
|
3732
3623
|
selector: 'ax-loading-spinner',
|
|
3733
3624
|
template: `
|
|
3734
|
-
<svg version="1.1" width="
|
|
3625
|
+
<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"
|
|
3735
3626
|
x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve">
|
|
3736
3627
|
<path fill="current"
|
|
3737
3628
|
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">
|
|
@@ -3739,6 +3630,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3739
3630
|
dur="0.6s" repeatCount="indefinite" />
|
|
3740
3631
|
</path>
|
|
3741
3632
|
</svg>
|
|
3633
|
+
<span class="ax-ms-3" *ngIf="text"> {{text}} </span>
|
|
3742
3634
|
`
|
|
3743
3635
|
}]
|
|
3744
3636
|
}] });
|
|
@@ -3795,9 +3687,9 @@ class AXLoadingDirective {
|
|
|
3795
3687
|
this.renderer.addClass(this.overlayElement, OVERLAY_CLASS);
|
|
3796
3688
|
}
|
|
3797
3689
|
}
|
|
3798
|
-
AXLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3799
|
-
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
3800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3690
|
+
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 });
|
|
3691
|
+
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: AXLoadingDirective, selector: "[axIsLoading]", inputs: { isLoading: ["axIsLoading", "isLoading"] }, usesOnChanges: true, ngImport: i0 });
|
|
3692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingDirective, decorators: [{
|
|
3801
3693
|
type: Directive,
|
|
3802
3694
|
args: [{
|
|
3803
3695
|
selector: '[axIsLoading]'
|
|
@@ -3807,28 +3699,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3807
3699
|
args: ['axIsLoading']
|
|
3808
3700
|
}] } });
|
|
3809
3701
|
|
|
3810
|
-
const COMPONENT$
|
|
3811
|
-
const MODULES$
|
|
3702
|
+
const COMPONENT$e = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
3703
|
+
const MODULES$e = [CommonModule, OverlayModule, PortalModule];
|
|
3812
3704
|
class AXLoadingModule {
|
|
3813
3705
|
constructor() {
|
|
3814
3706
|
AXConfig.set({
|
|
3815
3707
|
layout: {
|
|
3816
3708
|
loading: {
|
|
3817
|
-
spinner: AXLoadingSpinnerComponent
|
|
3709
|
+
spinner: AXLoadingSpinnerComponent,
|
|
3818
3710
|
}
|
|
3819
3711
|
}
|
|
3820
3712
|
});
|
|
3821
3713
|
}
|
|
3822
3714
|
}
|
|
3823
|
-
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3824
|
-
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3825
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3715
|
+
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3716
|
+
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] });
|
|
3717
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$e]] });
|
|
3718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
3827
3719
|
type: NgModule,
|
|
3828
3720
|
args: [{
|
|
3829
|
-
declarations: [...COMPONENT$
|
|
3830
|
-
imports: [...MODULES$
|
|
3831
|
-
exports: [...COMPONENT$
|
|
3721
|
+
declarations: [...COMPONENT$e],
|
|
3722
|
+
imports: [...MODULES$e],
|
|
3723
|
+
exports: [...COMPONENT$e],
|
|
3832
3724
|
providers: [],
|
|
3833
3725
|
}]
|
|
3834
3726
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3838,9 +3730,9 @@ class DynamicOverlayContainer extends OverlayContainer {
|
|
|
3838
3730
|
this._containerElement = containerElement;
|
|
3839
3731
|
}
|
|
3840
3732
|
}
|
|
3841
|
-
DynamicOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3842
|
-
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3733
|
+
DynamicOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlayContainer, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3734
|
+
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlayContainer, providedIn: 'root' });
|
|
3735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlayContainer, decorators: [{
|
|
3844
3736
|
type: Injectable,
|
|
3845
3737
|
args: [{
|
|
3846
3738
|
providedIn: 'root'
|
|
@@ -3861,9 +3753,9 @@ class DynamicOverlay extends Overlay {
|
|
|
3861
3753
|
return super.create(config);
|
|
3862
3754
|
}
|
|
3863
3755
|
}
|
|
3864
|
-
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3865
|
-
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3756
|
+
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 });
|
|
3757
|
+
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlay, providedIn: 'root' });
|
|
3758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DynamicOverlay, decorators: [{
|
|
3867
3759
|
type: Injectable,
|
|
3868
3760
|
args: [{
|
|
3869
3761
|
providedIn: 'root'
|
|
@@ -3871,7 +3763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3871
3763
|
}], ctorParameters: function () { 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: [{
|
|
3872
3764
|
type: Inject,
|
|
3873
3765
|
args: [DOCUMENT]
|
|
3874
|
-
}] }, { type: i2$
|
|
3766
|
+
}] }, { type: i2$1.Directionality }, { type: i0.RendererFactory2 }, { type: i1.Location }, { type: i1$2.OverlayOutsideClickDispatcher }]; } });
|
|
3875
3767
|
|
|
3876
3768
|
class AXOverlayService {
|
|
3877
3769
|
constructor(overlayService, overlayService2, appRef) {
|
|
@@ -3951,9 +3843,9 @@ class AXOverlayService {
|
|
|
3951
3843
|
};
|
|
3952
3844
|
}
|
|
3953
3845
|
}
|
|
3954
|
-
AXOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3955
|
-
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3846
|
+
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 });
|
|
3847
|
+
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXOverlayService, providedIn: 'root' });
|
|
3848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXOverlayService, decorators: [{
|
|
3957
3849
|
type: Injectable,
|
|
3958
3850
|
args: [{ providedIn: 'root' }]
|
|
3959
3851
|
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1$2.Overlay }, { type: i0.ApplicationRef }]; } });
|
|
@@ -4097,9 +3989,9 @@ class AXLoadingService {
|
|
|
4097
3989
|
return loaderId ?? DEFAULT_LOADER_ID;
|
|
4098
3990
|
}
|
|
4099
3991
|
}
|
|
4100
|
-
AXLoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4101
|
-
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3992
|
+
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 });
|
|
3993
|
+
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingService, providedIn: 'root' });
|
|
3994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLoadingService, decorators: [{
|
|
4103
3995
|
type: Injectable,
|
|
4104
3996
|
args: [{
|
|
4105
3997
|
providedIn: 'root'
|
|
@@ -4126,9 +4018,9 @@ class AXPageComponent extends AXBaseComponentMixin {
|
|
|
4126
4018
|
}
|
|
4127
4019
|
}
|
|
4128
4020
|
}
|
|
4129
|
-
AXPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4130
|
-
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4021
|
+
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 });
|
|
4022
|
+
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageComponent });
|
|
4023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageComponent, decorators: [{
|
|
4132
4024
|
type: Injectable
|
|
4133
4025
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
4134
4026
|
type: Inject,
|
|
@@ -4137,14 +4029,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4137
4029
|
|
|
4138
4030
|
class AXPageFooterComponent {
|
|
4139
4031
|
}
|
|
4140
|
-
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4141
|
-
AXPageFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4032
|
+
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4033
|
+
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: `
|
|
4142
4034
|
<ng-content select="ax-prefix">
|
|
4143
4035
|
</ng-content>
|
|
4144
4036
|
<ng-content select="ax-suffix">
|
|
4145
4037
|
</ng-content>
|
|
4146
4038
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageFooterComponent, decorators: [{
|
|
4148
4040
|
type: Component,
|
|
4149
4041
|
args: [{
|
|
4150
4042
|
selector: 'ax-page-footer',
|
|
@@ -4211,9 +4103,9 @@ class AXBasePageComponent {
|
|
|
4211
4103
|
this.onClosed.unsubscribe();
|
|
4212
4104
|
}
|
|
4213
4105
|
}
|
|
4214
|
-
AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4215
|
-
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4106
|
+
AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBasePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4107
|
+
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBasePageComponent });
|
|
4108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXBasePageComponent, decorators: [{
|
|
4217
4109
|
type: Injectable
|
|
4218
4110
|
}], propDecorators: { pageContainer: [{
|
|
4219
4111
|
type: ViewChild,
|
|
@@ -4225,10 +4117,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4225
4117
|
|
|
4226
4118
|
class AXPageModule {
|
|
4227
4119
|
}
|
|
4228
|
-
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4229
|
-
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4230
|
-
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4120
|
+
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4121
|
+
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageModule, declarations: [AXPageFooterComponent], exports: [AXPageFooterComponent] });
|
|
4122
|
+
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
|
|
4123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageModule, decorators: [{
|
|
4232
4124
|
type: NgModule,
|
|
4233
4125
|
args: [{
|
|
4234
4126
|
imports: [],
|
|
@@ -4238,19 +4130,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4238
4130
|
}]
|
|
4239
4131
|
}] });
|
|
4240
4132
|
|
|
4241
|
-
const COMPONENT$
|
|
4242
|
-
const MODULES$
|
|
4133
|
+
const COMPONENT$d = [AXDialogComponent];
|
|
4134
|
+
const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4243
4135
|
class AXDialogModule {
|
|
4244
4136
|
}
|
|
4245
|
-
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4246
|
-
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4247
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4137
|
+
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4138
|
+
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] });
|
|
4139
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$d]] });
|
|
4140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
4249
4141
|
type: NgModule,
|
|
4250
4142
|
args: [{
|
|
4251
|
-
declarations: [...COMPONENT$
|
|
4252
|
-
imports: [...MODULES$
|
|
4253
|
-
exports: [...COMPONENT$
|
|
4143
|
+
declarations: [...COMPONENT$d],
|
|
4144
|
+
imports: [...MODULES$d],
|
|
4145
|
+
exports: [...COMPONENT$d],
|
|
4254
4146
|
providers: [],
|
|
4255
4147
|
}]
|
|
4256
4148
|
}] });
|
|
@@ -4373,12 +4265,12 @@ class AXDrawerComponent extends AXBaseComponentMixin {
|
|
|
4373
4265
|
this.collapsed = true;
|
|
4374
4266
|
}
|
|
4375
4267
|
}
|
|
4376
|
-
AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4377
|
-
AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4268
|
+
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 });
|
|
4269
|
+
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: `
|
|
4378
4270
|
<ng-content>
|
|
4379
4271
|
</ng-content>
|
|
4380
4272
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
4382
4274
|
type: Component,
|
|
4383
4275
|
args: [{
|
|
4384
4276
|
selector: 'ax-drawer',
|
|
@@ -4441,8 +4333,8 @@ class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
|
4441
4333
|
});
|
|
4442
4334
|
}
|
|
4443
4335
|
}
|
|
4444
|
-
AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4445
|
-
AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4336
|
+
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 });
|
|
4337
|
+
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: `
|
|
4446
4338
|
<ng-content select="ax-drawer[location='start']">
|
|
4447
4339
|
</ng-content>
|
|
4448
4340
|
<ng-content select="ax-drawer-content">
|
|
@@ -4450,7 +4342,7 @@ AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
4450
4342
|
<ng-content select="ax-drawer[location='end']">
|
|
4451
4343
|
</ng-content>
|
|
4452
4344
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
4454
4346
|
type: Component,
|
|
4455
4347
|
args: [{
|
|
4456
4348
|
selector: 'ax-drawer-container',
|
|
@@ -4477,12 +4369,12 @@ class AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
|
4477
4369
|
super(elementRef, cdr);
|
|
4478
4370
|
}
|
|
4479
4371
|
}
|
|
4480
|
-
AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4481
|
-
AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4372
|
+
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 });
|
|
4373
|
+
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: `
|
|
4482
4374
|
<ng-content>
|
|
4483
4375
|
</ng-content>
|
|
4484
4376
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
4486
4378
|
type: Component,
|
|
4487
4379
|
args: [{
|
|
4488
4380
|
selector: 'ax-drawer-content',
|
|
@@ -4496,42 +4388,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4496
4388
|
}]
|
|
4497
4389
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4498
4390
|
|
|
4499
|
-
const COMPONENT$
|
|
4500
|
-
const MODULES$
|
|
4391
|
+
const COMPONENT$c = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
4392
|
+
const MODULES$c = [CommonModule];
|
|
4501
4393
|
class AXDrawerModule {
|
|
4502
4394
|
}
|
|
4503
|
-
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4504
|
-
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4505
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4395
|
+
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4396
|
+
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] });
|
|
4397
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$c]] });
|
|
4398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
4507
4399
|
type: NgModule,
|
|
4508
4400
|
args: [{
|
|
4509
|
-
declarations: [...COMPONENT$
|
|
4510
|
-
imports: [...MODULES$
|
|
4511
|
-
exports: [...COMPONENT$
|
|
4401
|
+
declarations: [...COMPONENT$c],
|
|
4402
|
+
imports: [...MODULES$c],
|
|
4403
|
+
exports: [...COMPONENT$c],
|
|
4512
4404
|
providers: [],
|
|
4513
4405
|
}]
|
|
4514
4406
|
}] });
|
|
4515
4407
|
|
|
4516
|
-
class AXDropdownComponent extends AXBaseDropdownMixin {
|
|
4517
|
-
constructor(_elementRef, _cdr) {
|
|
4518
|
-
super(_elementRef, _cdr);
|
|
4519
|
-
this._target = this;
|
|
4520
|
-
}
|
|
4521
|
-
_handleArrowClickEvent() {
|
|
4522
|
-
this.toggle();
|
|
4523
|
-
}
|
|
4524
|
-
}
|
|
4525
|
-
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 });
|
|
4526
|
-
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 });
|
|
4527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownComponent, decorators: [{
|
|
4528
|
-
type: Component,
|
|
4529
|
-
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>" }]
|
|
4530
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
4531
|
-
type: ViewChild,
|
|
4532
|
-
args: [AXPopoverComponent]
|
|
4533
|
-
}] } });
|
|
4534
|
-
|
|
4535
4408
|
class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
4536
4409
|
constructor(elementRef, cdr, _parent) {
|
|
4537
4410
|
super(elementRef, cdr);
|
|
@@ -4578,9 +4451,9 @@ class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
|
4578
4451
|
this._emitOnItemClickEvent(e, e.component);
|
|
4579
4452
|
}
|
|
4580
4453
|
}
|
|
4581
|
-
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4582
|
-
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4454
|
+
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 });
|
|
4455
|
+
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 });
|
|
4456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
4584
4457
|
type: Component,
|
|
4585
4458
|
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>" }]
|
|
4586
4459
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
|
|
@@ -4595,22 +4468,223 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4595
4468
|
type: Output
|
|
4596
4469
|
}], popover: [{
|
|
4597
4470
|
type: ViewChild,
|
|
4598
|
-
args: [AXPopoverComponent]
|
|
4471
|
+
args: [AXPopoverComponent, { static: true }]
|
|
4599
4472
|
}], items: [{
|
|
4600
4473
|
type: Input
|
|
4601
4474
|
}] } });
|
|
4602
4475
|
|
|
4603
4476
|
class AXDropdownModule {
|
|
4604
4477
|
}
|
|
4605
|
-
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4606
|
-
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4607
|
-
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4478
|
+
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4479
|
+
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] });
|
|
4480
|
+
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
|
|
4481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDropdownModule, decorators: [{
|
|
4609
4482
|
type: NgModule,
|
|
4610
4483
|
args: [{
|
|
4611
4484
|
imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
|
|
4612
|
-
exports: [
|
|
4613
|
-
declarations: [
|
|
4485
|
+
exports: [AXDropdownPanelComponent],
|
|
4486
|
+
declarations: [AXDropdownPanelComponent],
|
|
4487
|
+
providers: [],
|
|
4488
|
+
}]
|
|
4489
|
+
}] });
|
|
4490
|
+
|
|
4491
|
+
class AXFormFieldComponent extends AXBaseComponentMixin {
|
|
4492
|
+
constructor(elementRef, cdr) {
|
|
4493
|
+
super(elementRef, cdr);
|
|
4494
|
+
}
|
|
4495
|
+
}
|
|
4496
|
+
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 });
|
|
4497
|
+
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 });
|
|
4498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormFieldComponent, decorators: [{
|
|
4499
|
+
type: Component,
|
|
4500
|
+
args: [{
|
|
4501
|
+
selector: 'ax-form-field',
|
|
4502
|
+
template: '<ng-content></ng-content>',
|
|
4503
|
+
encapsulation: ViewEncapsulation.None,
|
|
4504
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4505
|
+
}]
|
|
4506
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4507
|
+
|
|
4508
|
+
class AXFormHintComponent extends AXBaseComponentMixin {
|
|
4509
|
+
constructor(elementRef, cdr) {
|
|
4510
|
+
super(elementRef, cdr);
|
|
4511
|
+
}
|
|
4512
|
+
}
|
|
4513
|
+
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 });
|
|
4514
|
+
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 });
|
|
4515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormHintComponent, decorators: [{
|
|
4516
|
+
type: Component,
|
|
4517
|
+
args: [{
|
|
4518
|
+
selector: 'ax-form-hint',
|
|
4519
|
+
template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>',
|
|
4520
|
+
encapsulation: ViewEncapsulation.None,
|
|
4521
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4522
|
+
}]
|
|
4523
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4524
|
+
|
|
4525
|
+
class AXFormComponent extends AXBaseComponentMixin {
|
|
4526
|
+
constructor(elementRef, cdr) {
|
|
4527
|
+
super(elementRef, cdr);
|
|
4528
|
+
this.cdr = cdr;
|
|
4529
|
+
}
|
|
4530
|
+
_getComponenets() {
|
|
4531
|
+
return Array.from(this._getHostElement().querySelectorAll('[ax-form-input="true"]'));
|
|
4532
|
+
}
|
|
4533
|
+
validate() {
|
|
4534
|
+
const widgets = this._getComponenets();
|
|
4535
|
+
//
|
|
4536
|
+
return new Promise((resolve, reject) => {
|
|
4537
|
+
if (widgets.length === 0) {
|
|
4538
|
+
return Promise.resolve({ result: true });
|
|
4539
|
+
}
|
|
4540
|
+
Promise.all(widgets.map((c) => c.__axContext__.validate())).then((rules) => {
|
|
4541
|
+
const failed = rules.filter((c) => !c.result);
|
|
4542
|
+
if (failed.length) {
|
|
4543
|
+
reject({
|
|
4544
|
+
result: false,
|
|
4545
|
+
items: failed
|
|
4546
|
+
});
|
|
4547
|
+
}
|
|
4548
|
+
else {
|
|
4549
|
+
resolve({ result: true });
|
|
4550
|
+
}
|
|
4551
|
+
});
|
|
4552
|
+
});
|
|
4553
|
+
}
|
|
4554
|
+
clear() {
|
|
4555
|
+
const widgets = this._getComponenets();
|
|
4556
|
+
widgets.forEach(w => {
|
|
4557
|
+
w.__axContext__.clear();
|
|
4558
|
+
});
|
|
4559
|
+
}
|
|
4560
|
+
}
|
|
4561
|
+
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 });
|
|
4562
|
+
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 });
|
|
4563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormComponent, decorators: [{
|
|
4564
|
+
type: Component,
|
|
4565
|
+
args: [{
|
|
4566
|
+
selector: 'ax-form',
|
|
4567
|
+
template: '<div class="ax-form"><ng-content></ng-content></div>',
|
|
4568
|
+
encapsulation: ViewEncapsulation.None,
|
|
4569
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4570
|
+
}]
|
|
4571
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4572
|
+
|
|
4573
|
+
class AXFormModule {
|
|
4574
|
+
}
|
|
4575
|
+
AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4576
|
+
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] });
|
|
4577
|
+
AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormModule, providers: [], imports: [[CommonModule]] });
|
|
4578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXFormModule, decorators: [{
|
|
4579
|
+
type: NgModule,
|
|
4580
|
+
args: [{
|
|
4581
|
+
imports: [CommonModule],
|
|
4582
|
+
exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
4583
|
+
declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent],
|
|
4584
|
+
providers: [],
|
|
4585
|
+
}]
|
|
4586
|
+
}] });
|
|
4587
|
+
|
|
4588
|
+
class AXInputMaskComponent extends AXBaseComponent {
|
|
4589
|
+
/**
|
|
4590
|
+
* @ignore
|
|
4591
|
+
*/
|
|
4592
|
+
constructor(_elementRef, _cdr, _textbox) {
|
|
4593
|
+
super(_elementRef, _cdr);
|
|
4594
|
+
this._elementRef = _elementRef;
|
|
4595
|
+
this._textbox = _textbox;
|
|
4596
|
+
this.showMaskTyped = false;
|
|
4597
|
+
this.clearIfNotMatch = false;
|
|
4598
|
+
}
|
|
4599
|
+
onViewInit() {
|
|
4600
|
+
this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
|
|
4601
|
+
mask: this.mask
|
|
4602
|
+
});
|
|
4603
|
+
}
|
|
4604
|
+
get prefix() {
|
|
4605
|
+
return this._prefix || '';
|
|
4606
|
+
}
|
|
4607
|
+
set prefix(v) {
|
|
4608
|
+
this._prefix = v;
|
|
4609
|
+
}
|
|
4610
|
+
get suffix() {
|
|
4611
|
+
return this._suffix || '';
|
|
4612
|
+
}
|
|
4613
|
+
set suffix(v) {
|
|
4614
|
+
this._suffix = v;
|
|
4615
|
+
}
|
|
4616
|
+
}
|
|
4617
|
+
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 });
|
|
4618
|
+
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 });
|
|
4619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
4620
|
+
type: Component,
|
|
4621
|
+
args: [{
|
|
4622
|
+
selector: 'ax-input-mask',
|
|
4623
|
+
template: '',
|
|
4624
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4625
|
+
encapsulation: ViewEncapsulation.None,
|
|
4626
|
+
}]
|
|
4627
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXTextBoxComponent }]; }, propDecorators: { prefix: [{
|
|
4628
|
+
type: Input
|
|
4629
|
+
}], suffix: [{
|
|
4630
|
+
type: Input
|
|
4631
|
+
}], showMaskTyped: [{
|
|
4632
|
+
type: Input
|
|
4633
|
+
}], clearIfNotMatch: [{
|
|
4634
|
+
type: Input
|
|
4635
|
+
}], mask: [{
|
|
4636
|
+
type: Input
|
|
4637
|
+
}] } });
|
|
4638
|
+
|
|
4639
|
+
const COMPONENT$b = [AXInputMaskComponent];
|
|
4640
|
+
const MODULES$b = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
4641
|
+
class AXInputMaskModule {
|
|
4642
|
+
}
|
|
4643
|
+
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4644
|
+
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] });
|
|
4645
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$b]] });
|
|
4646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
4647
|
+
type: NgModule,
|
|
4648
|
+
args: [{
|
|
4649
|
+
declarations: [...COMPONENT$b],
|
|
4650
|
+
imports: [...MODULES$b],
|
|
4651
|
+
exports: [...COMPONENT$b],
|
|
4652
|
+
providers: [],
|
|
4653
|
+
}]
|
|
4654
|
+
}] });
|
|
4655
|
+
|
|
4656
|
+
class AXLabelComponent extends AXBaseComponentMixin {
|
|
4657
|
+
constructor(elementRef, cdr) {
|
|
4658
|
+
super(elementRef, cdr);
|
|
4659
|
+
}
|
|
4660
|
+
get target() {
|
|
4661
|
+
return this._target;
|
|
4662
|
+
}
|
|
4663
|
+
set target(v) {
|
|
4664
|
+
this._target = v;
|
|
4665
|
+
this._cdr.markForCheck();
|
|
4666
|
+
}
|
|
4667
|
+
}
|
|
4668
|
+
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 });
|
|
4669
|
+
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 });
|
|
4670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelComponent, decorators: [{
|
|
4671
|
+
type: Component,
|
|
4672
|
+
args: [{ selector: 'ax-label', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<label [attr.for]=\"target\">\r\n <ng-content></ng-content>\r\n</label>" }]
|
|
4673
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4674
|
+
|
|
4675
|
+
const COMPONENT$a = [AXLabelComponent];
|
|
4676
|
+
const MODULES$a = [CommonModule];
|
|
4677
|
+
class AXLabelModule {
|
|
4678
|
+
}
|
|
4679
|
+
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4680
|
+
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
4681
|
+
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$a]] });
|
|
4682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
4683
|
+
type: NgModule,
|
|
4684
|
+
args: [{
|
|
4685
|
+
declarations: [...COMPONENT$a],
|
|
4686
|
+
imports: [...MODULES$a],
|
|
4687
|
+
exports: [...COMPONENT$a],
|
|
4614
4688
|
providers: [],
|
|
4615
4689
|
}]
|
|
4616
4690
|
}] });
|
|
@@ -4624,40 +4698,64 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4624
4698
|
/**
|
|
4625
4699
|
* @ignore
|
|
4626
4700
|
*/
|
|
4627
|
-
constructor(elementRef, cdr
|
|
4701
|
+
constructor(elementRef, cdr) {
|
|
4628
4702
|
super(elementRef, cdr);
|
|
4629
4703
|
this.cdr = cdr;
|
|
4630
|
-
this.
|
|
4631
|
-
/**
|
|
4632
|
-
* A character value that specifies the separator character.
|
|
4633
|
-
*/
|
|
4634
|
-
this.separator = ',';
|
|
4635
|
-
/**
|
|
4636
|
-
* Specifies whether the Separator character will be displayed or not
|
|
4637
|
-
*/
|
|
4638
|
-
this.thousandSeparator = false;
|
|
4704
|
+
this._padDecimalZeros = false;
|
|
4639
4705
|
/**
|
|
4640
4706
|
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
4641
4707
|
*/
|
|
4642
4708
|
this.step = 1;
|
|
4643
|
-
|
|
4644
|
-
* Specifies the number of decimals that the user can enter
|
|
4645
|
-
*/
|
|
4646
|
-
this.scale = 0;
|
|
4709
|
+
this._decimals = 0;
|
|
4647
4710
|
/**
|
|
4648
4711
|
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
4649
4712
|
*/
|
|
4650
|
-
this.decimalStep =
|
|
4713
|
+
this.decimalStep = 'auto';
|
|
4651
4714
|
/**
|
|
4652
4715
|
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
4653
4716
|
*/
|
|
4654
4717
|
this.showSpinButtons = true;
|
|
4655
|
-
this._minValue = Number.
|
|
4656
|
-
this._maxValue = Number.
|
|
4657
|
-
this.
|
|
4718
|
+
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
4719
|
+
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
4720
|
+
this.toNum = (val) => {
|
|
4721
|
+
return Number(val.replace(/[^0-9.-]+/g, ''));
|
|
4722
|
+
};
|
|
4658
4723
|
}
|
|
4659
|
-
|
|
4660
|
-
|
|
4724
|
+
/**
|
|
4725
|
+
* A character value that specifies the separator character.
|
|
4726
|
+
*/
|
|
4727
|
+
get thousandsSeparator() {
|
|
4728
|
+
return this._thousandsSeparator;
|
|
4729
|
+
}
|
|
4730
|
+
set thousandsSeparator(v) {
|
|
4731
|
+
this._setOption({
|
|
4732
|
+
name: "thousandsSeparator",
|
|
4733
|
+
value: v ?? '',
|
|
4734
|
+
});
|
|
4735
|
+
}
|
|
4736
|
+
/**
|
|
4737
|
+
* A character value that specifies the separator character.
|
|
4738
|
+
*/
|
|
4739
|
+
get padDecimalZeros() {
|
|
4740
|
+
return this._padDecimalZeros;
|
|
4741
|
+
}
|
|
4742
|
+
set padDecimalZeros(v) {
|
|
4743
|
+
this._setOption({
|
|
4744
|
+
name: "padDecimalZeros",
|
|
4745
|
+
value: v,
|
|
4746
|
+
});
|
|
4747
|
+
}
|
|
4748
|
+
/**
|
|
4749
|
+
* Specifies the number of decimals that the user can enter
|
|
4750
|
+
*/
|
|
4751
|
+
get decimals() {
|
|
4752
|
+
return this._decimals;
|
|
4753
|
+
}
|
|
4754
|
+
set decimals(v) {
|
|
4755
|
+
this._setOption({
|
|
4756
|
+
name: "decimals",
|
|
4757
|
+
value: v ?? 0,
|
|
4758
|
+
});
|
|
4661
4759
|
}
|
|
4662
4760
|
/**
|
|
4663
4761
|
* Specifies the smallest value that is valid
|
|
@@ -4666,7 +4764,10 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4666
4764
|
return this._minValue;
|
|
4667
4765
|
}
|
|
4668
4766
|
set minValue(v) {
|
|
4669
|
-
this.
|
|
4767
|
+
this._setOption({
|
|
4768
|
+
name: "minValue",
|
|
4769
|
+
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
4770
|
+
});
|
|
4670
4771
|
}
|
|
4671
4772
|
/**
|
|
4672
4773
|
* Specifies the greatest value that is valid
|
|
@@ -4675,179 +4776,91 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4675
4776
|
return this._maxValue;
|
|
4676
4777
|
}
|
|
4677
4778
|
set maxValue(v) {
|
|
4678
|
-
this.
|
|
4779
|
+
this._setOption({
|
|
4780
|
+
name: "maxValue",
|
|
4781
|
+
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
4782
|
+
});
|
|
4679
4783
|
}
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
get displayText() {
|
|
4684
|
-
return this._displayText;
|
|
4784
|
+
onViewInit() {
|
|
4785
|
+
super.onViewInit();
|
|
4786
|
+
this._updateMask();
|
|
4685
4787
|
}
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
this.
|
|
4788
|
+
_onOptionChanged(option) {
|
|
4789
|
+
super._onOptionChanged(option);
|
|
4790
|
+
this._updateMask();
|
|
4791
|
+
}
|
|
4792
|
+
_updateMask() {
|
|
4793
|
+
if (!this._maskObj) {
|
|
4794
|
+
this._maskObj = IMask.createMask({
|
|
4795
|
+
mask: Number,
|
|
4796
|
+
min: this.minValue,
|
|
4797
|
+
max: this.maxValue,
|
|
4798
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4799
|
+
scale: this.decimals,
|
|
4800
|
+
radix: '.',
|
|
4801
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4802
|
+
});
|
|
4803
|
+
}
|
|
4804
|
+
else {
|
|
4805
|
+
this._maskObj.updateOptions({
|
|
4806
|
+
min: this.minValue,
|
|
4807
|
+
max: this.maxValue,
|
|
4808
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4809
|
+
scale: this.decimals,
|
|
4810
|
+
radix: '.',
|
|
4811
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4812
|
+
});
|
|
4813
|
+
}
|
|
4814
|
+
this._maskDirective?.maskRef?.updateValue();
|
|
4815
|
+
this._maskDirective?.maskRef?.updateControl();
|
|
4689
4816
|
}
|
|
4690
4817
|
_handleOnKeydownEvent(e) {
|
|
4691
4818
|
const ignore = () => {
|
|
4692
4819
|
e.preventDefault();
|
|
4693
4820
|
e.stopPropagation();
|
|
4694
4821
|
};
|
|
4695
|
-
const toNum = (val) => {
|
|
4696
|
-
return Number(val.replace(/[^0-9.-]+/g, ''));
|
|
4697
|
-
};
|
|
4698
|
-
const nums = Array(10)
|
|
4699
|
-
.fill(0)
|
|
4700
|
-
.map((v, i) => i.toString());
|
|
4701
|
-
const chars = [
|
|
4702
|
-
'.',
|
|
4703
|
-
'-',
|
|
4704
|
-
'Backspace',
|
|
4705
|
-
'ArrowDown',
|
|
4706
|
-
'ArrowUp',
|
|
4707
|
-
'ArrowRight',
|
|
4708
|
-
'ArrowLeft',
|
|
4709
|
-
'Tab',
|
|
4710
|
-
'Enter',
|
|
4711
|
-
];
|
|
4712
4822
|
const input = e.target;
|
|
4713
|
-
const key = e.key;
|
|
4714
4823
|
const valStr = input.value;
|
|
4715
|
-
const val = toNum(valStr);
|
|
4716
4824
|
const decimalPointIndex = valStr.indexOf('.');
|
|
4717
4825
|
const selectionStart = input.selectionStart;
|
|
4718
4826
|
const selectionEnd = input.selectionEnd;
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
ignore();
|
|
4723
|
-
}
|
|
4724
|
-
if (e.key === 'ArrowDown' || e.key === 'ArrowUp') {
|
|
4725
|
-
const stepVal = decimalPointIndex > -1
|
|
4726
|
-
? selectionStart >= decimalPointIndex
|
|
4727
|
-
? this.decimalStep
|
|
4728
|
-
: this.step
|
|
4729
|
-
: this.step;
|
|
4730
|
-
if (e.key === 'ArrowDown') {
|
|
4731
|
-
this.value = val - stepVal;
|
|
4827
|
+
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
4828
|
+
if (selectionStart > decimalPointIndex && this.decimals > 0) {
|
|
4829
|
+
e.key === 'ArrowDown' ? this.decimalStepDown() : this.decimalStepUp();
|
|
4732
4830
|
}
|
|
4733
4831
|
else {
|
|
4734
|
-
|
|
4832
|
+
e.key === 'ArrowDown' ? this.stepDown() : this.stepUp();
|
|
4735
4833
|
}
|
|
4736
4834
|
ignore();
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
const chr = valStr.substr(selectionStart - 1, 1);
|
|
4741
|
-
if (!nums.includes(chr)) {
|
|
4742
|
-
ignore();
|
|
4743
|
-
input.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
4744
|
-
}
|
|
4745
|
-
else {
|
|
4746
|
-
const newVal = toNum(valStr.substr(0, selectionStart - 1) + valStr.substr(selectionEnd));
|
|
4747
|
-
input.value = this._format(newVal);
|
|
4748
|
-
this.value = newVal;
|
|
4749
|
-
ignore();
|
|
4750
|
-
if (newVal == 0) {
|
|
4751
|
-
input.setSelectionRange(1, 1);
|
|
4752
|
-
}
|
|
4753
|
-
else {
|
|
4754
|
-
input.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
4755
|
-
}
|
|
4756
|
-
}
|
|
4757
|
-
}
|
|
4758
|
-
else if (e.key == '.') {
|
|
4759
|
-
if (!this.scale) {
|
|
4760
|
-
ignore();
|
|
4761
|
-
}
|
|
4762
|
-
else if (decimalPointIndex > -1) {
|
|
4763
|
-
input.setSelectionRange(decimalPointIndex + 1, decimalPointIndex + 1);
|
|
4764
|
-
ignore();
|
|
4765
|
-
}
|
|
4766
|
-
else {
|
|
4767
|
-
if (input.selectionEnd != valStr.length) {
|
|
4768
|
-
input.setSelectionRange(valStr.length, valStr.length);
|
|
4769
|
-
ignore();
|
|
4770
|
-
}
|
|
4771
|
-
}
|
|
4772
|
-
}
|
|
4773
|
-
else if (e.key == '-') {
|
|
4774
|
-
const index = valStr.indexOf('-');
|
|
4775
|
-
if (index > -1) {
|
|
4776
|
-
ignore();
|
|
4777
|
-
}
|
|
4778
|
-
else {
|
|
4779
|
-
this.value = Math.abs(this.value) * -1;
|
|
4780
|
-
input.setSelectionRange(index + 1, index + 1);
|
|
4781
|
-
ignore();
|
|
4782
|
-
}
|
|
4783
|
-
}
|
|
4784
|
-
else if (nums.includes(key)) {
|
|
4785
|
-
const newVal = toNum(valStr.substr(0, selectionStart) + key + valStr.substr(selectionEnd));
|
|
4786
|
-
if (newVal < this.minValue) {
|
|
4787
|
-
//TODO : highlight correct number
|
|
4788
|
-
//input.value = this._format(this.minValue);
|
|
4789
|
-
//const diff = this.minValue - val;
|
|
4790
|
-
//this.value = this.minValue;
|
|
4791
|
-
//ignore();
|
|
4792
|
-
// setTimeout(() => {
|
|
4793
|
-
// input.setSelectionRange(input.selectionStart + 1, this.minValue.toString().length);
|
|
4794
|
-
// }, 50);
|
|
4795
|
-
}
|
|
4796
|
-
else if (newVal > this.maxValue) {
|
|
4797
|
-
input.value = this._format(this.maxValue);
|
|
4798
|
-
this.value = this.maxValue;
|
|
4799
|
-
ignore();
|
|
4800
|
-
}
|
|
4801
|
-
else {
|
|
4802
|
-
input.value = this._format(newVal);
|
|
4803
|
-
this.value = newVal;
|
|
4804
|
-
ignore();
|
|
4805
|
-
}
|
|
4835
|
+
setTimeout(() => {
|
|
4836
|
+
input.setSelectionRange(selectionStart, selectionStart);
|
|
4837
|
+
});
|
|
4806
4838
|
}
|
|
4807
4839
|
super._emitOnKeydownEvent(e);
|
|
4808
4840
|
}
|
|
4841
|
+
_handleUpDownClick(e, v) {
|
|
4842
|
+
v == 1 ? this.stepUp() : this.stepDown();
|
|
4843
|
+
}
|
|
4809
4844
|
_onValueChanging(value) {
|
|
4810
|
-
return
|
|
4845
|
+
return _.toNumber(value);
|
|
4811
4846
|
}
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
return this.allowNull ? null : this.minValue;
|
|
4815
|
-
}
|
|
4816
|
-
else if (value > this.maxValue) {
|
|
4817
|
-
return this.maxValue;
|
|
4818
|
-
}
|
|
4819
|
-
else if (value < this.minValue) {
|
|
4820
|
-
return this.minValue;
|
|
4821
|
-
}
|
|
4822
|
-
return parseFloat(value.toFixed(this.scale));
|
|
4847
|
+
stepUp() {
|
|
4848
|
+
this.value += this.step;
|
|
4823
4849
|
}
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
this._maskService.thousandSeparator = this.separator;
|
|
4827
|
-
this._maskService.allowNegativeNumbers = true;
|
|
4828
|
-
const format = `separator.${this.scale}`;
|
|
4829
|
-
return this._maskService.applyMask(value?.toString(), format);
|
|
4830
|
-
}
|
|
4831
|
-
else {
|
|
4832
|
-
this._maskService.thousandSeparator = '';
|
|
4833
|
-
this._maskService.allowNegativeNumbers = true;
|
|
4834
|
-
const format = `separator.${this.scale}`;
|
|
4835
|
-
return this._maskService.applyMask(value?.toString(), format);
|
|
4836
|
-
}
|
|
4850
|
+
stepDown() {
|
|
4851
|
+
this.value -= this.step;
|
|
4837
4852
|
}
|
|
4838
|
-
|
|
4839
|
-
this.
|
|
4853
|
+
decimalStepUp() {
|
|
4854
|
+
this.value += this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep;
|
|
4840
4855
|
}
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
input.value = this._format(this.value);
|
|
4845
|
-
this._emitOnFocusEvent(e);
|
|
4856
|
+
decimalStepDown() {
|
|
4857
|
+
this.value -= this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep;
|
|
4858
|
+
;
|
|
4846
4859
|
}
|
|
4847
4860
|
}
|
|
4848
|
-
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4849
|
-
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4861
|
+
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 });
|
|
4862
|
+
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 });
|
|
4863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4851
4864
|
type: Component,
|
|
4852
4865
|
args: [{ selector: 'ax-number-box', inputs: [
|
|
4853
4866
|
'disabled',
|
|
@@ -4862,17 +4875,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4862
4875
|
'onBlur',
|
|
4863
4876
|
'onFocus',
|
|
4864
4877
|
...TEXTBOX_OUTPUT,
|
|
4865
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-
|
|
4866
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }
|
|
4867
|
-
type: HostBinding,
|
|
4868
|
-
args: ['class']
|
|
4869
|
-
}], separator: [{
|
|
4878
|
+
], 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>" }]
|
|
4879
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { thousandsSeparator: [{
|
|
4870
4880
|
type: Input
|
|
4871
|
-
}],
|
|
4881
|
+
}], padDecimalZeros: [{
|
|
4872
4882
|
type: Input
|
|
4873
4883
|
}], step: [{
|
|
4874
4884
|
type: Input
|
|
4875
|
-
}],
|
|
4885
|
+
}], decimals: [{
|
|
4876
4886
|
type: Input
|
|
4877
4887
|
}], decimalStep: [{
|
|
4878
4888
|
type: Input
|
|
@@ -4882,10 +4892,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4882
4892
|
type: Input
|
|
4883
4893
|
}], maxValue: [{
|
|
4884
4894
|
type: Input
|
|
4885
|
-
}],
|
|
4886
|
-
type:
|
|
4887
|
-
|
|
4888
|
-
type: Input
|
|
4895
|
+
}], _maskDirective: [{
|
|
4896
|
+
type: ViewChild,
|
|
4897
|
+
args: [IMaskDirective]
|
|
4889
4898
|
}] } });
|
|
4890
4899
|
|
|
4891
4900
|
const COMPONENT$9 = [AXNumberBoxComponent];
|
|
@@ -4893,16 +4902,21 @@ const MODULES$9 = [
|
|
|
4893
4902
|
CommonModule,
|
|
4894
4903
|
FormsModule,
|
|
4895
4904
|
AXButtonModule,
|
|
4896
|
-
|
|
4905
|
+
AXEditorDecoratorModule,
|
|
4906
|
+
AXIconModule,
|
|
4907
|
+
IMaskModule
|
|
4897
4908
|
];
|
|
4898
4909
|
class AXNumberBoxModule {
|
|
4899
4910
|
}
|
|
4900
|
-
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4901
|
-
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4911
|
+
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4912
|
+
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
|
|
4902
4913
|
FormsModule,
|
|
4903
|
-
AXButtonModule,
|
|
4904
|
-
|
|
4905
|
-
|
|
4914
|
+
AXButtonModule,
|
|
4915
|
+
AXEditorDecoratorModule,
|
|
4916
|
+
AXIconModule,
|
|
4917
|
+
IMaskModule], exports: [AXNumberBoxComponent] });
|
|
4918
|
+
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$9]] });
|
|
4919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXNumberBoxModule, decorators: [{
|
|
4906
4920
|
type: NgModule,
|
|
4907
4921
|
args: [{
|
|
4908
4922
|
declarations: [...COMPONENT$9],
|
|
@@ -4944,9 +4958,9 @@ class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4944
4958
|
}
|
|
4945
4959
|
}
|
|
4946
4960
|
}
|
|
4947
|
-
AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4948
|
-
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4961
|
+
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 });
|
|
4962
|
+
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 });
|
|
4963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxComponent, decorators: [{
|
|
4950
4964
|
type: Component,
|
|
4951
4965
|
args: [{ selector: 'ax-password-box', inputs: [
|
|
4952
4966
|
'disabled',
|
|
@@ -4961,7 +4975,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4961
4975
|
'onBlur',
|
|
4962
4976
|
'onFocus',
|
|
4963
4977
|
...TEXTBOX_OUTPUT,
|
|
4964
|
-
], 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
|
|
4978
|
+
], 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>" }]
|
|
4965
4979
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
|
|
4966
4980
|
type: HostBinding,
|
|
4967
4981
|
args: ['class']
|
|
@@ -4979,14 +4993,14 @@ const MODULES$8 = [
|
|
|
4979
4993
|
];
|
|
4980
4994
|
class AXPasswordBoxModule {
|
|
4981
4995
|
}
|
|
4982
|
-
AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4983
|
-
AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4996
|
+
AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4997
|
+
AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [CommonModule,
|
|
4984
4998
|
FormsModule,
|
|
4985
4999
|
AXButtonModule,
|
|
4986
5000
|
AXEditorDecoratorModule,
|
|
4987
5001
|
AXIconModule], exports: [AXPasswordBoxComponent] });
|
|
4988
|
-
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5002
|
+
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$8]] });
|
|
5003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
|
|
4990
5004
|
type: NgModule,
|
|
4991
5005
|
args: [{
|
|
4992
5006
|
declarations: [...COMPONENT$8],
|
|
@@ -5011,8 +5025,8 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
5011
5025
|
this.showCloseButton = true;
|
|
5012
5026
|
this.showHeader = true;
|
|
5013
5027
|
}
|
|
5014
|
-
|
|
5015
|
-
|
|
5028
|
+
onInit() {
|
|
5029
|
+
super.onInit();
|
|
5016
5030
|
if (this._platform.is('Mobile')) {
|
|
5017
5031
|
this.draggable = false;
|
|
5018
5032
|
}
|
|
@@ -5082,12 +5096,12 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
5082
5096
|
}
|
|
5083
5097
|
onFullScreen() { }
|
|
5084
5098
|
}
|
|
5085
|
-
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5086
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5099
|
+
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 });
|
|
5100
|
+
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 });
|
|
5101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
5088
5102
|
type: Component,
|
|
5089
|
-
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 <
|
|
5090
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type:
|
|
5103
|
+
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>" }]
|
|
5104
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }, { type: i1$3.AXPlatform }]; }, propDecorators: { onKeydownHandler: [{
|
|
5091
5105
|
type: HostListener,
|
|
5092
5106
|
args: ['keydown.escape', ['$event']]
|
|
5093
5107
|
}] } });
|
|
@@ -5175,26 +5189,27 @@ class AXPopupService {
|
|
|
5175
5189
|
}
|
|
5176
5190
|
}
|
|
5177
5191
|
}
|
|
5178
|
-
AXPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5179
|
-
AXPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
5180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5181
|
-
type: Injectable
|
|
5192
|
+
AXPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupService, deps: [{ token: AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5193
|
+
AXPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupService, providedIn: 'root' });
|
|
5194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupService, decorators: [{
|
|
5195
|
+
type: Injectable,
|
|
5196
|
+
args: [{ providedIn: 'root' }]
|
|
5182
5197
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
5183
5198
|
|
|
5184
5199
|
const COMPONENT$7 = [AXPopupComponent];
|
|
5185
5200
|
const MODULES$7 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
|
|
5186
5201
|
class AXPopupModule {
|
|
5187
5202
|
}
|
|
5188
|
-
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5189
|
-
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5190
|
-
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5203
|
+
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5204
|
+
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] });
|
|
5205
|
+
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupModule, providers: [], imports: [[...MODULES$7]] });
|
|
5206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPopupModule, decorators: [{
|
|
5192
5207
|
type: NgModule,
|
|
5193
5208
|
args: [{
|
|
5194
5209
|
declarations: [...COMPONENT$7],
|
|
5195
5210
|
imports: [...MODULES$7],
|
|
5196
5211
|
exports: [...COMPONENT$7],
|
|
5197
|
-
providers: [
|
|
5212
|
+
providers: [],
|
|
5198
5213
|
}]
|
|
5199
5214
|
}] });
|
|
5200
5215
|
|
|
@@ -5211,9 +5226,9 @@ class AXRadioComponent extends AXBaseValueComponentMixin {
|
|
|
5211
5226
|
}
|
|
5212
5227
|
}
|
|
5213
5228
|
}
|
|
5214
|
-
AXRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5215
|
-
AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5229
|
+
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 });
|
|
5230
|
+
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 });
|
|
5231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioComponent, decorators: [{
|
|
5217
5232
|
type: Component,
|
|
5218
5233
|
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>" }]
|
|
5219
5234
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5222,10 +5237,10 @@ const COMPONENT$6 = [AXRadioComponent];
|
|
|
5222
5237
|
const MODULES$6 = [CommonModule, FormsModule];
|
|
5223
5238
|
class AXRadioModule {
|
|
5224
5239
|
}
|
|
5225
|
-
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5226
|
-
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5227
|
-
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5240
|
+
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5241
|
+
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule, FormsModule], exports: [AXRadioComponent] });
|
|
5242
|
+
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$6]] });
|
|
5243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRadioModule, decorators: [{
|
|
5229
5244
|
type: NgModule,
|
|
5230
5245
|
args: [{
|
|
5231
5246
|
declarations: [...COMPONENT$6],
|
|
@@ -5241,9 +5256,9 @@ class AXRangeSliderComponent extends AXBaseComponentMixin {
|
|
|
5241
5256
|
//TODO: ax-range-slider
|
|
5242
5257
|
}
|
|
5243
5258
|
}
|
|
5244
|
-
AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5245
|
-
AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5259
|
+
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 });
|
|
5260
|
+
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 });
|
|
5261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderComponent, decorators: [{
|
|
5247
5262
|
type: Component,
|
|
5248
5263
|
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\">" }]
|
|
5249
5264
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5252,10 +5267,10 @@ const COMPONENT$5 = [AXRangeSliderComponent];
|
|
|
5252
5267
|
const MODULES$5 = [CommonModule];
|
|
5253
5268
|
class AXRangeSliderModule {
|
|
5254
5269
|
}
|
|
5255
|
-
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5256
|
-
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5257
|
-
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5270
|
+
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5271
|
+
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
|
|
5272
|
+
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$5]] });
|
|
5273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXRangeSliderModule, decorators: [{
|
|
5259
5274
|
type: NgModule,
|
|
5260
5275
|
args: [{
|
|
5261
5276
|
declarations: [...COMPONENT$5],
|
|
@@ -5266,27 +5281,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5266
5281
|
}] });
|
|
5267
5282
|
|
|
5268
5283
|
class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
5269
|
-
constructor(
|
|
5270
|
-
super(
|
|
5271
|
-
this.
|
|
5284
|
+
constructor(_elementRef, _cdr, _zone, _platform) {
|
|
5285
|
+
super(_elementRef, _cdr);
|
|
5286
|
+
this._elementRef = _elementRef;
|
|
5287
|
+
this._cdr = _cdr;
|
|
5288
|
+
this._zone = _zone;
|
|
5289
|
+
this._platform = _platform;
|
|
5290
|
+
this.checkbox = false;
|
|
5272
5291
|
this._currentfocusedIndex = -1;
|
|
5273
|
-
this.
|
|
5292
|
+
this._isMobile = false;
|
|
5274
5293
|
}
|
|
5275
5294
|
_handleArrowClickEvent(e) {
|
|
5295
|
+
e.nativeEvent.stopPropagation();
|
|
5276
5296
|
this.toggle();
|
|
5277
5297
|
}
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5298
|
+
_handleInputClickEvent(e) {
|
|
5299
|
+
e.stopPropagation();
|
|
5300
|
+
this.toggle();
|
|
5301
|
+
}
|
|
5302
|
+
onInit() {
|
|
5303
|
+
super.onInit();
|
|
5304
|
+
this._target = this._elementRef.nativeElement;
|
|
5305
|
+
this._isMobile = this._platform.is('Mobile');
|
|
5306
|
+
this._popoverTitle = this.placeholder || AXTranslator.get('selectbox.popover.title');
|
|
5282
5307
|
this.onOpened.subscribe(() => {
|
|
5283
|
-
this.
|
|
5308
|
+
if (this.displayItems.length == 0) {
|
|
5309
|
+
this._fetchData();
|
|
5310
|
+
}
|
|
5311
|
+
else {
|
|
5312
|
+
this._focusSelectedItem();
|
|
5313
|
+
}
|
|
5314
|
+
});
|
|
5315
|
+
this.onClosed.subscribe(() => {
|
|
5316
|
+
this.focus();
|
|
5284
5317
|
});
|
|
5285
5318
|
}
|
|
5319
|
+
onViewInit() {
|
|
5320
|
+
super.onViewInit();
|
|
5321
|
+
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
5322
|
+
}
|
|
5286
5323
|
_handleOnItemClick(e, item) {
|
|
5324
|
+
if (this.isItemDisabled(item)) {
|
|
5325
|
+
return;
|
|
5326
|
+
}
|
|
5287
5327
|
if (!this.multiple)
|
|
5288
5328
|
this.close();
|
|
5289
5329
|
this.toggleSelect(item);
|
|
5330
|
+
this._cdr.detectChanges();
|
|
5290
5331
|
}
|
|
5291
5332
|
_handleListScroll(e) {
|
|
5292
5333
|
const list = e.target;
|
|
@@ -5297,13 +5338,15 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5297
5338
|
}
|
|
5298
5339
|
_checkForLoadData() {
|
|
5299
5340
|
const list = this.listContainer.nativeElement;
|
|
5300
|
-
|
|
5341
|
+
const headerSize = list.parentElement.querySelector('.ax-overlay-pane-header')?.offsetHeight || 0;
|
|
5342
|
+
if (this.loadedCount < this.totalCount && list.scrollHeight < ((list.parentElement.clientHeight - headerSize) * 1.5)) {
|
|
5301
5343
|
this._fetchData();
|
|
5302
5344
|
}
|
|
5303
5345
|
}
|
|
5304
5346
|
_onDataLoaded() {
|
|
5305
5347
|
setTimeout(() => {
|
|
5306
5348
|
this._checkForLoadData();
|
|
5349
|
+
this.popover.updatePosition();
|
|
5307
5350
|
}, 100);
|
|
5308
5351
|
}
|
|
5309
5352
|
_handleOnRemoveItemClick(e, item) {
|
|
@@ -5313,6 +5356,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5313
5356
|
_handleBadgeRemove(e, item) {
|
|
5314
5357
|
this.unselectItems(item);
|
|
5315
5358
|
e.stopPropagation();
|
|
5359
|
+
this.close();
|
|
5316
5360
|
}
|
|
5317
5361
|
_handleKeydown(e) {
|
|
5318
5362
|
if (!(this._getHostElement() == document.activeElement ||
|
|
@@ -5334,7 +5378,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5334
5378
|
e.preventDefault();
|
|
5335
5379
|
return;
|
|
5336
5380
|
}
|
|
5337
|
-
else if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0 && !this.
|
|
5381
|
+
else if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0 && !this.popover.isOpen && e.type === 'keydown') {
|
|
5338
5382
|
if (this.multiple) {
|
|
5339
5383
|
this.open();
|
|
5340
5384
|
}
|
|
@@ -5356,7 +5400,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5356
5400
|
e.preventDefault();
|
|
5357
5401
|
return;
|
|
5358
5402
|
}
|
|
5359
|
-
if (this.
|
|
5403
|
+
if (this.popover.isOpen) {
|
|
5360
5404
|
if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0) {
|
|
5361
5405
|
this.isUserInput = true;
|
|
5362
5406
|
this._focusItemByNav((e.key === 'ArrowDown' ? 1 : -1));
|
|
@@ -5366,9 +5410,14 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5366
5410
|
e.preventDefault();
|
|
5367
5411
|
return;
|
|
5368
5412
|
}
|
|
5369
|
-
|
|
5413
|
+
//e.key === 'Enter' ||
|
|
5414
|
+
if ((e.code === 'Space')) {
|
|
5415
|
+
e.preventDefault();
|
|
5370
5416
|
const focusedItem = this.displayItems[this._currentfocusedIndex];
|
|
5371
5417
|
if (focusedItem) {
|
|
5418
|
+
if (this.isItemDisabled(focusedItem)) {
|
|
5419
|
+
return;
|
|
5420
|
+
}
|
|
5372
5421
|
if (this.multiple) {
|
|
5373
5422
|
this.isUserInput = true;
|
|
5374
5423
|
this.toggleSelect(focusedItem);
|
|
@@ -5379,7 +5428,6 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5379
5428
|
this.close();
|
|
5380
5429
|
}
|
|
5381
5430
|
}
|
|
5382
|
-
e.preventDefault();
|
|
5383
5431
|
return;
|
|
5384
5432
|
}
|
|
5385
5433
|
}
|
|
@@ -5403,7 +5451,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5403
5451
|
}
|
|
5404
5452
|
_focusItemByIndex(inedx) {
|
|
5405
5453
|
if (this.listContainer) {
|
|
5406
|
-
this.
|
|
5454
|
+
this._zone.runOutsideAngular(() => {
|
|
5407
5455
|
const itemDiv = this.listContainer.nativeElement.querySelector(`.ax-list-item:nth-child(${inedx + 1})`);
|
|
5408
5456
|
if (itemDiv) {
|
|
5409
5457
|
itemDiv.focus();
|
|
@@ -5428,14 +5476,16 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5428
5476
|
this._currentfocusedIndex = index;
|
|
5429
5477
|
}
|
|
5430
5478
|
}
|
|
5431
|
-
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5432
|
-
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5479
|
+
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 });
|
|
5480
|
+
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 });
|
|
5481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
5434
5482
|
type: Component,
|
|
5435
|
-
args: [{ selector: 'ax-select-box', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...
|
|
5436
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { popover: [{
|
|
5483
|
+
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>" }]
|
|
5484
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
5437
5485
|
type: ViewChild,
|
|
5438
|
-
args: [AXPopoverComponent]
|
|
5486
|
+
args: [AXPopoverComponent, { static: true }]
|
|
5487
|
+
}], checkbox: [{
|
|
5488
|
+
type: Input
|
|
5439
5489
|
}], listContainer: [{
|
|
5440
5490
|
type: ViewChild,
|
|
5441
5491
|
args: ['listContainer', { static: true }]
|
|
@@ -5446,13 +5496,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5446
5496
|
|
|
5447
5497
|
class AXSelectBoxModule {
|
|
5448
5498
|
}
|
|
5449
|
-
AXSelectBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5450
|
-
AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5451
|
-
AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5499
|
+
AXSelectBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5500
|
+
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] });
|
|
5501
|
+
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]] });
|
|
5502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectBoxModule, decorators: [{
|
|
5453
5503
|
type: NgModule,
|
|
5454
5504
|
args: [{
|
|
5455
|
-
imports: [CommonModule,
|
|
5505
|
+
imports: [CommonModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXTranslationModule, AXIconModule, AXPopoverModule, AXButtonModule, AXLabelModule, AXLoadingModule],
|
|
5456
5506
|
exports: [AXSelectBoxComponent],
|
|
5457
5507
|
declarations: [AXSelectBoxComponent],
|
|
5458
5508
|
providers: [],
|
|
@@ -5474,9 +5524,9 @@ class AXSelectionListComponent extends AXBaseSelectionValueMixin {
|
|
|
5474
5524
|
}
|
|
5475
5525
|
}
|
|
5476
5526
|
}
|
|
5477
|
-
AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5478
|
-
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5527
|
+
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 });
|
|
5528
|
+
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 });
|
|
5529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListComponent, decorators: [{
|
|
5480
5530
|
type: Component,
|
|
5481
5531
|
args: [{ selector: 'ax-selection-list', inputs: [
|
|
5482
5532
|
'disabled',
|
|
@@ -5497,10 +5547,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5497
5547
|
|
|
5498
5548
|
class AXSelectionListModule {
|
|
5499
5549
|
}
|
|
5500
|
-
AXSelectionListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5501
|
-
AXSelectionListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5502
|
-
AXSelectionListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5550
|
+
AXSelectionListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5551
|
+
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] });
|
|
5552
|
+
AXSelectionListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListModule, providers: [], imports: [[CommonModule, FormsModule, AXCheckBoxModule, AXRadioModule, AXLabelModule, AXFormModule]] });
|
|
5553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSelectionListModule, decorators: [{
|
|
5504
5554
|
type: NgModule,
|
|
5505
5555
|
args: [{
|
|
5506
5556
|
declarations: [AXSelectionListComponent],
|
|
@@ -5515,9 +5565,9 @@ class AXSideMenuComponent extends AXBaseComponentMixin {
|
|
|
5515
5565
|
super(elementRef, cdr);
|
|
5516
5566
|
}
|
|
5517
5567
|
}
|
|
5518
|
-
AXSideMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5519
|
-
AXSideMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5568
|
+
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 });
|
|
5569
|
+
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 });
|
|
5570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuComponent, decorators: [{
|
|
5521
5571
|
type: Component,
|
|
5522
5572
|
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" }]
|
|
5523
5573
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5526,10 +5576,10 @@ const COMPONENT$4 = [AXSideMenuComponent];
|
|
|
5526
5576
|
const MODULES$4 = [CommonModule];
|
|
5527
5577
|
class AXSideMenuModule {
|
|
5528
5578
|
}
|
|
5529
|
-
AXSideMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5530
|
-
AXSideMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5531
|
-
AXSideMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5579
|
+
AXSideMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5580
|
+
AXSideMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuModule, declarations: [AXSideMenuComponent], imports: [CommonModule], exports: [AXSideMenuComponent] });
|
|
5581
|
+
AXSideMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuModule, providers: [], imports: [[...MODULES$4]] });
|
|
5582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuModule, decorators: [{
|
|
5533
5583
|
type: NgModule,
|
|
5534
5584
|
args: [{
|
|
5535
5585
|
declarations: [...COMPONENT$4],
|
|
@@ -5553,9 +5603,9 @@ class AXSwitchComponent extends AXBaseValueComponentMixin {
|
|
|
5553
5603
|
return this._classes;
|
|
5554
5604
|
}
|
|
5555
5605
|
}
|
|
5556
|
-
AXSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5557
|
-
AXSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5606
|
+
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 });
|
|
5607
|
+
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 });
|
|
5608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchComponent, decorators: [{
|
|
5559
5609
|
type: Component,
|
|
5560
5610
|
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>" }]
|
|
5561
5611
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
@@ -5565,10 +5615,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
5565
5615
|
|
|
5566
5616
|
class AXSwitchModule {
|
|
5567
5617
|
}
|
|
5568
|
-
AXSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5569
|
-
AXSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5570
|
-
AXSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5618
|
+
AXSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5619
|
+
AXSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchModule, declarations: [AXSwitchComponent], imports: [CommonModule, FormsModule], exports: [AXSwitchComponent] });
|
|
5620
|
+
AXSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchModule, providers: [], imports: [[CommonModule, FormsModule]] });
|
|
5621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSwitchModule, decorators: [{
|
|
5572
5622
|
type: NgModule,
|
|
5573
5623
|
args: [{
|
|
5574
5624
|
declarations: [AXSwitchComponent],
|
|
@@ -5610,8 +5660,8 @@ class AXTabItemComponent extends AXBaseClickableMixin {
|
|
|
5610
5660
|
});
|
|
5611
5661
|
}
|
|
5612
5662
|
}
|
|
5613
|
-
AXTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5614
|
-
AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5663
|
+
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 });
|
|
5664
|
+
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: `
|
|
5615
5665
|
<ng-container *ngIf="headerTemplate;else header">
|
|
5616
5666
|
<ng-container [ngTemplateOutlet]="headerTemplate" [ngTemplateOutletContext]="{ $implicit: {text,active} }"></ng-container>
|
|
5617
5667
|
</ng-container>
|
|
@@ -5629,7 +5679,7 @@ AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5629
5679
|
</ng-content>
|
|
5630
5680
|
</ng-template>
|
|
5631
5681
|
`, 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 });
|
|
5632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabItemComponent, decorators: [{
|
|
5633
5683
|
type: Component,
|
|
5634
5684
|
args: [{
|
|
5635
5685
|
selector: 'ax-tab-item',
|
|
@@ -5712,14 +5762,14 @@ class AXTabsComponent extends AXBaseComponent {
|
|
|
5712
5762
|
});
|
|
5713
5763
|
}
|
|
5714
5764
|
}
|
|
5715
|
-
AXTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5716
|
-
AXTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5765
|
+
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 });
|
|
5766
|
+
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: `
|
|
5717
5767
|
<div class="ax-items-wrapper">
|
|
5718
5768
|
<ng-content select="ax-tab-item">
|
|
5719
5769
|
</ng-content>
|
|
5720
5770
|
</div>
|
|
5721
5771
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsComponent, decorators: [{
|
|
5723
5773
|
type: Component,
|
|
5724
5774
|
args: [{
|
|
5725
5775
|
selector: 'ax-tabs',
|
|
@@ -5764,9 +5814,9 @@ class AXTabContentDirective {
|
|
|
5764
5814
|
}
|
|
5765
5815
|
}
|
|
5766
5816
|
}
|
|
5767
|
-
AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5768
|
-
AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
5769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5817
|
+
AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabContentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5818
|
+
AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0 });
|
|
5819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabContentDirective, decorators: [{
|
|
5770
5820
|
type: Directive,
|
|
5771
5821
|
args: [{
|
|
5772
5822
|
selector: '[axTabContent]',
|
|
@@ -5779,10 +5829,10 @@ const COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective]
|
|
|
5779
5829
|
const MODULES$3 = [CommonModule, PortalModule, AXEditorDecoratorModule];
|
|
5780
5830
|
class AXTabsModule {
|
|
5781
5831
|
}
|
|
5782
|
-
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5783
|
-
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5784
|
-
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5832
|
+
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5833
|
+
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] });
|
|
5834
|
+
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES$3]] });
|
|
5835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTabsModule, decorators: [{
|
|
5786
5836
|
type: NgModule,
|
|
5787
5837
|
args: [{
|
|
5788
5838
|
declarations: [...COMPONENT$3],
|
|
@@ -5889,12 +5939,12 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
5889
5939
|
this._emitOnFocusEvent(e);
|
|
5890
5940
|
}
|
|
5891
5941
|
}
|
|
5892
|
-
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5893
|
-
AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5942
|
+
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 });
|
|
5943
|
+
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 });
|
|
5944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
|
|
5895
5945
|
type: Component,
|
|
5896
|
-
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<
|
|
5897
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
5946
|
+
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>" }]
|
|
5947
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.MaskApplierService }]; }, propDecorators: { hostClass: [{
|
|
5898
5948
|
type: HostBinding,
|
|
5899
5949
|
args: ['class']
|
|
5900
5950
|
}], minValue: [{
|
|
@@ -5918,12 +5968,12 @@ const MODULES$2 = [
|
|
|
5918
5968
|
];
|
|
5919
5969
|
class AXTimeBoxModule {
|
|
5920
5970
|
}
|
|
5921
|
-
AXTimeBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5922
|
-
AXTimeBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5971
|
+
AXTimeBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5972
|
+
AXTimeBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [CommonModule,
|
|
5923
5973
|
FormsModule,
|
|
5924
|
-
AXButtonModule, i1$
|
|
5925
|
-
AXTimeBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5974
|
+
AXButtonModule, i1$4.NgxMaskModule], exports: [AXTimeBoxComponent] });
|
|
5975
|
+
AXTimeBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxModule, providers: [], imports: [[...MODULES$2]] });
|
|
5976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTimeBoxModule, decorators: [{
|
|
5927
5977
|
type: NgModule,
|
|
5928
5978
|
args: [{
|
|
5929
5979
|
declarations: [...COMPONENT$2],
|
|
@@ -5966,9 +6016,9 @@ class AXToastComponent extends AXBaseComponentMixin {
|
|
|
5966
6016
|
}
|
|
5967
6017
|
}
|
|
5968
6018
|
}
|
|
5969
|
-
AXToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5970
|
-
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6019
|
+
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 });
|
|
6020
|
+
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 });
|
|
6021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastComponent, decorators: [{
|
|
5972
6022
|
type: Component,
|
|
5973
6023
|
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>" }]
|
|
5974
6024
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5977,10 +6027,10 @@ const COMPONENT$1 = [AXToastComponent];
|
|
|
5977
6027
|
const MODULES$1 = [CommonModule, AXButtonModule];
|
|
5978
6028
|
class AXToastModule {
|
|
5979
6029
|
}
|
|
5980
|
-
AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5981
|
-
AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5982
|
-
AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6030
|
+
AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6031
|
+
AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule], exports: [AXToastComponent] });
|
|
6032
|
+
AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastModule, providers: [], imports: [[...MODULES$1]] });
|
|
6033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastModule, decorators: [{
|
|
5984
6034
|
type: NgModule,
|
|
5985
6035
|
args: [{
|
|
5986
6036
|
declarations: [...COMPONENT$1],
|
|
@@ -6092,9 +6142,9 @@ class AXToastService {
|
|
|
6092
6142
|
}
|
|
6093
6143
|
}
|
|
6094
6144
|
}
|
|
6095
|
-
AXToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6096
|
-
AXToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
6097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6145
|
+
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 });
|
|
6146
|
+
AXToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastService, providedIn: 'root' });
|
|
6147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXToastService, decorators: [{
|
|
6098
6148
|
type: Injectable,
|
|
6099
6149
|
args: [{ providedIn: 'root' }]
|
|
6100
6150
|
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.Injector }]; } });
|
|
@@ -6106,8 +6156,8 @@ class AXTooltipComponent extends AXBaseComponentMixin {
|
|
|
6106
6156
|
this.position = 'top';
|
|
6107
6157
|
}
|
|
6108
6158
|
}
|
|
6109
|
-
AXTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6110
|
-
AXTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
6159
|
+
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 });
|
|
6160
|
+
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: [
|
|
6111
6161
|
trigger('tooltip', [
|
|
6112
6162
|
transition(':enter', [
|
|
6113
6163
|
style({ opacity: 0 }),
|
|
@@ -6116,7 +6166,7 @@ AXTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6116
6166
|
transition(':leave', [animate(50, style({ opacity: 0 }))]),
|
|
6117
6167
|
]),
|
|
6118
6168
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipComponent, decorators: [{
|
|
6120
6170
|
type: Component,
|
|
6121
6171
|
args: [{ selector: 'ax-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-tooltip' }, animations: [
|
|
6122
6172
|
trigger('tooltip', [
|
|
@@ -6195,9 +6245,9 @@ class AXTooltipDirective {
|
|
|
6195
6245
|
this.overlayRef.detach();
|
|
6196
6246
|
}
|
|
6197
6247
|
}
|
|
6198
|
-
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6199
|
-
AXTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
6200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6248
|
+
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 });
|
|
6249
|
+
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 });
|
|
6250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipDirective, decorators: [{
|
|
6201
6251
|
type: Directive,
|
|
6202
6252
|
args: [{ selector: '[axTooltip]' }]
|
|
6203
6253
|
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i1$2.OverlayPositionBuilder }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
@@ -6218,10 +6268,10 @@ const COMPONENT = [AXTooltipComponent, AXTooltipDirective];
|
|
|
6218
6268
|
const MODULES = [CommonModule, OverlayModule];
|
|
6219
6269
|
class AXTooltipModule {
|
|
6220
6270
|
}
|
|
6221
|
-
AXTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6222
|
-
AXTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
6223
|
-
AXTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
6224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6271
|
+
AXTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6272
|
+
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] });
|
|
6273
|
+
AXTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipModule, providers: [], imports: [[...MODULES]] });
|
|
6274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTooltipModule, decorators: [{
|
|
6225
6275
|
type: NgModule,
|
|
6226
6276
|
args: [{
|
|
6227
6277
|
declarations: [...COMPONENT],
|
|
@@ -6318,9 +6368,9 @@ class AXValidationRuleComponent extends AXBaseComponentMixin {
|
|
|
6318
6368
|
});
|
|
6319
6369
|
}
|
|
6320
6370
|
}
|
|
6321
|
-
AXValidationRuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6322
|
-
AXValidationRuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
6323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6371
|
+
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 });
|
|
6372
|
+
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 });
|
|
6373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationRuleComponent, decorators: [{
|
|
6324
6374
|
type: Component,
|
|
6325
6375
|
args: [{
|
|
6326
6376
|
selector: 'ax-validation-rule',
|
|
@@ -6354,10 +6404,10 @@ class AXValidationModule {
|
|
|
6354
6404
|
});
|
|
6355
6405
|
}
|
|
6356
6406
|
}
|
|
6357
|
-
AXValidationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
6358
|
-
AXValidationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
6359
|
-
AXValidationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
6360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
6407
|
+
AXValidationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6408
|
+
AXValidationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationModule, declarations: [AXValidationRuleComponent], imports: [CommonModule], exports: [AXValidationRuleComponent] });
|
|
6409
|
+
AXValidationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationModule, providers: [], imports: [[CommonModule]] });
|
|
6410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXValidationModule, decorators: [{
|
|
6361
6411
|
type: NgModule,
|
|
6362
6412
|
args: [{
|
|
6363
6413
|
declarations: [AXValidationRuleComponent],
|
|
@@ -6376,5 +6426,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
6376
6426
|
* Generated bundle index. Do not edit.
|
|
6377
6427
|
*/
|
|
6378
6428
|
|
|
6379
|
-
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,
|
|
6429
|
+
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 };
|
|
6380
6430
|
//# sourceMappingURL=acorex-components.mjs.map
|