@acorex/components 5.3.4 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/base/components.class.mjs +8 -1
- package/esm2020/lib/color-palette/color-palette-input.component.mjs +17 -27
- package/esm2020/lib/color-palette/color-palette-preview.component.mjs +14 -11
- package/esm2020/lib/color-palette/color-palette-swatches.component.mjs +11 -10
- package/esm2020/lib/color-palette/color-palette.class.mjs +10 -0
- package/esm2020/lib/color-palette/color-palette.component.mjs +34 -6
- package/esm2020/lib/color-picker/color-picker.component.mjs +8 -10
- package/fesm2015/acorex-components.mjs +378 -347
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +375 -344
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/components.class.d.ts +8 -0
- package/lib/color-palette/color-palette-input.component.d.ts +3 -4
- package/lib/color-palette/color-palette-preview.component.d.ts +3 -3
- package/lib/color-palette/color-palette-swatches.component.d.ts +2 -2
- package/lib/color-palette/color-palette.class.d.ts +12 -0
- package/lib/color-palette/color-palette.component.d.ts +12 -3
- package/lib/color-picker/color-picker.component.d.ts +11 -2
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ import * as i5 from 'angular-imask';
|
|
|
22
22
|
import { IMaskDirective, IMaskModule } from 'angular-imask';
|
|
23
23
|
import * as i1$3 from 'ngx-mask';
|
|
24
24
|
import { NgxMaskModule } from 'ngx-mask';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i7 from '@angular/cdk/a11y';
|
|
26
26
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
27
27
|
import * as i3 from '@angular/cdk/drag-drop';
|
|
28
28
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
@@ -1214,6 +1214,13 @@ AXSearchableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
1214
1214
|
AXSearchableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchableComponent });
|
|
1215
1215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
1216
1216
|
type: Injectable
|
|
1217
|
+
}] });
|
|
1218
|
+
class AXValuableComponent {
|
|
1219
|
+
}
|
|
1220
|
+
AXValuableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1221
|
+
AXValuableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent });
|
|
1222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXValuableComponent, decorators: [{
|
|
1223
|
+
type: Injectable
|
|
1217
1224
|
}] });
|
|
1218
1225
|
|
|
1219
1226
|
/**
|
|
@@ -4210,361 +4217,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4210
4217
|
}]
|
|
4211
4218
|
}] });
|
|
4212
4219
|
|
|
4213
|
-
class
|
|
4214
|
-
constructor(elementRef, cdr) {
|
|
4215
|
-
super(elementRef, cdr);
|
|
4216
|
-
}
|
|
4217
|
-
ngOnInit() { }
|
|
4220
|
+
class AXColorComponent {
|
|
4218
4221
|
}
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type:
|
|
4222
|
-
type:
|
|
4223
|
-
|
|
4224
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4222
|
+
AXColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4223
|
+
AXColorComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent });
|
|
4224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorComponent, decorators: [{
|
|
4225
|
+
type: Injectable
|
|
4226
|
+
}] });
|
|
4225
4227
|
|
|
4226
4228
|
class AXColorPalettePreviewComponent extends AXBaseComponent {
|
|
4227
4229
|
constructor(_elementRef, _cdr, _parent) {
|
|
4228
4230
|
super(_elementRef, _cdr);
|
|
4229
4231
|
this._parent = _parent;
|
|
4230
|
-
_parent === null || _parent === void 0 ? void 0 : _parent.
|
|
4231
|
-
this.
|
|
4232
|
-
this._getHostElement().style.
|
|
4232
|
+
_parent === null || _parent === void 0 ? void 0 : _parent._onInternalColorChanged$.subscribe(e => {
|
|
4233
|
+
this._colorCode = AXColorUtil.to(e.color, e.mode);
|
|
4234
|
+
this._getHostElement().style.backgroundColor = e.color;
|
|
4235
|
+
const color = AXColorUtil.toHex(e.color);
|
|
4236
|
+
const ratio = AXColorUtil.contrastToWhite(color);
|
|
4237
|
+
this._getHostElement().style.color = !(ratio > 2.0) ? '#000' : '#fff';
|
|
4233
4238
|
});
|
|
4234
4239
|
}
|
|
4235
4240
|
ngOnInit() { }
|
|
4236
4241
|
}
|
|
4237
|
-
AXColorPalettePreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePreviewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token:
|
|
4238
|
-
AXColorPalettePreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPalettePreviewComponent, selector: "ax-color-palette-preview", usesInheritance: true, ngImport: i0, template: `{{
|
|
4242
|
+
AXColorPalettePreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePreviewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXColorComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4243
|
+
AXColorPalettePreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPalettePreviewComponent, selector: "ax-color-palette-preview", usesInheritance: true, ngImport: i0, template: `{{_colorCode}}`, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
|
4239
4244
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePreviewComponent, decorators: [{
|
|
4240
4245
|
type: Component,
|
|
4241
4246
|
args: [{
|
|
4242
4247
|
selector: 'ax-color-palette-preview',
|
|
4243
|
-
template: `{{
|
|
4248
|
+
template: `{{_colorCode}}`,
|
|
4244
4249
|
encapsulation: ViewEncapsulation.None
|
|
4245
4250
|
}]
|
|
4246
4251
|
}], ctorParameters: function () {
|
|
4247
|
-
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type:
|
|
4252
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4248
4253
|
type: Optional
|
|
4249
4254
|
}, {
|
|
4250
4255
|
type: Inject,
|
|
4251
|
-
args: [
|
|
4256
|
+
args: [AXColorComponent]
|
|
4252
4257
|
}] }];
|
|
4253
4258
|
} });
|
|
4254
4259
|
|
|
4255
|
-
|
|
4256
|
-
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
4257
|
-
*
|
|
4258
|
-
* @category Components
|
|
4259
|
-
*/
|
|
4260
|
-
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
4261
|
-
/**
|
|
4262
|
-
* @ignore
|
|
4263
|
-
*/
|
|
4264
|
-
constructor(elementRef, cdr) {
|
|
4265
|
-
super(elementRef, cdr);
|
|
4266
|
-
}
|
|
4267
|
-
}
|
|
4268
|
-
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4269
|
-
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.autocomplete]=\"autoComplete\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>", directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
4271
|
-
type: Component,
|
|
4272
|
-
args: [{ selector: 'ax-text-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.autocomplete]=\"autoComplete\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\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>" }]
|
|
4273
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4274
|
-
|
|
4275
|
-
/**
|
|
4276
|
-
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
4277
|
-
*
|
|
4278
|
-
* @category Components
|
|
4279
|
-
*/
|
|
4280
|
-
class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
4281
|
-
/**
|
|
4282
|
-
* @ignore
|
|
4283
|
-
*/
|
|
4284
|
-
constructor(elementRef, cdr) {
|
|
4285
|
-
super(elementRef, cdr);
|
|
4286
|
-
this.cdr = cdr;
|
|
4287
|
-
this._padDecimalZeros = false;
|
|
4288
|
-
/**
|
|
4289
|
-
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
4290
|
-
*/
|
|
4291
|
-
this.step = 1;
|
|
4292
|
-
this._decimals = 0;
|
|
4293
|
-
/**
|
|
4294
|
-
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
4295
|
-
*/
|
|
4296
|
-
this.decimalStep = 'auto';
|
|
4297
|
-
/**
|
|
4298
|
-
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
4299
|
-
*/
|
|
4300
|
-
this.showSpinButtons = true;
|
|
4301
|
-
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
4302
|
-
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
4303
|
-
}
|
|
4304
|
-
/**
|
|
4305
|
-
* A character value that specifies the separator character.
|
|
4306
|
-
*/
|
|
4307
|
-
get thousandsSeparator() {
|
|
4308
|
-
return this._thousandsSeparator;
|
|
4309
|
-
}
|
|
4310
|
-
set thousandsSeparator(v) {
|
|
4311
|
-
this._setOption({
|
|
4312
|
-
name: "thousandsSeparator",
|
|
4313
|
-
value: v !== null && v !== void 0 ? v : '',
|
|
4314
|
-
});
|
|
4315
|
-
}
|
|
4316
|
-
/**
|
|
4317
|
-
* A character value that specifies the separator character.
|
|
4318
|
-
*/
|
|
4319
|
-
get padDecimalZeros() {
|
|
4320
|
-
return this._padDecimalZeros;
|
|
4321
|
-
}
|
|
4322
|
-
set padDecimalZeros(v) {
|
|
4323
|
-
this._setOption({
|
|
4324
|
-
name: "padDecimalZeros",
|
|
4325
|
-
value: v,
|
|
4326
|
-
});
|
|
4327
|
-
}
|
|
4328
|
-
/**
|
|
4329
|
-
* Specifies the number of decimals that the user can enter
|
|
4330
|
-
*/
|
|
4331
|
-
get decimals() {
|
|
4332
|
-
return this._decimals;
|
|
4333
|
-
}
|
|
4334
|
-
set decimals(v) {
|
|
4335
|
-
this._setOption({
|
|
4336
|
-
name: "decimals",
|
|
4337
|
-
value: v !== null && v !== void 0 ? v : 0,
|
|
4338
|
-
});
|
|
4339
|
-
}
|
|
4340
|
-
/**
|
|
4341
|
-
* Specifies the smallest value that is valid
|
|
4342
|
-
*/
|
|
4343
|
-
get minValue() {
|
|
4344
|
-
return this._minValue;
|
|
4345
|
-
}
|
|
4346
|
-
set minValue(v) {
|
|
4347
|
-
this._setOption({
|
|
4348
|
-
name: "minValue",
|
|
4349
|
-
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
4350
|
-
});
|
|
4351
|
-
}
|
|
4352
|
-
/**
|
|
4353
|
-
* Specifies the greatest value that is valid
|
|
4354
|
-
*/
|
|
4355
|
-
get maxValue() {
|
|
4356
|
-
return this._maxValue;
|
|
4357
|
-
}
|
|
4358
|
-
set maxValue(v) {
|
|
4359
|
-
this._setOption({
|
|
4360
|
-
name: "maxValue",
|
|
4361
|
-
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
4362
|
-
});
|
|
4363
|
-
}
|
|
4364
|
-
onViewInit() {
|
|
4365
|
-
super.onViewInit();
|
|
4366
|
-
this._updateMask();
|
|
4367
|
-
}
|
|
4368
|
-
_onOptionChanged(option) {
|
|
4369
|
-
super._onOptionChanged(option);
|
|
4370
|
-
this._updateMask();
|
|
4371
|
-
}
|
|
4372
|
-
_updateMask() {
|
|
4373
|
-
var _a, _b, _c, _d;
|
|
4374
|
-
if (!this._maskObj) {
|
|
4375
|
-
this._maskObj = IMask.createMask({
|
|
4376
|
-
mask: Number,
|
|
4377
|
-
min: this.minValue,
|
|
4378
|
-
max: this.maxValue,
|
|
4379
|
-
thousandsSeparator: this.thousandsSeparator || '',
|
|
4380
|
-
scale: this.decimals,
|
|
4381
|
-
radix: '.',
|
|
4382
|
-
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4383
|
-
});
|
|
4384
|
-
}
|
|
4385
|
-
else {
|
|
4386
|
-
this._maskObj.updateOptions({
|
|
4387
|
-
min: this.minValue,
|
|
4388
|
-
max: this.maxValue,
|
|
4389
|
-
thousandsSeparator: this.thousandsSeparator || '',
|
|
4390
|
-
scale: this.decimals,
|
|
4391
|
-
radix: '.',
|
|
4392
|
-
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4393
|
-
});
|
|
4394
|
-
}
|
|
4395
|
-
(_b = (_a = this._maskDirective) === null || _a === void 0 ? void 0 : _a.maskRef) === null || _b === void 0 ? void 0 : _b.updateValue();
|
|
4396
|
-
(_d = (_c = this._maskDirective) === null || _c === void 0 ? void 0 : _c.maskRef) === null || _d === void 0 ? void 0 : _d.updateControl();
|
|
4397
|
-
}
|
|
4398
|
-
_handleOnKeydownEvent(e) {
|
|
4399
|
-
const ignore = () => {
|
|
4400
|
-
e.preventDefault();
|
|
4401
|
-
e.stopPropagation();
|
|
4402
|
-
};
|
|
4403
|
-
const input = e.target;
|
|
4404
|
-
const valStr = input.value;
|
|
4405
|
-
const decimalPointIndex = valStr.indexOf('.');
|
|
4406
|
-
const _cursorPos = input.selectionStart;
|
|
4407
|
-
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
4408
|
-
if (decimalPointIndex > 0 && _cursorPos > decimalPointIndex && this.decimals > 0) {
|
|
4409
|
-
e.key === 'ArrowDown' ? this.decimalStepDown() : this.decimalStepUp();
|
|
4410
|
-
}
|
|
4411
|
-
else {
|
|
4412
|
-
e.key === 'ArrowDown' ? this.stepDown() : this.stepUp();
|
|
4413
|
-
}
|
|
4414
|
-
ignore();
|
|
4415
|
-
setTimeout(() => {
|
|
4416
|
-
input.setSelectionRange(_cursorPos, _cursorPos);
|
|
4417
|
-
}, 5);
|
|
4418
|
-
}
|
|
4419
|
-
super._emitOnKeydownEvent(e);
|
|
4420
|
-
}
|
|
4421
|
-
_handleUpDownClick(e, v) {
|
|
4422
|
-
v == 1 ? this.stepUp() : this.stepDown();
|
|
4423
|
-
}
|
|
4424
|
-
_onValueChanging(value) {
|
|
4425
|
-
const v = _.toNumber(value);
|
|
4426
|
-
if (v < this.minValue)
|
|
4427
|
-
return this.minValue;
|
|
4428
|
-
if (v > this.maxValue)
|
|
4429
|
-
return this.maxValue;
|
|
4430
|
-
return v;
|
|
4431
|
-
}
|
|
4432
|
-
stepUp() {
|
|
4433
|
-
this.value += _.toNumber(this.step);
|
|
4434
|
-
}
|
|
4435
|
-
stepDown() {
|
|
4436
|
-
this.value -= _.toNumber(this.step);
|
|
4437
|
-
}
|
|
4438
|
-
decimalStepUp() {
|
|
4439
|
-
this.value += _.toNumber(this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep);
|
|
4440
|
-
}
|
|
4441
|
-
decimalStepDown() {
|
|
4442
|
-
this.value -= _.toNumber(this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep);
|
|
4443
|
-
}
|
|
4444
|
-
}
|
|
4445
|
-
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4446
|
-
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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", type: "type", autoComplete: "autoComplete", name: "name", checked: "checked", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-editor-container" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" \r\n (blur)=\"_emitOnFocusEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4448
|
-
type: Component,
|
|
4449
|
-
args: [{ selector: 'ax-number-box', inputs: [
|
|
4450
|
-
'disabled',
|
|
4451
|
-
'readonly',
|
|
4452
|
-
'tabIndex',
|
|
4453
|
-
'size',
|
|
4454
|
-
'value',
|
|
4455
|
-
...TEXTBOX_INPUTS,
|
|
4456
|
-
], outputs: [
|
|
4457
|
-
'valueChange',
|
|
4458
|
-
'onValueChanged',
|
|
4459
|
-
'onBlur',
|
|
4460
|
-
'onFocus',
|
|
4461
|
-
...TEXTBOX_OUTPUT,
|
|
4462
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" \r\n (blur)=\"_emitOnFocusEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
|
4463
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { thousandsSeparator: [{
|
|
4464
|
-
type: Input
|
|
4465
|
-
}], padDecimalZeros: [{
|
|
4466
|
-
type: Input
|
|
4467
|
-
}], step: [{
|
|
4468
|
-
type: Input
|
|
4469
|
-
}], decimals: [{
|
|
4470
|
-
type: Input
|
|
4471
|
-
}], decimalStep: [{
|
|
4472
|
-
type: Input
|
|
4473
|
-
}], showSpinButtons: [{
|
|
4474
|
-
type: Input
|
|
4475
|
-
}], minValue: [{
|
|
4476
|
-
type: Input
|
|
4477
|
-
}], maxValue: [{
|
|
4478
|
-
type: Input
|
|
4479
|
-
}], _maskDirective: [{
|
|
4480
|
-
type: ViewChild,
|
|
4481
|
-
args: [IMaskDirective]
|
|
4482
|
-
}] } });
|
|
4483
|
-
|
|
4484
|
-
class AXColorPaletteInputComponent extends AXBaseComponent {
|
|
4485
|
-
constructor(_elementRef, _cdr, _parent) {
|
|
4486
|
-
super(_elementRef, _cdr);
|
|
4487
|
-
this._parent = _parent;
|
|
4488
|
-
this._rgba = {
|
|
4489
|
-
r: 255,
|
|
4490
|
-
g: 255,
|
|
4491
|
-
b: 255,
|
|
4492
|
-
a: 0
|
|
4493
|
-
};
|
|
4494
|
-
this._hex = "#000000";
|
|
4495
|
-
this.inputMode = 'rgba';
|
|
4496
|
-
_parent === null || _parent === void 0 ? void 0 : _parent.onValueChanged.subscribe(e => {
|
|
4497
|
-
if (this._hex != e.value) {
|
|
4498
|
-
this._hex = e.value;
|
|
4499
|
-
Object.assign(this._rgba, AXColorUtil.hex2Rgb(e.value));
|
|
4500
|
-
}
|
|
4501
|
-
});
|
|
4502
|
-
}
|
|
4503
|
-
_handleChangeInputMode(e) {
|
|
4504
|
-
// switch (this.inputMode) {
|
|
4505
|
-
// case 'rgba':
|
|
4506
|
-
// this.inputMode = 'hsla'
|
|
4507
|
-
// break;
|
|
4508
|
-
// case 'hsla':
|
|
4509
|
-
// this.inputMode = 'hwba'
|
|
4510
|
-
// break;
|
|
4511
|
-
// case 'hwba':
|
|
4512
|
-
// this.inputMode = 'hex'
|
|
4513
|
-
// break;
|
|
4514
|
-
// case 'hex':
|
|
4515
|
-
// this.inputMode = 'rgba'
|
|
4516
|
-
// break;
|
|
4517
|
-
// }
|
|
4518
|
-
this.inputMode = this.inputMode == 'rgba' ? 'hex' : 'rgba';
|
|
4519
|
-
}
|
|
4520
|
-
_handleRGBAValueChanged(e) {
|
|
4521
|
-
if (this._parent) {
|
|
4522
|
-
this._parent.value = AXColorUtil.rgba2Hex(this._rgba);
|
|
4523
|
-
}
|
|
4524
|
-
}
|
|
4525
|
-
_handleHEXAValueChanged(e) {
|
|
4526
|
-
debugger;
|
|
4527
|
-
const color = AXColorUtil.hex2Rgb(e.value);
|
|
4528
|
-
if (this._parent && color) {
|
|
4529
|
-
Object.assign(this._rgba, color);
|
|
4530
|
-
this._parent.value = e.value;
|
|
4531
|
-
}
|
|
4532
|
-
else {
|
|
4533
|
-
this._hex = this._parent.value;
|
|
4534
|
-
this._cdr.markForCheck();
|
|
4535
|
-
}
|
|
4536
|
-
}
|
|
4537
|
-
}
|
|
4538
|
-
AXColorPaletteInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteInputComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXColorPalleteComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4539
|
-
AXColorPaletteInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPaletteInputComponent, selector: "ax-color-palette-input", usesInheritance: true, ngImport: i0, template: "<div class=\"palette-input-container\" [ngSwitch]=\"inputMode\">\r\n <div class=\"palette-inputs\">\r\n <ng-container *ngSwitchCase=\"'hex'\">\r\n <div>\r\n <ax-text-box class=\"ax-w-full\" [(value)]=\"_hex\" [debounceTime]=\"300\" (onValueChanged)=\"_handleHEXAValueChanged($event)\">\r\n </ax-text-box>\r\n <label>HEX</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'rgba'\">\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.r\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>R</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.g\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>G</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.b\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"1\" [(value)]=\"_rgba.a\" [decimals]=\"2\" [step]=\"0.1\"\r\n [showSpinButtons]=\"false\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <!-- <ng-container *ngSwitchCase=\"'hsla'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>S</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>L</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'hwba'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>W</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n <ax-button color=\"light\" class=\"ax-min-w-[32px]\" (onClick)=\"_handleChangeInputMode($event)\">\r\n <ax-icon class=\"ax-ic ax-ic-unfold\"></ax-icon>\r\n </ax-button>\r\n</div>", components: [{ type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name", "checked", "placeholder", "maxLength", "type", "autoComplete"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "size", "value", "placeholder", "maxLength", "allowNull", "debounceTime", "type", "autoComplete", "name", "checked", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
4540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteInputComponent, decorators: [{
|
|
4541
|
-
type: Component,
|
|
4542
|
-
args: [{ selector: 'ax-color-palette-input', encapsulation: ViewEncapsulation.None, template: "<div class=\"palette-input-container\" [ngSwitch]=\"inputMode\">\r\n <div class=\"palette-inputs\">\r\n <ng-container *ngSwitchCase=\"'hex'\">\r\n <div>\r\n <ax-text-box class=\"ax-w-full\" [(value)]=\"_hex\" [debounceTime]=\"300\" (onValueChanged)=\"_handleHEXAValueChanged($event)\">\r\n </ax-text-box>\r\n <label>HEX</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'rgba'\">\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.r\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>R</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.g\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>G</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.b\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"1\" [(value)]=\"_rgba.a\" [decimals]=\"2\" [step]=\"0.1\"\r\n [showSpinButtons]=\"false\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <!-- <ng-container *ngSwitchCase=\"'hsla'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>S</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>L</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'hwba'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>W</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n <ax-button color=\"light\" class=\"ax-min-w-[32px]\" (onClick)=\"_handleChangeInputMode($event)\">\r\n <ax-icon class=\"ax-ic ax-ic-unfold\"></ax-icon>\r\n </ax-button>\r\n</div>" }]
|
|
4543
|
-
}], ctorParameters: function () {
|
|
4544
|
-
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorPalleteComponent, decorators: [{
|
|
4545
|
-
type: Optional
|
|
4546
|
-
}, {
|
|
4547
|
-
type: Inject,
|
|
4548
|
-
args: [AXColorPalleteComponent]
|
|
4549
|
-
}] }];
|
|
4550
|
-
} });
|
|
4551
|
-
|
|
4552
|
-
class AXColorPalettePickerComponent {
|
|
4553
|
-
constructor() { }
|
|
4554
|
-
ngOnInit() { }
|
|
4555
|
-
}
|
|
4556
|
-
AXColorPalettePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4557
|
-
AXColorPalettePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPalettePickerComponent, selector: "ax-color-palette-picker", ngImport: i0, template: ``, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
|
4558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePickerComponent, decorators: [{
|
|
4559
|
-
type: Component,
|
|
4560
|
-
args: [{
|
|
4561
|
-
selector: 'ax-color-palette-picker',
|
|
4562
|
-
template: ``,
|
|
4563
|
-
encapsulation: ViewEncapsulation.None
|
|
4564
|
-
}]
|
|
4565
|
-
}], ctorParameters: function () { return []; } });
|
|
4566
|
-
|
|
4567
|
-
class AXColorPaletteSwatchesComponent extends AXBaseComponent {
|
|
4260
|
+
class AXColorPaletteSwatchesComponent extends AXBaseComponent {
|
|
4568
4261
|
constructor(_elementRef, _cdr, _parent) {
|
|
4569
4262
|
super(_elementRef, _cdr);
|
|
4570
4263
|
this._parent = _parent;
|
|
@@ -4782,19 +4475,19 @@ class AXColorPaletteSwatchesComponent extends AXBaseComponent {
|
|
|
4782
4475
|
{ code: '#F9A825' },
|
|
4783
4476
|
{ code: '#F57F17' },
|
|
4784
4477
|
];
|
|
4785
|
-
_parent === null || _parent === void 0 ? void 0 : _parent.
|
|
4786
|
-
this._selected = e.
|
|
4478
|
+
_parent === null || _parent === void 0 ? void 0 : _parent._onInternalColorChanged$.subscribe(e => {
|
|
4479
|
+
this._selected = AXColorUtil.toHex(e.color);
|
|
4787
4480
|
});
|
|
4788
|
-
debugger;
|
|
4789
4481
|
if (this._getHostElement().tagName.toLocaleLowerCase() != 'ax-color-palette-favorite') {
|
|
4790
4482
|
this.colors = this._defaultPalette;
|
|
4791
4483
|
}
|
|
4792
4484
|
}
|
|
4793
4485
|
_handleClick(e, color) {
|
|
4794
|
-
this.
|
|
4486
|
+
this._selected = color.code;
|
|
4487
|
+
this._parent._onInternalColorChanged$.next({ color: color.code, mode: this._parent.mode });
|
|
4795
4488
|
}
|
|
4796
4489
|
}
|
|
4797
|
-
AXColorPaletteSwatchesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteSwatchesComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token:
|
|
4490
|
+
AXColorPaletteSwatchesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteSwatchesComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXColorComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4798
4491
|
AXColorPaletteSwatchesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPaletteSwatchesComponent, selector: "ax-color-palette-swatches, ax-color-palette-favorite", inputs: { colors: "colors" }, usesInheritance: true, ngImport: i0, template: `<div class="palette-items">
|
|
4799
4492
|
<div *ngFor="let color of colors" [style.background-color]="color.code" [attr.title]="color.code" [class.ax-state-selected]="color.code==_selected" (click)="_handleClick($event,color)" >
|
|
4800
4493
|
</div>
|
|
@@ -4810,16 +4503,353 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
4810
4503
|
encapsulation: ViewEncapsulation.None
|
|
4811
4504
|
}]
|
|
4812
4505
|
}], ctorParameters: function () {
|
|
4813
|
-
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type:
|
|
4506
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4814
4507
|
type: Optional
|
|
4815
4508
|
}, {
|
|
4816
4509
|
type: Inject,
|
|
4817
|
-
args: [
|
|
4510
|
+
args: [AXColorComponent]
|
|
4818
4511
|
}] }];
|
|
4819
4512
|
}, propDecorators: { colors: [{
|
|
4820
4513
|
type: Input
|
|
4821
4514
|
}] } });
|
|
4822
4515
|
|
|
4516
|
+
/**
|
|
4517
|
+
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
4518
|
+
*
|
|
4519
|
+
* @category Components
|
|
4520
|
+
*/
|
|
4521
|
+
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
4522
|
+
/**
|
|
4523
|
+
* @ignore
|
|
4524
|
+
*/
|
|
4525
|
+
constructor(elementRef, cdr) {
|
|
4526
|
+
super(elementRef, cdr);
|
|
4527
|
+
}
|
|
4528
|
+
}
|
|
4529
|
+
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4530
|
+
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.autocomplete]=\"autoComplete\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>", directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
4532
|
+
type: Component,
|
|
4533
|
+
args: [{ selector: 'ax-text-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [attr.autocomplete]=\"autoComplete\" [attr.type]=\"type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\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>" }]
|
|
4534
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4535
|
+
|
|
4536
|
+
/**
|
|
4537
|
+
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
4538
|
+
*
|
|
4539
|
+
* @category Components
|
|
4540
|
+
*/
|
|
4541
|
+
class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
4542
|
+
/**
|
|
4543
|
+
* @ignore
|
|
4544
|
+
*/
|
|
4545
|
+
constructor(elementRef, cdr) {
|
|
4546
|
+
super(elementRef, cdr);
|
|
4547
|
+
this.cdr = cdr;
|
|
4548
|
+
this._padDecimalZeros = false;
|
|
4549
|
+
/**
|
|
4550
|
+
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
4551
|
+
*/
|
|
4552
|
+
this.step = 1;
|
|
4553
|
+
this._decimals = 0;
|
|
4554
|
+
/**
|
|
4555
|
+
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
4556
|
+
*/
|
|
4557
|
+
this.decimalStep = 'auto';
|
|
4558
|
+
/**
|
|
4559
|
+
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
4560
|
+
*/
|
|
4561
|
+
this.showSpinButtons = true;
|
|
4562
|
+
this._minValue = Number.MIN_SAFE_INTEGER;
|
|
4563
|
+
this._maxValue = Number.MAX_SAFE_INTEGER;
|
|
4564
|
+
}
|
|
4565
|
+
/**
|
|
4566
|
+
* A character value that specifies the separator character.
|
|
4567
|
+
*/
|
|
4568
|
+
get thousandsSeparator() {
|
|
4569
|
+
return this._thousandsSeparator;
|
|
4570
|
+
}
|
|
4571
|
+
set thousandsSeparator(v) {
|
|
4572
|
+
this._setOption({
|
|
4573
|
+
name: "thousandsSeparator",
|
|
4574
|
+
value: v !== null && v !== void 0 ? v : '',
|
|
4575
|
+
});
|
|
4576
|
+
}
|
|
4577
|
+
/**
|
|
4578
|
+
* A character value that specifies the separator character.
|
|
4579
|
+
*/
|
|
4580
|
+
get padDecimalZeros() {
|
|
4581
|
+
return this._padDecimalZeros;
|
|
4582
|
+
}
|
|
4583
|
+
set padDecimalZeros(v) {
|
|
4584
|
+
this._setOption({
|
|
4585
|
+
name: "padDecimalZeros",
|
|
4586
|
+
value: v,
|
|
4587
|
+
});
|
|
4588
|
+
}
|
|
4589
|
+
/**
|
|
4590
|
+
* Specifies the number of decimals that the user can enter
|
|
4591
|
+
*/
|
|
4592
|
+
get decimals() {
|
|
4593
|
+
return this._decimals;
|
|
4594
|
+
}
|
|
4595
|
+
set decimals(v) {
|
|
4596
|
+
this._setOption({
|
|
4597
|
+
name: "decimals",
|
|
4598
|
+
value: v !== null && v !== void 0 ? v : 0,
|
|
4599
|
+
});
|
|
4600
|
+
}
|
|
4601
|
+
/**
|
|
4602
|
+
* Specifies the smallest value that is valid
|
|
4603
|
+
*/
|
|
4604
|
+
get minValue() {
|
|
4605
|
+
return this._minValue;
|
|
4606
|
+
}
|
|
4607
|
+
set minValue(v) {
|
|
4608
|
+
this._setOption({
|
|
4609
|
+
name: "minValue",
|
|
4610
|
+
value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
|
|
4611
|
+
});
|
|
4612
|
+
}
|
|
4613
|
+
/**
|
|
4614
|
+
* Specifies the greatest value that is valid
|
|
4615
|
+
*/
|
|
4616
|
+
get maxValue() {
|
|
4617
|
+
return this._maxValue;
|
|
4618
|
+
}
|
|
4619
|
+
set maxValue(v) {
|
|
4620
|
+
this._setOption({
|
|
4621
|
+
name: "maxValue",
|
|
4622
|
+
value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
|
|
4623
|
+
});
|
|
4624
|
+
}
|
|
4625
|
+
onViewInit() {
|
|
4626
|
+
super.onViewInit();
|
|
4627
|
+
this._updateMask();
|
|
4628
|
+
}
|
|
4629
|
+
_onOptionChanged(option) {
|
|
4630
|
+
super._onOptionChanged(option);
|
|
4631
|
+
this._updateMask();
|
|
4632
|
+
}
|
|
4633
|
+
_updateMask() {
|
|
4634
|
+
var _a, _b, _c, _d;
|
|
4635
|
+
if (!this._maskObj) {
|
|
4636
|
+
this._maskObj = IMask.createMask({
|
|
4637
|
+
mask: Number,
|
|
4638
|
+
min: this.minValue,
|
|
4639
|
+
max: this.maxValue,
|
|
4640
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4641
|
+
scale: this.decimals,
|
|
4642
|
+
radix: '.',
|
|
4643
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4644
|
+
});
|
|
4645
|
+
}
|
|
4646
|
+
else {
|
|
4647
|
+
this._maskObj.updateOptions({
|
|
4648
|
+
min: this.minValue,
|
|
4649
|
+
max: this.maxValue,
|
|
4650
|
+
thousandsSeparator: this.thousandsSeparator || '',
|
|
4651
|
+
scale: this.decimals,
|
|
4652
|
+
radix: '.',
|
|
4653
|
+
padFractionalZeros: this.decimals > 0 && this.padDecimalZeros
|
|
4654
|
+
});
|
|
4655
|
+
}
|
|
4656
|
+
(_b = (_a = this._maskDirective) === null || _a === void 0 ? void 0 : _a.maskRef) === null || _b === void 0 ? void 0 : _b.updateValue();
|
|
4657
|
+
(_d = (_c = this._maskDirective) === null || _c === void 0 ? void 0 : _c.maskRef) === null || _d === void 0 ? void 0 : _d.updateControl();
|
|
4658
|
+
}
|
|
4659
|
+
_handleOnKeydownEvent(e) {
|
|
4660
|
+
const ignore = () => {
|
|
4661
|
+
e.preventDefault();
|
|
4662
|
+
e.stopPropagation();
|
|
4663
|
+
};
|
|
4664
|
+
const input = e.target;
|
|
4665
|
+
const valStr = input.value;
|
|
4666
|
+
const decimalPointIndex = valStr.indexOf('.');
|
|
4667
|
+
const _cursorPos = input.selectionStart;
|
|
4668
|
+
if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
4669
|
+
if (decimalPointIndex > 0 && _cursorPos > decimalPointIndex && this.decimals > 0) {
|
|
4670
|
+
e.key === 'ArrowDown' ? this.decimalStepDown() : this.decimalStepUp();
|
|
4671
|
+
}
|
|
4672
|
+
else {
|
|
4673
|
+
e.key === 'ArrowDown' ? this.stepDown() : this.stepUp();
|
|
4674
|
+
}
|
|
4675
|
+
ignore();
|
|
4676
|
+
setTimeout(() => {
|
|
4677
|
+
input.setSelectionRange(_cursorPos, _cursorPos);
|
|
4678
|
+
}, 5);
|
|
4679
|
+
}
|
|
4680
|
+
super._emitOnKeydownEvent(e);
|
|
4681
|
+
}
|
|
4682
|
+
_handleUpDownClick(e, v) {
|
|
4683
|
+
v == 1 ? this.stepUp() : this.stepDown();
|
|
4684
|
+
}
|
|
4685
|
+
_onValueChanging(value) {
|
|
4686
|
+
const v = _.toNumber(value);
|
|
4687
|
+
if (v < this.minValue)
|
|
4688
|
+
return this.minValue;
|
|
4689
|
+
if (v > this.maxValue)
|
|
4690
|
+
return this.maxValue;
|
|
4691
|
+
return v;
|
|
4692
|
+
}
|
|
4693
|
+
stepUp() {
|
|
4694
|
+
this.value += _.toNumber(this.step);
|
|
4695
|
+
}
|
|
4696
|
+
stepDown() {
|
|
4697
|
+
this.value -= _.toNumber(this.step);
|
|
4698
|
+
}
|
|
4699
|
+
decimalStepUp() {
|
|
4700
|
+
this.value += _.toNumber(this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep);
|
|
4701
|
+
}
|
|
4702
|
+
decimalStepDown() {
|
|
4703
|
+
this.value -= _.toNumber(this.decimalStep == 'auto' ? (1 / Math.pow(10, this.decimals)) : this.decimalStep);
|
|
4704
|
+
}
|
|
4705
|
+
}
|
|
4706
|
+
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4707
|
+
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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", type: "type", autoComplete: "autoComplete", name: "name", checked: "checked", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-editor-container" }, viewQueries: [{ propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" \r\n (blur)=\"_emitOnFocusEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4709
|
+
type: Component,
|
|
4710
|
+
args: [{ selector: 'ax-number-box', inputs: [
|
|
4711
|
+
'disabled',
|
|
4712
|
+
'readonly',
|
|
4713
|
+
'tabIndex',
|
|
4714
|
+
'size',
|
|
4715
|
+
'value',
|
|
4716
|
+
...TEXTBOX_INPUTS,
|
|
4717
|
+
], outputs: [
|
|
4718
|
+
'valueChange',
|
|
4719
|
+
'onValueChanged',
|
|
4720
|
+
'onBlur',
|
|
4721
|
+
'onFocus',
|
|
4722
|
+
...TEXTBOX_OUTPUT,
|
|
4723
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" \r\n [attr.placeholder]=\"placeholder\" \r\n [imask]=\"_maskObj\" \r\n [unmask]=\"'typed'\"\r\n [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" \r\n [class.ax-state-disabled]=\"disabled\" \r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\" \r\n [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" \r\n (blur)=\"_emitOnFocusEvent($event)\" \r\n (keydown)=\"_handleOnKeydownEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete\">\r\n\r\n<div class=\"ax-number-box-arrows\" *ngIf=\"showSpinButtons && !(disabled || readonly)\">\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax-rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleUpDownClick($event,-1)\">\r\n <ax-prefix>\r\n <ax-icon class=\"ax-ic-arrow-fill ax--rotate-90\">\r\n </ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
|
4724
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { thousandsSeparator: [{
|
|
4725
|
+
type: Input
|
|
4726
|
+
}], padDecimalZeros: [{
|
|
4727
|
+
type: Input
|
|
4728
|
+
}], step: [{
|
|
4729
|
+
type: Input
|
|
4730
|
+
}], decimals: [{
|
|
4731
|
+
type: Input
|
|
4732
|
+
}], decimalStep: [{
|
|
4733
|
+
type: Input
|
|
4734
|
+
}], showSpinButtons: [{
|
|
4735
|
+
type: Input
|
|
4736
|
+
}], minValue: [{
|
|
4737
|
+
type: Input
|
|
4738
|
+
}], maxValue: [{
|
|
4739
|
+
type: Input
|
|
4740
|
+
}], _maskDirective: [{
|
|
4741
|
+
type: ViewChild,
|
|
4742
|
+
args: [IMaskDirective]
|
|
4743
|
+
}] } });
|
|
4744
|
+
|
|
4745
|
+
class AXColorPaletteInputComponent extends AXBaseComponent {
|
|
4746
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
4747
|
+
super(_elementRef, _cdr);
|
|
4748
|
+
this._parent = _parent;
|
|
4749
|
+
this._rgba = {
|
|
4750
|
+
r: 255,
|
|
4751
|
+
g: 255,
|
|
4752
|
+
b: 255,
|
|
4753
|
+
a: 0
|
|
4754
|
+
};
|
|
4755
|
+
this._hex = "#000000";
|
|
4756
|
+
_parent === null || _parent === void 0 ? void 0 : _parent._onInternalColorChanged$.subscribe(e => {
|
|
4757
|
+
if (this._hex != AXColorUtil.toHex(e.color)) {
|
|
4758
|
+
this._hex = AXColorUtil.toHex(e.color);
|
|
4759
|
+
Object.assign(this._rgba, AXColorUtil.toRGB(e.color));
|
|
4760
|
+
}
|
|
4761
|
+
});
|
|
4762
|
+
}
|
|
4763
|
+
_handleChangeInputMode(e) {
|
|
4764
|
+
// switch (this.inputMode) {
|
|
4765
|
+
// case 'rgba':
|
|
4766
|
+
// this.inputMode = 'hsla'
|
|
4767
|
+
// break;
|
|
4768
|
+
// case 'hsla':
|
|
4769
|
+
// this.inputMode = 'hwba'
|
|
4770
|
+
// break;
|
|
4771
|
+
// case 'hwba':
|
|
4772
|
+
// this.inputMode = 'hex'
|
|
4773
|
+
// break;
|
|
4774
|
+
// case 'hex':
|
|
4775
|
+
// this.inputMode = 'rgba'
|
|
4776
|
+
// break;
|
|
4777
|
+
// }
|
|
4778
|
+
this._parent.mode = (this._parent.mode == 'rgba' ? 'hex' : 'rgba');
|
|
4779
|
+
}
|
|
4780
|
+
_handleRGBAValueChanged(e) {
|
|
4781
|
+
const { r, g, b, a } = this._rgba;
|
|
4782
|
+
const _color = `rgba(${r},${g},${b},${a})`;
|
|
4783
|
+
this._parent._onInternalColorChanged$.next({ color: AXColorUtil.toRGB(_color), mode: 'rgba' });
|
|
4784
|
+
}
|
|
4785
|
+
_handleHEXAValueChanged(e) {
|
|
4786
|
+
this._parent._onInternalColorChanged$.next({ color: AXColorUtil.toHex(e.value), mode: 'hex' });
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
AXColorPaletteInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteInputComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXColorComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4790
|
+
AXColorPaletteInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPaletteInputComponent, selector: "ax-color-palette-input", usesInheritance: true, ngImport: i0, template: "<div class=\"palette-input-container\" [ngSwitch]=\"_parent.mode\">\r\n <div class=\"palette-inputs\">\r\n <ng-container *ngSwitchCase=\"'hex'\">\r\n <div>\r\n <ax-text-box class=\"ax-w-full\" [(value)]=\"_hex\" [debounceTime]=\"300\" (onValueChanged)=\"_handleHEXAValueChanged($event)\">\r\n </ax-text-box>\r\n <label>HEX</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'rgba'\">\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.r\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>R</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.g\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>G</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.b\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"1\" [(value)]=\"_rgba.a\" [decimals]=\"2\" [step]=\"0.1\"\r\n [showSpinButtons]=\"false\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <!-- <ng-container *ngSwitchCase=\"'hsla'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>S</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>L</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'hwba'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>W</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n <ax-button color=\"light\" class=\"ax-w-base\" (onClick)=\"_handleChangeInputMode($event)\">\r\n <ax-icon class=\"ax-ic ax-ic-unfold\"></ax-icon>\r\n </ax-button>\r\n</div>", components: [{ type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name", "checked", "placeholder", "maxLength", "type", "autoComplete"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "size", "value", "placeholder", "maxLength", "allowNull", "debounceTime", "type", "autoComplete", "name", "checked", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
4791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPaletteInputComponent, decorators: [{
|
|
4792
|
+
type: Component,
|
|
4793
|
+
args: [{ selector: 'ax-color-palette-input', encapsulation: ViewEncapsulation.None, template: "<div class=\"palette-input-container\" [ngSwitch]=\"_parent.mode\">\r\n <div class=\"palette-inputs\">\r\n <ng-container *ngSwitchCase=\"'hex'\">\r\n <div>\r\n <ax-text-box class=\"ax-w-full\" [(value)]=\"_hex\" [debounceTime]=\"300\" (onValueChanged)=\"_handleHEXAValueChanged($event)\">\r\n </ax-text-box>\r\n <label>HEX</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'rgba'\">\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.r\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>R</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.g\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>G</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"255\" [(value)]=\"_rgba.b\" [showSpinButtons]=\"false\"\r\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-number-box [minValue]=\"0\" [maxValue]=\"1\" [(value)]=\"_rgba.a\" [decimals]=\"2\" [step]=\"0.1\"\r\n [showSpinButtons]=\"false\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\r\n </ax-number-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <!-- <ng-container *ngSwitchCase=\"'hsla'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>S</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>L</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'hwba'\">\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>H</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>W</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>B</label>\r\n </div>\r\n <div>\r\n <ax-text-box [value]=\"'255'\">\r\n </ax-text-box>\r\n <label>A</label>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n <ax-button color=\"light\" class=\"ax-w-base\" (onClick)=\"_handleChangeInputMode($event)\">\r\n <ax-icon class=\"ax-ic ax-ic-unfold\"></ax-icon>\r\n </ax-button>\r\n</div>" }]
|
|
4794
|
+
}], ctorParameters: function () {
|
|
4795
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXColorComponent, decorators: [{
|
|
4796
|
+
type: Optional
|
|
4797
|
+
}, {
|
|
4798
|
+
type: Inject,
|
|
4799
|
+
args: [AXColorComponent]
|
|
4800
|
+
}] }];
|
|
4801
|
+
} });
|
|
4802
|
+
|
|
4803
|
+
class AXColorPalleteComponent extends AXBaseValueComponentMixin {
|
|
4804
|
+
constructor(elementRef, cdr) {
|
|
4805
|
+
super(elementRef, cdr);
|
|
4806
|
+
this._onInternalColorChanged$ = new Subject();
|
|
4807
|
+
this.modeChange = new EventEmitter();
|
|
4808
|
+
this._mode = 'hex';
|
|
4809
|
+
//
|
|
4810
|
+
this._onInternalColorChanged$.subscribe(e => {
|
|
4811
|
+
this.value = e.color;
|
|
4812
|
+
});
|
|
4813
|
+
}
|
|
4814
|
+
/**
|
|
4815
|
+
* A character value that specifies the separator character.
|
|
4816
|
+
*/
|
|
4817
|
+
get mode() {
|
|
4818
|
+
return this._mode;
|
|
4819
|
+
}
|
|
4820
|
+
set mode(v) {
|
|
4821
|
+
this._setOption({
|
|
4822
|
+
name: "mode",
|
|
4823
|
+
value: v,
|
|
4824
|
+
});
|
|
4825
|
+
}
|
|
4826
|
+
}
|
|
4827
|
+
AXColorPalleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalleteComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4828
|
+
AXColorPalleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPalleteComponent, selector: "ax-color-palette", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", mode: "mode" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", modeChange: "modeChange" }, providers: [{ provide: AXColorComponent, useExisting: AXColorPalleteComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select='ax-header'></ng-content>\r\n\r\n<ng-container [ngTemplateOutlet]=\"default\"></ng-container>\r\n\r\n<ng-template #default>\r\n <ax-color-palette-preview></ax-color-palette-preview>\r\n <ax-color-palette-swatches></ax-color-palette-swatches>\r\n <ng-content select=\"ax-color-palette-favorite\"></ng-content>\r\n <ax-color-palette-input></ax-color-palette-input>\r\n</ng-template>\r\n<ng-content select='ax-footer'></ng-content>", components: [{ type: AXColorPalettePreviewComponent, selector: "ax-color-palette-preview" }, { type: AXColorPaletteSwatchesComponent, selector: "ax-color-palette-swatches, ax-color-palette-favorite", inputs: ["colors"] }, { type: AXColorPaletteInputComponent, selector: "ax-color-palette-input" }], directives: [{ type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalleteComponent, decorators: [{
|
|
4830
|
+
type: Component,
|
|
4831
|
+
args: [{ selector: 'ax-color-palette', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, providers: [{ provide: AXColorComponent, useExisting: AXColorPalleteComponent }], template: "<ng-content select='ax-header'></ng-content>\r\n\r\n<ng-container [ngTemplateOutlet]=\"default\"></ng-container>\r\n\r\n<ng-template #default>\r\n <ax-color-palette-preview></ax-color-palette-preview>\r\n <ax-color-palette-swatches></ax-color-palette-swatches>\r\n <ng-content select=\"ax-color-palette-favorite\"></ng-content>\r\n <ax-color-palette-input></ax-color-palette-input>\r\n</ng-template>\r\n<ng-content select='ax-footer'></ng-content>" }]
|
|
4832
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { modeChange: [{
|
|
4833
|
+
type: Output
|
|
4834
|
+
}], mode: [{
|
|
4835
|
+
type: Input
|
|
4836
|
+
}] } });
|
|
4837
|
+
|
|
4838
|
+
class AXColorPalettePickerComponent {
|
|
4839
|
+
constructor() { }
|
|
4840
|
+
ngOnInit() { }
|
|
4841
|
+
}
|
|
4842
|
+
AXColorPalettePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4843
|
+
AXColorPalettePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPalettePickerComponent, selector: "ax-color-palette-picker", ngImport: i0, template: ``, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
|
4844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPalettePickerComponent, decorators: [{
|
|
4845
|
+
type: Component,
|
|
4846
|
+
args: [{
|
|
4847
|
+
selector: 'ax-color-palette-picker',
|
|
4848
|
+
template: ``,
|
|
4849
|
+
encapsulation: ViewEncapsulation.None
|
|
4850
|
+
}]
|
|
4851
|
+
}], ctorParameters: function () { return []; } });
|
|
4852
|
+
|
|
4823
4853
|
class AXTextBoxModule {
|
|
4824
4854
|
}
|
|
4825
4855
|
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -5332,6 +5362,7 @@ class AXColorPickerComponent extends AXBaseColorPickerMixin {
|
|
|
5332
5362
|
this._elementRef = _elementRef;
|
|
5333
5363
|
this._zone = _zone;
|
|
5334
5364
|
this._platform = _platform;
|
|
5365
|
+
this._mode = 'hex';
|
|
5335
5366
|
this._isMobile = false;
|
|
5336
5367
|
this._isMobile = this._platform.is('Mobile');
|
|
5337
5368
|
this._platform.resize.subscribe(() => {
|
|
@@ -5359,7 +5390,7 @@ class AXColorPickerComponent extends AXBaseColorPickerMixin {
|
|
|
5359
5390
|
}
|
|
5360
5391
|
_onValueChanged(oldValue, newValue) {
|
|
5361
5392
|
super._onValueChanged(oldValue, newValue);
|
|
5362
|
-
this.
|
|
5393
|
+
this._colorCode = AXColorUtil.to(newValue, this._mode);
|
|
5363
5394
|
}
|
|
5364
5395
|
_handlePopupOnOpened(e) {
|
|
5365
5396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5372,12 +5403,12 @@ class AXColorPickerComponent extends AXBaseColorPickerMixin {
|
|
|
5372
5403
|
AXColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
5373
5404
|
AXColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXColorPickerComponent, selector: "ax-color-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, providers: [
|
|
5374
5405
|
{ provide: AXClosbaleComponent, useExisting: AXColorPickerComponent }
|
|
5375
|
-
], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"color-badge\" [ngStyle]=\"{'background-color': value}\"></div>\r\n <div>{{
|
|
5406
|
+
], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div *ngIf=\"value\" class=\"color-badge\" [ngStyle]=\"{'background-color': value}\"></div>\r\n <div class=\"ax-uppercase\">{{_colorCode}}</div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\"\r\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\">\r\n <ax-color-palette [(value)]=\"value\" [(mode)]=\"_mode\">\r\n </ax-color-palette>\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXColorPalleteComponent, selector: "ax-color-palette", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name", "checked", "mode"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "modeChange"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i7.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5376
5407
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXColorPickerComponent, decorators: [{
|
|
5377
5408
|
type: Component,
|
|
5378
5409
|
args: [{ selector: 'ax-color-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
5379
5410
|
{ provide: AXClosbaleComponent, useExisting: AXColorPickerComponent }
|
|
5380
|
-
], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"color-badge\" [ngStyle]=\"{'background-color': value}\"></div>\r\n <div>{{
|
|
5411
|
+
], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div *ngIf=\"value\" class=\"color-badge\" [ngStyle]=\"{'background-color': value}\"></div>\r\n <div class=\"ax-uppercase\">{{_colorCode}}</div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\"\r\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\">\r\n <ax-color-palette [(value)]=\"value\" [(mode)]=\"_mode\">\r\n </ax-color-palette>\r\n </div>\r\n</ax-popover>" }]
|
|
5381
5412
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$4.AXPlatform }]; }, propDecorators: { popover: [{
|
|
5382
5413
|
type: ViewChild,
|
|
5383
5414
|
args: [AXPopoverComponent, { static: true }]
|
|
@@ -6074,7 +6105,7 @@ class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
6074
6105
|
}
|
|
6075
6106
|
}
|
|
6076
6107
|
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6077
|
-
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}-default\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type:
|
|
6108
|
+
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}-default\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i7.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6078
6109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXDialogComponent, decorators: [{
|
|
6079
6110
|
type: Component,
|
|
6080
6111
|
args: [{ selector: 'ax-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}-default\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>" }]
|
|
@@ -7081,7 +7112,7 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
7081
7112
|
onFullScreen() { }
|
|
7082
7113
|
}
|
|
7083
7114
|
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: AXLoadingService }, { token: i1$4.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
7084
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXPopupComponent }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ax-header *ngIf=\"showHeader\">\r\n <ax-title [text]=\"title\"></ax-title>\r\n <ax-close-button *ngIf=\"showCloseButton\"></ax-close-button>\r\n </ax-header>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n </div>\r\n</div>", components: [{ type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], directives: [{ type:
|
|
7115
|
+
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXPopupComponent }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ax-header *ngIf=\"showHeader\">\r\n <ax-title [text]=\"title\"></ax-title>\r\n <ax-close-button *ngIf=\"showCloseButton\"></ax-close-button>\r\n </ax-header>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n </div>\r\n</div>", components: [{ type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], directives: [{ type: i7.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7085
7116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
7086
7117
|
type: Component,
|
|
7087
7118
|
args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXPopupComponent }], template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-popup ax-popup-{{size}}\" tabindex=\"0\" cdkDrag [cdkDragDisabled]=\"!draggable\">\r\n <div cdkDragHandle class=\"ax-popup-header-container\">\r\n <ax-header *ngIf=\"showHeader\">\r\n <ax-title [text]=\"title\"></ax-title>\r\n <ax-close-button *ngIf=\"showCloseButton\"></ax-close-button>\r\n </ax-header>\r\n </div>\r\n <div class=\"ax-popup-main-container\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </div>\r\n <div class=\"ax-popup-footer-container\"></div>\r\n </div>\r\n</div>" }]
|
|
@@ -7694,7 +7725,7 @@ AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
|
|
|
7694
7725
|
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", pageSize: "pageSize", valueField: "valueField", textField: "textField", items: "items", disabledField: "disabledField", disabledCallback: "disabledCallback", multiple: "multiple", selectionMode: "selectionMode", clearButton: "clearButton", checkbox: "checkbox" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", valueChanged: "valueChanged" }, host: { listeners: { "keydown": "_handleKeydown($event)" }, classAttribute: "ax-editor-container ax-drop-down" }, providers: [
|
|
7695
7726
|
{ provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },
|
|
7696
7727
|
{ provide: AXSearchableComponent, useExisting: AXSelectBoxComponent }
|
|
7697
|
-
], queries: [{ propertyName: "_searchBox", first: true, predicate: AXSearchBoxComponent, descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close ax-cursor-pointer\"\r\n (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"_searchBox || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\" >\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title [text]=\"_popoverTitle\"></ax-title>\r\n <ax-close-button [icon]=\"multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'\"></ax-close-button>\r\n </ax-header>\r\n <div class=\"ax-p-2\" [class.ax-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox!=null\">\r\n <ng-content select=\"ax-search-box\" ></ng-content>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>", components: [{ type: AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i10.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7728
|
+
], queries: [{ propertyName: "_searchBox", first: true, predicate: AXSearchBoxComponent, descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close ax-cursor-pointer\"\r\n (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #showPlaceholder>\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\"> {{placeholder}}</div>\r\n </ng-template>\r\n </div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-prefix *ngIf=\"(isLoading && !this.popover.isOpen);else icon\">\r\n <ax-loading type=\"spinner\"></ax-loading>\r\n </ax-prefix>\r\n <ng-template #icon>\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ng-template>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane \" (keydown)=\"_handlePopoverKeydown($event)\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\" [class.ax-full]=\"_searchBox || isLazy\"\r\n [style.min-width.px]=\"_popoverWidth\">\r\n <div class=\"ax-list\" >\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title [text]=\"_popoverTitle\"></ax-title>\r\n <ax-close-button [icon]=\"multiple?'ax-ic-check !ax-text-primary-500':'ax-ic-close'\"></ax-close-button>\r\n </ax-header>\r\n <div class=\"ax-p-2\" [class.ax-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox!=null\">\r\n <ng-content select=\"ax-search-box\" ></ng-content>\r\n </div>\r\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\"\r\n #listContainer>\r\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul>\r\n <ng-container *ngTemplateOutlet=\"tmpTree; context:{ list: displayItems }\">\r\n </ng-container>\r\n <ng-template #tmpTree let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <ng-container\r\n *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"item.children?.length > 0;else tmpItem\">\r\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n <ul *ngIf=\"item.children?.length > 0\">\r\n <ng-container\r\n *ngTemplateOutlet=\"tmpTree; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-container>\r\n <ng-template #multipleTemplate>\r\n <li class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\"\r\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n [class.ax-check-box]=\"checkbox\" [attr.tabindex]=\"i\"\r\n (click)=\"_handleOnItemClick($event,item)\"\r\n [attr.data-id]=\"item[this.valueField]\">\r\n <input type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\"\r\n *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\"\r\n [disabled]=\"isItemDisabled(item)\">\r\n <span class=\"ax-ms-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </li>\r\n </ng-template>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </ul>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n </div>\r\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\r\n >\r\n \r\n </div> -->\r\n <!-- <div class=\"ax-footer\">footer</div> -->\r\n </div>\r\n </div>\r\n</ax-popover>", components: [{ type: AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { type: AXDecoratorHeaderComponent, selector: "ax-header" }, { type: AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "trans": i1$4.AXTranslatorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7698
7729
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
7699
7730
|
type: Component,
|
|
7700
7731
|
args: [{ selector: 'ax-select-box', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...DATALIST_INPUTS, ...SELECTION_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...SELECTION_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
@@ -9044,5 +9075,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
9044
9075
|
* Generated bundle index. Do not edit.
|
|
9045
9076
|
*/
|
|
9046
9077
|
|
|
9047
|
-
export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertModule, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseColorPickerMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBaseMenuMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXClosbaleComponent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXColorPaletteInputComponent, AXColorPaletteModule, AXColorPalettePickerComponent, AXColorPalettePreviewComponent, AXColorPaletteSwatchesComponent, AXColorPalleteComponent, AXColorPickerComponent, AXColorPickerModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorCloseButtonComponent, AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorHeaderComponent, AXDecoratorIconComponent, AXDecoratorModule, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorTitleComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXInfiniteScrollerDirective, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXOverlayService, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPickerComponent, AXPickerModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeChangedEvent, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXResultModule, AXSearchBoxComponent, AXSearchBoxModule, AXSearchableComponent, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
|
|
9078
|
+
export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertModule, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseColorPickerMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBaseMenuMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXClosbaleComponent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXColorPaletteInputComponent, AXColorPaletteModule, AXColorPalettePickerComponent, AXColorPalettePreviewComponent, AXColorPaletteSwatchesComponent, AXColorPalleteComponent, AXColorPickerComponent, AXColorPickerModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorCloseButtonComponent, AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorHeaderComponent, AXDecoratorIconComponent, AXDecoratorModule, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorTitleComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXInfiniteScrollerDirective, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXOverlayService, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPickerComponent, AXPickerModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeChangedEvent, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXResultModule, AXSearchBoxComponent, AXSearchBoxModule, AXSearchableComponent, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValuableComponent, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
|
|
9048
9079
|
//# sourceMappingURL=acorex-components.mjs.map
|