@acorex/components 5.0.36 → 5.0.40
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 +3 -3
- 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 +16 -2
- 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 -20
- 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 +18 -8
- 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 +3 -3
- 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 +19 -16
- 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 +53 -21
- package/esm2020/lib/selectbox/selectbox.module.mjs +8 -6
- 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 +942 -888
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +938 -888
- 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 -6
- package/lib/checkbox/checkbox.module.d.ts +2 -1
- package/lib/datepicker/datepicker.component.d.ts +12 -7
- 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/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 -0
- package/lib/popup/popup.component.d.ts +1 -1
- package/lib/selectbox/selectbox.component.d.ts +7 -2
- package/lib/selectbox/selectbox.module.d.ts +7 -5
- package/lib/textbox/textbox.component.d.ts +1 -4
- package/package.json +6 -5
- 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
|
-
import { Injectable, Inject, EventEmitter, Directive, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, HostListener, ContentChildren, Optional,
|
|
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) {
|
|
@@ -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,9 +1522,9 @@ 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
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: [{
|
|
@@ -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,154 +2769,16 @@ 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
|
-
get target() {
|
|
2774
|
-
return this._target;
|
|
2775
|
-
}
|
|
2776
|
-
set target(v) {
|
|
2777
|
-
this._target = v;
|
|
2778
|
-
this._cdr.markForCheck();
|
|
2779
|
-
}
|
|
2780
|
-
}
|
|
2781
|
-
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 });
|
|
2782
|
-
AXLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", 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 });
|
|
2783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelComponent, decorators: [{
|
|
2784
|
-
type: Component,
|
|
2785
|
-
args: [{ selector: 'ax-label', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<label [attr.for]=\"target\">\r\n <ng-content></ng-content>\r\n</label>" }]
|
|
2786
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2787
|
-
|
|
2788
|
-
const COMPONENT$g = [AXLabelComponent];
|
|
2789
|
-
const MODULES$g = [CommonModule];
|
|
2790
|
-
class AXLabelModule {
|
|
2791
|
-
}
|
|
2792
|
-
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2793
|
-
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
2794
|
-
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$g]] });
|
|
2795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
2796
|
-
type: NgModule,
|
|
2797
|
-
args: [{
|
|
2798
|
-
declarations: [...COMPONENT$g],
|
|
2799
|
-
imports: [...MODULES$g],
|
|
2800
|
-
exports: [...COMPONENT$g],
|
|
2801
|
-
providers: [],
|
|
2802
|
-
}]
|
|
2803
|
-
}] });
|
|
2804
|
-
|
|
2805
2772
|
class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
2806
2773
|
constructor(elementRef, cdr) {
|
|
2807
2774
|
super(elementRef, cdr);
|
|
2808
2775
|
}
|
|
2809
2776
|
onInit() {
|
|
2810
2777
|
super.onInit();
|
|
2811
|
-
;
|
|
2812
2778
|
if (!this.allowNull && this.value == null) {
|
|
2813
2779
|
this.value = false;
|
|
2814
2780
|
}
|
|
2815
2781
|
}
|
|
2816
|
-
onViewInit() {
|
|
2817
|
-
if (this._label)
|
|
2818
|
-
this._label.target = this.id;
|
|
2819
|
-
}
|
|
2820
2782
|
_onValueChanging(value) {
|
|
2821
2783
|
if (this.allowNull && value == null) {
|
|
2822
2784
|
this._stateIndeterminate = true;
|
|
@@ -2835,29 +2797,23 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
|
2835
2797
|
}
|
|
2836
2798
|
}
|
|
2837
2799
|
}
|
|
2838
|
-
AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2839
|
-
AXCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2840
|
-
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: [{
|
|
2841
2803
|
type: Component,
|
|
2842
|
-
args: [{ selector: 'ax-check-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "
|
|
2843
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }
|
|
2844
|
-
type: ContentChildren,
|
|
2845
|
-
args: [AXFormHintComponent]
|
|
2846
|
-
}], _label: [{
|
|
2847
|
-
type: ContentChild,
|
|
2848
|
-
args: [AXLabelComponent]
|
|
2849
|
-
}] } });
|
|
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 }]; } });
|
|
2850
2806
|
|
|
2851
2807
|
class AXCheckBoxModule {
|
|
2852
2808
|
}
|
|
2853
|
-
AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2854
|
-
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2855
|
-
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2856
|
-
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: [{
|
|
2857
2813
|
type: NgModule,
|
|
2858
2814
|
args: [{
|
|
2859
2815
|
declarations: [AXCheckBoxComponent],
|
|
2860
|
-
imports: [CommonModule, FormsModule],
|
|
2816
|
+
imports: [CommonModule, FormsModule, AXEditorDecoratorModule],
|
|
2861
2817
|
exports: [AXCheckBoxComponent],
|
|
2862
2818
|
providers: [],
|
|
2863
2819
|
}]
|
|
@@ -2907,9 +2863,9 @@ class AXDataListComponent extends AXBaseSelectionValueMixin {
|
|
|
2907
2863
|
}, 100);
|
|
2908
2864
|
}
|
|
2909
2865
|
}
|
|
2910
|
-
AXDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2911
|
-
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
2912
|
-
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: [{
|
|
2913
2869
|
type: Component,
|
|
2914
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>" }]
|
|
2915
2871
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _container: [{
|
|
@@ -2932,19 +2888,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2932
2888
|
type: Input
|
|
2933
2889
|
}] } });
|
|
2934
2890
|
|
|
2935
|
-
const COMPONENT$
|
|
2936
|
-
const MODULES$
|
|
2891
|
+
const COMPONENT$g = [AXDataListComponent];
|
|
2892
|
+
const MODULES$g = [CommonModule, AXButtonModule];
|
|
2937
2893
|
class AXDataListModule {
|
|
2938
2894
|
}
|
|
2939
|
-
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2940
|
-
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2941
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2942
|
-
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: [{
|
|
2943
2899
|
type: NgModule,
|
|
2944
2900
|
args: [{
|
|
2945
|
-
declarations: [...COMPONENT$
|
|
2946
|
-
imports: [...MODULES$
|
|
2947
|
-
exports: [...COMPONENT$
|
|
2901
|
+
declarations: [...COMPONENT$g],
|
|
2902
|
+
imports: [...MODULES$g],
|
|
2903
|
+
exports: [...COMPONENT$g],
|
|
2948
2904
|
providers: [],
|
|
2949
2905
|
}]
|
|
2950
2906
|
}] });
|
|
@@ -2952,6 +2908,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2952
2908
|
class AXPopoverComponent extends AXBaseComponent {
|
|
2953
2909
|
constructor(_elementRef, _cdr, _zone, _overlay, _platform, _viewContainerRef) {
|
|
2954
2910
|
super(_elementRef, _cdr);
|
|
2911
|
+
this._elementRef = _elementRef;
|
|
2955
2912
|
this._cdr = _cdr;
|
|
2956
2913
|
this._zone = _zone;
|
|
2957
2914
|
this._overlay = _overlay;
|
|
@@ -3086,11 +3043,10 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3086
3043
|
if (!targetRef)
|
|
3087
3044
|
return;
|
|
3088
3045
|
if (!this._overlayRef) {
|
|
3089
|
-
debugger;
|
|
3090
3046
|
if (this._platform.is('Mobile')) {
|
|
3091
3047
|
this._overlayRef = this._overlay.create({
|
|
3092
3048
|
positionStrategy: this._overlay.position().global().centerHorizontally().centerVertically(),
|
|
3093
|
-
|
|
3049
|
+
disposeOnNavigation: true,
|
|
3094
3050
|
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3095
3051
|
hasBackdrop: true
|
|
3096
3052
|
});
|
|
@@ -3101,7 +3057,7 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3101
3057
|
.flexibleConnectedTo(targetRef)
|
|
3102
3058
|
.withPositions(Array.isArray(this.position) ? this.position : [this.position])
|
|
3103
3059
|
.withPush(false),
|
|
3104
|
-
|
|
3060
|
+
disposeOnNavigation: true,
|
|
3105
3061
|
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
3106
3062
|
hasBackdrop: this.hasBackdrop,
|
|
3107
3063
|
backdropClass: [this.backdropClass || 'cdk-overlay-transparent-backdrop']
|
|
@@ -3116,15 +3072,15 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3116
3072
|
}
|
|
3117
3073
|
}));
|
|
3118
3074
|
}
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
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
|
+
}));
|
|
3128
3084
|
}
|
|
3129
3085
|
if (!this._templatePortal) {
|
|
3130
3086
|
this._templatePortal = new TemplatePortal(this._baseTemplate, this._viewContainerRef);
|
|
@@ -3136,13 +3092,16 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3136
3092
|
_addSub(sub) {
|
|
3137
3093
|
this._subs.push(sub);
|
|
3138
3094
|
}
|
|
3095
|
+
updatePosition() {
|
|
3096
|
+
this._overlayRef?.updatePosition();
|
|
3097
|
+
}
|
|
3139
3098
|
}
|
|
3140
|
-
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3141
|
-
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3142
|
-
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: [{
|
|
3143
3102
|
type: Component,
|
|
3144
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>" }]
|
|
3145
|
-
}], 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: [{
|
|
3146
3105
|
type: Input
|
|
3147
3106
|
}], position: [{
|
|
3148
3107
|
type: Input
|
|
@@ -3187,6 +3146,13 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3187
3146
|
value: v
|
|
3188
3147
|
});
|
|
3189
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
|
+
}
|
|
3190
3156
|
_handleArrowClickEvent(e) {
|
|
3191
3157
|
this.toggle();
|
|
3192
3158
|
}
|
|
@@ -3219,7 +3185,6 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3219
3185
|
switch (part[0]) {
|
|
3220
3186
|
case 'dd':
|
|
3221
3187
|
case 'DD':
|
|
3222
|
-
debugger;
|
|
3223
3188
|
const newVal = Math.max(1, Math.min(31, Number(word + e.key)));
|
|
3224
3189
|
this.value = dateVal.set('day', newVal).date;
|
|
3225
3190
|
break;
|
|
@@ -3291,14 +3256,17 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
3291
3256
|
input.setSelectionRange(start, end);
|
|
3292
3257
|
}
|
|
3293
3258
|
}
|
|
3294
|
-
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3295
|
-
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3296
|
-
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: [{
|
|
3297
3262
|
type: Component,
|
|
3298
|
-
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<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\"
|
|
3299
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type:
|
|
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: [{
|
|
3300
3265
|
type: ViewChild,
|
|
3301
|
-
args: [AXPopoverComponent]
|
|
3266
|
+
args: [AXPopoverComponent, { static: true }]
|
|
3267
|
+
}], _calendar: [{
|
|
3268
|
+
type: ViewChild,
|
|
3269
|
+
args: [AXCalendarComponent, { static: true }]
|
|
3302
3270
|
}], formatChange: [{
|
|
3303
3271
|
type: Output
|
|
3304
3272
|
}], format: [{
|
|
@@ -3307,10 +3275,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3307
3275
|
|
|
3308
3276
|
class AXPopoverModule {
|
|
3309
3277
|
}
|
|
3310
|
-
AXPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3311
|
-
AXPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3312
|
-
AXPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3313
|
-
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: [{
|
|
3314
3282
|
type: NgModule,
|
|
3315
3283
|
args: [{
|
|
3316
3284
|
declarations: [AXPopoverComponent],
|
|
@@ -3320,63 +3288,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3320
3288
|
}]
|
|
3321
3289
|
}] });
|
|
3322
3290
|
|
|
3323
|
-
class AXInputMaskComponent {
|
|
3324
|
-
constructor() {
|
|
3325
|
-
this.showMaskTyped = false;
|
|
3326
|
-
this.clearIfNotMatch = false;
|
|
3327
|
-
}
|
|
3328
|
-
get prefix() {
|
|
3329
|
-
return this._prefix || '';
|
|
3330
|
-
}
|
|
3331
|
-
set prefix(v) {
|
|
3332
|
-
this._prefix = v;
|
|
3333
|
-
}
|
|
3334
|
-
get suffix() {
|
|
3335
|
-
return this._suffix || '';
|
|
3336
|
-
}
|
|
3337
|
-
set suffix(v) {
|
|
3338
|
-
this._suffix = v;
|
|
3339
|
-
}
|
|
3340
|
-
}
|
|
3341
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3342
|
-
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 });
|
|
3343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
3344
|
-
type: Component,
|
|
3345
|
-
args: [{
|
|
3346
|
-
selector: 'ax-input-mask',
|
|
3347
|
-
template: '',
|
|
3348
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3349
|
-
encapsulation: ViewEncapsulation.None,
|
|
3350
|
-
}]
|
|
3351
|
-
}], propDecorators: { prefix: [{
|
|
3352
|
-
type: Input
|
|
3353
|
-
}], suffix: [{
|
|
3354
|
-
type: Input
|
|
3355
|
-
}], showMaskTyped: [{
|
|
3356
|
-
type: Input
|
|
3357
|
-
}], clearIfNotMatch: [{
|
|
3358
|
-
type: Input
|
|
3359
|
-
}], mask: [{
|
|
3360
|
-
type: Input
|
|
3361
|
-
}] } });
|
|
3362
|
-
|
|
3363
|
-
const COMPONENT$e = [AXInputMaskComponent];
|
|
3364
|
-
const MODULES$e = [CommonModule, NgxMaskModule.forRoot()];
|
|
3365
|
-
class AXInputMaskModule {
|
|
3366
|
-
}
|
|
3367
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3368
|
-
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] });
|
|
3369
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$e]] });
|
|
3370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
3371
|
-
type: NgModule,
|
|
3372
|
-
args: [{
|
|
3373
|
-
declarations: [...COMPONENT$e],
|
|
3374
|
-
imports: [...MODULES$e],
|
|
3375
|
-
exports: [...COMPONENT$e],
|
|
3376
|
-
providers: [],
|
|
3377
|
-
}]
|
|
3378
|
-
}] });
|
|
3379
|
-
|
|
3380
3291
|
/**
|
|
3381
3292
|
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
3382
3293
|
*
|
|
@@ -3389,46 +3300,23 @@ class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
|
3389
3300
|
constructor(elementRef, cdr) {
|
|
3390
3301
|
super(elementRef, cdr);
|
|
3391
3302
|
}
|
|
3392
|
-
//TODO: prefix suffix text
|
|
3393
|
-
get hostClass() {
|
|
3394
|
-
return `${this.cssClass} ax-${this.size}`;
|
|
3395
|
-
}
|
|
3396
3303
|
}
|
|
3397
|
-
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3398
|
-
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3399
|
-
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: [{
|
|
3400
3307
|
type: Component,
|
|
3401
|
-
args: [{ selector: 'ax-text-box', inputs: [
|
|
3402
|
-
|
|
3403
|
-
'readonly',
|
|
3404
|
-
'tabIndex',
|
|
3405
|
-
'cssClass',
|
|
3406
|
-
'size',
|
|
3407
|
-
...TEXTBOX_INPUTS,
|
|
3408
|
-
], outputs: [
|
|
3409
|
-
'valueChange',
|
|
3410
|
-
'onValueChanged',
|
|
3411
|
-
'onBlur',
|
|
3412
|
-
'onFocus',
|
|
3413
|
-
...TEXTBOX_OUTPUT,
|
|
3414
|
-
], 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>" }]
|
|
3415
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
|
|
3416
|
-
type: ContentChild,
|
|
3417
|
-
args: [AXInputMaskComponent]
|
|
3418
|
-
}], hostClass: [{
|
|
3419
|
-
type: HostBinding,
|
|
3420
|
-
args: ['class']
|
|
3421
|
-
}] } });
|
|
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 }]; } });
|
|
3422
3310
|
|
|
3423
3311
|
class AXTextBoxModule {
|
|
3424
3312
|
}
|
|
3425
|
-
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3426
|
-
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,
|
|
3427
3315
|
FormsModule,
|
|
3428
3316
|
AXButtonModule,
|
|
3429
3317
|
AXEditorDecoratorModule,
|
|
3430
|
-
AXIconModule, i1$
|
|
3431
|
-
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: [[
|
|
3432
3320
|
CommonModule,
|
|
3433
3321
|
FormsModule,
|
|
3434
3322
|
AXButtonModule,
|
|
@@ -3436,7 +3324,7 @@ AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
3436
3324
|
AXIconModule,
|
|
3437
3325
|
NgxMaskModule.forChild()
|
|
3438
3326
|
]] });
|
|
3439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
3440
3328
|
type: NgModule,
|
|
3441
3329
|
args: [{
|
|
3442
3330
|
imports: [
|
|
@@ -3453,8 +3341,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3453
3341
|
}]
|
|
3454
3342
|
}] });
|
|
3455
3343
|
|
|
3456
|
-
const COMPONENT$
|
|
3457
|
-
const MODULES$
|
|
3344
|
+
const COMPONENT$f = [AXDatePickerComponent];
|
|
3345
|
+
const MODULES$f = [
|
|
3458
3346
|
CommonModule,
|
|
3459
3347
|
AXCalendarModule,
|
|
3460
3348
|
AXTextBoxModule,
|
|
@@ -3467,8 +3355,8 @@ const MODULES$d = [
|
|
|
3467
3355
|
];
|
|
3468
3356
|
class AXDatepickerModule {
|
|
3469
3357
|
}
|
|
3470
|
-
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3471
|
-
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,
|
|
3472
3360
|
AXCalendarModule,
|
|
3473
3361
|
AXTextBoxModule,
|
|
3474
3362
|
AXButtonModule,
|
|
@@ -3477,13 +3365,13 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
3477
3365
|
AXIconModule,
|
|
3478
3366
|
AXDateTimeModule,
|
|
3479
3367
|
FormsModule], exports: [AXDatePickerComponent] });
|
|
3480
|
-
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3481
|
-
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: [{
|
|
3482
3370
|
type: NgModule,
|
|
3483
3371
|
args: [{
|
|
3484
|
-
declarations: [...COMPONENT$
|
|
3485
|
-
imports: [...MODULES$
|
|
3486
|
-
exports: [...COMPONENT$
|
|
3372
|
+
declarations: [...COMPONENT$f],
|
|
3373
|
+
imports: [...MODULES$f],
|
|
3374
|
+
exports: [...COMPONENT$f],
|
|
3487
3375
|
providers: [],
|
|
3488
3376
|
}]
|
|
3489
3377
|
}] });
|
|
@@ -3514,9 +3402,9 @@ class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
3514
3402
|
}
|
|
3515
3403
|
}
|
|
3516
3404
|
}
|
|
3517
|
-
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3518
|
-
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3519
|
-
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: [{
|
|
3520
3408
|
type: Component,
|
|
3521
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>" }]
|
|
3522
3410
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -3549,7 +3437,6 @@ class AXDialogService {
|
|
|
3549
3437
|
name: 'confirm',
|
|
3550
3438
|
text: AXTranslator.get('common.okay'),
|
|
3551
3439
|
color: type,
|
|
3552
|
-
look: `twotone`,
|
|
3553
3440
|
onClick: () => {
|
|
3554
3441
|
popup.close();
|
|
3555
3442
|
if (resolve) {
|
|
@@ -3653,9 +3540,9 @@ class AXDialogService {
|
|
|
3653
3540
|
};
|
|
3654
3541
|
}
|
|
3655
3542
|
}
|
|
3656
|
-
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3657
|
-
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3658
|
-
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: [{
|
|
3659
3546
|
type: Injectable,
|
|
3660
3547
|
args: [{ providedIn: 'root' }]
|
|
3661
3548
|
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.Injector }, { type: i1$2.ScrollStrategyOptions }]; } });
|
|
@@ -3684,17 +3571,23 @@ class AXLoadingComponent extends AXBaseComponentMixin {
|
|
|
3684
3571
|
this._selectedPortal = new ComponentPortal(loading);
|
|
3685
3572
|
this._cdr.markForCheck();
|
|
3686
3573
|
}
|
|
3574
|
+
_handleAttched(ref) {
|
|
3575
|
+
ref = ref;
|
|
3576
|
+
if (ref.instance) {
|
|
3577
|
+
ref.instance.text = this.text;
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3687
3580
|
}
|
|
3688
|
-
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3689
|
-
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3690
|
-
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3691
|
-
`, isInline: true, directives: [{ type: i1$
|
|
3692
|
-
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: [{
|
|
3693
3586
|
type: Component,
|
|
3694
3587
|
args: [{
|
|
3695
3588
|
selector: 'ax-loading',
|
|
3696
3589
|
template: `
|
|
3697
|
-
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3590
|
+
<ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template>
|
|
3698
3591
|
`,
|
|
3699
3592
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3700
3593
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -3706,13 +3599,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3706
3599
|
type: Input
|
|
3707
3600
|
}], type: [{
|
|
3708
3601
|
type: Input
|
|
3602
|
+
}], text: [{
|
|
3603
|
+
type: Input
|
|
3709
3604
|
}] } });
|
|
3710
3605
|
|
|
3711
3606
|
class AXLoadingSpinnerComponent {
|
|
3712
3607
|
}
|
|
3713
|
-
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3714
|
-
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
3715
|
-
<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"
|
|
3716
3611
|
x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve">
|
|
3717
3612
|
<path fill="current"
|
|
3718
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">
|
|
@@ -3720,13 +3615,14 @@ AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
3720
3615
|
dur="0.6s" repeatCount="indefinite" />
|
|
3721
3616
|
</path>
|
|
3722
3617
|
</svg>
|
|
3723
|
-
|
|
3724
|
-
|
|
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: [{
|
|
3725
3621
|
type: Component,
|
|
3726
3622
|
args: [{
|
|
3727
3623
|
selector: 'ax-loading-spinner',
|
|
3728
3624
|
template: `
|
|
3729
|
-
<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"
|
|
3730
3626
|
x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve">
|
|
3731
3627
|
<path fill="current"
|
|
3732
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">
|
|
@@ -3734,6 +3630,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3734
3630
|
dur="0.6s" repeatCount="indefinite" />
|
|
3735
3631
|
</path>
|
|
3736
3632
|
</svg>
|
|
3633
|
+
<span class="ax-ms-3" *ngIf="text"> {{text}} </span>
|
|
3737
3634
|
`
|
|
3738
3635
|
}]
|
|
3739
3636
|
}] });
|
|
@@ -3790,9 +3687,9 @@ class AXLoadingDirective {
|
|
|
3790
3687
|
this.renderer.addClass(this.overlayElement, OVERLAY_CLASS);
|
|
3791
3688
|
}
|
|
3792
3689
|
}
|
|
3793
|
-
AXLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3794
|
-
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
3795
|
-
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: [{
|
|
3796
3693
|
type: Directive,
|
|
3797
3694
|
args: [{
|
|
3798
3695
|
selector: '[axIsLoading]'
|
|
@@ -3802,28 +3699,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3802
3699
|
args: ['axIsLoading']
|
|
3803
3700
|
}] } });
|
|
3804
3701
|
|
|
3805
|
-
const COMPONENT$
|
|
3806
|
-
const MODULES$
|
|
3702
|
+
const COMPONENT$e = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
3703
|
+
const MODULES$e = [CommonModule, OverlayModule, PortalModule];
|
|
3807
3704
|
class AXLoadingModule {
|
|
3808
3705
|
constructor() {
|
|
3809
3706
|
AXConfig.set({
|
|
3810
3707
|
layout: {
|
|
3811
3708
|
loading: {
|
|
3812
|
-
spinner: AXLoadingSpinnerComponent
|
|
3709
|
+
spinner: AXLoadingSpinnerComponent,
|
|
3813
3710
|
}
|
|
3814
3711
|
}
|
|
3815
3712
|
});
|
|
3816
3713
|
}
|
|
3817
3714
|
}
|
|
3818
|
-
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3819
|
-
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
3820
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
3821
|
-
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: [{
|
|
3822
3719
|
type: NgModule,
|
|
3823
3720
|
args: [{
|
|
3824
|
-
declarations: [...COMPONENT$
|
|
3825
|
-
imports: [...MODULES$
|
|
3826
|
-
exports: [...COMPONENT$
|
|
3721
|
+
declarations: [...COMPONENT$e],
|
|
3722
|
+
imports: [...MODULES$e],
|
|
3723
|
+
exports: [...COMPONENT$e],
|
|
3827
3724
|
providers: [],
|
|
3828
3725
|
}]
|
|
3829
3726
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3833,9 +3730,9 @@ class DynamicOverlayContainer extends OverlayContainer {
|
|
|
3833
3730
|
this._containerElement = containerElement;
|
|
3834
3731
|
}
|
|
3835
3732
|
}
|
|
3836
|
-
DynamicOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3837
|
-
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3838
|
-
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: [{
|
|
3839
3736
|
type: Injectable,
|
|
3840
3737
|
args: [{
|
|
3841
3738
|
providedIn: 'root'
|
|
@@ -3856,9 +3753,9 @@ class DynamicOverlay extends Overlay {
|
|
|
3856
3753
|
return super.create(config);
|
|
3857
3754
|
}
|
|
3858
3755
|
}
|
|
3859
|
-
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3860
|
-
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3861
|
-
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: [{
|
|
3862
3759
|
type: Injectable,
|
|
3863
3760
|
args: [{
|
|
3864
3761
|
providedIn: 'root'
|
|
@@ -3866,7 +3763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
3866
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: [{
|
|
3867
3764
|
type: Inject,
|
|
3868
3765
|
args: [DOCUMENT]
|
|
3869
|
-
}] }, { type: i2$
|
|
3766
|
+
}] }, { type: i2$1.Directionality }, { type: i0.RendererFactory2 }, { type: i1.Location }, { type: i1$2.OverlayOutsideClickDispatcher }]; } });
|
|
3870
3767
|
|
|
3871
3768
|
class AXOverlayService {
|
|
3872
3769
|
constructor(overlayService, overlayService2, appRef) {
|
|
@@ -3946,9 +3843,9 @@ class AXOverlayService {
|
|
|
3946
3843
|
};
|
|
3947
3844
|
}
|
|
3948
3845
|
}
|
|
3949
|
-
AXOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3950
|
-
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3951
|
-
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: [{
|
|
3952
3849
|
type: Injectable,
|
|
3953
3850
|
args: [{ providedIn: 'root' }]
|
|
3954
3851
|
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1$2.Overlay }, { type: i0.ApplicationRef }]; } });
|
|
@@ -4092,9 +3989,9 @@ class AXLoadingService {
|
|
|
4092
3989
|
return loaderId ?? DEFAULT_LOADER_ID;
|
|
4093
3990
|
}
|
|
4094
3991
|
}
|
|
4095
|
-
AXLoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4096
|
-
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4097
|
-
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: [{
|
|
4098
3995
|
type: Injectable,
|
|
4099
3996
|
args: [{
|
|
4100
3997
|
providedIn: 'root'
|
|
@@ -4121,9 +4018,9 @@ class AXPageComponent extends AXBaseComponentMixin {
|
|
|
4121
4018
|
}
|
|
4122
4019
|
}
|
|
4123
4020
|
}
|
|
4124
|
-
AXPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4125
|
-
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4126
|
-
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: [{
|
|
4127
4024
|
type: Injectable
|
|
4128
4025
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
4129
4026
|
type: Inject,
|
|
@@ -4132,14 +4029,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4132
4029
|
|
|
4133
4030
|
class AXPageFooterComponent {
|
|
4134
4031
|
}
|
|
4135
|
-
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4136
|
-
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: `
|
|
4137
4034
|
<ng-content select="ax-prefix">
|
|
4138
4035
|
</ng-content>
|
|
4139
4036
|
<ng-content select="ax-suffix">
|
|
4140
4037
|
</ng-content>
|
|
4141
4038
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPageFooterComponent, decorators: [{
|
|
4143
4040
|
type: Component,
|
|
4144
4041
|
args: [{
|
|
4145
4042
|
selector: 'ax-page-footer',
|
|
@@ -4206,9 +4103,9 @@ class AXBasePageComponent {
|
|
|
4206
4103
|
this.onClosed.unsubscribe();
|
|
4207
4104
|
}
|
|
4208
4105
|
}
|
|
4209
|
-
AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4210
|
-
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4211
|
-
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: [{
|
|
4212
4109
|
type: Injectable
|
|
4213
4110
|
}], propDecorators: { pageContainer: [{
|
|
4214
4111
|
type: ViewChild,
|
|
@@ -4220,10 +4117,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4220
4117
|
|
|
4221
4118
|
class AXPageModule {
|
|
4222
4119
|
}
|
|
4223
|
-
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4224
|
-
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4225
|
-
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4226
|
-
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: [{
|
|
4227
4124
|
type: NgModule,
|
|
4228
4125
|
args: [{
|
|
4229
4126
|
imports: [],
|
|
@@ -4233,19 +4130,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4233
4130
|
}]
|
|
4234
4131
|
}] });
|
|
4235
4132
|
|
|
4236
|
-
const COMPONENT$
|
|
4237
|
-
const MODULES$
|
|
4133
|
+
const COMPONENT$d = [AXDialogComponent];
|
|
4134
|
+
const MODULES$d = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4238
4135
|
class AXDialogModule {
|
|
4239
4136
|
}
|
|
4240
|
-
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4241
|
-
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4242
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4243
|
-
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: [{
|
|
4244
4141
|
type: NgModule,
|
|
4245
4142
|
args: [{
|
|
4246
|
-
declarations: [...COMPONENT$
|
|
4247
|
-
imports: [...MODULES$
|
|
4248
|
-
exports: [...COMPONENT$
|
|
4143
|
+
declarations: [...COMPONENT$d],
|
|
4144
|
+
imports: [...MODULES$d],
|
|
4145
|
+
exports: [...COMPONENT$d],
|
|
4249
4146
|
providers: [],
|
|
4250
4147
|
}]
|
|
4251
4148
|
}] });
|
|
@@ -4368,12 +4265,12 @@ class AXDrawerComponent extends AXBaseComponentMixin {
|
|
|
4368
4265
|
this.collapsed = true;
|
|
4369
4266
|
}
|
|
4370
4267
|
}
|
|
4371
|
-
AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4372
|
-
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: `
|
|
4373
4270
|
<ng-content>
|
|
4374
4271
|
</ng-content>
|
|
4375
4272
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
4377
4274
|
type: Component,
|
|
4378
4275
|
args: [{
|
|
4379
4276
|
selector: 'ax-drawer',
|
|
@@ -4436,8 +4333,8 @@ class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
|
4436
4333
|
});
|
|
4437
4334
|
}
|
|
4438
4335
|
}
|
|
4439
|
-
AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4440
|
-
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: `
|
|
4441
4338
|
<ng-content select="ax-drawer[location='start']">
|
|
4442
4339
|
</ng-content>
|
|
4443
4340
|
<ng-content select="ax-drawer-content">
|
|
@@ -4445,7 +4342,7 @@ AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
4445
4342
|
<ng-content select="ax-drawer[location='end']">
|
|
4446
4343
|
</ng-content>
|
|
4447
4344
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
4449
4346
|
type: Component,
|
|
4450
4347
|
args: [{
|
|
4451
4348
|
selector: 'ax-drawer-container',
|
|
@@ -4472,12 +4369,12 @@ class AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
|
4472
4369
|
super(elementRef, cdr);
|
|
4473
4370
|
}
|
|
4474
4371
|
}
|
|
4475
|
-
AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4476
|
-
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: `
|
|
4477
4374
|
<ng-content>
|
|
4478
4375
|
</ng-content>
|
|
4479
4376
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
4481
4378
|
type: Component,
|
|
4482
4379
|
args: [{
|
|
4483
4380
|
selector: 'ax-drawer-content',
|
|
@@ -4491,42 +4388,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4491
4388
|
}]
|
|
4492
4389
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4493
4390
|
|
|
4494
|
-
const COMPONENT$
|
|
4495
|
-
const MODULES$
|
|
4391
|
+
const COMPONENT$c = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
4392
|
+
const MODULES$c = [CommonModule];
|
|
4496
4393
|
class AXDrawerModule {
|
|
4497
4394
|
}
|
|
4498
|
-
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4499
|
-
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4500
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4501
|
-
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: [{
|
|
4502
4399
|
type: NgModule,
|
|
4503
4400
|
args: [{
|
|
4504
|
-
declarations: [...COMPONENT$
|
|
4505
|
-
imports: [...MODULES$
|
|
4506
|
-
exports: [...COMPONENT$
|
|
4401
|
+
declarations: [...COMPONENT$c],
|
|
4402
|
+
imports: [...MODULES$c],
|
|
4403
|
+
exports: [...COMPONENT$c],
|
|
4507
4404
|
providers: [],
|
|
4508
4405
|
}]
|
|
4509
4406
|
}] });
|
|
4510
4407
|
|
|
4511
|
-
class AXDropdownComponent extends AXBaseDropdownMixin {
|
|
4512
|
-
constructor(_elementRef, _cdr) {
|
|
4513
|
-
super(_elementRef, _cdr);
|
|
4514
|
-
this._target = this;
|
|
4515
|
-
}
|
|
4516
|
-
_handleArrowClickEvent() {
|
|
4517
|
-
this.toggle();
|
|
4518
|
-
}
|
|
4519
|
-
}
|
|
4520
|
-
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 });
|
|
4521
|
-
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 });
|
|
4522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownComponent, decorators: [{
|
|
4523
|
-
type: Component,
|
|
4524
|
-
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>" }]
|
|
4525
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
4526
|
-
type: ViewChild,
|
|
4527
|
-
args: [AXPopoverComponent]
|
|
4528
|
-
}] } });
|
|
4529
|
-
|
|
4530
4408
|
class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
4531
4409
|
constructor(elementRef, cdr, _parent) {
|
|
4532
4410
|
super(elementRef, cdr);
|
|
@@ -4573,9 +4451,9 @@ class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
|
4573
4451
|
this._emitOnItemClickEvent(e, e.component);
|
|
4574
4452
|
}
|
|
4575
4453
|
}
|
|
4576
|
-
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4577
|
-
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4578
|
-
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: [{
|
|
4579
4457
|
type: Component,
|
|
4580
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>" }]
|
|
4581
4459
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
|
|
@@ -4590,22 +4468,223 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4590
4468
|
type: Output
|
|
4591
4469
|
}], popover: [{
|
|
4592
4470
|
type: ViewChild,
|
|
4593
|
-
args: [AXPopoverComponent]
|
|
4471
|
+
args: [AXPopoverComponent, { static: true }]
|
|
4594
4472
|
}], items: [{
|
|
4595
4473
|
type: Input
|
|
4596
4474
|
}] } });
|
|
4597
4475
|
|
|
4598
4476
|
class AXDropdownModule {
|
|
4599
4477
|
}
|
|
4600
|
-
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4601
|
-
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
4602
|
-
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4603
|
-
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: [{
|
|
4604
4482
|
type: NgModule,
|
|
4605
4483
|
args: [{
|
|
4606
4484
|
imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
|
|
4607
|
-
exports: [
|
|
4608
|
-
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],
|
|
4609
4688
|
providers: [],
|
|
4610
4689
|
}]
|
|
4611
4690
|
}] });
|
|
@@ -4619,40 +4698,64 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4619
4698
|
/**
|
|
4620
4699
|
* @ignore
|
|
4621
4700
|
*/
|
|
4622
|
-
constructor(elementRef, cdr
|
|
4701
|
+
constructor(elementRef, cdr) {
|
|
4623
4702
|
super(elementRef, cdr);
|
|
4624
4703
|
this.cdr = cdr;
|
|
4625
|
-
this.
|
|
4626
|
-
/**
|
|
4627
|
-
* A character value that specifies the separator character.
|
|
4628
|
-
*/
|
|
4629
|
-
this.separator = ',';
|
|
4630
|
-
/**
|
|
4631
|
-
* Specifies whether the Separator character will be displayed or not
|
|
4632
|
-
*/
|
|
4633
|
-
this.thousandSeparator = false;
|
|
4704
|
+
this._padDecimalZeros = false;
|
|
4634
4705
|
/**
|
|
4635
4706
|
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
4636
4707
|
*/
|
|
4637
4708
|
this.step = 1;
|
|
4638
|
-
|
|
4639
|
-
* Specifies the number of decimals that the user can enter
|
|
4640
|
-
*/
|
|
4641
|
-
this.scale = 0;
|
|
4709
|
+
this._decimals = 0;
|
|
4642
4710
|
/**
|
|
4643
4711
|
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
4644
4712
|
*/
|
|
4645
|
-
this.decimalStep =
|
|
4713
|
+
this.decimalStep = 'auto';
|
|
4646
4714
|
/**
|
|
4647
4715
|
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
4648
4716
|
*/
|
|
4649
4717
|
this.showSpinButtons = true;
|
|
4650
|
-
this._minValue = Number.
|
|
4651
|
-
this._maxValue = Number.
|
|
4652
|
-
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
|
+
};
|
|
4653
4723
|
}
|
|
4654
|
-
|
|
4655
|
-
|
|
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
|
+
});
|
|
4656
4759
|
}
|
|
4657
4760
|
/**
|
|
4658
4761
|
* Specifies the smallest value that is valid
|
|
@@ -4661,7 +4764,10 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4661
4764
|
return this._minValue;
|
|
4662
4765
|
}
|
|
4663
4766
|
set minValue(v) {
|
|
4664
|
-
this.
|
|
4767
|
+
this._setOption({
|
|
4768
|
+
name: "minValue",
|
|
4769
|
+
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
4770
|
+
});
|
|
4665
4771
|
}
|
|
4666
4772
|
/**
|
|
4667
4773
|
* Specifies the greatest value that is valid
|
|
@@ -4670,179 +4776,91 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4670
4776
|
return this._maxValue;
|
|
4671
4777
|
}
|
|
4672
4778
|
set maxValue(v) {
|
|
4673
|
-
this.
|
|
4779
|
+
this._setOption({
|
|
4780
|
+
name: "maxValue",
|
|
4781
|
+
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
4782
|
+
});
|
|
4674
4783
|
}
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
get displayText() {
|
|
4679
|
-
return this._displayText;
|
|
4784
|
+
onViewInit() {
|
|
4785
|
+
super.onViewInit();
|
|
4786
|
+
this._updateMask();
|
|
4680
4787
|
}
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
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();
|
|
4684
4816
|
}
|
|
4685
4817
|
_handleOnKeydownEvent(e) {
|
|
4686
4818
|
const ignore = () => {
|
|
4687
4819
|
e.preventDefault();
|
|
4688
4820
|
e.stopPropagation();
|
|
4689
4821
|
};
|
|
4690
|
-
const toNum = (val) => {
|
|
4691
|
-
return Number(val.replace(/[^0-9.-]+/g, ''));
|
|
4692
|
-
};
|
|
4693
|
-
const nums = Array(10)
|
|
4694
|
-
.fill(0)
|
|
4695
|
-
.map((v, i) => i.toString());
|
|
4696
|
-
const chars = [
|
|
4697
|
-
'.',
|
|
4698
|
-
'-',
|
|
4699
|
-
'Backspace',
|
|
4700
|
-
'ArrowDown',
|
|
4701
|
-
'ArrowUp',
|
|
4702
|
-
'ArrowRight',
|
|
4703
|
-
'ArrowLeft',
|
|
4704
|
-
'Tab',
|
|
4705
|
-
'Enter',
|
|
4706
|
-
];
|
|
4707
4822
|
const input = e.target;
|
|
4708
|
-
const key = e.key;
|
|
4709
4823
|
const valStr = input.value;
|
|
4710
|
-
const val = toNum(valStr);
|
|
4711
4824
|
const decimalPointIndex = valStr.indexOf('.');
|
|
4712
4825
|
const selectionStart = input.selectionStart;
|
|
4713
4826
|
const selectionEnd = input.selectionEnd;
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
ignore();
|
|
4718
|
-
}
|
|
4719
|
-
if (e.key === 'ArrowDown' || e.key === 'ArrowUp') {
|
|
4720
|
-
const stepVal = decimalPointIndex > -1
|
|
4721
|
-
? selectionStart >= decimalPointIndex
|
|
4722
|
-
? this.decimalStep
|
|
4723
|
-
: this.step
|
|
4724
|
-
: this.step;
|
|
4725
|
-
if (e.key === 'ArrowDown') {
|
|
4726
|
-
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();
|
|
4727
4830
|
}
|
|
4728
4831
|
else {
|
|
4729
|
-
|
|
4832
|
+
e.key === 'ArrowDown' ? this.stepDown() : this.stepUp();
|
|
4730
4833
|
}
|
|
4731
4834
|
ignore();
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
const chr = valStr.substr(selectionStart - 1, 1);
|
|
4736
|
-
if (!nums.includes(chr)) {
|
|
4737
|
-
ignore();
|
|
4738
|
-
input.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
4739
|
-
}
|
|
4740
|
-
else {
|
|
4741
|
-
const newVal = toNum(valStr.substr(0, selectionStart - 1) + valStr.substr(selectionEnd));
|
|
4742
|
-
input.value = this._format(newVal);
|
|
4743
|
-
this.value = newVal;
|
|
4744
|
-
ignore();
|
|
4745
|
-
if (newVal == 0) {
|
|
4746
|
-
input.setSelectionRange(1, 1);
|
|
4747
|
-
}
|
|
4748
|
-
else {
|
|
4749
|
-
input.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
4750
|
-
}
|
|
4751
|
-
}
|
|
4752
|
-
}
|
|
4753
|
-
else if (e.key == '.') {
|
|
4754
|
-
if (!this.scale) {
|
|
4755
|
-
ignore();
|
|
4756
|
-
}
|
|
4757
|
-
else if (decimalPointIndex > -1) {
|
|
4758
|
-
input.setSelectionRange(decimalPointIndex + 1, decimalPointIndex + 1);
|
|
4759
|
-
ignore();
|
|
4760
|
-
}
|
|
4761
|
-
else {
|
|
4762
|
-
if (input.selectionEnd != valStr.length) {
|
|
4763
|
-
input.setSelectionRange(valStr.length, valStr.length);
|
|
4764
|
-
ignore();
|
|
4765
|
-
}
|
|
4766
|
-
}
|
|
4767
|
-
}
|
|
4768
|
-
else if (e.key == '-') {
|
|
4769
|
-
const index = valStr.indexOf('-');
|
|
4770
|
-
if (index > -1) {
|
|
4771
|
-
ignore();
|
|
4772
|
-
}
|
|
4773
|
-
else {
|
|
4774
|
-
this.value = Math.abs(this.value) * -1;
|
|
4775
|
-
input.setSelectionRange(index + 1, index + 1);
|
|
4776
|
-
ignore();
|
|
4777
|
-
}
|
|
4778
|
-
}
|
|
4779
|
-
else if (nums.includes(key)) {
|
|
4780
|
-
const newVal = toNum(valStr.substr(0, selectionStart) + key + valStr.substr(selectionEnd));
|
|
4781
|
-
if (newVal < this.minValue) {
|
|
4782
|
-
//TODO : highlight correct number
|
|
4783
|
-
//input.value = this._format(this.minValue);
|
|
4784
|
-
//const diff = this.minValue - val;
|
|
4785
|
-
//this.value = this.minValue;
|
|
4786
|
-
//ignore();
|
|
4787
|
-
// setTimeout(() => {
|
|
4788
|
-
// input.setSelectionRange(input.selectionStart + 1, this.minValue.toString().length);
|
|
4789
|
-
// }, 50);
|
|
4790
|
-
}
|
|
4791
|
-
else if (newVal > this.maxValue) {
|
|
4792
|
-
input.value = this._format(this.maxValue);
|
|
4793
|
-
this.value = this.maxValue;
|
|
4794
|
-
ignore();
|
|
4795
|
-
}
|
|
4796
|
-
else {
|
|
4797
|
-
input.value = this._format(newVal);
|
|
4798
|
-
this.value = newVal;
|
|
4799
|
-
ignore();
|
|
4800
|
-
}
|
|
4835
|
+
setTimeout(() => {
|
|
4836
|
+
input.setSelectionRange(selectionStart, selectionStart);
|
|
4837
|
+
});
|
|
4801
4838
|
}
|
|
4802
4839
|
super._emitOnKeydownEvent(e);
|
|
4803
4840
|
}
|
|
4841
|
+
_handleUpDownClick(e, v) {
|
|
4842
|
+
v == 1 ? this.stepUp() : this.stepDown();
|
|
4843
|
+
}
|
|
4804
4844
|
_onValueChanging(value) {
|
|
4805
|
-
return
|
|
4845
|
+
return _.toNumber(value);
|
|
4806
4846
|
}
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
return this.allowNull ? null : this.minValue;
|
|
4810
|
-
}
|
|
4811
|
-
else if (value > this.maxValue) {
|
|
4812
|
-
return this.maxValue;
|
|
4813
|
-
}
|
|
4814
|
-
else if (value < this.minValue) {
|
|
4815
|
-
return this.minValue;
|
|
4816
|
-
}
|
|
4817
|
-
return parseFloat(value.toFixed(this.scale));
|
|
4847
|
+
stepUp() {
|
|
4848
|
+
this.value += this.step;
|
|
4818
4849
|
}
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
this._maskService.thousandSeparator = this.separator;
|
|
4822
|
-
this._maskService.allowNegativeNumbers = true;
|
|
4823
|
-
const format = `separator.${this.scale}`;
|
|
4824
|
-
return this._maskService.applyMask(value?.toString(), format);
|
|
4825
|
-
}
|
|
4826
|
-
else {
|
|
4827
|
-
this._maskService.thousandSeparator = '';
|
|
4828
|
-
this._maskService.allowNegativeNumbers = true;
|
|
4829
|
-
const format = `separator.${this.scale}`;
|
|
4830
|
-
return this._maskService.applyMask(value?.toString(), format);
|
|
4831
|
-
}
|
|
4850
|
+
stepDown() {
|
|
4851
|
+
this.value -= this.step;
|
|
4832
4852
|
}
|
|
4833
|
-
|
|
4834
|
-
this.
|
|
4853
|
+
decimalStepUp() {
|
|
4854
|
+
this.value += this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep;
|
|
4835
4855
|
}
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
input.value = this._format(this.value);
|
|
4840
|
-
this._emitOnFocusEvent(e);
|
|
4856
|
+
decimalStepDown() {
|
|
4857
|
+
this.value -= this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep;
|
|
4858
|
+
;
|
|
4841
4859
|
}
|
|
4842
4860
|
}
|
|
4843
|
-
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4844
|
-
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4845
|
-
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: [{
|
|
4846
4864
|
type: Component,
|
|
4847
4865
|
args: [{ selector: 'ax-number-box', inputs: [
|
|
4848
4866
|
'disabled',
|
|
@@ -4857,17 +4875,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4857
4875
|
'onBlur',
|
|
4858
4876
|
'onFocus',
|
|
4859
4877
|
...TEXTBOX_OUTPUT,
|
|
4860
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-
|
|
4861
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }
|
|
4862
|
-
type: HostBinding,
|
|
4863
|
-
args: ['class']
|
|
4864
|
-
}], 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: [{
|
|
4865
4880
|
type: Input
|
|
4866
|
-
}],
|
|
4881
|
+
}], padDecimalZeros: [{
|
|
4867
4882
|
type: Input
|
|
4868
4883
|
}], step: [{
|
|
4869
4884
|
type: Input
|
|
4870
|
-
}],
|
|
4885
|
+
}], decimals: [{
|
|
4871
4886
|
type: Input
|
|
4872
4887
|
}], decimalStep: [{
|
|
4873
4888
|
type: Input
|
|
@@ -4877,10 +4892,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4877
4892
|
type: Input
|
|
4878
4893
|
}], maxValue: [{
|
|
4879
4894
|
type: Input
|
|
4880
|
-
}],
|
|
4881
|
-
type:
|
|
4882
|
-
|
|
4883
|
-
type: Input
|
|
4895
|
+
}], _maskDirective: [{
|
|
4896
|
+
type: ViewChild,
|
|
4897
|
+
args: [IMaskDirective]
|
|
4884
4898
|
}] } });
|
|
4885
4899
|
|
|
4886
4900
|
const COMPONENT$9 = [AXNumberBoxComponent];
|
|
@@ -4888,16 +4902,21 @@ const MODULES$9 = [
|
|
|
4888
4902
|
CommonModule,
|
|
4889
4903
|
FormsModule,
|
|
4890
4904
|
AXButtonModule,
|
|
4891
|
-
|
|
4905
|
+
AXEditorDecoratorModule,
|
|
4906
|
+
AXIconModule,
|
|
4907
|
+
IMaskModule
|
|
4892
4908
|
];
|
|
4893
4909
|
class AXNumberBoxModule {
|
|
4894
4910
|
}
|
|
4895
|
-
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4896
|
-
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,
|
|
4897
4913
|
FormsModule,
|
|
4898
|
-
AXButtonModule,
|
|
4899
|
-
|
|
4900
|
-
|
|
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: [{
|
|
4901
4920
|
type: NgModule,
|
|
4902
4921
|
args: [{
|
|
4903
4922
|
declarations: [...COMPONENT$9],
|
|
@@ -4939,9 +4958,9 @@ class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4939
4958
|
}
|
|
4940
4959
|
}
|
|
4941
4960
|
}
|
|
4942
|
-
AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4943
|
-
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4944
|
-
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: [{
|
|
4945
4964
|
type: Component,
|
|
4946
4965
|
args: [{ selector: 'ax-password-box', inputs: [
|
|
4947
4966
|
'disabled',
|
|
@@ -4956,7 +4975,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4956
4975
|
'onBlur',
|
|
4957
4976
|
'onFocus',
|
|
4958
4977
|
...TEXTBOX_OUTPUT,
|
|
4959
|
-
], 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>" }]
|
|
4960
4979
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
|
|
4961
4980
|
type: HostBinding,
|
|
4962
4981
|
args: ['class']
|
|
@@ -4974,14 +4993,14 @@ const MODULES$8 = [
|
|
|
4974
4993
|
];
|
|
4975
4994
|
class AXPasswordBoxModule {
|
|
4976
4995
|
}
|
|
4977
|
-
AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4978
|
-
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,
|
|
4979
4998
|
FormsModule,
|
|
4980
4999
|
AXButtonModule,
|
|
4981
5000
|
AXEditorDecoratorModule,
|
|
4982
5001
|
AXIconModule], exports: [AXPasswordBoxComponent] });
|
|
4983
|
-
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
4984
|
-
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: [{
|
|
4985
5004
|
type: NgModule,
|
|
4986
5005
|
args: [{
|
|
4987
5006
|
declarations: [...COMPONENT$8],
|
|
@@ -5006,8 +5025,8 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
5006
5025
|
this.showCloseButton = true;
|
|
5007
5026
|
this.showHeader = true;
|
|
5008
5027
|
}
|
|
5009
|
-
|
|
5010
|
-
|
|
5028
|
+
onInit() {
|
|
5029
|
+
super.onInit();
|
|
5011
5030
|
if (this._platform.is('Mobile')) {
|
|
5012
5031
|
this.draggable = false;
|
|
5013
5032
|
}
|
|
@@ -5077,12 +5096,12 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
5077
5096
|
}
|
|
5078
5097
|
onFullScreen() { }
|
|
5079
5098
|
}
|
|
5080
|
-
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5081
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5082
|
-
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: [{
|
|
5083
5102
|
type: Component,
|
|
5084
|
-
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 <
|
|
5085
|
-
}], 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: [{
|
|
5086
5105
|
type: HostListener,
|
|
5087
5106
|
args: ['keydown.escape', ['$event']]
|
|
5088
5107
|
}] } });
|
|
@@ -5170,26 +5189,27 @@ class AXPopupService {
|
|
|
5170
5189
|
}
|
|
5171
5190
|
}
|
|
5172
5191
|
}
|
|
5173
|
-
AXPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5174
|
-
AXPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
5175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5176
|
-
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' }]
|
|
5177
5197
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
5178
5198
|
|
|
5179
5199
|
const COMPONENT$7 = [AXPopupComponent];
|
|
5180
5200
|
const MODULES$7 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
|
|
5181
5201
|
class AXPopupModule {
|
|
5182
5202
|
}
|
|
5183
|
-
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5184
|
-
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5185
|
-
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5186
|
-
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: [{
|
|
5187
5207
|
type: NgModule,
|
|
5188
5208
|
args: [{
|
|
5189
5209
|
declarations: [...COMPONENT$7],
|
|
5190
5210
|
imports: [...MODULES$7],
|
|
5191
5211
|
exports: [...COMPONENT$7],
|
|
5192
|
-
providers: [
|
|
5212
|
+
providers: [],
|
|
5193
5213
|
}]
|
|
5194
5214
|
}] });
|
|
5195
5215
|
|
|
@@ -5206,9 +5226,9 @@ class AXRadioComponent extends AXBaseValueComponentMixin {
|
|
|
5206
5226
|
}
|
|
5207
5227
|
}
|
|
5208
5228
|
}
|
|
5209
|
-
AXRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5210
|
-
AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5211
|
-
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: [{
|
|
5212
5232
|
type: Component,
|
|
5213
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>" }]
|
|
5214
5234
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5217,10 +5237,10 @@ const COMPONENT$6 = [AXRadioComponent];
|
|
|
5217
5237
|
const MODULES$6 = [CommonModule, FormsModule];
|
|
5218
5238
|
class AXRadioModule {
|
|
5219
5239
|
}
|
|
5220
|
-
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5221
|
-
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5222
|
-
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5223
|
-
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: [{
|
|
5224
5244
|
type: NgModule,
|
|
5225
5245
|
args: [{
|
|
5226
5246
|
declarations: [...COMPONENT$6],
|
|
@@ -5236,9 +5256,9 @@ class AXRangeSliderComponent extends AXBaseComponentMixin {
|
|
|
5236
5256
|
//TODO: ax-range-slider
|
|
5237
5257
|
}
|
|
5238
5258
|
}
|
|
5239
|
-
AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5240
|
-
AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5241
|
-
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: [{
|
|
5242
5262
|
type: Component,
|
|
5243
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\">" }]
|
|
5244
5264
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
@@ -5247,10 +5267,10 @@ const COMPONENT$5 = [AXRangeSliderComponent];
|
|
|
5247
5267
|
const MODULES$5 = [CommonModule];
|
|
5248
5268
|
class AXRangeSliderModule {
|
|
5249
5269
|
}
|
|
5250
|
-
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5251
|
-
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5252
|
-
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5253
|
-
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: [{
|
|
5254
5274
|
type: NgModule,
|
|
5255
5275
|
args: [{
|
|
5256
5276
|
declarations: [...COMPONENT$5],
|
|
@@ -5267,26 +5287,47 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5267
5287
|
this._cdr = _cdr;
|
|
5268
5288
|
this._zone = _zone;
|
|
5269
5289
|
this._platform = _platform;
|
|
5290
|
+
this.checkbox = false;
|
|
5270
5291
|
this._currentfocusedIndex = -1;
|
|
5271
5292
|
this._isMobile = false;
|
|
5272
|
-
this._target = this._getHostElement();
|
|
5273
|
-
this._isMobile = this._platform.is('Mobile');
|
|
5274
5293
|
}
|
|
5275
5294
|
_handleArrowClickEvent(e) {
|
|
5295
|
+
e.nativeEvent.stopPropagation();
|
|
5276
5296
|
this.toggle();
|
|
5277
5297
|
}
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
this.
|
|
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');
|
|
5281
5307
|
this.onOpened.subscribe(() => {
|
|
5282
|
-
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();
|
|
5283
5317
|
});
|
|
5284
5318
|
}
|
|
5319
|
+
onViewInit() {
|
|
5320
|
+
super.onViewInit();
|
|
5321
|
+
this._popoverWidth = this._isMobile ? null : this._target.offsetWidth;
|
|
5322
|
+
}
|
|
5285
5323
|
_handleOnItemClick(e, item) {
|
|
5286
|
-
|
|
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
|
}
|
|
@@ -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 }, { type:
|
|
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, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule, AXPopoverModule, AXButtonModule, AXLabelModule],
|
|
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
|