codexly-ui 0.6.6 → 0.6.7
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/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -12373,7 +12373,6 @@ class ClxFabComponent {
|
|
|
12373
12373
|
positionChange = output();
|
|
12374
12374
|
_themeSvc = inject(ClxThemeService);
|
|
12375
12375
|
_document = inject(DOCUMENT$1);
|
|
12376
|
-
_elementRef = inject((ElementRef));
|
|
12377
12376
|
_color = computed(() => this.color() ?? this._themeSvc.config().primaryColor, ...(ngDevMode ? [{ debugName: "_color" }] : /* istanbul ignore next */ []));
|
|
12378
12377
|
_draggedPosition = signal(null, ...(ngDevMode ? [{ debugName: "_draggedPosition" }] : /* istanbul ignore next */ []));
|
|
12379
12378
|
_position = computed(() => this._draggedPosition() ?? this.position() ?? this.defaultPosition(), ...(ngDevMode ? [{ debugName: "_position" }] : /* istanbul ignore next */ []));
|
|
@@ -12411,8 +12410,6 @@ class ClxFabComponent {
|
|
|
12411
12410
|
const current = this._position();
|
|
12412
12411
|
this._dragStartRight = current.right;
|
|
12413
12412
|
this._dragStartBottom = current.bottom;
|
|
12414
|
-
const wrapper = this._elementRef.nativeElement.querySelector('[cdkOverlayOrigin]');
|
|
12415
|
-
wrapper?.setPointerCapture(event.pointerId);
|
|
12416
12413
|
const onMove = (e) => this._onPointerMove(e);
|
|
12417
12414
|
const onUp = (e) => {
|
|
12418
12415
|
this._onPointerUp(e);
|
|
@@ -12463,7 +12460,6 @@ class ClxFabComponent {
|
|
|
12463
12460
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClxFabComponent, isStandalone: true, selector: "clx-fab", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, triggerLabel: { classPropertyName: "triggerLabel", publicName: "triggerLabel", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, defaultPosition: { classPropertyName: "defaultPosition", publicName: "defaultPosition", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick", positionChange: "positionChange" }, ngImport: i0, template: `
|
|
12464
12461
|
<!-- ── Trigger (this wrapper owns the fixed positioning + drag; the button inside stays a plain clx-button) ── -->
|
|
12465
12462
|
<div
|
|
12466
|
-
#wrapper
|
|
12467
12463
|
#origin="cdkOverlayOrigin"
|
|
12468
12464
|
cdkOverlayOrigin
|
|
12469
12465
|
class="fixed z-40 select-none"
|
|
@@ -12529,7 +12525,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
12529
12525
|
template: `
|
|
12530
12526
|
<!-- ── Trigger (this wrapper owns the fixed positioning + drag; the button inside stays a plain clx-button) ── -->
|
|
12531
12527
|
<div
|
|
12532
|
-
#wrapper
|
|
12533
12528
|
#origin="cdkOverlayOrigin"
|
|
12534
12529
|
cdkOverlayOrigin
|
|
12535
12530
|
class="fixed z-40 select-none"
|