@acorex/components 18.8.5 → 18.8.7
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +17 -14
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +3 -3
- package/esm2022/phone-box/lib/phone-box.component.mjs +4 -4
- package/fesm2022/acorex-components-color-palette.mjs +18 -15
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +3 -3
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/package.json +45 -45
- package/phone-box/lib/phone-box.component.d.ts +2 -1
@@ -1,4 +1,5 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { isBrowser } from '@acorex/core/platform';
|
2
3
|
import { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';
|
3
4
|
import { ChangeDetectionStrategy, Component, HostBinding, Inject, ViewEncapsulation } from '@angular/core';
|
4
5
|
import { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './color-palette.class';
|
@@ -176,19 +177,21 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
176
177
|
* @ignore
|
177
178
|
*/
|
178
179
|
setPointerByPercent(x, y) {
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
180
|
+
if (isBrowser()) {
|
181
|
+
const surface = this.getHostElement().querySelector('.ax-color-box-overlay');
|
182
|
+
if (!surface)
|
183
|
+
return;
|
184
|
+
const sb = surface?.getBoundingClientRect();
|
185
|
+
const pointer = this.getHostElement().querySelector('.ax-color-box-pointer');
|
186
|
+
const pb = pointer?.getBoundingClientRect();
|
187
|
+
const w = pb.width / 2;
|
188
|
+
const width = sb.width; //+ pb.width
|
189
|
+
const height = sb.height; // + pb.width
|
190
|
+
this.dragPosition = {
|
191
|
+
x: (x * width) / 100 - w,
|
192
|
+
y: height - (y * height) / 100 - w,
|
193
|
+
};
|
194
|
+
}
|
192
195
|
}
|
193
196
|
/**
|
194
197
|
* @ignore
|
@@ -221,4 +224,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
221
224
|
type: HostBinding,
|
222
225
|
args: ['class']
|
223
226
|
}] } });
|
224
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGFsZXR0ZS1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbG9yLXBhbGV0dGUvc3JjL2xpYi9jb2xvci1wYWxldHRlLXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29sb3ItcGFsZXR0ZS9zcmMvbGliL2NvbG9yLXBhbGV0dGUtcGlja2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsV0FBVyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7Ozs7OztBQUVwRzs7OztHQUlHO0FBY0gsTUFBTSxPQUFPLDZCQUE4QixTQUFRLGVBQWU7SUE4Q2hFOztPQUVHO0lBQ0gsWUFFUyxPQUFzQyxFQUNyQyxhQUE2QjtRQUVy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X3BhcmVudC5yZWFkb25seVwiXG4gIChuZ01vZGVsQ2hhbmdlKT1cIl9oYW5kbGVBbHBoYUNoYW5nZWQoJGV2ZW50KVwiXG4+XG48L2F4LXJhbmdlLXNsaWRlcj5cbiJdfQ==
|
@@ -78,7 +78,7 @@ export class AXColorPaletteSwatchesComponent extends MXBaseComponent {
|
|
78
78
|
},
|
79
79
|
AXUnsubscriber,
|
80
80
|
], usesInheritance: true, ngImport: i0, template: `
|
81
|
-
@for (color of colors; track
|
81
|
+
@for (color of colors; track $index) {
|
82
82
|
<div
|
83
83
|
[style.background-color]="color.code"
|
84
84
|
[attr.title]="color.code"
|
@@ -93,7 +93,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
93
93
|
args: [{
|
94
94
|
selector: 'ax-color-palette-swatches, ax-color-palette-favorite',
|
95
95
|
template: `
|
96
|
-
@for (color of colors; track
|
96
|
+
@for (color of colors; track $index) {
|
97
97
|
<div
|
98
98
|
[style.background-color]="color.code"
|
99
99
|
[attr.title]="color.code"
|
@@ -118,4 +118,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
118
118
|
}] }, { type: i1.AXUnsubscriber }], propDecorators: { colors: [{
|
119
119
|
type: Input
|
120
120
|
}] } });
|
121
|
-
//# sourceMappingURL=data:application/json;base64,
|
121
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGFsZXR0ZS1zd2F0Y2hlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29sb3ItcGFsZXR0ZS9zcmMvbGliL2NvbG9yLXBhbGV0dGUtc3dhdGNoZXMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRS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