@acorex/components 18.12.37 → 18.12.39
Sign up to get free protection for your applications and to get access to all the features.
- package/color-palette/lib/color-palette-picker.component.d.ts +3 -0
- package/common/lib/components/button-base-component.class.d.ts +10 -10
- package/common/lib/components/interactive-component.class.d.ts +11 -11
- package/common/lib/types/base/button.type.d.ts +8 -0
- package/common/lib/types/base/color.type.d.ts +7 -0
- package/common/lib/types/base/events.types.d.ts +1 -1
- package/common/lib/types/base/index.d.ts +5 -0
- package/common/lib/types/base/interactive.type.d.ts +13 -0
- package/common/lib/types/base/look.type.d.ts +7 -0
- package/common/lib/types/base/value.type.d.ts +9 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +2 -2
- package/esm2022/button-group/lib/button-group.component.mjs +2 -2
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +28 -4
- package/esm2022/common/lib/components/base-component.class.mjs +1 -1
- package/esm2022/common/lib/components/button-base-component.class.mjs +11 -11
- package/esm2022/common/lib/components/interactive-component.class.mjs +12 -12
- package/esm2022/common/lib/components/selection-base.component.class.mjs +13 -5
- package/esm2022/common/lib/types/base/button.type.mjs +18 -0
- package/esm2022/common/lib/types/base/color.type.mjs +16 -0
- package/esm2022/common/lib/types/base/events.types.mjs +1 -1
- package/esm2022/common/lib/types/base/index.mjs +6 -1
- package/esm2022/common/lib/types/base/interactive.type.mjs +31 -0
- package/esm2022/common/lib/types/base/look.type.mjs +16 -0
- package/esm2022/common/lib/types/base/value.type.mjs +19 -0
- package/esm2022/drawer/lib/drawer/drawer-item/drawer.component.mjs +2 -2
- package/esm2022/dropdown/lib/dropdown-box.component.mjs +3 -3
- package/esm2022/form/lib/form-field.component.mjs +2 -2
- package/esm2022/form/lib/validation-rule.directive.mjs +1 -1
- package/esm2022/menu/lib/context-menu.component.mjs +2 -2
- package/esm2022/menu/lib/menu.component.mjs +2 -2
- package/esm2022/otp/lib/otp.component.mjs +32 -28
- package/esm2022/phone-box/lib/phone-box.component.mjs +21 -20
- package/esm2022/picker/lib/picker.component.mjs +8 -5
- package/esm2022/range-slider/lib/range-slider.component.mjs +1 -1
- package/esm2022/search-box/lib/search-box.component.mjs +4 -4
- package/esm2022/select-box/lib/select-box.component.mjs +6 -4
- package/esm2022/selection-list/lib/selection-list.component.mjs +9 -5
- package/esm2022/side-menu/lib/side-menu.component.mjs +2 -2
- package/esm2022/tabs/lib/tab-item.component.mjs +5 -4
- package/esm2022/tabs/lib/tabs.component.mjs +2 -2
- package/esm2022/text-area/lib/text-area.component.mjs +4 -4
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +2 -2
- package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +2 -2
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +27 -3
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +124 -28
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +2 -2
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +1 -1
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +4 -4
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +31 -27
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +20 -19
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +7 -4
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +2 -2
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +5 -3
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -3
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +2 -2
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +6 -5
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +2 -2
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +2 -2
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/form/lib/validation-rule.directive.d.ts +1 -1
- package/otp/lib/otp.component.d.ts +16 -15
- package/package.json +1 -1
- package/phone-box/lib/phone-box.component.d.ts +1 -2
- package/picker/lib/picker.component.d.ts +2 -2
- package/range-slider/lib/range-slider.component.d.ts +2 -2
- package/tabs/lib/tab-item.component.d.ts +9 -9
@@ -158,6 +158,29 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
158
158
|
//
|
159
159
|
this.setColorByXY(x, y);
|
160
160
|
}
|
161
|
+
/**
|
162
|
+
* @ignore
|
163
|
+
*/
|
164
|
+
// protected _handleDragMove(event: any) {
|
165
|
+
// if (this._parent.disabled || this._parent.readonly) {
|
166
|
+
// return;
|
167
|
+
// }
|
168
|
+
// const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');
|
169
|
+
// const sb = surface.getBoundingClientRect();
|
170
|
+
// // Get the position of the drag event relative to the surface
|
171
|
+
// const dragPosition = event.pointerPosition;
|
172
|
+
// // Calculate x and y offsets relative to the surface
|
173
|
+
// let x = dragPosition.x - sb.left; // Pointer x position
|
174
|
+
// let y = dragPosition.y - sb.top; // Pointer y position
|
175
|
+
// // Clamp values to be within bounds
|
176
|
+
// // Adjust the clamping logic to prevent overshooting by taking the pointer size into account
|
177
|
+
// const pointerWidth = 20; // Assuming a pointer width of 20px, adjust as necessary
|
178
|
+
// const pointerHeight = 20; // Assuming a pointer height of 20px, adjust as necessary
|
179
|
+
// x = Math.max(0 + pointerWidth / 2, Math.min(x, sb.width - pointerWidth / 2)); // Center the pointer
|
180
|
+
// y = Math.max(0 + pointerHeight / 2, Math.min(y, sb.height - pointerHeight / 2)); // Center the pointer
|
181
|
+
// // Call the method to set the color based on the new x and y
|
182
|
+
// this.setColorByXY(x, y);
|
183
|
+
// }
|
161
184
|
/**
|
162
185
|
* @ignore
|
163
186
|
*/
|
@@ -165,13 +188,14 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
165
188
|
const surface = this.getHostElement().querySelector('.ax-color-box-overlay');
|
166
189
|
const sb = surface.getBoundingClientRect();
|
167
190
|
//
|
168
|
-
const { h } = AXColorUtil.to(this._bgColor, 'hsva');
|
169
|
-
const
|
191
|
+
const { h, a } = AXColorUtil.to(this._bgColor, 'hsva');
|
192
|
+
const hsva = {
|
170
193
|
h,
|
171
194
|
s: x / sb.width,
|
172
195
|
v: (sb.height - y) / sb.height,
|
196
|
+
a,
|
173
197
|
};
|
174
|
-
this._parent.commitValue(AXColorUtil.toString(
|
198
|
+
this._parent.commitValue(AXColorUtil.toString(hsva, 'rgba'), true);
|
175
199
|
}
|
176
200
|
/**
|
177
201
|
* @ignore
|
@@ -224,4 +248,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
224
248
|
type: HostBinding,
|
225
249
|
args: ['class']
|
226
250
|
}] } });
|
227
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGFsZXR0ZS1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbG9yLXBhbGV0dGUvc3JjL2xpYi9jb2xvci1wYWxldHRlLXBpY2tlci5jb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
|
|
71
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXBaseComponent, decorators: [{
|
72
72
|
type: Injectable
|
73
73
|
}] });
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jb21wb25lbnQuY2xhc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9iYXNlLWNvbXBvbmVudC5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsaUJBQWlCLEVBQ2pCLFVBQVUsRUFDVixZQUFZLEVBQ1osVUFBVSxFQUNWLGdCQUFnQixFQUNoQixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHlCQUF5QixDQUFDOztBQWV2RCxNQUFNLE9BQWdCLGVBQWU7SUFEckM7UUFFVSxTQUFJLEdBQXNCLE1BQU0sQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDO1FBQ3BELGdCQUFXLEdBQWUsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQzdDLGFBQVEsR0FBcUIsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFDdEQsZ0JBQVcsR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLENBQUM7UUFFbkMsUUFBRyxHQUFXLElBQUksQ0FBQyxXQUFXLENBQUMsaUJBQWlCLEVBQUUsQ0FBQztRQWdDM0Q7Ozs7V0FJRztRQUNJLG9CQUFlLEdBQXVDLElBQUksWUFBWSxFQUF3QixDQUFDO0tBMEJ2RztJQTlEQyxJQUFXLEVBQUU7UUFDWCxPQUFPLEl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GlzLmludGVybmFsT3B0aW9uQ2hhbmdlZCh7IG5hbWU6IG9wdGlvbi5uYW1lLCB2YWx1ZTogbmV3VmFsdWUgfSk7XG4gICAgfVxuICAgIGlmIChvcHRpb24uYWZ0ZXJDYWxsYmFjaykgb3B0aW9uLmFmdGVyQ2FsbGJhY2sob2xkVmFsdWUsIG5ld1ZhbHVlKTtcbiAgfVxufVxuIl19
|
@@ -46,8 +46,8 @@ export class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXCol
|
|
46
46
|
});
|
47
47
|
}
|
48
48
|
/**
|
49
|
-
|
50
|
-
|
49
|
+
* @ignore
|
50
|
+
*/
|
51
51
|
constructor() {
|
52
52
|
super();
|
53
53
|
/**
|
@@ -57,17 +57,17 @@ export class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXCol
|
|
57
57
|
*/
|
58
58
|
this.textChange = new EventEmitter();
|
59
59
|
/**
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
60
|
+
* Emits an event when the toggleable state of the action sheet changes.
|
61
|
+
*
|
62
|
+
* @event
|
63
|
+
*/
|
64
64
|
this.toggleableChange = new EventEmitter();
|
65
65
|
this._toggleable = false;
|
66
66
|
/**
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
67
|
+
* Emits an event whenever the selection state of the component changes.
|
68
|
+
*
|
69
|
+
* @event
|
70
|
+
*/
|
71
71
|
this.selectedChange = new EventEmitter();
|
72
72
|
this._selected = false;
|
73
73
|
}
|
@@ -85,4 +85,4 @@ export class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXCol
|
|
85
85
|
return cssClasses;
|
86
86
|
}
|
87
87
|
}
|
88
|
-
//# sourceMappingURL=data:application/json;base64,
|
88
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWJhc2UtY29tcG9uZW50LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4v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15 +7,15 @@ export class MXInteractiveComponent extends MXBaseComponent {
|
|
7
7
|
constructor() {
|
8
8
|
super(...arguments);
|
9
9
|
/**
|
10
|
-
|
11
|
-
|
10
|
+
* @ignore
|
11
|
+
*/
|
12
12
|
this.onTouchedCallback = noop;
|
13
13
|
this._touched = false;
|
14
14
|
/**
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
* Emits an event whenever the disabled state of the component changes.
|
16
|
+
*
|
17
|
+
* @event
|
18
|
+
*/
|
19
19
|
this.disabledChange = new EventEmitter();
|
20
20
|
this._tabIndex = 0;
|
21
21
|
/**
|
@@ -40,15 +40,15 @@ export class MXInteractiveComponent extends MXBaseComponent {
|
|
40
40
|
this.onTouchedCallback = fn;
|
41
41
|
}
|
42
42
|
/**
|
43
|
-
|
44
|
-
|
45
|
-
|
43
|
+
* Indicates whether the component has been touched.
|
44
|
+
*
|
45
|
+
*/
|
46
46
|
get touched() {
|
47
47
|
return this._touched;
|
48
48
|
}
|
49
49
|
/**
|
50
|
-
|
51
|
-
|
50
|
+
* @ignore
|
51
|
+
*/
|
52
52
|
markAsTouched() {
|
53
53
|
if (!this.touched) {
|
54
54
|
this.onTouchedCallback();
|
@@ -126,4 +126,4 @@ export class MXInteractiveComponent extends MXBaseComponent {
|
|
126
126
|
return AXHtmlUtil.hasFocus(this.getHostElement());
|
127
127
|
}
|
128
128
|
}
|
129
|
-
//# sourceMappingURL=data:application/json;base64,
|
129
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJhY3RpdmUtY29tcG9uZW50LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvaW50ZXJhY3RpdmUtY29tcG9uZW50LmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3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KCkpO1xuICB9XG5cbiAgLy8gcHJpdmF0ZSBfZm9jdXNlZCA9IHNpZ25hbChmYWxzZSk7XG5cbiAgLy8gcHJvdGVjdGVkIG1hcmtBc0ZvY3VzZWQoKSB7XG4gIC8vICAgdGhpcy5fZm9jdXNlZC5zZXQodHJ1ZSk7XG4gIC8vIH1cblxuICAvLyBwcm90ZWN0ZWQgbWFya0FzQmx1cmVkKCkge1xuICAvLyAgIHRoaXMuX2ZvY3VzZWQuc2V0KGZhbHNlKTtcbiAgLy8gfVxufVxuIl19
|
@@ -82,11 +82,15 @@ export class MXSelectionValueComponent extends MXValueComponent {
|
|
82
82
|
if (value == null || (isArray && value.length == 0)) {
|
83
83
|
return this.multiple ? [] : null;
|
84
84
|
}
|
85
|
-
const normalizedItems = isArray
|
85
|
+
const normalizedItems = isArray
|
86
|
+
? this.normalizeItemsList(value, true)
|
87
|
+
: this.normalizeItemsList([value], true);
|
86
88
|
if (normalizedItems.length == 0) {
|
87
89
|
return this.multiple ? [] : null;
|
88
90
|
}
|
89
|
-
const result = this.multiple
|
91
|
+
const result = this.multiple
|
92
|
+
? normalizedItems.map((c) => c[this.valueField])
|
93
|
+
: normalizedItems[0][this.valueField];
|
90
94
|
return result;
|
91
95
|
}
|
92
96
|
emitOnValueChangedEvent(oldValue, newValue) {
|
@@ -156,14 +160,18 @@ export class MXSelectionValueComponent extends MXValueComponent {
|
|
156
160
|
this.commitValue([], true);
|
157
161
|
return;
|
158
162
|
}
|
159
|
-
const normalizeItems = Array.isArray(items)
|
163
|
+
const normalizeItems = Array.isArray(items)
|
164
|
+
? this.normalizeItemsList(items)
|
165
|
+
: [this.normalizeItem(items)];
|
160
166
|
const newSelectedItems = this.selectedItems.filter((i) => !normalizeItems.some((n) => n[this.valueField] == i[this.valueField]));
|
161
167
|
this.commitValue(newSelectedItems, true);
|
162
168
|
}
|
163
169
|
selectItems(...items) {
|
164
170
|
if (items && items.length) {
|
165
171
|
let newSelectedItems = Array.isArray(this.value) ? this.value : [this.value];
|
166
|
-
const normalizeItems = Array.isArray(items)
|
172
|
+
const normalizeItems = Array.isArray(items)
|
173
|
+
? this.normalizeItemsList(items)
|
174
|
+
: [this.normalizeItem(items)];
|
167
175
|
if (this.multiple) {
|
168
176
|
newSelectedItems = [...newSelectedItems, ...normalizeItems];
|
169
177
|
}
|
@@ -217,4 +225,4 @@ export class MXSelectionValueComponent extends MXValueComponent {
|
|
217
225
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXSelectionValueComponent, decorators: [{
|
218
226
|
type: Injectable
|
219
227
|
}] });
|
220
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWJhc2UuY29tcG9uZW50LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvc2VsZWN0aW9uLWJhc2UuY29tcG9uZW50LmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsVUFBVSxFQUFFLGNBQWMsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBRzNELE1BQU0sT0FBTyx3QkFBd0I7SUFEckM7UUFFUyxrQkFBYSxHQUFjLEVBQUUsQ0FBQztRQUM5QixjQUFTLEdBQXdDLEVBQUUsQ0FBQztLQUM1RDs4R0FIWSx3QkFBd0I7a0hBQXhCLHdCQUF3Qjs7MkZBQXhCLH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FsdWUoaXRlbTogVCkge1xuICAgIGNvbnN0IG5vcm1hbGl6ZUl0ZW0gPSB0aGlzLm5vcm1hbGl6ZUl0ZW0oaXRlbSkgYXMgYW55O1xuICAgIHJldHVybiBub3JtYWxpemVJdGVtW3RoaXMudmFsdWVGaWVsZF07XG4gIH1cblxuICBwcm90ZWN0ZWQgY2xlYXJTZWxlY3Rpb25DYWNoZSgpIHtcbiAgICB0aGlzLmRhdGFTZXJ2aWNlLmNhY2hlTGlzdCA9IHt9O1xuICAgIHRoaXMuZGF0YVNlcnZpY2Uuc2VsZWN0ZWRJdGVtcyA9IFtdO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Component, model, output } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class NXButtonComponent {
|
4
|
+
constructor() {
|
5
|
+
this.text = model();
|
6
|
+
this.toggleableChange = output();
|
7
|
+
this.selectedChange = output();
|
8
|
+
}
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: NXButtonComponent, selector: "ng-component", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { text: "textChange", toggleableChange: "toggleableChange", selectedChange: "selectedChange" }, ngImport: i0, template: '', isInline: true }); }
|
11
|
+
}
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXButtonComponent, decorators: [{
|
13
|
+
type: Component,
|
14
|
+
args: [{
|
15
|
+
template: '',
|
16
|
+
}]
|
17
|
+
}] });
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvdHlwZXMvYmFzZS9idXR0b24udHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3pELE1BQU0sT0FBZ0IsaUJBQWlCO0lBSHZDO1FBSUUsU0FBSSxHQUFHLEtBQUssRUFBVSxDQUFDO1FBRXZCLHFCQUFnQixHQUFHLE1BQU0sRUFBVyxDQUFDO1FBQ3JDLG1CQUFjLEdBQUcsTUFBTSxFQUFXLENBQUM7S0FDcEM7OEdBTHFCLGlCQUFpQjtrR0FBakIsaUJBQWlCLDhSQUYzQixFQUFFOzsyRkFFUSxpQkFBaUI7a0JBSHRDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLEVBQUU7aUJBQ2IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIG1vZGVsLCBvdXRwdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHRlbXBsYXRlOiAnJyxcbn0pXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgTlhCdXR0b25Db21wb25lbnQge1xuICB0ZXh0ID0gbW9kZWw8c3RyaW5nPigpO1xuXG4gIHRvZ2dsZWFibGVDaGFuZ2UgPSBvdXRwdXQ8Ym9vbGVhbj4oKTtcbiAgc2VsZWN0ZWRDaGFuZ2UgPSBvdXRwdXQ8Ym9vbGVhbj4oKTtcbn1cbiJdfQ==
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { Component, model } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class NXColorComponent {
|
4
|
+
constructor() {
|
5
|
+
this.color = model('ghost');
|
6
|
+
}
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: NXColorComponent, selector: "ng-component", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { color: "colorChange" }, ngImport: i0, template: '', isInline: true }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXColorComponent, decorators: [{
|
11
|
+
type: Component,
|
12
|
+
args: [{
|
13
|
+
template: '',
|
14
|
+
}]
|
15
|
+
}] });
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3IudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tb24vc3JjL2xpYi90eXBlcy9iYXNlL2NvbG9yLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTWpELE1BQU0sT0FBZ0IsZ0JBQWdCO0lBSHRDO1FBSUUsVUFBSyxHQUFHLEtBQUssQ0FBbUIsT0FBTyxDQUFDLENBQUM7S0FDMUM7OEdBRnFCLGdCQUFnQjtrR0FBaEIsZ0JBQWdCLDJOQUYxQixFQUFFOzsyRkFFUSxnQkFBZ0I7a0JBSHJDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLEVBQUU7aUJBQ2IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIG1vZGVsIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBWFN0eWxlQ29sb3JUeXBlIH0gZnJvbSAnLi4vLi4vY2xhc3Nlcy9zdHlsZXMuY2xhc3MnO1xuXG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGU6ICcnLFxufSlcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBOWENvbG9yQ29tcG9uZW50IHtcbiAgY29sb3IgPSBtb2RlbDxBWFN0eWxlQ29sb3JUeXBlPignZ2hvc3QnKTtcbn1cbiJdfQ==
|
@@ -16,4 +16,4 @@ export class NXNativeEvent extends NXEvent {
|
|
16
16
|
*/
|
17
17
|
export class NXClickEvent extends NXNativeEvent {
|
18
18
|
}
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnRzLnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL3R5cGVzL2Jhc2UvZXZlbnRzLnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBOzs7R0FHRztBQUNILE1BQU0sT0FBTyxPQUFPO0NBRW5CO0FBRUQ7OztHQUdHO0FBQ0gsTUFBTSxPQUFPLGFBQTRFLFNBQVEsT0FBVTtDQUUxRztBQUVEOzs7R0FHRztBQUNILE1BQU0sT0FBTyxZQUFrRCxTQUFRLGFBQTRCO0NBQUciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOWENvbXBvbmVudCB9IGZyb20gJy4vY29tcG9uZW50LnR5cGVzJztcblxuLyoqXG4gKiAgQmFzZSBldmVudCBjbGFzc1xuICogQGNhdGVnb3J5IEV2ZW50c1xuICovXG5leHBvcnQgY2xhc3MgTlhFdmVudDxUIGV4dGVuZHMgTlhDb21wb25lbnQgPSBOWENvbXBvbmVudD4ge1xuICBzZW5kZXI6IFQ7XG59XG5cbi8qKlxuICogIENvbnRhaW5zIG5hdGl2ZSBldmVudFxuICogQGNhdGVnb3J5IEV2ZW50c1xuICovXG5leHBvcnQgY2xhc3MgTlhOYXRpdmVFdmVudDxUIGV4dGVuZHMgTlhDb21wb25lbnQgPSBOWENvbXBvbmVudCwgRSBleHRlbmRzIEV2ZW50ID0gRXZlbnQ+IGV4dGVuZHMgTlhFdmVudDxUPiB7XG4gIG5hdGl2ZUV2ZW50OiBFO1xufVxuXG4vKipcbiAqICBGaXJlcyBlYWNoIHRpbWUgdGhlIHVzZXIgY2xpY2sgdGhlIGVsZW1lbnQuXG4gKiBAY2F0ZWdvcnkgRXZlbnRzXG4gKi9cbmV4cG9ydCBjbGFzcyBOWENsaWNrRXZlbnQ8VCBleHRlbmRzIE5YQ29tcG9uZW50ID0gTlhDb21wb25lbnQ+IGV4dGVuZHMgTlhOYXRpdmVFdmVudDxULCBNb3VzZUV2ZW50PiB7fVxuIl19
|
@@ -1,3 +1,8 @@
|
|
1
|
+
export * from './button.type';
|
2
|
+
export * from './color.type';
|
1
3
|
export * from './component.types';
|
2
4
|
export * from './events.types';
|
3
|
-
|
5
|
+
export * from './interactive.type';
|
6
|
+
export * from './look.type';
|
7
|
+
export * from './value.type';
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvdHlwZXMvYmFzZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYnV0dG9uLnR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9jb2xvci50eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50LnR5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vZXZlbnRzLnR5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJhY3RpdmUudHlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2xvb2sudHlwZSc7XG5leHBvcnQgKiBmcm9tICcuL3ZhbHVlLnR5cGUnO1xuIl19
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { AXHtmlUtil } from '@acorex/core/utils';
|
2
|
+
import { Component, model, output } from '@angular/core';
|
3
|
+
import { NXComponent } from './component.types';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export class NXInteractiveComponent extends NXComponent {
|
6
|
+
constructor() {
|
7
|
+
super(...arguments);
|
8
|
+
this.disabled = model(false);
|
9
|
+
this.tabIndex = model(0);
|
10
|
+
this.onFocus = output();
|
11
|
+
this.onBlur = output();
|
12
|
+
}
|
13
|
+
focus() {
|
14
|
+
AXHtmlUtil.focusElement(this.nativeElement);
|
15
|
+
}
|
16
|
+
blur() {
|
17
|
+
AXHtmlUtil.blurElement(this.nativeElement);
|
18
|
+
}
|
19
|
+
hasFocus() {
|
20
|
+
return AXHtmlUtil.hasFocus(this.nativeElement);
|
21
|
+
}
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXInteractiveComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: NXInteractiveComponent, selector: "ng-component", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { disabled: "disabledChange", tabIndex: "tabIndexChange", onFocus: "onFocus", onBlur: "onBlur" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
24
|
+
}
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXInteractiveComponent, decorators: [{
|
26
|
+
type: Component,
|
27
|
+
args: [{
|
28
|
+
template: '',
|
29
|
+
}]
|
30
|
+
}] });
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJhY3RpdmUudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tb24vc3JjL2xpYi90eXBlcy9iYXNlL2ludGVyYWN0aXZlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7O0FBS2hELE1BQU0sT0FBZ0Isc0JBQXVCLFNBQVEsV0FBVztJQUhoRTs7UUFJRSxhQUFRLEdBQUcsS0FBSyxDQUFVLEtBQUssQ0FBQyxDQUFDO1FBQ2pDLGFBQVEsR0FBRyxLQUFLLENBQVMsQ0FBQyxDQUFDLENBQUM7UUFFNUIsWUFBTyxHQUFHLE1BQU0sRUFBRS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GVtZW50KHRoaXMubmF0aXZlRWxlbWVudCk7XG4gIH1cblxuICBibHVyKCkge1xuICAgIEFYSHRtbFV0aWwuYmx1ckVsZW1lbnQodGhpcy5uYXRpdmVFbGVtZW50KTtcbiAgfVxuXG4gIGhhc0ZvY3VzKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiBBWEh0bWxVdGlsLmhhc0ZvY3VzKHRoaXMubmF0aXZlRWxlbWVudCk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { Component, model } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class NXLookComponent {
|
4
|
+
constructor() {
|
5
|
+
this.look = model('solid');
|
6
|
+
}
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXLookComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: NXLookComponent, selector: "ng-component", inputs: { look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { look: "lookChange" }, ngImport: i0, template: '', isInline: true }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXLookComponent, decorators: [{
|
11
|
+
type: Component,
|
12
|
+
args: [{
|
13
|
+
template: '',
|
14
|
+
}]
|
15
|
+
}] });
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9vay50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL3R5cGVzL2Jhc2UvbG9vay50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU1qRCxNQUFNLE9BQWdCLGVBQWU7SUFIckM7UUFJRSxTQUFJLEdBQUcsS0FBSyxDQUFrQixPQUFPLENBQUMsQ0FBQztLQUN4Qzs4R0FGcUIsZUFBZTtrR0FBZixlQUFlLHNOQUZ6QixFQUFFOzsyRkFFUSxlQUFlO2tCQUhwQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxFQUFFO2lCQUNiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBtb2RlbCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQVhTdHlsZUxvb2tUeXBlIH0gZnJvbSAnLi4vLi4vY2xhc3Nlcy9zdHlsZXMuY2xhc3MnO1xuXG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGU6ICcnLFxufSlcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBOWExvb2tDb21wb25lbnQge1xuICBsb29rID0gbW9kZWw8QVhTdHlsZUxvb2tUeXBlPignc29saWQnKTtcbn1cbiJdfQ==
|