@acorex/components 5.0.10 → 5.0.13
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/bundles/acorex-components.umd.js +677 -587
- package/bundles/acorex-components.umd.js.map +1 -1
- package/esm2015/lib/base/mixin/base-components.class.js +19 -3
- package/esm2015/lib/base/mixin/button-mixin.class.js +92 -105
- package/esm2015/lib/base/mixin/clickable-mixin.class.js +1 -1
- package/esm2015/lib/base/mixin/dropdown-mixin.class.js +63 -9
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +3 -3
- package/esm2015/lib/base/mixin/mixin.class.js +2 -2
- package/esm2015/lib/base/mixin/value-mixin.class.js +7 -2
- package/esm2015/lib/button/button-group.component.js +4 -4
- package/esm2015/lib/calendar/calendar.class.js +97 -0
- package/esm2015/lib/calendar/calendar.component.js +17 -67
- package/esm2015/lib/checkbox/checkbox.component.js +3 -4
- package/esm2015/lib/datepicker/datepicker.component.js +119 -65
- package/esm2015/lib/datepicker/datepicker.module.js +30 -6
- package/esm2015/lib/dropdown/dropdown-panel.component.js +7 -4
- package/esm2015/lib/dropdown/dropdown.component.js +10 -7
- package/esm2015/lib/form/form-hint.component.js +3 -3
- package/esm2015/lib/page/base-page.class.js +2 -2
- package/esm2015/lib/selectbox/selectbox.component.js +2 -2
- package/esm2015/lib/selection-list/selection-list.component.js +2 -2
- package/esm2015/lib/tabs/tab-content.directive.js +2 -2
- package/esm2015/lib/tabs/tab-item.component.js +2 -2
- package/fesm2015/acorex-components.js +650 -569
- package/fesm2015/acorex-components.js.map +1 -1
- package/lib/base/mixin/base-components.class.d.ts +21 -18
- package/lib/base/mixin/button-mixin.class.d.ts +11 -17
- package/lib/base/mixin/clickable-mixin.class.d.ts +3 -9
- package/lib/base/mixin/datalist-component.class.d.ts +9 -15
- package/lib/base/mixin/dropdown-mixin.class.d.ts +16 -12
- package/lib/base/mixin/interactive-mixin.class.d.ts +6 -14
- package/lib/base/mixin/loading-mixin.class.d.ts +3 -9
- package/lib/base/mixin/mixin.class.d.ts +166 -164
- package/lib/base/mixin/selection-component.class.d.ts +3 -9
- package/lib/base/mixin/sizable-mixin.class.d.ts +3 -9
- package/lib/base/mixin/textbox-mixin.class.d.ts +4 -12
- package/lib/base/mixin/value-mixin.class.d.ts +15 -20
- package/lib/button/button-item.component.d.ts +8 -20
- package/lib/calendar/calendar.class.d.ts +38 -0
- package/lib/calendar/calendar.component.d.ts +5 -26
- package/lib/datepicker/datepicker.component.d.ts +170 -16
- package/lib/datepicker/datepicker.module.d.ts +8 -2
- package/lib/dropdown/dropdown-panel.component.d.ts +4 -5
- package/lib/dropdown/dropdown.component.d.ts +5 -6
- package/package.json +1 -1
- package/esm2015/lib/dropdown/dropdown-base.class.js +0 -98
- package/lib/dropdown/dropdown-base.class.d.ts +0 -94
|
@@ -1,27 +1,27 @@
|
|
|
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, ViewChild, ContentChild, ElementRef,
|
|
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
4
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
5
5
|
import * as i2 from '@acorex/core';
|
|
6
|
-
import { AXObjectUtil, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil, AXTranslator, AXConfig } from '@acorex/core';
|
|
6
|
+
import { AXObjectUtil, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil, AXStringUtil, AXTranslator, AXConfig } from '@acorex/core';
|
|
7
7
|
import { Subscription, Subject, fromEvent, merge, asyncScheduler, BehaviorSubject } from 'rxjs';
|
|
8
8
|
import { debounceTime, distinctUntilChanged, throttleTime, observeOn, finalize } from 'rxjs/operators';
|
|
9
9
|
import * as i1 from '@angular/common';
|
|
10
10
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
11
11
|
import * as i3 from '@angular/forms';
|
|
12
12
|
import { FormsModule } from '@angular/forms';
|
|
13
|
-
import * as i1$
|
|
13
|
+
import * as i1$3 from '@angular/cdk/portal';
|
|
14
14
|
import { TemplatePortal, ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
15
15
|
import _ from 'lodash';
|
|
16
16
|
import * as i1$1 from '@angular/cdk/overlay';
|
|
17
17
|
import { OverlayModule, OverlayContainer, Overlay } from '@angular/cdk/overlay';
|
|
18
|
+
import * as i1$2 from 'ngx-mask';
|
|
19
|
+
import { NgxMaskModule } from 'ngx-mask';
|
|
18
20
|
import * as i2$1 from '@angular/cdk/a11y';
|
|
19
21
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
20
22
|
import * as i3$1 from '@angular/cdk/drag-drop';
|
|
21
23
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
22
24
|
import * as i2$2 from '@angular/cdk/bidi';
|
|
23
|
-
import * as i1$3 from 'ngx-mask';
|
|
24
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
25
25
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
26
26
|
|
|
27
27
|
var _elementRef;
|
|
@@ -78,10 +78,26 @@ class AXBaseComponent {
|
|
|
78
78
|
}
|
|
79
79
|
onDestroy() {
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
_onOptionChanging(option) {
|
|
82
82
|
return option === null || option === void 0 ? void 0 : option.value;
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
_onOptionChanged(option) {
|
|
85
|
+
}
|
|
86
|
+
_setOption(option) {
|
|
87
|
+
const oldValue = this[option.name];
|
|
88
|
+
const newValue = this._onOptionChanging({ name: option.name, value: option.value });
|
|
89
|
+
//TODO : check real changes
|
|
90
|
+
if (oldValue != newValue) {
|
|
91
|
+
if (option.beforeCallback)
|
|
92
|
+
option.beforeCallback();
|
|
93
|
+
this[`_${option.name}`] = option.value;
|
|
94
|
+
this._onOptionChanged({ name: option.name, newValue, oldValue });
|
|
95
|
+
const emitter = this[`${option.name}Change`];
|
|
96
|
+
if (emitter)
|
|
97
|
+
emitter.emit(newValue);
|
|
98
|
+
if (option.afterCallback)
|
|
99
|
+
option.afterCallback();
|
|
100
|
+
}
|
|
85
101
|
}
|
|
86
102
|
}
|
|
87
103
|
_elementRef = new WeakMap();
|
|
@@ -108,120 +124,108 @@ const BASE_INPUTS = [
|
|
|
108
124
|
const BASE_OUTPUT = [];
|
|
109
125
|
|
|
110
126
|
function _ButtonComponentMixin(Base) {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
super(...args);
|
|
115
|
-
/**
|
|
116
|
-
* Defines the primary text to show inside the button.
|
|
117
|
-
*/
|
|
118
|
-
this.text = '';
|
|
119
|
-
/**
|
|
120
|
-
* Trigger click event by Enter Key
|
|
121
|
-
*/
|
|
122
|
-
this.submitBehavior = false;
|
|
123
|
-
/**
|
|
124
|
-
* Trigger click event by Esc Key
|
|
125
|
-
*/
|
|
126
|
-
this.cancelBehavior = false;
|
|
127
|
-
this.colorChange = new EventEmitter();
|
|
128
|
-
_color.set(this, 'primary');
|
|
129
|
-
this.lookChange = new EventEmitter();
|
|
130
|
-
_look.set(this, null);
|
|
131
|
-
this.toggleableChange = new EventEmitter();
|
|
132
|
-
_toggleable.set(this, false);
|
|
133
|
-
this.selectedChange = new EventEmitter();
|
|
134
|
-
_selected.set(this, false);
|
|
135
|
-
}
|
|
127
|
+
return class extends Base {
|
|
128
|
+
constructor(...args) {
|
|
129
|
+
super(...args);
|
|
136
130
|
/**
|
|
137
|
-
*
|
|
131
|
+
* Defines the primary text to show inside the button.
|
|
138
132
|
*/
|
|
139
|
-
|
|
140
|
-
return __classPrivateFieldGet(this, _color);
|
|
141
|
-
}
|
|
142
|
-
set color(value) {
|
|
143
|
-
value = this.onOptionChanging({ name: 'color', value: value });
|
|
144
|
-
if (value != __classPrivateFieldGet(this, _color)) {
|
|
145
|
-
const oldValue = this.color;
|
|
146
|
-
__classPrivateFieldSet(this, _color, value);
|
|
147
|
-
this.colorChange.emit(value);
|
|
148
|
-
this.onOptionChanged({ name: 'color', oldValue, newValue: value });
|
|
149
|
-
this._cdr.markForCheck();
|
|
150
|
-
}
|
|
151
|
-
}
|
|
133
|
+
this.text = '';
|
|
152
134
|
/**
|
|
153
|
-
*
|
|
135
|
+
* Trigger click event by Enter Key
|
|
154
136
|
*/
|
|
155
|
-
|
|
156
|
-
return __classPrivateFieldGet(this, _look);
|
|
157
|
-
}
|
|
158
|
-
set look(value) {
|
|
159
|
-
value = this.onOptionChanging({ name: 'look', value: value });
|
|
160
|
-
if (value != __classPrivateFieldGet(this, _look)) {
|
|
161
|
-
const oldValue = this.color;
|
|
162
|
-
__classPrivateFieldSet(this, _look, value);
|
|
163
|
-
this.lookChange.emit(value);
|
|
164
|
-
this.onOptionChanged({ name: 'look', oldValue, newValue: value });
|
|
165
|
-
this._cdr.markForCheck();
|
|
166
|
-
}
|
|
167
|
-
}
|
|
137
|
+
this.submitBehavior = false;
|
|
168
138
|
/**
|
|
169
|
-
*
|
|
139
|
+
* Trigger click event by Esc Key
|
|
170
140
|
*/
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
141
|
+
this.cancelBehavior = false;
|
|
142
|
+
this.colorChange = new EventEmitter();
|
|
143
|
+
this._color = 'primary';
|
|
144
|
+
this.lookChange = new EventEmitter();
|
|
145
|
+
this._look = null;
|
|
146
|
+
this.toggleableChange = new EventEmitter();
|
|
147
|
+
this._toggleable = false;
|
|
148
|
+
this.selectedChange = new EventEmitter();
|
|
149
|
+
this._selected = false;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Predefined color schemes
|
|
153
|
+
*/
|
|
154
|
+
get color() {
|
|
155
|
+
return this._color;
|
|
156
|
+
}
|
|
157
|
+
set color(value) {
|
|
158
|
+
this._setOption({
|
|
159
|
+
name: 'color',
|
|
160
|
+
value,
|
|
161
|
+
afterCallback: () => {
|
|
162
|
+
this._cdr.markForCheck();
|
|
181
163
|
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Predefined look schemes
|
|
168
|
+
*/
|
|
169
|
+
get look() {
|
|
170
|
+
return this._look;
|
|
171
|
+
}
|
|
172
|
+
set look(value) {
|
|
173
|
+
this._setOption({
|
|
174
|
+
name: 'look',
|
|
175
|
+
value,
|
|
176
|
+
afterCallback: () => {
|
|
195
177
|
this._cdr.markForCheck();
|
|
196
|
-
this.onOptionChanged({ name: 'selected', oldValue, newValue: value });
|
|
197
178
|
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Provides visual styling that indicates if the Button is active
|
|
183
|
+
*/
|
|
184
|
+
get toggleable() {
|
|
185
|
+
return this._toggleable;
|
|
186
|
+
}
|
|
187
|
+
set toggleable(value) {
|
|
188
|
+
this._setOption({
|
|
189
|
+
name: 'toggleable',
|
|
190
|
+
value
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Indicates if the Button is selected or not
|
|
195
|
+
*/
|
|
196
|
+
get selected() {
|
|
197
|
+
return this._selected;
|
|
198
|
+
}
|
|
199
|
+
set selected(value) {
|
|
200
|
+
this._setOption({
|
|
201
|
+
name: 'selected',
|
|
202
|
+
value,
|
|
203
|
+
afterCallback: () => {
|
|
204
|
+
this._cdr.markForCheck();
|
|
205
205
|
}
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
_onInternalViewInit() {
|
|
209
|
+
super._onInternalViewInit();
|
|
210
|
+
if (this.submitBehavior) {
|
|
211
|
+
setTimeout(() => {
|
|
212
|
+
this.focus();
|
|
213
|
+
}, 0);
|
|
206
214
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
_look = new WeakMap(),
|
|
222
|
-
_toggleable = new WeakMap(),
|
|
223
|
-
_selected = new WeakMap(),
|
|
224
|
-
_a;
|
|
215
|
+
}
|
|
216
|
+
_onInternalDestroy() {
|
|
217
|
+
super._onInternalDestroy();
|
|
218
|
+
}
|
|
219
|
+
get _classes() {
|
|
220
|
+
const cssClasses = {
|
|
221
|
+
'ax-button-icon': !this.text,
|
|
222
|
+
'ax-state-disabled': this["disabled"],
|
|
223
|
+
'ax-state-selected': this.selected
|
|
224
|
+
};
|
|
225
|
+
cssClasses[`ax-${this.color || 'primary'}${this.look ? '-' + this.look : ''}`] = true;
|
|
226
|
+
return cssClasses;
|
|
227
|
+
}
|
|
228
|
+
};
|
|
225
229
|
}
|
|
226
230
|
const BUTTON_INPUTS = [
|
|
227
231
|
'text',
|
|
@@ -354,17 +358,15 @@ function _DatalistComponenetMixin(Base) {
|
|
|
354
358
|
}
|
|
355
359
|
|
|
356
360
|
function _DropdownComponenetMixin(Base) {
|
|
357
|
-
var _readonly;
|
|
358
361
|
class Mixin extends Base {
|
|
359
362
|
constructor(...args) {
|
|
360
363
|
super(...args);
|
|
361
|
-
_readonly.set(this, false);
|
|
362
364
|
this.fitParent = true;
|
|
365
|
+
this.readonly = false;
|
|
363
366
|
this.onOpened = new EventEmitter();
|
|
364
367
|
this.onClosed = new EventEmitter();
|
|
368
|
+
this.position = [];
|
|
365
369
|
}
|
|
366
|
-
get readonly() { return __classPrivateFieldGet(this, _readonly); }
|
|
367
|
-
set readonly(value) { __classPrivateFieldSet(this, _readonly, coerceBooleanProperty(value)); }
|
|
368
370
|
_emitOnOpenedEvent() {
|
|
369
371
|
//** call from interactive mixin **//
|
|
370
372
|
//(this as any).focus();
|
|
@@ -375,16 +377,74 @@ function _DropdownComponenetMixin(Base) {
|
|
|
375
377
|
});
|
|
376
378
|
}
|
|
377
379
|
_emitOnClosedEvent() {
|
|
378
|
-
this.focus();
|
|
379
380
|
this.onClosed.emit({
|
|
380
381
|
component: this,
|
|
381
382
|
htmlElement: this._getHostElement()
|
|
382
383
|
});
|
|
383
384
|
}
|
|
385
|
+
onViewInit() {
|
|
386
|
+
if (this.dropdownWidth == null) {
|
|
387
|
+
if (this.fitParent === true) {
|
|
388
|
+
this.dropdownWidth = this._getInnerElement().offsetWidth;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
// wait for documentElement
|
|
392
|
+
setTimeout(() => {
|
|
393
|
+
if (this.position.length == 0) {
|
|
394
|
+
const offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
|
|
395
|
+
const list = [
|
|
396
|
+
{
|
|
397
|
+
originX: 'start',
|
|
398
|
+
originY: 'bottom',
|
|
399
|
+
overlayX: 'start',
|
|
400
|
+
overlayY: 'top',
|
|
401
|
+
offsetY: offset
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
originX: 'start',
|
|
405
|
+
originY: 'top',
|
|
406
|
+
overlayX: 'start',
|
|
407
|
+
overlayY: 'bottom',
|
|
408
|
+
offsetY: -offset
|
|
409
|
+
}
|
|
410
|
+
];
|
|
411
|
+
this.position.push(...list);
|
|
412
|
+
}
|
|
413
|
+
}, 500);
|
|
414
|
+
}
|
|
415
|
+
toggle() {
|
|
416
|
+
if (this['disabled'] !== true) {
|
|
417
|
+
this.popover.toggle();
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
close() {
|
|
421
|
+
if (!this.isOpen || this['disabled']) {
|
|
422
|
+
return;
|
|
423
|
+
}
|
|
424
|
+
this.popover.close();
|
|
425
|
+
this._emitOnClosedEvent();
|
|
426
|
+
}
|
|
427
|
+
open() {
|
|
428
|
+
if (this.isOpen || this['disabled']) {
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
this.popover.open();
|
|
432
|
+
this._emitOnOpenedEvent();
|
|
433
|
+
}
|
|
434
|
+
get isOpen() {
|
|
435
|
+
var _a;
|
|
436
|
+
return (_a = this.popover) === null || _a === void 0 ? void 0 : _a.isOpen;
|
|
437
|
+
}
|
|
384
438
|
}
|
|
385
|
-
_readonly = new WeakMap();
|
|
386
439
|
return Mixin;
|
|
387
|
-
}
|
|
440
|
+
}
|
|
441
|
+
const DROPDOWN_INPUTS = [
|
|
442
|
+
'isOpen',
|
|
443
|
+
'fitParent',
|
|
444
|
+
'dropdownWidth',
|
|
445
|
+
'position'
|
|
446
|
+
];
|
|
447
|
+
const DROPDOWN_OUTPUT = ['onOpened', 'onClosed'];
|
|
388
448
|
|
|
389
449
|
function _InteractiveComponenetMixin(Base) {
|
|
390
450
|
var _disabled, _tabIndex;
|
|
@@ -412,11 +472,11 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
412
472
|
*/
|
|
413
473
|
get disabled() { return __classPrivateFieldGet(this, _disabled); }
|
|
414
474
|
set disabled(value) {
|
|
415
|
-
value = this.
|
|
475
|
+
value = this._onOptionChanging({ name: 'disabled', value: value });
|
|
416
476
|
if (value != this.disabled) {
|
|
417
477
|
const oldValue = this.disabled;
|
|
418
478
|
__classPrivateFieldSet(this, _disabled, coerceBooleanProperty(value));
|
|
419
|
-
this.
|
|
479
|
+
this._onOptionChanged({ name: 'disabled', oldValue, newValue: value });
|
|
420
480
|
this._cdr.markForCheck();
|
|
421
481
|
}
|
|
422
482
|
}
|
|
@@ -687,7 +747,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
687
747
|
return __classPrivateFieldGet(this, _value);
|
|
688
748
|
}
|
|
689
749
|
set value(v) {
|
|
690
|
-
v = this.
|
|
750
|
+
v = this._onInternalValueChanging(v);
|
|
691
751
|
if (!this._isInited || this.debounceTime == 0) {
|
|
692
752
|
this._setValue(v);
|
|
693
753
|
}
|
|
@@ -705,6 +765,11 @@ function _ValueComponenetMixin(Base) {
|
|
|
705
765
|
});
|
|
706
766
|
this._onValueChanged(oldValue, __classPrivateFieldGet(this, _value));
|
|
707
767
|
}
|
|
768
|
+
_onInternalValueChanging(value) {
|
|
769
|
+
if (this.readonly)
|
|
770
|
+
return this.value;
|
|
771
|
+
return this._onValueChanging(value);
|
|
772
|
+
}
|
|
708
773
|
_onValueChanging(value) {
|
|
709
774
|
return value;
|
|
710
775
|
}
|
|
@@ -865,7 +930,7 @@ const AXBaseTextBoxMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_
|
|
|
865
930
|
const AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
|
|
866
931
|
const AXBaseValueDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
|
|
867
932
|
const AXBaseSelectionDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent))))));
|
|
868
|
-
const
|
|
933
|
+
const AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(AXBaseComponent)));
|
|
869
934
|
|
|
870
935
|
/**
|
|
871
936
|
* Contains native event
|
|
@@ -1469,7 +1534,7 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1469
1534
|
return this._selection;
|
|
1470
1535
|
}
|
|
1471
1536
|
set selection(value) {
|
|
1472
|
-
value = this.
|
|
1537
|
+
value = this._onOptionChanging({ name: 'selection', value: value });
|
|
1473
1538
|
const oldValue = this.selection;
|
|
1474
1539
|
if (value != oldValue) {
|
|
1475
1540
|
this._selection = value;
|
|
@@ -1484,7 +1549,7 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1484
1549
|
return this._color;
|
|
1485
1550
|
}
|
|
1486
1551
|
set color(value) {
|
|
1487
|
-
value = this.
|
|
1552
|
+
value = this._onOptionChanging({ name: 'color', value: value });
|
|
1488
1553
|
const oldValue = this.color;
|
|
1489
1554
|
if (value != oldValue) {
|
|
1490
1555
|
this._color = value;
|
|
@@ -1499,7 +1564,7 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1499
1564
|
return this._look;
|
|
1500
1565
|
}
|
|
1501
1566
|
set look(value) {
|
|
1502
|
-
value = this.
|
|
1567
|
+
value = this._onOptionChanging({ name: 'look', value: value });
|
|
1503
1568
|
const oldValue = this.look;
|
|
1504
1569
|
if (value != oldValue) {
|
|
1505
1570
|
this._look = value;
|
|
@@ -1808,73 +1873,125 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1808
1873
|
}]
|
|
1809
1874
|
}] });
|
|
1810
1875
|
|
|
1811
|
-
class
|
|
1876
|
+
class AXCalendarBaseComponent extends AXBaseComponent {
|
|
1812
1877
|
constructor(elementRef, cdr) {
|
|
1813
1878
|
super(elementRef, cdr);
|
|
1814
|
-
this.
|
|
1815
|
-
this._today = new AXDateTime(new Date());
|
|
1816
|
-
this._navText = '';
|
|
1817
|
-
this._todayText = '';
|
|
1818
|
-
this._slots = [];
|
|
1879
|
+
this.activeViewChange = new EventEmitter();
|
|
1819
1880
|
this._activeView = 'days';
|
|
1820
1881
|
this.depthChange = new EventEmitter();
|
|
1821
1882
|
this._depth = 'days';
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
case 'years':
|
|
1827
|
-
let y = current.startOf('year').year;
|
|
1828
|
-
let min = y - (y % 10) - 1;
|
|
1829
|
-
let max = min + 11;
|
|
1830
|
-
return new AXDateTimeRange(AXDateTime.convert(new Date(min, 0), this._today.calendar.name()), AXDateTime.convert(new Date(max, 0), this._today.calendar.name()));
|
|
1831
|
-
case 'months':
|
|
1832
|
-
//TODO: check add month function
|
|
1833
|
-
return new AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
|
|
1834
|
-
default:
|
|
1835
|
-
//return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
|
|
1836
|
-
return new AXDateTimeRange(current.startOf('month'), current.endOf('month'));
|
|
1837
|
-
}
|
|
1883
|
+
this.minChange = new EventEmitter();
|
|
1884
|
+
this.maxChange = new EventEmitter();
|
|
1885
|
+
this.disabledDatesChange = new EventEmitter();
|
|
1886
|
+
this.holidayDatesChange = new EventEmitter();
|
|
1838
1887
|
}
|
|
1839
1888
|
get activeView() {
|
|
1840
1889
|
return this._activeView;
|
|
1841
1890
|
}
|
|
1842
1891
|
set activeView(v) {
|
|
1843
|
-
this.
|
|
1844
|
-
this._genearteSlots();
|
|
1892
|
+
this._setOption({ name: 'activeView', value: v });
|
|
1845
1893
|
}
|
|
1846
1894
|
get depth() {
|
|
1847
1895
|
return this._depth;
|
|
1848
1896
|
}
|
|
1849
1897
|
set depth(v) {
|
|
1850
|
-
this.
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1898
|
+
this._setOption({
|
|
1899
|
+
name: 'depth',
|
|
1900
|
+
value: v,
|
|
1901
|
+
beforeCallback: () => {
|
|
1902
|
+
this._activeView = v;
|
|
1903
|
+
}
|
|
1904
|
+
});
|
|
1854
1905
|
}
|
|
1855
1906
|
get min() {
|
|
1856
1907
|
return this._min;
|
|
1857
1908
|
}
|
|
1858
1909
|
set min(v) {
|
|
1859
|
-
this.
|
|
1910
|
+
this._setOption({ name: 'min', value: v });
|
|
1860
1911
|
}
|
|
1861
1912
|
get max() {
|
|
1862
1913
|
return this._max;
|
|
1863
1914
|
}
|
|
1864
1915
|
set max(v) {
|
|
1865
|
-
this.
|
|
1916
|
+
this._setOption({ name: 'max', value: v });
|
|
1866
1917
|
}
|
|
1867
1918
|
get disabledDates() {
|
|
1868
1919
|
return this._disabledDates;
|
|
1869
1920
|
}
|
|
1870
1921
|
set disabledDates(v) {
|
|
1871
|
-
this.
|
|
1922
|
+
this._setOption({ name: 'disabledDates', value: v });
|
|
1872
1923
|
}
|
|
1873
1924
|
get holidayDates() {
|
|
1874
1925
|
return this._holidayDates;
|
|
1875
1926
|
}
|
|
1876
1927
|
set holidayDates(v) {
|
|
1877
|
-
this.
|
|
1928
|
+
this._setOption({ name: 'holidayDates', value: v });
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
AXCalendarBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarBaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1932
|
+
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarBaseComponent });
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarBaseComponent, decorators: [{
|
|
1934
|
+
type: Injectable
|
|
1935
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeViewChange: [{
|
|
1936
|
+
type: Output
|
|
1937
|
+
}], activeView: [{
|
|
1938
|
+
type: Input
|
|
1939
|
+
}], depthChange: [{
|
|
1940
|
+
type: Output
|
|
1941
|
+
}], depth: [{
|
|
1942
|
+
type: Input
|
|
1943
|
+
}], minChange: [{
|
|
1944
|
+
type: Output
|
|
1945
|
+
}], min: [{
|
|
1946
|
+
type: Input
|
|
1947
|
+
}], maxChange: [{
|
|
1948
|
+
type: Output
|
|
1949
|
+
}], max: [{
|
|
1950
|
+
type: Input
|
|
1951
|
+
}], disabledDatesChange: [{
|
|
1952
|
+
type: Output
|
|
1953
|
+
}], disabledDates: [{
|
|
1954
|
+
type: Input
|
|
1955
|
+
}], holidayDatesChange: [{
|
|
1956
|
+
type: Output
|
|
1957
|
+
}], holidayDates: [{
|
|
1958
|
+
type: Input
|
|
1959
|
+
}] } });
|
|
1960
|
+
const CALENDAR_INPUTS = [
|
|
1961
|
+
'depth',
|
|
1962
|
+
'activeView',
|
|
1963
|
+
'min',
|
|
1964
|
+
'max',
|
|
1965
|
+
'disabledDates',
|
|
1966
|
+
'holidayDates',
|
|
1967
|
+
];
|
|
1968
|
+
const CALENDAR_OUTPUTS = ['depthChange'];
|
|
1969
|
+
|
|
1970
|
+
const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
|
|
1971
|
+
class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
1972
|
+
constructor(elementRef, cdr) {
|
|
1973
|
+
super(elementRef, cdr);
|
|
1974
|
+
this.cdr = cdr;
|
|
1975
|
+
this._today = new AXDateTime(new Date());
|
|
1976
|
+
this._navText = '';
|
|
1977
|
+
this._todayText = '';
|
|
1978
|
+
this._slots = [];
|
|
1979
|
+
}
|
|
1980
|
+
get _viewRange() {
|
|
1981
|
+
const current = this._viewStartDate || this._today;
|
|
1982
|
+
switch (this.activeView) {
|
|
1983
|
+
case 'years':
|
|
1984
|
+
let y = current.startOf('year').year;
|
|
1985
|
+
let min = y - (y % 10) - 1;
|
|
1986
|
+
let max = min + 11;
|
|
1987
|
+
return new AXDateTimeRange(AXDateTime.convert(new Date(min, 0), this._today.calendar.name()), AXDateTime.convert(new Date(max, 0), this._today.calendar.name()));
|
|
1988
|
+
case 'months':
|
|
1989
|
+
//TODO: check add month function
|
|
1990
|
+
return new AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
|
|
1991
|
+
default:
|
|
1992
|
+
//return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
|
|
1993
|
+
return new AXDateTimeRange(current.startOf('month'), current.endOf('month'));
|
|
1994
|
+
}
|
|
1878
1995
|
}
|
|
1879
1996
|
onInit() {
|
|
1880
1997
|
this.goToday();
|
|
@@ -1996,6 +2113,11 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
1996
2113
|
else if (this.activeView == 'months')
|
|
1997
2114
|
this.activeView = 'years';
|
|
1998
2115
|
}
|
|
2116
|
+
_onOptionChanged(option) {
|
|
2117
|
+
if (option.name == 'depth' || option.name == 'activeView') {
|
|
2118
|
+
this._genearteSlots();
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
1999
2121
|
_onValueChanged(oldValue, newValue) {
|
|
2000
2122
|
this._genearteSlots();
|
|
2001
2123
|
}
|
|
@@ -2033,7 +2155,7 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2033
2155
|
}
|
|
2034
2156
|
isDisabled(date) {
|
|
2035
2157
|
if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
|
|
2036
|
-
|
|
2158
|
+
;
|
|
2037
2159
|
return this.disabledDates.some(d => date.equal(d, 'day'));
|
|
2038
2160
|
}
|
|
2039
2161
|
else if (typeof this.disabledDates == 'function') {
|
|
@@ -2055,32 +2177,18 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2055
2177
|
}
|
|
2056
2178
|
}
|
|
2057
2179
|
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2058
|
-
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", disabled: "disabled", tabIndex: "tabIndex",
|
|
2180
|
+
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", 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 });
|
|
2059
2181
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
2060
2182
|
type: Component,
|
|
2061
2183
|
args: [{
|
|
2062
2184
|
selector: 'ax-calendar',
|
|
2063
2185
|
templateUrl: './calendar.component.html',
|
|
2064
2186
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2065
|
-
inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS],
|
|
2066
|
-
outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT],
|
|
2187
|
+
inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS],
|
|
2188
|
+
outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS],
|
|
2067
2189
|
encapsulation: ViewEncapsulation.None,
|
|
2068
2190
|
}]
|
|
2069
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
2070
|
-
type: Input
|
|
2071
|
-
}], depthChange: [{
|
|
2072
|
-
type: Output
|
|
2073
|
-
}], depth: [{
|
|
2074
|
-
type: Input
|
|
2075
|
-
}], min: [{
|
|
2076
|
-
type: Input
|
|
2077
|
-
}], max: [{
|
|
2078
|
-
type: Input
|
|
2079
|
-
}], disabledDates: [{
|
|
2080
|
-
type: Input
|
|
2081
|
-
}], holidayDates: [{
|
|
2082
|
-
type: Input
|
|
2083
|
-
}], __hostClass: [{
|
|
2191
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
2084
2192
|
type: HostBinding,
|
|
2085
2193
|
args: ['class']
|
|
2086
2194
|
}] } });
|
|
@@ -2607,12 +2715,12 @@ class AXFormHintComponent extends AXBaseComponentMixin {
|
|
|
2607
2715
|
}
|
|
2608
2716
|
}
|
|
2609
2717
|
AXFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormHintComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2610
|
-
AXFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0, template: ' <p class="ax-text-
|
|
2718
|
+
AXFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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 });
|
|
2611
2719
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXFormHintComponent, decorators: [{
|
|
2612
2720
|
type: Component,
|
|
2613
2721
|
args: [{
|
|
2614
2722
|
selector: 'ax-form-hint',
|
|
2615
|
-
template: ' <p class="ax-text-
|
|
2723
|
+
template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>',
|
|
2616
2724
|
encapsulation: ViewEncapsulation.None,
|
|
2617
2725
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2618
2726
|
}]
|
|
@@ -2721,13 +2829,12 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
|
2721
2829
|
}
|
|
2722
2830
|
onInit() {
|
|
2723
2831
|
super.onInit();
|
|
2724
|
-
|
|
2832
|
+
;
|
|
2725
2833
|
if (!this.allowNull && this.value == null) {
|
|
2726
2834
|
this.value = false;
|
|
2727
2835
|
}
|
|
2728
2836
|
}
|
|
2729
2837
|
_onValueChanging(value) {
|
|
2730
|
-
debugger;
|
|
2731
2838
|
if (this.allowNull && value == null) {
|
|
2732
2839
|
this._stateIndeterminate = true;
|
|
2733
2840
|
}
|
|
@@ -2738,7 +2845,7 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
|
2738
2845
|
return value;
|
|
2739
2846
|
}
|
|
2740
2847
|
_handleOnClickEvent(e) {
|
|
2741
|
-
|
|
2848
|
+
;
|
|
2742
2849
|
if (this.readonly || this.disabled) {
|
|
2743
2850
|
e.preventDefault();
|
|
2744
2851
|
e.stopPropagation();
|
|
@@ -3085,6 +3192,126 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3085
3192
|
args: ['document:keydown', ['$event']]
|
|
3086
3193
|
}] } });
|
|
3087
3194
|
|
|
3195
|
+
const AXBaseDatePickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXCalendarBaseComponent))));
|
|
3196
|
+
class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
3197
|
+
constructor(_elementRef, _cdr) {
|
|
3198
|
+
super(_elementRef, _cdr);
|
|
3199
|
+
this.formatChange = new EventEmitter();
|
|
3200
|
+
this._format = 'YYYY-MM-dd';
|
|
3201
|
+
this._target = this._getHostElement();
|
|
3202
|
+
}
|
|
3203
|
+
get format() {
|
|
3204
|
+
return this._format;
|
|
3205
|
+
}
|
|
3206
|
+
set format(v) {
|
|
3207
|
+
this._setOption({
|
|
3208
|
+
name: 'format',
|
|
3209
|
+
value: v
|
|
3210
|
+
});
|
|
3211
|
+
}
|
|
3212
|
+
_handleArrowClickEvent(e) {
|
|
3213
|
+
this.toggle();
|
|
3214
|
+
}
|
|
3215
|
+
_onValueChanged(oldValue, newValue) {
|
|
3216
|
+
this.displayText = newValue ? AXDateTime.convert(newValue).format(this._format) : null;
|
|
3217
|
+
this.close();
|
|
3218
|
+
}
|
|
3219
|
+
_handleOnKeydownEvent(e) {
|
|
3220
|
+
var _a, _b;
|
|
3221
|
+
const ignore = () => {
|
|
3222
|
+
e.preventDefault();
|
|
3223
|
+
e.stopPropagation();
|
|
3224
|
+
};
|
|
3225
|
+
const nums = Array(10).fill(0).map((v, i) => i.toString());
|
|
3226
|
+
const chars = ['Backspace', 'ArrowDown', 'ArrowUp', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter'];
|
|
3227
|
+
const input = e.target;
|
|
3228
|
+
const key = (e.key);
|
|
3229
|
+
const valStr = input.value;
|
|
3230
|
+
const sStart = input.selectionStart;
|
|
3231
|
+
const sEnd = input.selectionEnd;
|
|
3232
|
+
const dateVal = new AXDateTime(this.value);
|
|
3233
|
+
// //
|
|
3234
|
+
if (![...nums, ...chars].includes(key)) {
|
|
3235
|
+
ignore();
|
|
3236
|
+
}
|
|
3237
|
+
if (e.key === 'ArrowRight' || e.key === 'ArrowLeft') {
|
|
3238
|
+
const re = /[a-zA-Z0-9]+/ig;
|
|
3239
|
+
const next = Array.from(valStr.substr(sEnd).matchAll(re));
|
|
3240
|
+
const prev = Array.from(valStr.substring(0, sStart).matchAll(re));
|
|
3241
|
+
ignore();
|
|
3242
|
+
this._highlightPart(input, (e.key === 'ArrowRight' ? (sEnd + (((_a = next[0]) === null || _a === void 0 ? void 0 : _a.index) || 0)) : ((_b = prev[prev.length - 1]) === null || _b === void 0 ? void 0 : _b.index)));
|
|
3243
|
+
}
|
|
3244
|
+
else if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
3245
|
+
const re = /[a-zA-Z0-9]+/ig;
|
|
3246
|
+
const sign = e.key === 'ArrowUp' ? +1 : -1;
|
|
3247
|
+
const parts = Array.from(this.format.matchAll(re));
|
|
3248
|
+
const word = valStr.substring(sStart, sEnd);
|
|
3249
|
+
const part = parts[Array.from(valStr.matchAll(re)).findIndex(c => c[0] == word)];
|
|
3250
|
+
if (part) {
|
|
3251
|
+
switch (part[0]) {
|
|
3252
|
+
case 'dd':
|
|
3253
|
+
case 'DD':
|
|
3254
|
+
this.value = dateVal.add('day', sign).date;
|
|
3255
|
+
break;
|
|
3256
|
+
case 'mm':
|
|
3257
|
+
case 'MMM':
|
|
3258
|
+
case 'MMMM':
|
|
3259
|
+
this.value = dateVal.add('month', sign).date;
|
|
3260
|
+
break;
|
|
3261
|
+
case 'yy':
|
|
3262
|
+
case 'YYYY':
|
|
3263
|
+
this.value = dateVal.add('year', sign).date;
|
|
3264
|
+
break;
|
|
3265
|
+
}
|
|
3266
|
+
setTimeout(() => {
|
|
3267
|
+
this._highlightPart(input, sEnd - 1);
|
|
3268
|
+
}, Math.max(10, this.debounceTime));
|
|
3269
|
+
}
|
|
3270
|
+
ignore();
|
|
3271
|
+
}
|
|
3272
|
+
else if (e.key == 'Backspace') {
|
|
3273
|
+
if (this.allowNull) {
|
|
3274
|
+
this.value = null;
|
|
3275
|
+
}
|
|
3276
|
+
ignore();
|
|
3277
|
+
}
|
|
3278
|
+
// else if (nums.includes(key)) {
|
|
3279
|
+
// }
|
|
3280
|
+
// super._emitOnKeydownEvent(e);
|
|
3281
|
+
}
|
|
3282
|
+
_handleOnInputClickEvent(e) {
|
|
3283
|
+
const input = e.target;
|
|
3284
|
+
this._highlightPart(input);
|
|
3285
|
+
e.preventDefault();
|
|
3286
|
+
e.stopPropagation();
|
|
3287
|
+
}
|
|
3288
|
+
_highlightPart(input, pos) {
|
|
3289
|
+
const { start, end } = AXStringUtil.getWordBoundsAtPosition(input.value, pos != null ? pos : input.selectionStart);
|
|
3290
|
+
input.setSelectionRange(start, end);
|
|
3291
|
+
}
|
|
3292
|
+
}
|
|
3293
|
+
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3294
|
+
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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", 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 }], 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\"\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)\" (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\"\r\n (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\" [style.min-width.px]=\"dropdownWidth\">\r\n <ax-calendar \r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [(value)]=\"value\"\r\n (onValueChanged)=\"_emitOnValueChangedEvent($event)\"\r\n [min]=\"min\"\r\n [min]=\"max\"\r\n [disabledDates]=\"disabledDates\"\r\n [holidayDates]=\"holidayDates\"\r\n [depth]=\"depth\"\r\n >\r\n\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"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange"] }], directives: [{ type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
3296
|
+
type: Component,
|
|
3297
|
+
args: [{
|
|
3298
|
+
selector: 'ax-date-picker',
|
|
3299
|
+
templateUrl: './datepicker.component.html',
|
|
3300
|
+
inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS],
|
|
3301
|
+
outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS],
|
|
3302
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3303
|
+
encapsulation: ViewEncapsulation.None,
|
|
3304
|
+
host: { class: 'ax-editor-container ax-drop-down' }
|
|
3305
|
+
}]
|
|
3306
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
3307
|
+
type: ViewChild,
|
|
3308
|
+
args: [AXPopoverComponent]
|
|
3309
|
+
}], formatChange: [{
|
|
3310
|
+
type: Output
|
|
3311
|
+
}], format: [{
|
|
3312
|
+
type: Input
|
|
3313
|
+
}] } });
|
|
3314
|
+
|
|
3088
3315
|
class AXPopoverModule {
|
|
3089
3316
|
}
|
|
3090
3317
|
AXPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -3100,178 +3327,87 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3100
3327
|
}]
|
|
3101
3328
|
}] });
|
|
3102
3329
|
|
|
3103
|
-
|
|
3104
|
-
class AXBaseDropDownComponent extends AXBaseDropdownMixin {
|
|
3330
|
+
class AXInputMaskComponent {
|
|
3105
3331
|
constructor() {
|
|
3106
|
-
|
|
3107
|
-
this.
|
|
3108
|
-
this.onOpened = new EventEmitter();
|
|
3109
|
-
this.onClosed = new EventEmitter();
|
|
3110
|
-
this.position = [];
|
|
3332
|
+
this.showMaskTyped = false;
|
|
3333
|
+
this.clearIfNotMatch = false;
|
|
3111
3334
|
}
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
//(this as any).focus();
|
|
3115
|
-
//
|
|
3116
|
-
this.onOpened.emit({
|
|
3117
|
-
component: this,
|
|
3118
|
-
htmlElement: this._getHostElement()
|
|
3119
|
-
});
|
|
3335
|
+
get prefix() {
|
|
3336
|
+
return this._prefix || '';
|
|
3120
3337
|
}
|
|
3121
|
-
|
|
3122
|
-
this.
|
|
3123
|
-
component: this,
|
|
3124
|
-
htmlElement: this._getHostElement()
|
|
3125
|
-
});
|
|
3338
|
+
set prefix(v) {
|
|
3339
|
+
this._prefix = v;
|
|
3126
3340
|
}
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
if (this.fitParent === true) {
|
|
3130
|
-
this.dropdownWidth = this._getInnerElement().offsetWidth;
|
|
3131
|
-
}
|
|
3132
|
-
}
|
|
3133
|
-
// wait for documentElement
|
|
3134
|
-
setTimeout(() => {
|
|
3135
|
-
if (this.position.length == 0) {
|
|
3136
|
-
const offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
|
|
3137
|
-
const list = [
|
|
3138
|
-
{
|
|
3139
|
-
originX: 'start',
|
|
3140
|
-
originY: 'bottom',
|
|
3141
|
-
overlayX: 'start',
|
|
3142
|
-
overlayY: 'top',
|
|
3143
|
-
offsetY: offset
|
|
3144
|
-
},
|
|
3145
|
-
{
|
|
3146
|
-
originX: 'start',
|
|
3147
|
-
originY: 'top',
|
|
3148
|
-
overlayX: 'start',
|
|
3149
|
-
overlayY: 'bottom',
|
|
3150
|
-
offsetY: -offset
|
|
3151
|
-
}
|
|
3152
|
-
];
|
|
3153
|
-
this.position.push(...list);
|
|
3154
|
-
}
|
|
3155
|
-
}, 500);
|
|
3156
|
-
}
|
|
3157
|
-
toggle() {
|
|
3158
|
-
if (this.disabled !== true) {
|
|
3159
|
-
this.popover.toggle();
|
|
3160
|
-
}
|
|
3161
|
-
}
|
|
3162
|
-
close() {
|
|
3163
|
-
if (!this.isOpen || this.disabled) {
|
|
3164
|
-
return;
|
|
3165
|
-
}
|
|
3166
|
-
this.popover.close();
|
|
3167
|
-
this._emitOnClosedEvent();
|
|
3168
|
-
}
|
|
3169
|
-
open() {
|
|
3170
|
-
if (this.isOpen || this.disabled) {
|
|
3171
|
-
return;
|
|
3172
|
-
}
|
|
3173
|
-
this.popover.open();
|
|
3174
|
-
this._emitOnOpenedEvent();
|
|
3341
|
+
get suffix() {
|
|
3342
|
+
return this._suffix || '';
|
|
3175
3343
|
}
|
|
3176
|
-
|
|
3177
|
-
|
|
3344
|
+
set suffix(v) {
|
|
3345
|
+
this._suffix = v;
|
|
3178
3346
|
}
|
|
3179
3347
|
}
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type:
|
|
3183
|
-
type:
|
|
3184
|
-
|
|
3348
|
+
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3349
|
+
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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 });
|
|
3350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
3351
|
+
type: Component,
|
|
3352
|
+
args: [{
|
|
3353
|
+
selector: 'ax-input-mask',
|
|
3354
|
+
template: '',
|
|
3355
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3356
|
+
encapsulation: ViewEncapsulation.None,
|
|
3357
|
+
}]
|
|
3358
|
+
}], propDecorators: { prefix: [{
|
|
3359
|
+
type: Input
|
|
3360
|
+
}], suffix: [{
|
|
3185
3361
|
type: Input
|
|
3186
|
-
}],
|
|
3362
|
+
}], showMaskTyped: [{
|
|
3187
3363
|
type: Input
|
|
3188
|
-
}],
|
|
3189
|
-
type:
|
|
3190
|
-
}],
|
|
3191
|
-
type: Output
|
|
3192
|
-
}], position: [{
|
|
3364
|
+
}], clearIfNotMatch: [{
|
|
3365
|
+
type: Input
|
|
3366
|
+
}], mask: [{
|
|
3193
3367
|
type: Input
|
|
3194
3368
|
}] } });
|
|
3195
3369
|
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
this._target = this;
|
|
3200
|
-
}
|
|
3201
|
-
_handleArrowClickEvent() {
|
|
3202
|
-
this.toggle();
|
|
3203
|
-
}
|
|
3370
|
+
const COMPONENT$e = [AXInputMaskComponent];
|
|
3371
|
+
const MODULES$e = [CommonModule, NgxMaskModule.forRoot()];
|
|
3372
|
+
class AXInputMaskModule {
|
|
3204
3373
|
}
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
i0.ɵɵ
|
|
3208
|
-
|
|
3374
|
+
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3375
|
+
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$2.NgxMaskModule], exports: [AXInputMaskComponent] });
|
|
3376
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$e]] });
|
|
3377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
3378
|
+
type: NgModule,
|
|
3209
3379
|
args: [{
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
3380
|
+
declarations: [...COMPONENT$e],
|
|
3381
|
+
imports: [...MODULES$e],
|
|
3382
|
+
exports: [...COMPONENT$e],
|
|
3383
|
+
providers: [],
|
|
3215
3384
|
}]
|
|
3216
|
-
}]
|
|
3217
|
-
type: ViewChild,
|
|
3218
|
-
args: [AXPopoverComponent]
|
|
3219
|
-
}] } });
|
|
3385
|
+
}] });
|
|
3220
3386
|
|
|
3221
|
-
|
|
3387
|
+
/**
|
|
3388
|
+
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
3389
|
+
*
|
|
3390
|
+
* @category Components
|
|
3391
|
+
*/
|
|
3392
|
+
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
3393
|
+
/**
|
|
3394
|
+
* @ignore
|
|
3395
|
+
*/
|
|
3222
3396
|
constructor(elementRef, cdr) {
|
|
3223
3397
|
super(elementRef, cdr);
|
|
3224
|
-
this.dayItems = new Array(32);
|
|
3225
|
-
this.yearItems = [1990];
|
|
3226
|
-
this.monthItems = [
|
|
3227
|
-
'January',
|
|
3228
|
-
'February',
|
|
3229
|
-
'March',
|
|
3230
|
-
'April',
|
|
3231
|
-
'May',
|
|
3232
|
-
'June',
|
|
3233
|
-
'July',
|
|
3234
|
-
'August',
|
|
3235
|
-
'September',
|
|
3236
|
-
'October',
|
|
3237
|
-
'November',
|
|
3238
|
-
'December',
|
|
3239
|
-
];
|
|
3240
|
-
this._showDays = true;
|
|
3241
|
-
this._showsMonths = false;
|
|
3242
|
-
this._showYears = false;
|
|
3243
|
-
this.createYears();
|
|
3244
|
-
}
|
|
3245
|
-
showMonths() {
|
|
3246
|
-
this._showDays = false;
|
|
3247
|
-
this._showYears = false;
|
|
3248
|
-
this._showsMonths = true;
|
|
3249
|
-
}
|
|
3250
|
-
showYears() {
|
|
3251
|
-
this._showsMonths = false;
|
|
3252
|
-
this._showDays = false;
|
|
3253
|
-
this._showYears = true;
|
|
3254
|
-
}
|
|
3255
|
-
showDays() {
|
|
3256
|
-
this._showYears = false;
|
|
3257
|
-
this._showsMonths = false;
|
|
3258
|
-
this._showDays = true;
|
|
3259
3398
|
}
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
number = number + 1;
|
|
3264
|
-
this.yearItems.push(number);
|
|
3265
|
-
}
|
|
3399
|
+
//TODO: prefix suffix text
|
|
3400
|
+
get hostClass() {
|
|
3401
|
+
return `${this.cssClass} ax-${this.size}`;
|
|
3266
3402
|
}
|
|
3267
3403
|
}
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type:
|
|
3404
|
+
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3405
|
+
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-text-box ax-editor-container" }, queries: [{ propertyName: "_contentMask", first: true, predicate: AXInputMaskComponent, descendants: true }], 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\" [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>", 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$2.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime"] }, { type: i3.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: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.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 });
|
|
3406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
3271
3407
|
type: Component,
|
|
3272
3408
|
args: [{
|
|
3273
|
-
selector: 'ax-
|
|
3274
|
-
templateUrl: '
|
|
3409
|
+
selector: 'ax-text-box',
|
|
3410
|
+
templateUrl: 'textbox.component.html',
|
|
3275
3411
|
inputs: [
|
|
3276
3412
|
'disabled',
|
|
3277
3413
|
'readonly',
|
|
@@ -3287,112 +3423,82 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3287
3423
|
'onFocus',
|
|
3288
3424
|
...TEXTBOX_OUTPUT,
|
|
3289
3425
|
],
|
|
3290
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3291
3426
|
encapsulation: ViewEncapsulation.None,
|
|
3292
|
-
}]
|
|
3293
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
3294
|
-
|
|
3295
|
-
class AXDropdownPanelComponent extends AXBaseDropDownComponent {
|
|
3296
|
-
constructor(elementRef, cdr, _parent) {
|
|
3297
|
-
super(elementRef, cdr);
|
|
3298
|
-
this._parent = _parent;
|
|
3299
|
-
this.onItemClick = new EventEmitter();
|
|
3300
|
-
this._needBorder = false;
|
|
3301
|
-
this._subs = [];
|
|
3302
|
-
this._target = this._parent._getHostElement();
|
|
3303
|
-
}
|
|
3304
|
-
get items() {
|
|
3305
|
-
return this._items || [];
|
|
3306
|
-
}
|
|
3307
|
-
set items(v) {
|
|
3308
|
-
this._items = v;
|
|
3309
|
-
this._cdr.markForCheck();
|
|
3310
|
-
}
|
|
3311
|
-
_getAllButtons() {
|
|
3312
|
-
return [...Array.from(this._viewButtons), ...Array.from(this._contentButtons)];
|
|
3313
|
-
}
|
|
3314
|
-
onViewInit() {
|
|
3315
|
-
super.onViewInit();
|
|
3316
|
-
this._getAllButtons().forEach(c => {
|
|
3317
|
-
this._needBorder = true;
|
|
3318
|
-
this._subs.push(c.onClick.subscribe(this._handleOnItemClick.bind(this)));
|
|
3319
|
-
this._cdr.markForCheck();
|
|
3320
|
-
});
|
|
3321
|
-
}
|
|
3322
|
-
onDestroy() {
|
|
3323
|
-
this._subs.forEach(s => {
|
|
3324
|
-
s === null || s === void 0 ? void 0 : s.unsubscribe();
|
|
3325
|
-
});
|
|
3326
|
-
}
|
|
3327
|
-
_emitOnItemClickEvent(e, item) {
|
|
3328
|
-
this.onItemClick.emit({
|
|
3329
|
-
component: this,
|
|
3330
|
-
htmlElement: this._getHostElement(),
|
|
3331
|
-
nativeEvent: e.nativeEvent,
|
|
3332
|
-
name: item.name,
|
|
3333
|
-
data: item.data,
|
|
3334
|
-
});
|
|
3335
|
-
}
|
|
3336
|
-
_handleOnItemClick(e) {
|
|
3337
|
-
this.close();
|
|
3338
|
-
this._emitOnItemClickEvent(e, e.component);
|
|
3339
|
-
}
|
|
3340
|
-
}
|
|
3341
|
-
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3342
|
-
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: 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"] }, { 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 });
|
|
3343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
3344
|
-
type: Component,
|
|
3345
|
-
args: [{
|
|
3346
|
-
selector: 'ax-dropdown-panel',
|
|
3347
|
-
templateUrl: './dropdown-panel.component.html',
|
|
3348
3427
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3349
|
-
|
|
3428
|
+
host: { class: 'ax-text-box ax-editor-container' },
|
|
3350
3429
|
}]
|
|
3351
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef },
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
type: ViewChildren,
|
|
3358
|
-
args: [AXButtonItemComponent]
|
|
3359
|
-
}], onItemClick: [{
|
|
3360
|
-
type: Output
|
|
3361
|
-
}], popover: [{
|
|
3362
|
-
type: ViewChild,
|
|
3363
|
-
args: [AXPopoverComponent]
|
|
3364
|
-
}], items: [{
|
|
3365
|
-
type: Input
|
|
3430
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
|
|
3431
|
+
type: ContentChild,
|
|
3432
|
+
args: [AXInputMaskComponent]
|
|
3433
|
+
}], hostClass: [{
|
|
3434
|
+
type: HostBinding,
|
|
3435
|
+
args: ['class']
|
|
3366
3436
|
}] } });
|
|
3367
3437
|
|
|
3368
|
-
class
|
|
3438
|
+
class AXTextBoxModule {
|
|
3369
3439
|
}
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3440
|
+
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3441
|
+
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
3442
|
+
FormsModule,
|
|
3443
|
+
AXButtonModule,
|
|
3444
|
+
AXEditorDecoratorModule,
|
|
3445
|
+
AXIconModule, i1$2.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
3446
|
+
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
3447
|
+
CommonModule,
|
|
3448
|
+
FormsModule,
|
|
3449
|
+
AXButtonModule,
|
|
3450
|
+
AXEditorDecoratorModule,
|
|
3451
|
+
AXIconModule,
|
|
3452
|
+
NgxMaskModule.forChild()
|
|
3453
|
+
]] });
|
|
3454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
3374
3455
|
type: NgModule,
|
|
3375
3456
|
args: [{
|
|
3376
|
-
imports: [
|
|
3377
|
-
|
|
3378
|
-
|
|
3457
|
+
imports: [
|
|
3458
|
+
CommonModule,
|
|
3459
|
+
FormsModule,
|
|
3460
|
+
AXButtonModule,
|
|
3461
|
+
AXEditorDecoratorModule,
|
|
3462
|
+
AXIconModule,
|
|
3463
|
+
NgxMaskModule.forChild()
|
|
3464
|
+
],
|
|
3465
|
+
exports: [AXTextBoxComponent],
|
|
3466
|
+
declarations: [AXTextBoxComponent],
|
|
3379
3467
|
providers: [],
|
|
3380
3468
|
}]
|
|
3381
3469
|
}] });
|
|
3382
3470
|
|
|
3383
|
-
const COMPONENT$
|
|
3384
|
-
const MODULES$
|
|
3471
|
+
const COMPONENT$d = [AXDatePickerComponent];
|
|
3472
|
+
const MODULES$d = [
|
|
3473
|
+
CommonModule,
|
|
3474
|
+
AXCalendarModule,
|
|
3475
|
+
AXTextBoxModule,
|
|
3476
|
+
AXButtonModule,
|
|
3477
|
+
AXPopoverModule,
|
|
3478
|
+
AXEditorDecoratorModule,
|
|
3479
|
+
AXIconModule,
|
|
3480
|
+
AXDateTimeModule,
|
|
3481
|
+
FormsModule
|
|
3482
|
+
];
|
|
3385
3483
|
class AXDatepickerModule {
|
|
3386
3484
|
}
|
|
3387
3485
|
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3388
|
-
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, declarations: [
|
|
3389
|
-
|
|
3486
|
+
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [CommonModule,
|
|
3487
|
+
AXCalendarModule,
|
|
3488
|
+
AXTextBoxModule,
|
|
3489
|
+
AXButtonModule,
|
|
3490
|
+
AXPopoverModule,
|
|
3491
|
+
AXEditorDecoratorModule,
|
|
3492
|
+
AXIconModule,
|
|
3493
|
+
AXDateTimeModule,
|
|
3494
|
+
FormsModule], exports: [AXDatePickerComponent] });
|
|
3495
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
|
|
3390
3496
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
3391
3497
|
type: NgModule,
|
|
3392
3498
|
args: [{
|
|
3393
|
-
declarations: [...COMPONENT$
|
|
3394
|
-
imports: [...MODULES$
|
|
3395
|
-
exports: [...COMPONENT$
|
|
3499
|
+
declarations: [...COMPONENT$d],
|
|
3500
|
+
imports: [...MODULES$d],
|
|
3501
|
+
exports: [...COMPONENT$d],
|
|
3396
3502
|
providers: [],
|
|
3397
3503
|
}]
|
|
3398
3504
|
}] });
|
|
@@ -3603,7 +3709,7 @@ class AXLoadingComponent extends AXBaseComponentMixin {
|
|
|
3603
3709
|
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3604
3710
|
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type" }, outputs: { visibleChange: "visibleChange" }, host: { classAttribute: "ax-loading" }, usesInheritance: true, ngImport: i0, template: `
|
|
3605
3711
|
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3606
|
-
`, isInline: true, directives: [{ type: i1$
|
|
3712
|
+
`, isInline: true, directives: [{ type: i1$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3607
3713
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
3608
3714
|
type: Component,
|
|
3609
3715
|
args: [{
|
|
@@ -3717,8 +3823,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3717
3823
|
args: ['axIsLoading']
|
|
3718
3824
|
}] } });
|
|
3719
3825
|
|
|
3720
|
-
const COMPONENT$
|
|
3721
|
-
const MODULES$
|
|
3826
|
+
const COMPONENT$c = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
3827
|
+
const MODULES$c = [CommonModule, OverlayModule, PortalModule];
|
|
3722
3828
|
class AXLoadingModule {
|
|
3723
3829
|
constructor() {
|
|
3724
3830
|
AXConfig.set({
|
|
@@ -3732,13 +3838,13 @@ class AXLoadingModule {
|
|
|
3732
3838
|
}
|
|
3733
3839
|
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3734
3840
|
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
3735
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$
|
|
3841
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$c]] });
|
|
3736
3842
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
3737
3843
|
type: NgModule,
|
|
3738
3844
|
args: [{
|
|
3739
|
-
declarations: [...COMPONENT$
|
|
3740
|
-
imports: [...MODULES$
|
|
3741
|
-
exports: [...COMPONENT$
|
|
3845
|
+
declarations: [...COMPONENT$c],
|
|
3846
|
+
imports: [...MODULES$c],
|
|
3847
|
+
exports: [...COMPONENT$c],
|
|
3742
3848
|
providers: [],
|
|
3743
3849
|
}]
|
|
3744
3850
|
}], ctorParameters: function () { return []; } });
|
|
@@ -4104,7 +4210,7 @@ class AXBasePageComponent {
|
|
|
4104
4210
|
return this._isLoading;
|
|
4105
4211
|
}
|
|
4106
4212
|
set isLoading(v) {
|
|
4107
|
-
|
|
4213
|
+
;
|
|
4108
4214
|
this._isLoading = v;
|
|
4109
4215
|
if (this.pageContainer) {
|
|
4110
4216
|
this.pageContainer.isLoading = this.isLoading;
|
|
@@ -4149,19 +4255,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4149
4255
|
}]
|
|
4150
4256
|
}] });
|
|
4151
4257
|
|
|
4152
|
-
const COMPONENT$
|
|
4153
|
-
const MODULES$
|
|
4258
|
+
const COMPONENT$b = [AXDialogComponent];
|
|
4259
|
+
const MODULES$b = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4154
4260
|
class AXDialogModule {
|
|
4155
4261
|
}
|
|
4156
4262
|
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4157
4263
|
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
|
|
4158
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$
|
|
4264
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$b]] });
|
|
4159
4265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
4160
4266
|
type: NgModule,
|
|
4161
4267
|
args: [{
|
|
4162
|
-
declarations: [...COMPONENT$
|
|
4163
|
-
imports: [...MODULES$
|
|
4164
|
-
exports: [...COMPONENT$
|
|
4268
|
+
declarations: [...COMPONENT$b],
|
|
4269
|
+
imports: [...MODULES$b],
|
|
4270
|
+
exports: [...COMPONENT$b],
|
|
4165
4271
|
providers: [],
|
|
4166
4272
|
}]
|
|
4167
4273
|
}] });
|
|
@@ -4401,76 +4507,135 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4401
4507
|
}]
|
|
4402
4508
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4403
4509
|
|
|
4404
|
-
const COMPONENT$
|
|
4405
|
-
const MODULES$
|
|
4510
|
+
const COMPONENT$a = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
4511
|
+
const MODULES$a = [CommonModule];
|
|
4406
4512
|
class AXDrawerModule {
|
|
4407
4513
|
}
|
|
4408
4514
|
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4409
4515
|
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
|
|
4410
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$
|
|
4516
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$a]] });
|
|
4411
4517
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
4412
4518
|
type: NgModule,
|
|
4413
4519
|
args: [{
|
|
4414
|
-
declarations: [...COMPONENT$
|
|
4415
|
-
imports: [...MODULES$
|
|
4416
|
-
exports: [...COMPONENT$
|
|
4520
|
+
declarations: [...COMPONENT$a],
|
|
4521
|
+
imports: [...MODULES$a],
|
|
4522
|
+
exports: [...COMPONENT$a],
|
|
4417
4523
|
providers: [],
|
|
4418
4524
|
}]
|
|
4419
4525
|
}] });
|
|
4420
4526
|
|
|
4421
|
-
class
|
|
4422
|
-
constructor() {
|
|
4423
|
-
|
|
4424
|
-
this.
|
|
4527
|
+
class AXDropdownComponent extends AXBaseDropdownMixin {
|
|
4528
|
+
constructor(_elementRef, _cdr) {
|
|
4529
|
+
super(_elementRef, _cdr);
|
|
4530
|
+
this._target = this;
|
|
4425
4531
|
}
|
|
4426
|
-
|
|
4427
|
-
|
|
4532
|
+
_handleArrowClickEvent() {
|
|
4533
|
+
this.toggle();
|
|
4428
4534
|
}
|
|
4429
|
-
|
|
4430
|
-
|
|
4535
|
+
}
|
|
4536
|
+
AXDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4537
|
+
AXDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownComponent, decorators: [{
|
|
4539
|
+
type: Component,
|
|
4540
|
+
args: [{
|
|
4541
|
+
selector: 'ax-drop-down',
|
|
4542
|
+
templateUrl: './dropdown.component.html',
|
|
4543
|
+
inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS],
|
|
4544
|
+
outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT],
|
|
4545
|
+
encapsulation: ViewEncapsulation.None,
|
|
4546
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4547
|
+
}]
|
|
4548
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
4549
|
+
type: ViewChild,
|
|
4550
|
+
args: [AXPopoverComponent]
|
|
4551
|
+
}] } });
|
|
4552
|
+
|
|
4553
|
+
class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
4554
|
+
constructor(elementRef, cdr, _parent) {
|
|
4555
|
+
super(elementRef, cdr);
|
|
4556
|
+
this._parent = _parent;
|
|
4557
|
+
this.onItemClick = new EventEmitter();
|
|
4558
|
+
this._needBorder = false;
|
|
4559
|
+
this._subs = [];
|
|
4560
|
+
this._target = this._parent._getHostElement();
|
|
4431
4561
|
}
|
|
4432
|
-
get
|
|
4433
|
-
return this.
|
|
4562
|
+
get items() {
|
|
4563
|
+
return this._items || [];
|
|
4434
4564
|
}
|
|
4435
|
-
set
|
|
4436
|
-
this.
|
|
4565
|
+
set items(v) {
|
|
4566
|
+
this._items = v;
|
|
4567
|
+
this._cdr.markForCheck();
|
|
4568
|
+
}
|
|
4569
|
+
_getAllButtons() {
|
|
4570
|
+
return [...Array.from(this._viewButtons), ...Array.from(this._contentButtons)];
|
|
4571
|
+
}
|
|
4572
|
+
onViewInit() {
|
|
4573
|
+
super.onViewInit();
|
|
4574
|
+
this._getAllButtons().forEach(c => {
|
|
4575
|
+
this._needBorder = true;
|
|
4576
|
+
this._subs.push(c.onClick.subscribe(this._handleOnItemClick.bind(this)));
|
|
4577
|
+
this._cdr.markForCheck();
|
|
4578
|
+
});
|
|
4579
|
+
}
|
|
4580
|
+
onDestroy() {
|
|
4581
|
+
this._subs.forEach(s => {
|
|
4582
|
+
s === null || s === void 0 ? void 0 : s.unsubscribe();
|
|
4583
|
+
});
|
|
4584
|
+
}
|
|
4585
|
+
_emitOnItemClickEvent(e, item) {
|
|
4586
|
+
this.onItemClick.emit({
|
|
4587
|
+
component: this,
|
|
4588
|
+
htmlElement: this._getHostElement(),
|
|
4589
|
+
nativeEvent: e.nativeEvent,
|
|
4590
|
+
name: item.name,
|
|
4591
|
+
data: item.data,
|
|
4592
|
+
});
|
|
4593
|
+
}
|
|
4594
|
+
_handleOnItemClick(e) {
|
|
4595
|
+
this.close();
|
|
4596
|
+
this._emitOnItemClickEvent(e, e.component);
|
|
4437
4597
|
}
|
|
4438
4598
|
}
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type:
|
|
4599
|
+
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4600
|
+
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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 }, { 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"] }, { 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 });
|
|
4601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
4442
4602
|
type: Component,
|
|
4443
4603
|
args: [{
|
|
4444
|
-
selector: 'ax-
|
|
4445
|
-
|
|
4604
|
+
selector: 'ax-dropdown-panel',
|
|
4605
|
+
templateUrl: './dropdown-panel.component.html',
|
|
4446
4606
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4447
4607
|
encapsulation: ViewEncapsulation.None,
|
|
4608
|
+
inputs: [...DROPDOWN_INPUTS],
|
|
4609
|
+
outputs: [...DROPDOWN_OUTPUT],
|
|
4448
4610
|
}]
|
|
4449
|
-
}],
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
type:
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
}],
|
|
4611
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
|
|
4612
|
+
type: Optional
|
|
4613
|
+
}] }]; }, propDecorators: { _contentButtons: [{
|
|
4614
|
+
type: ContentChildren,
|
|
4615
|
+
args: [AXButtonItemComponent]
|
|
4616
|
+
}], _viewButtons: [{
|
|
4617
|
+
type: ViewChildren,
|
|
4618
|
+
args: [AXButtonItemComponent]
|
|
4619
|
+
}], onItemClick: [{
|
|
4620
|
+
type: Output
|
|
4621
|
+
}], popover: [{
|
|
4622
|
+
type: ViewChild,
|
|
4623
|
+
args: [AXPopoverComponent]
|
|
4624
|
+
}], items: [{
|
|
4458
4625
|
type: Input
|
|
4459
4626
|
}] } });
|
|
4460
4627
|
|
|
4461
|
-
|
|
4462
|
-
const MODULES$a = [CommonModule, NgxMaskModule.forRoot()];
|
|
4463
|
-
class AXInputMaskModule {
|
|
4628
|
+
class AXDropdownModule {
|
|
4464
4629
|
}
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type:
|
|
4630
|
+
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4631
|
+
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownModule, declarations: [AXDropdownComponent, AXDropdownPanelComponent], imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule], exports: [AXDropdownComponent, AXDropdownPanelComponent] });
|
|
4632
|
+
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
|
|
4633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownModule, decorators: [{
|
|
4469
4634
|
type: NgModule,
|
|
4470
4635
|
args: [{
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4636
|
+
imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
|
|
4637
|
+
exports: [AXDropdownComponent, AXDropdownPanelComponent],
|
|
4638
|
+
declarations: [AXDropdownComponent, AXDropdownPanelComponent],
|
|
4474
4639
|
providers: [],
|
|
4475
4640
|
}]
|
|
4476
4641
|
}] });
|
|
@@ -4705,7 +4870,7 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4705
4870
|
this._emitOnFocusEvent(e);
|
|
4706
4871
|
}
|
|
4707
4872
|
}
|
|
4708
|
-
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
4873
|
+
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.MaskApplierService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4709
4874
|
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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", separator: "separator", thousandSeparator: "thousandSeparator", step: "step", scale: "scale", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-number-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\" [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_handleOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\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>", 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: i3.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: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.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 });
|
|
4710
4875
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4711
4876
|
type: Component,
|
|
@@ -4731,7 +4896,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4731
4896
|
encapsulation: ViewEncapsulation.None,
|
|
4732
4897
|
host: { class: 'ax-number-box ax-editor-container' },
|
|
4733
4898
|
}]
|
|
4734
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
4899
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.MaskApplierService }]; }, propDecorators: { __hostClass: [{
|
|
4735
4900
|
type: HostBinding,
|
|
4736
4901
|
args: ['class']
|
|
4737
4902
|
}], separator: [{
|
|
@@ -4768,7 +4933,7 @@ class AXNumberBoxModule {
|
|
|
4768
4933
|
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4769
4934
|
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
|
|
4770
4935
|
FormsModule,
|
|
4771
|
-
AXButtonModule, i1$
|
|
4936
|
+
AXButtonModule, i1$2.NgxMaskModule], exports: [AXNumberBoxComponent] });
|
|
4772
4937
|
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$9]] });
|
|
4773
4938
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXNumberBoxModule, decorators: [{
|
|
4774
4939
|
type: NgModule,
|
|
@@ -4953,7 +5118,7 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
4953
5118
|
onFullScreen() { }
|
|
4954
5119
|
}
|
|
4955
5120
|
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: AXLoadingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4956
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\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$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$
|
|
5121
|
+
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\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$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4957
5122
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
4958
5123
|
type: Component,
|
|
4959
5124
|
args: [{
|
|
@@ -5313,7 +5478,7 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5313
5478
|
}
|
|
5314
5479
|
}
|
|
5315
5480
|
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5316
|
-
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", fitParent: "fitParent", value: "value", items: "items", multiple: "multiple", allowNull: "allowNull", valueField: "valueField", textField: "textField" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { listeners: { "document:keydown": "_handleKeydown($event)" }, classAttribute: "ax-select-box" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: AXDropdownComponent, descendants: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (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\" (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 class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (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 <ng-container *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)\" [attr.tabindex]=\"i\" (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)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ax-check-box [value]=\"isItemSelected(item)\">\r\n </ax-check-box>\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n\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-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>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["disabled", "tabIndex", "
|
|
5481
|
+
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", fitParent: "fitParent", value: "value", items: "items", multiple: "multiple", allowNull: "allowNull", valueField: "valueField", textField: "textField" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { listeners: { "document:keydown": "_handleKeydown($event)" }, classAttribute: "ax-select-box" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: AXDropdownComponent, descendants: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (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\" (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 class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (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 <ng-container *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)\" [attr.tabindex]=\"i\" (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)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ax-check-box [value]=\"isItemSelected(item)\">\r\n </ax-check-box>\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n\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-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>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "disabled", "tabIndex"], outputs: ["onOpened", "onClosed", "onBlur", "onFocus"] }, { type: AXBadgeComponent, selector: "ax-badge", inputs: ["text", "color"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5317
5482
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
5318
5483
|
type: Component,
|
|
5319
5484
|
args: [{
|
|
@@ -5367,7 +5532,7 @@ class AXSelectionListComponent extends AXBaseSelectionValueMixin {
|
|
|
5367
5532
|
}
|
|
5368
5533
|
}
|
|
5369
5534
|
AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectionListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5370
|
-
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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\">\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\"> {{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\">\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\"> {{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>", 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 });
|
|
5535
|
+
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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\">\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\">\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>", 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 });
|
|
5371
5536
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSelectionListComponent, decorators: [{
|
|
5372
5537
|
type: Component,
|
|
5373
5538
|
args: [{
|
|
@@ -5665,7 +5830,7 @@ class AXTabItemComponent extends AXBaseClickableMixin {
|
|
|
5665
5830
|
}
|
|
5666
5831
|
// @HostBinding('class')
|
|
5667
5832
|
// private get __hostClass(): string {
|
|
5668
|
-
//
|
|
5833
|
+
// ;
|
|
5669
5834
|
// const classes: any = {
|
|
5670
5835
|
// 'ax-state-active': this.active
|
|
5671
5836
|
// }
|
|
@@ -5808,7 +5973,7 @@ class AXTabContentDirective {
|
|
|
5808
5973
|
return this._portal;
|
|
5809
5974
|
}
|
|
5810
5975
|
set portal(v) {
|
|
5811
|
-
|
|
5976
|
+
//;
|
|
5812
5977
|
if (v) {
|
|
5813
5978
|
this._portal = v;
|
|
5814
5979
|
this._viewContainerRef.clear();
|
|
@@ -5941,7 +6106,7 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
5941
6106
|
this._emitOnFocusEvent(e);
|
|
5942
6107
|
}
|
|
5943
6108
|
}
|
|
5944
|
-
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
6109
|
+
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.MaskApplierService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5945
6110
|
AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", 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", 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<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\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>", 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: i3.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: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.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 });
|
|
5946
6111
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
|
|
5947
6112
|
type: Component,
|
|
@@ -5954,7 +6119,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5954
6119
|
encapsulation: ViewEncapsulation.None,
|
|
5955
6120
|
host: { class: 'ax-time-box ax-editor-container' },
|
|
5956
6121
|
}]
|
|
5957
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
6122
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.MaskApplierService }]; }, propDecorators: { hostClass: [{
|
|
5958
6123
|
type: HostBinding,
|
|
5959
6124
|
args: ['class']
|
|
5960
6125
|
}], minValue: [{
|
|
@@ -5981,7 +6146,7 @@ class AXTimeBoxModule {
|
|
|
5981
6146
|
AXTimeBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5982
6147
|
AXTimeBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [CommonModule,
|
|
5983
6148
|
FormsModule,
|
|
5984
|
-
AXButtonModule, i1$
|
|
6149
|
+
AXButtonModule, i1$2.NgxMaskModule], exports: [AXTimeBoxComponent] });
|
|
5985
6150
|
AXTimeBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxModule, providers: [], imports: [[...MODULES$2]] });
|
|
5986
6151
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTimeBoxModule, decorators: [{
|
|
5987
6152
|
type: NgModule,
|
|
@@ -6304,90 +6469,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
6304
6469
|
}]
|
|
6305
6470
|
}] });
|
|
6306
6471
|
|
|
6307
|
-
/**
|
|
6308
|
-
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
6309
|
-
*
|
|
6310
|
-
* @category Components
|
|
6311
|
-
*/
|
|
6312
|
-
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
6313
|
-
/**
|
|
6314
|
-
* @ignore
|
|
6315
|
-
*/
|
|
6316
|
-
constructor(elementRef, cdr) {
|
|
6317
|
-
super(elementRef, cdr);
|
|
6318
|
-
}
|
|
6319
|
-
//TODO: prefix suffix text
|
|
6320
|
-
get hostClass() {
|
|
6321
|
-
return `${this.cssClass} ax-${this.size}`;
|
|
6322
|
-
}
|
|
6323
|
-
}
|
|
6324
|
-
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6325
|
-
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-text-box ax-editor-container" }, queries: [{ propertyName: "_contentMask", first: true, predicate: AXInputMaskComponent, descendants: true }], 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\" [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>", 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$3.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime"] }, { type: i3.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: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.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 });
|
|
6326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
6327
|
-
type: Component,
|
|
6328
|
-
args: [{
|
|
6329
|
-
selector: 'ax-text-box',
|
|
6330
|
-
templateUrl: 'textbox.component.html',
|
|
6331
|
-
inputs: [
|
|
6332
|
-
'disabled',
|
|
6333
|
-
'readonly',
|
|
6334
|
-
'tabIndex',
|
|
6335
|
-
'cssClass',
|
|
6336
|
-
'size',
|
|
6337
|
-
...TEXTBOX_INPUTS,
|
|
6338
|
-
],
|
|
6339
|
-
outputs: [
|
|
6340
|
-
'valueChange',
|
|
6341
|
-
'onValueChanged',
|
|
6342
|
-
'onBlur',
|
|
6343
|
-
'onFocus',
|
|
6344
|
-
...TEXTBOX_OUTPUT,
|
|
6345
|
-
],
|
|
6346
|
-
encapsulation: ViewEncapsulation.None,
|
|
6347
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6348
|
-
host: { class: 'ax-text-box ax-editor-container' },
|
|
6349
|
-
}]
|
|
6350
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
|
|
6351
|
-
type: ContentChild,
|
|
6352
|
-
args: [AXInputMaskComponent]
|
|
6353
|
-
}], hostClass: [{
|
|
6354
|
-
type: HostBinding,
|
|
6355
|
-
args: ['class']
|
|
6356
|
-
}] } });
|
|
6357
|
-
|
|
6358
|
-
class AXTextBoxModule {
|
|
6359
|
-
}
|
|
6360
|
-
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6361
|
-
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
6362
|
-
FormsModule,
|
|
6363
|
-
AXButtonModule,
|
|
6364
|
-
AXEditorDecoratorModule,
|
|
6365
|
-
AXIconModule, i1$3.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
6366
|
-
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
6367
|
-
CommonModule,
|
|
6368
|
-
FormsModule,
|
|
6369
|
-
AXButtonModule,
|
|
6370
|
-
AXEditorDecoratorModule,
|
|
6371
|
-
AXIconModule,
|
|
6372
|
-
NgxMaskModule.forChild()
|
|
6373
|
-
]] });
|
|
6374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
6375
|
-
type: NgModule,
|
|
6376
|
-
args: [{
|
|
6377
|
-
imports: [
|
|
6378
|
-
CommonModule,
|
|
6379
|
-
FormsModule,
|
|
6380
|
-
AXButtonModule,
|
|
6381
|
-
AXEditorDecoratorModule,
|
|
6382
|
-
AXIconModule,
|
|
6383
|
-
NgxMaskModule.forChild()
|
|
6384
|
-
],
|
|
6385
|
-
exports: [AXTextBoxComponent],
|
|
6386
|
-
declarations: [AXTextBoxComponent],
|
|
6387
|
-
providers: [],
|
|
6388
|
-
}]
|
|
6389
|
-
}] });
|
|
6390
|
-
|
|
6391
6472
|
// @dynamic
|
|
6392
6473
|
class AXValidationRules {
|
|
6393
6474
|
static addRule(name, rule) {
|
|
@@ -6533,5 +6614,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
6533
6614
|
* Generated bundle index. Do not edit.
|
|
6534
6615
|
*/
|
|
6535
6616
|
|
|
6536
|
-
export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, 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,
|
|
6617
|
+
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, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownComponent, 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, AXTabStripComponent, AXTabViewComponent, 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 };
|
|
6537
6618
|
//# sourceMappingURL=acorex-components.js.map
|