@fuentis/phoenix-ui 0.0.9-alpha.548 → 0.0.9-alpha.550
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.
|
@@ -8612,23 +8612,17 @@ class MetaCheckboxColorPickerV2Component {
|
|
|
8612
8612
|
(click)="toggle(popover, $event)"
|
|
8613
8613
|
aria-label="Select color"
|
|
8614
8614
|
></button>
|
|
8615
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i2$1.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8615
|
+
`, isInline: true, styles: [":host ::ng-deep .p-popover-content{padding:0!important}.color-picker{display:flex;flex-direction:column;padding:10px}.color-row{display:flex;justify-content:center;gap:8px}.mb-2{margin-bottom:8px}.color-box{margin:2px;width:30px;height:30px;cursor:pointer;border-radius:4px;border:0;padding:0;background:transparent}.color-box:hover:not(:disabled){transform:scale(1.1);opacity:.9;box-shadow:0 0 5px #0003}.color-box:disabled{cursor:not-allowed;opacity:.6}.selected-color{width:35px;height:35px;border:2px solid #ccc;cursor:pointer;border-radius:6px;padding:0;background:transparent}.selected-color:disabled{cursor:not-allowed;opacity:.6}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i2$1.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8616
8616
|
}
|
|
8617
8617
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MetaCheckboxColorPickerV2Component, decorators: [{
|
|
8618
8618
|
type: Component,
|
|
8619
|
-
args: [{
|
|
8620
|
-
selector: 'phoenix-meta-checkbox-color-picker-v2',
|
|
8621
|
-
standalone: true,
|
|
8622
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8623
|
-
imports: [CommonModule, FormsModule, PopoverModule],
|
|
8624
|
-
providers: [
|
|
8619
|
+
args: [{ selector: 'phoenix-meta-checkbox-color-picker-v2', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, PopoverModule], providers: [
|
|
8625
8620
|
{
|
|
8626
8621
|
provide: NG_VALUE_ACCESSOR,
|
|
8627
8622
|
useExisting: forwardRef(() => MetaCheckboxColorPickerV2Component),
|
|
8628
8623
|
multi: true,
|
|
8629
8624
|
},
|
|
8630
|
-
],
|
|
8631
|
-
template: `
|
|
8625
|
+
], template: `
|
|
8632
8626
|
<p-popover #popover>
|
|
8633
8627
|
<div class="color-picker">
|
|
8634
8628
|
@for (row of options; track $index; let last = $last) {
|
|
@@ -8658,8 +8652,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
8658
8652
|
(click)="toggle(popover, $event)"
|
|
8659
8653
|
aria-label="Select color"
|
|
8660
8654
|
></button>
|
|
8661
|
-
`,
|
|
8662
|
-
}]
|
|
8655
|
+
`, styles: [":host ::ng-deep .p-popover-content{padding:0!important}.color-picker{display:flex;flex-direction:column;padding:10px}.color-row{display:flex;justify-content:center;gap:8px}.mb-2{margin-bottom:8px}.color-box{margin:2px;width:30px;height:30px;cursor:pointer;border-radius:4px;border:0;padding:0;background:transparent}.color-box:hover:not(:disabled){transform:scale(1.1);opacity:.9;box-shadow:0 0 5px #0003}.color-box:disabled{cursor:not-allowed;opacity:.6}.selected-color{width:35px;height:35px;border:2px solid #ccc;cursor:pointer;border-radius:6px;padding:0;background:transparent}.selected-color:disabled{cursor:not-allowed;opacity:.6}\n"] }]
|
|
8663
8656
|
}], propDecorators: { options: [{
|
|
8664
8657
|
type: Input
|
|
8665
8658
|
}], disable: [{
|