@xosue-utils/actions 0.2.0 → 0.2.1
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.
|
@@ -35,8 +35,8 @@ class LucideIconComponent {
|
|
|
35
35
|
}
|
|
36
36
|
return { width: trimmed, height: trimmed };
|
|
37
37
|
});
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
39
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: LucideIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: LucideIconComponent, isStandalone: true, selector: "lucide-icon", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, spin: { classPropertyName: "spin", publicName: "spin", isSignal: true, isRequired: false, transformFunction: null }, filled: { classPropertyName: "filled", publicName: "filled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.lucide-icon--filled": "filled()", "attr.filled": "filled() ? \"\" : null" } }, ngImport: i0, template: `
|
|
40
40
|
<svg
|
|
41
41
|
class="lucide-svg inline-block shrink-0 align-middle"
|
|
42
42
|
[class.lucide-svg--filled]="filled()"
|
|
@@ -48,7 +48,7 @@ class LucideIconComponent {
|
|
|
48
48
|
/>
|
|
49
49
|
`, isInline: true, dependencies: [{ kind: "component", type: LucideDynamicIcon, selector: "svg[lucideIcon]", inputs: ["lucideIcon"] }] });
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: LucideIconComponent, decorators: [{
|
|
52
52
|
type: Component,
|
|
53
53
|
args: [{
|
|
54
54
|
selector: 'lucide-icon',
|
|
@@ -164,8 +164,8 @@ class TextBtnComponent {
|
|
|
164
164
|
}
|
|
165
165
|
this.clicked.emit(event);
|
|
166
166
|
}
|
|
167
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
168
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
167
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TextBtnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
168
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TextBtnComponent, isStandalone: true, selector: "text-btn", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconPosition: { classPropertyName: "iconPosition", publicName: "iconPosition", isSignal: true, isRequired: false, transformFunction: null }, iconSpin: { classPropertyName: "iconSpin", publicName: "iconSpin", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, buttonType: { classPropertyName: "buttonType", publicName: "buttonType", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLink: { classPropertyName: "routerLink", publicName: "routerLink", isSignal: true, isRequired: false, transformFunction: null }, fit: { classPropertyName: "fit", publicName: "fit", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, textColor: { classPropertyName: "textColor", publicName: "textColor", isSignal: true, isRequired: false, transformFunction: null }, bgColor: { classPropertyName: "bgColor", publicName: "bgColor", isSignal: true, isRequired: false, transformFunction: null }, borderColor: { classPropertyName: "borderColor", publicName: "borderColor", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
169
169
|
@if (href()) {
|
|
170
170
|
<a
|
|
171
171
|
[class]="classes()"
|
|
@@ -219,7 +219,7 @@ class TextBtnComponent {
|
|
|
219
219
|
</ng-template>
|
|
220
220
|
`, isInline: true, styles: [".Ui,.Capsule,.IconBtn,.TextBtn{--ui-text: var(--btn-primary-text);--ui-bg: var(--btn-primary-bg);--ui-border: var(--btn-primary-border);--ui-text-hover: var(--btn-primary-text-hover);--ui-bg-hover: var(--btn-primary-bg-hover);--ui-border-hover: var(--btn-primary-border-hover);--ui-text-active: var(--btn-primary-text-active);--ui-bg-active: var(--btn-primary-bg-active);--ui-border-active: var(--btn-primary-border-active);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:32px;min-height:32px;border:1px solid transparent;font-family:inherit;font-weight:var(--weight-semibold);line-height:1.2;text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .15s ease,background-color .15s ease,border-color .15s ease,transform .1s ease,opacity .15s ease;position:relative;overflow:hidden;max-width:100%;box-shadow:none}.Ui:focus-visible,.Capsule:focus-visible,.IconBtn:focus-visible,.TextBtn:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.Ui--fit-content{width:auto;max-width:100%}.Ui--fit-fill{width:100%;max-width:100%}.Ui--fit-fixed{max-width:100%}.Ui--size-sm{--ui-pad-y: 2px;--ui-pad-x: 4px;--ui-font: .8rem;--ui-icon: 14px;--ui-gap: 4px}.Ui--size-md{--ui-pad-y: 4px;--ui-pad-x: 8px;--ui-font: .875rem;--ui-icon: 16px;--ui-gap: 4px}.Ui--size-lg{--ui-pad-y: 4px;--ui-pad-x: 12px;--ui-font: 1rem;--ui-icon: 18px;--ui-gap: 8px}.Ui--rounded-full{border-radius:9999px}.Ui--rounded-medium{border-radius:var(--radius-xl, 24px)}.Ui--rounded-normal{border-radius:var(--radius-lg, 16px)}.Ui--rounded-small{border-radius:var(--radius-md, 8px)}.Ui--rounded-square{border-radius:var(--radius-sm, 4px)}.Ui--color-primary{--ui-text: var(--btn-primary-text);--ui-bg: var(--btn-primary-bg);--ui-border: var(--btn-primary-border);--ui-text-hover: var(--btn-primary-text-hover);--ui-bg-hover: var(--btn-primary-bg-hover);--ui-border-hover: var(--btn-primary-border-hover);--ui-text-active: var(--btn-primary-text-active);--ui-bg-active: var(--btn-primary-bg-active);--ui-border-active: var(--btn-primary-border-active)}.Ui--color-secondary{--ui-text: var(--btn-secondary-text);--ui-bg: var(--btn-secondary-bg);--ui-border: var(--btn-secondary-border);--ui-text-hover: var(--btn-secondary-text-hover);--ui-bg-hover: var(--btn-secondary-bg-hover);--ui-border-hover: var(--btn-secondary-border-hover);--ui-text-active: var(--btn-secondary-text-active);--ui-bg-active: var(--btn-secondary-bg-active);--ui-border-active: var(--btn-secondary-border-active)}.Ui--color-danger{--ui-text: var(--btn-danger-text);--ui-bg: var(--btn-danger-bg);--ui-border: var(--btn-danger-border);--ui-text-hover: var(--btn-danger-text-hover);--ui-bg-hover: var(--btn-danger-bg-hover);--ui-border-hover: var(--btn-danger-border-hover);--ui-text-active: var(--btn-danger-text-active);--ui-bg-active: var(--btn-danger-bg-active);--ui-border-active: var(--btn-danger-border-active)}.Ui--color-neutral{--ui-text: var(--btn-neutral-text);--ui-bg: var(--btn-neutral-bg);--ui-border: var(--btn-neutral-border);--ui-text-hover: var(--btn-neutral-text-hover);--ui-bg-hover: var(--btn-neutral-bg-hover);--ui-border-hover: var(--btn-neutral-border-hover);--ui-text-active: var(--btn-neutral-text-active);--ui-bg-active: var(--btn-neutral-bg-active);--ui-border-active: var(--btn-neutral-border-active)}.Ui--color-cancel{--ui-text: var(--btn-cancel-text);--ui-bg: var(--btn-cancel-bg);--ui-border: var(--btn-cancel-border);--ui-text-hover: var(--btn-cancel-text-hover);--ui-bg-hover: var(--btn-cancel-bg-hover);--ui-border-hover: var(--btn-cancel-border-hover);--ui-text-active: var(--btn-cancel-text-active);--ui-bg-active: var(--btn-cancel-bg-active);--ui-border-active: var(--btn-cancel-border-active)}.Ui--color-success{--ui-text: var(--success-text);--ui-bg: var(--success-bg);--ui-border: var(--success-border);--ui-text-hover: var(--success-text);--ui-bg-hover: color-mix(in srgb, var(--success-bg) 80%, var(--success-text));--ui-border-hover: var(--success-border);--ui-text-active: var(--success-text);--ui-bg-active: color-mix(in srgb, var(--success-bg) 65%, var(--success-text));--ui-border-active: var(--success-border)}.Ui--color-warning{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border);--ui-text-hover: var(--warning-text);--ui-bg-hover: color-mix(in srgb, var(--warning-bg) 80%, var(--warning-text));--ui-border-hover: var(--warning-border);--ui-text-active: var(--warning-text);--ui-bg-active: color-mix(in srgb, var(--warning-bg) 65%, var(--warning-text));--ui-border-active: var(--warning-border)}.Ui--color-error{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border);--ui-text-hover: var(--error-text);--ui-bg-hover: color-mix(in srgb, var(--error-bg) 80%, var(--error-text));--ui-border-hover: var(--error-border);--ui-text-active: var(--error-text);--ui-bg-active: color-mix(in srgb, var(--error-bg) 65%, var(--error-text));--ui-border-active: var(--error-border)}.Ui--color-info{--ui-text: var(--info-text);--ui-bg: var(--info-bg);--ui-border: var(--info-border);--ui-text-hover: var(--info-text);--ui-bg-hover: color-mix(in srgb, var(--info-bg) 80%, var(--info-text));--ui-border-hover: var(--info-border);--ui-text-active: var(--info-text);--ui-bg-active: color-mix(in srgb, var(--info-bg) 65%, var(--info-text));--ui-border-active: var(--info-border)}.Ui--color-muted{--ui-text: var(--text-muted);--ui-bg: var(--surface-2, var(--surface));--ui-border: var(--border);--ui-text-hover: var(--text-base);--ui-bg-hover: var(--surface);--ui-border-hover: var(--border);--ui-text-active: var(--text-base);--ui-bg-active: var(--surface);--ui-border-active: var(--border)}.Ui--variant-solid,.Ui--solid{color:var(--ui-text);background-color:var(--ui-bg);border-color:var(--ui-border)}.Ui--variant-solid:hover:not(.Ui--disabled),.Ui--solid:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover);border-color:var(--ui-border-hover)}.Ui--variant-solid:active:not(.Ui--disabled),.Ui--solid:active:not(.Ui--disabled){color:var(--ui-text-active);background-color:var(--ui-bg-active);border-color:var(--ui-border-active);transform:scale(.98)}.Ui--variant-line,.Ui--line{color:var(--ui-text);background-color:transparent;border-color:var(--ui-border)}.Ui--variant-line:hover:not(.Ui--disabled),.Ui--line:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover);border-color:var(--ui-border-hover)}.Ui--variant-line:active:not(.Ui--disabled),.Ui--line:active:not(.Ui--disabled){opacity:.85;transform:scale(.98)}.Ui--variant-ghost,.Ui--ghost{color:var(--ui-text);background-color:transparent;border-color:transparent}.Ui--variant-ghost:hover:not(.Ui--disabled),.Ui--ghost:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover)}.Ui--variant-ghost:active:not(.Ui--disabled),.Ui--ghost:active:not(.Ui--disabled){opacity:.75;transform:scale(.98)}.Ui--ripple:after{content:\"\";position:absolute;inset:0;background:currentColor;opacity:0;pointer-events:none;border-radius:inherit;transition:opacity .35s ease}.Ui--ripple:active:not(.Ui--disabled):after{opacity:.12}.Ui--disabled{cursor:not-allowed;opacity:.55;pointer-events:none}.Ui__Icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.Ui__Icon .lucide-svg{width:var(--ui-icon);height:var(--ui-icon)}.Ui__Label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TextBtn{padding:var(--ui-pad-y) var(--ui-pad-x);font-size:var(--ui-font);gap:var(--ui-gap)}.TextBtn--horizontal{flex-direction:row}.TextBtn--vertical{flex-direction:column;gap:calc(var(--ui-gap) * .75)}.IconBtn{width:32px;min-width:32px;padding:4px;flex-shrink:0}.IconBtn .Ui__Icon .lucide-svg{width:var(--ui-icon);height:var(--ui-icon)}.Capsule{display:inline-flex;height:auto;min-height:0;padding:4px 8px;font-size:.72rem;font-weight:var(--weight-medium, 500);gap:4px;cursor:default;border-width:1px;white-space:nowrap;max-width:100%}.Capsule .Ui__Label{white-space:nowrap}.Capsule--interactive{cursor:pointer}.Capsule--size-sm{padding:2px 4px;font-size:.68rem;--ui-icon: 11px}.Capsule--size-md{padding:4px 8px;font-size:.72rem;--ui-icon: 12px}.Capsule--size-lg{padding:4px 12px;font-size:.8rem;--ui-icon: 14px}.Capsule--tone-pending,.Capsule--tone-sent{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border)}.Capsule--tone-ok,.Capsule--tone-approved,.Capsule--tone-paid,.Capsule--tone-success{--ui-text: var(--success-text);--ui-bg: var(--success-bg);--ui-border: var(--success-border)}.Capsule--tone-bad,.Capsule--tone-cancelled,.Capsule--tone-error{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border)}.Capsule--tone-muted,.Capsule--tone-neutral{--ui-text: var(--text-muted);--ui-bg: var(--surface-2, var(--surface));--ui-border: var(--border)}.Capsule--tone-registered,.Capsule--tone-info{--ui-text: var(--info-text);--ui-bg: var(--info-bg);--ui-border: var(--info-border)}.Capsule--tone-primary{--ui-text: var(--btn-primary-text);--ui-bg: color-mix(in srgb, var(--btn-primary-bg) 20%, transparent);--ui-border: var(--btn-primary-border)}.Capsule--tone-secondary{--ui-text: var(--btn-secondary-text);--ui-bg: color-mix(in srgb, var(--btn-secondary-bg) 20%, transparent);--ui-border: var(--btn-secondary-border)}.Capsule--tone-warning{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border)}.Capsule--tone-danger{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border)}.Capsule.Ui--variant-solid,.Capsule.Ui--solid{color:var(--ui-text);background-color:var(--ui-bg);border-color:var(--ui-border)}.Capsule.Ui--variant-solid.Capsule--interactive:active:not(.Ui--disabled),.Capsule.Ui--solid.Capsule--interactive:active:not(.Ui--disabled){opacity:.85;transform:scale(.98)}\n"], dependencies: [{ kind: "component", type: LucideIconComponent, selector: "lucide-icon", inputs: ["name", "size", "spin", "filled"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
221
221
|
}
|
|
222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TextBtnComponent, decorators: [{
|
|
223
223
|
type: Component,
|
|
224
224
|
args: [{ selector: 'text-btn', standalone: true, imports: [LucideIconComponent, RouterLink, NgTemplateOutlet], template: `
|
|
225
225
|
@if (href()) {
|
|
@@ -319,8 +319,8 @@ class IconBtnComponent {
|
|
|
319
319
|
}
|
|
320
320
|
this.clicked.emit(event);
|
|
321
321
|
}
|
|
322
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
323
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
322
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IconBtnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
323
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: IconBtnComponent, isStandalone: true, selector: "icon-btn", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, spin: { classPropertyName: "spin", publicName: "spin", isSignal: true, isRequired: false, transformFunction: null }, buttonType: { classPropertyName: "buttonType", publicName: "buttonType", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLink: { classPropertyName: "routerLink", publicName: "routerLink", isSignal: true, isRequired: false, transformFunction: null }, fit: { classPropertyName: "fit", publicName: "fit", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, textColor: { classPropertyName: "textColor", publicName: "textColor", isSignal: true, isRequired: false, transformFunction: null }, bgColor: { classPropertyName: "bgColor", publicName: "bgColor", isSignal: true, isRequired: false, transformFunction: null }, borderColor: { classPropertyName: "borderColor", publicName: "borderColor", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
324
324
|
@if (href()) {
|
|
325
325
|
<a
|
|
326
326
|
[class]="classes()"
|
|
@@ -366,7 +366,7 @@ class IconBtnComponent {
|
|
|
366
366
|
}
|
|
367
367
|
`, isInline: true, styles: [".Ui,.Capsule,.IconBtn,.TextBtn{--ui-text: var(--btn-primary-text);--ui-bg: var(--btn-primary-bg);--ui-border: var(--btn-primary-border);--ui-text-hover: var(--btn-primary-text-hover);--ui-bg-hover: var(--btn-primary-bg-hover);--ui-border-hover: var(--btn-primary-border-hover);--ui-text-active: var(--btn-primary-text-active);--ui-bg-active: var(--btn-primary-bg-active);--ui-border-active: var(--btn-primary-border-active);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:32px;min-height:32px;border:1px solid transparent;font-family:inherit;font-weight:var(--weight-semibold);line-height:1.2;text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .15s ease,background-color .15s ease,border-color .15s ease,transform .1s ease,opacity .15s ease;position:relative;overflow:hidden;max-width:100%;box-shadow:none}.Ui:focus-visible,.Capsule:focus-visible,.IconBtn:focus-visible,.TextBtn:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.Ui--fit-content{width:auto;max-width:100%}.Ui--fit-fill{width:100%;max-width:100%}.Ui--fit-fixed{max-width:100%}.Ui--size-sm{--ui-pad-y: 2px;--ui-pad-x: 4px;--ui-font: .8rem;--ui-icon: 14px;--ui-gap: 4px}.Ui--size-md{--ui-pad-y: 4px;--ui-pad-x: 8px;--ui-font: .875rem;--ui-icon: 16px;--ui-gap: 4px}.Ui--size-lg{--ui-pad-y: 4px;--ui-pad-x: 12px;--ui-font: 1rem;--ui-icon: 18px;--ui-gap: 8px}.Ui--rounded-full{border-radius:9999px}.Ui--rounded-medium{border-radius:var(--radius-xl, 24px)}.Ui--rounded-normal{border-radius:var(--radius-lg, 16px)}.Ui--rounded-small{border-radius:var(--radius-md, 8px)}.Ui--rounded-square{border-radius:var(--radius-sm, 4px)}.Ui--color-primary{--ui-text: var(--btn-primary-text);--ui-bg: var(--btn-primary-bg);--ui-border: var(--btn-primary-border);--ui-text-hover: var(--btn-primary-text-hover);--ui-bg-hover: var(--btn-primary-bg-hover);--ui-border-hover: var(--btn-primary-border-hover);--ui-text-active: var(--btn-primary-text-active);--ui-bg-active: var(--btn-primary-bg-active);--ui-border-active: var(--btn-primary-border-active)}.Ui--color-secondary{--ui-text: var(--btn-secondary-text);--ui-bg: var(--btn-secondary-bg);--ui-border: var(--btn-secondary-border);--ui-text-hover: var(--btn-secondary-text-hover);--ui-bg-hover: var(--btn-secondary-bg-hover);--ui-border-hover: var(--btn-secondary-border-hover);--ui-text-active: var(--btn-secondary-text-active);--ui-bg-active: var(--btn-secondary-bg-active);--ui-border-active: var(--btn-secondary-border-active)}.Ui--color-danger{--ui-text: var(--btn-danger-text);--ui-bg: var(--btn-danger-bg);--ui-border: var(--btn-danger-border);--ui-text-hover: var(--btn-danger-text-hover);--ui-bg-hover: var(--btn-danger-bg-hover);--ui-border-hover: var(--btn-danger-border-hover);--ui-text-active: var(--btn-danger-text-active);--ui-bg-active: var(--btn-danger-bg-active);--ui-border-active: var(--btn-danger-border-active)}.Ui--color-neutral{--ui-text: var(--btn-neutral-text);--ui-bg: var(--btn-neutral-bg);--ui-border: var(--btn-neutral-border);--ui-text-hover: var(--btn-neutral-text-hover);--ui-bg-hover: var(--btn-neutral-bg-hover);--ui-border-hover: var(--btn-neutral-border-hover);--ui-text-active: var(--btn-neutral-text-active);--ui-bg-active: var(--btn-neutral-bg-active);--ui-border-active: var(--btn-neutral-border-active)}.Ui--color-cancel{--ui-text: var(--btn-cancel-text);--ui-bg: var(--btn-cancel-bg);--ui-border: var(--btn-cancel-border);--ui-text-hover: var(--btn-cancel-text-hover);--ui-bg-hover: var(--btn-cancel-bg-hover);--ui-border-hover: var(--btn-cancel-border-hover);--ui-text-active: var(--btn-cancel-text-active);--ui-bg-active: var(--btn-cancel-bg-active);--ui-border-active: var(--btn-cancel-border-active)}.Ui--color-success{--ui-text: var(--success-text);--ui-bg: var(--success-bg);--ui-border: var(--success-border);--ui-text-hover: var(--success-text);--ui-bg-hover: color-mix(in srgb, var(--success-bg) 80%, var(--success-text));--ui-border-hover: var(--success-border);--ui-text-active: var(--success-text);--ui-bg-active: color-mix(in srgb, var(--success-bg) 65%, var(--success-text));--ui-border-active: var(--success-border)}.Ui--color-warning{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border);--ui-text-hover: var(--warning-text);--ui-bg-hover: color-mix(in srgb, var(--warning-bg) 80%, var(--warning-text));--ui-border-hover: var(--warning-border);--ui-text-active: var(--warning-text);--ui-bg-active: color-mix(in srgb, var(--warning-bg) 65%, var(--warning-text));--ui-border-active: var(--warning-border)}.Ui--color-error{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border);--ui-text-hover: var(--error-text);--ui-bg-hover: color-mix(in srgb, var(--error-bg) 80%, var(--error-text));--ui-border-hover: var(--error-border);--ui-text-active: var(--error-text);--ui-bg-active: color-mix(in srgb, var(--error-bg) 65%, var(--error-text));--ui-border-active: var(--error-border)}.Ui--color-info{--ui-text: var(--info-text);--ui-bg: var(--info-bg);--ui-border: var(--info-border);--ui-text-hover: var(--info-text);--ui-bg-hover: color-mix(in srgb, var(--info-bg) 80%, var(--info-text));--ui-border-hover: var(--info-border);--ui-text-active: var(--info-text);--ui-bg-active: color-mix(in srgb, var(--info-bg) 65%, var(--info-text));--ui-border-active: var(--info-border)}.Ui--color-muted{--ui-text: var(--text-muted);--ui-bg: var(--surface-2, var(--surface));--ui-border: var(--border);--ui-text-hover: var(--text-base);--ui-bg-hover: var(--surface);--ui-border-hover: var(--border);--ui-text-active: var(--text-base);--ui-bg-active: var(--surface);--ui-border-active: var(--border)}.Ui--variant-solid,.Ui--solid{color:var(--ui-text);background-color:var(--ui-bg);border-color:var(--ui-border)}.Ui--variant-solid:hover:not(.Ui--disabled),.Ui--solid:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover);border-color:var(--ui-border-hover)}.Ui--variant-solid:active:not(.Ui--disabled),.Ui--solid:active:not(.Ui--disabled){color:var(--ui-text-active);background-color:var(--ui-bg-active);border-color:var(--ui-border-active);transform:scale(.98)}.Ui--variant-line,.Ui--line{color:var(--ui-text);background-color:transparent;border-color:var(--ui-border)}.Ui--variant-line:hover:not(.Ui--disabled),.Ui--line:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover);border-color:var(--ui-border-hover)}.Ui--variant-line:active:not(.Ui--disabled),.Ui--line:active:not(.Ui--disabled){opacity:.85;transform:scale(.98)}.Ui--variant-ghost,.Ui--ghost{color:var(--ui-text);background-color:transparent;border-color:transparent}.Ui--variant-ghost:hover:not(.Ui--disabled),.Ui--ghost:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover)}.Ui--variant-ghost:active:not(.Ui--disabled),.Ui--ghost:active:not(.Ui--disabled){opacity:.75;transform:scale(.98)}.Ui--ripple:after{content:\"\";position:absolute;inset:0;background:currentColor;opacity:0;pointer-events:none;border-radius:inherit;transition:opacity .35s ease}.Ui--ripple:active:not(.Ui--disabled):after{opacity:.12}.Ui--disabled{cursor:not-allowed;opacity:.55;pointer-events:none}.Ui__Icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.Ui__Icon .lucide-svg{width:var(--ui-icon);height:var(--ui-icon)}.Ui__Label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TextBtn{padding:var(--ui-pad-y) var(--ui-pad-x);font-size:var(--ui-font);gap:var(--ui-gap)}.TextBtn--horizontal{flex-direction:row}.TextBtn--vertical{flex-direction:column;gap:calc(var(--ui-gap) * .75)}.IconBtn{width:32px;min-width:32px;padding:4px;flex-shrink:0}.IconBtn .Ui__Icon .lucide-svg{width:var(--ui-icon);height:var(--ui-icon)}.Capsule{display:inline-flex;height:auto;min-height:0;padding:4px 8px;font-size:.72rem;font-weight:var(--weight-medium, 500);gap:4px;cursor:default;border-width:1px;white-space:nowrap;max-width:100%}.Capsule .Ui__Label{white-space:nowrap}.Capsule--interactive{cursor:pointer}.Capsule--size-sm{padding:2px 4px;font-size:.68rem;--ui-icon: 11px}.Capsule--size-md{padding:4px 8px;font-size:.72rem;--ui-icon: 12px}.Capsule--size-lg{padding:4px 12px;font-size:.8rem;--ui-icon: 14px}.Capsule--tone-pending,.Capsule--tone-sent{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border)}.Capsule--tone-ok,.Capsule--tone-approved,.Capsule--tone-paid,.Capsule--tone-success{--ui-text: var(--success-text);--ui-bg: var(--success-bg);--ui-border: var(--success-border)}.Capsule--tone-bad,.Capsule--tone-cancelled,.Capsule--tone-error{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border)}.Capsule--tone-muted,.Capsule--tone-neutral{--ui-text: var(--text-muted);--ui-bg: var(--surface-2, var(--surface));--ui-border: var(--border)}.Capsule--tone-registered,.Capsule--tone-info{--ui-text: var(--info-text);--ui-bg: var(--info-bg);--ui-border: var(--info-border)}.Capsule--tone-primary{--ui-text: var(--btn-primary-text);--ui-bg: color-mix(in srgb, var(--btn-primary-bg) 20%, transparent);--ui-border: var(--btn-primary-border)}.Capsule--tone-secondary{--ui-text: var(--btn-secondary-text);--ui-bg: color-mix(in srgb, var(--btn-secondary-bg) 20%, transparent);--ui-border: var(--btn-secondary-border)}.Capsule--tone-warning{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border)}.Capsule--tone-danger{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border)}.Capsule.Ui--variant-solid,.Capsule.Ui--solid{color:var(--ui-text);background-color:var(--ui-bg);border-color:var(--ui-border)}.Capsule.Ui--variant-solid.Capsule--interactive:active:not(.Ui--disabled),.Capsule.Ui--solid.Capsule--interactive:active:not(.Ui--disabled){opacity:.85;transform:scale(.98)}\n"], dependencies: [{ kind: "component", type: LucideIconComponent, selector: "lucide-icon", inputs: ["name", "size", "spin", "filled"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
|
|
368
368
|
}
|
|
369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: IconBtnComponent, decorators: [{
|
|
370
370
|
type: Component,
|
|
371
371
|
args: [{ selector: 'icon-btn', standalone: true, imports: [LucideIconComponent, RouterLink], template: `
|
|
372
372
|
@if (href()) {
|
|
@@ -471,8 +471,8 @@ class CapsuleComponent {
|
|
|
471
471
|
}
|
|
472
472
|
this.clicked.emit(event);
|
|
473
473
|
}
|
|
474
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
475
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CapsuleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
475
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: CapsuleComponent, isStandalone: true, selector: "capsule", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, tone: { classPropertyName: "tone", publicName: "tone", isSignal: true, isRequired: false, transformFunction: null }, statusClass: { classPropertyName: "statusClass", publicName: "statusClass", 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 }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLink: { classPropertyName: "routerLink", publicName: "routerLink", isSignal: true, isRequired: false, transformFunction: null }, fit: { classPropertyName: "fit", publicName: "fit", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, textColor: { classPropertyName: "textColor", publicName: "textColor", isSignal: true, isRequired: false, transformFunction: null }, bgColor: { classPropertyName: "bgColor", publicName: "bgColor", isSignal: true, isRequired: false, transformFunction: null }, borderColor: { classPropertyName: "borderColor", publicName: "borderColor", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
476
476
|
@if (href()) {
|
|
477
477
|
<a
|
|
478
478
|
[class]="classes()"
|
|
@@ -522,7 +522,7 @@ class CapsuleComponent {
|
|
|
522
522
|
</ng-template>
|
|
523
523
|
`, isInline: true, styles: [".Ui,.Capsule,.IconBtn,.TextBtn{--ui-text: var(--btn-primary-text);--ui-bg: var(--btn-primary-bg);--ui-border: var(--btn-primary-border);--ui-text-hover: var(--btn-primary-text-hover);--ui-bg-hover: var(--btn-primary-bg-hover);--ui-border-hover: var(--btn-primary-border-hover);--ui-text-active: var(--btn-primary-text-active);--ui-bg-active: var(--btn-primary-bg-active);--ui-border-active: var(--btn-primary-border-active);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:32px;min-height:32px;border:1px solid transparent;font-family:inherit;font-weight:var(--weight-semibold);line-height:1.2;text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .15s ease,background-color .15s ease,border-color .15s ease,transform .1s ease,opacity .15s ease;position:relative;overflow:hidden;max-width:100%;box-shadow:none}.Ui:focus-visible,.Capsule:focus-visible,.IconBtn:focus-visible,.TextBtn:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.Ui--fit-content{width:auto;max-width:100%}.Ui--fit-fill{width:100%;max-width:100%}.Ui--fit-fixed{max-width:100%}.Ui--size-sm{--ui-pad-y: 2px;--ui-pad-x: 4px;--ui-font: .8rem;--ui-icon: 14px;--ui-gap: 4px}.Ui--size-md{--ui-pad-y: 4px;--ui-pad-x: 8px;--ui-font: .875rem;--ui-icon: 16px;--ui-gap: 4px}.Ui--size-lg{--ui-pad-y: 4px;--ui-pad-x: 12px;--ui-font: 1rem;--ui-icon: 18px;--ui-gap: 8px}.Ui--rounded-full{border-radius:9999px}.Ui--rounded-medium{border-radius:var(--radius-xl, 24px)}.Ui--rounded-normal{border-radius:var(--radius-lg, 16px)}.Ui--rounded-small{border-radius:var(--radius-md, 8px)}.Ui--rounded-square{border-radius:var(--radius-sm, 4px)}.Ui--color-primary{--ui-text: var(--btn-primary-text);--ui-bg: var(--btn-primary-bg);--ui-border: var(--btn-primary-border);--ui-text-hover: var(--btn-primary-text-hover);--ui-bg-hover: var(--btn-primary-bg-hover);--ui-border-hover: var(--btn-primary-border-hover);--ui-text-active: var(--btn-primary-text-active);--ui-bg-active: var(--btn-primary-bg-active);--ui-border-active: var(--btn-primary-border-active)}.Ui--color-secondary{--ui-text: var(--btn-secondary-text);--ui-bg: var(--btn-secondary-bg);--ui-border: var(--btn-secondary-border);--ui-text-hover: var(--btn-secondary-text-hover);--ui-bg-hover: var(--btn-secondary-bg-hover);--ui-border-hover: var(--btn-secondary-border-hover);--ui-text-active: var(--btn-secondary-text-active);--ui-bg-active: var(--btn-secondary-bg-active);--ui-border-active: var(--btn-secondary-border-active)}.Ui--color-danger{--ui-text: var(--btn-danger-text);--ui-bg: var(--btn-danger-bg);--ui-border: var(--btn-danger-border);--ui-text-hover: var(--btn-danger-text-hover);--ui-bg-hover: var(--btn-danger-bg-hover);--ui-border-hover: var(--btn-danger-border-hover);--ui-text-active: var(--btn-danger-text-active);--ui-bg-active: var(--btn-danger-bg-active);--ui-border-active: var(--btn-danger-border-active)}.Ui--color-neutral{--ui-text: var(--btn-neutral-text);--ui-bg: var(--btn-neutral-bg);--ui-border: var(--btn-neutral-border);--ui-text-hover: var(--btn-neutral-text-hover);--ui-bg-hover: var(--btn-neutral-bg-hover);--ui-border-hover: var(--btn-neutral-border-hover);--ui-text-active: var(--btn-neutral-text-active);--ui-bg-active: var(--btn-neutral-bg-active);--ui-border-active: var(--btn-neutral-border-active)}.Ui--color-cancel{--ui-text: var(--btn-cancel-text);--ui-bg: var(--btn-cancel-bg);--ui-border: var(--btn-cancel-border);--ui-text-hover: var(--btn-cancel-text-hover);--ui-bg-hover: var(--btn-cancel-bg-hover);--ui-border-hover: var(--btn-cancel-border-hover);--ui-text-active: var(--btn-cancel-text-active);--ui-bg-active: var(--btn-cancel-bg-active);--ui-border-active: var(--btn-cancel-border-active)}.Ui--color-success{--ui-text: var(--success-text);--ui-bg: var(--success-bg);--ui-border: var(--success-border);--ui-text-hover: var(--success-text);--ui-bg-hover: color-mix(in srgb, var(--success-bg) 80%, var(--success-text));--ui-border-hover: var(--success-border);--ui-text-active: var(--success-text);--ui-bg-active: color-mix(in srgb, var(--success-bg) 65%, var(--success-text));--ui-border-active: var(--success-border)}.Ui--color-warning{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border);--ui-text-hover: var(--warning-text);--ui-bg-hover: color-mix(in srgb, var(--warning-bg) 80%, var(--warning-text));--ui-border-hover: var(--warning-border);--ui-text-active: var(--warning-text);--ui-bg-active: color-mix(in srgb, var(--warning-bg) 65%, var(--warning-text));--ui-border-active: var(--warning-border)}.Ui--color-error{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border);--ui-text-hover: var(--error-text);--ui-bg-hover: color-mix(in srgb, var(--error-bg) 80%, var(--error-text));--ui-border-hover: var(--error-border);--ui-text-active: var(--error-text);--ui-bg-active: color-mix(in srgb, var(--error-bg) 65%, var(--error-text));--ui-border-active: var(--error-border)}.Ui--color-info{--ui-text: var(--info-text);--ui-bg: var(--info-bg);--ui-border: var(--info-border);--ui-text-hover: var(--info-text);--ui-bg-hover: color-mix(in srgb, var(--info-bg) 80%, var(--info-text));--ui-border-hover: var(--info-border);--ui-text-active: var(--info-text);--ui-bg-active: color-mix(in srgb, var(--info-bg) 65%, var(--info-text));--ui-border-active: var(--info-border)}.Ui--color-muted{--ui-text: var(--text-muted);--ui-bg: var(--surface-2, var(--surface));--ui-border: var(--border);--ui-text-hover: var(--text-base);--ui-bg-hover: var(--surface);--ui-border-hover: var(--border);--ui-text-active: var(--text-base);--ui-bg-active: var(--surface);--ui-border-active: var(--border)}.Ui--variant-solid,.Ui--solid{color:var(--ui-text);background-color:var(--ui-bg);border-color:var(--ui-border)}.Ui--variant-solid:hover:not(.Ui--disabled),.Ui--solid:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover);border-color:var(--ui-border-hover)}.Ui--variant-solid:active:not(.Ui--disabled),.Ui--solid:active:not(.Ui--disabled){color:var(--ui-text-active);background-color:var(--ui-bg-active);border-color:var(--ui-border-active);transform:scale(.98)}.Ui--variant-line,.Ui--line{color:var(--ui-text);background-color:transparent;border-color:var(--ui-border)}.Ui--variant-line:hover:not(.Ui--disabled),.Ui--line:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover);border-color:var(--ui-border-hover)}.Ui--variant-line:active:not(.Ui--disabled),.Ui--line:active:not(.Ui--disabled){opacity:.85;transform:scale(.98)}.Ui--variant-ghost,.Ui--ghost{color:var(--ui-text);background-color:transparent;border-color:transparent}.Ui--variant-ghost:hover:not(.Ui--disabled),.Ui--ghost:hover:not(.Ui--disabled){color:var(--ui-text-hover);background-color:var(--ui-bg-hover)}.Ui--variant-ghost:active:not(.Ui--disabled),.Ui--ghost:active:not(.Ui--disabled){opacity:.75;transform:scale(.98)}.Ui--ripple:after{content:\"\";position:absolute;inset:0;background:currentColor;opacity:0;pointer-events:none;border-radius:inherit;transition:opacity .35s ease}.Ui--ripple:active:not(.Ui--disabled):after{opacity:.12}.Ui--disabled{cursor:not-allowed;opacity:.55;pointer-events:none}.Ui__Icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.Ui__Icon .lucide-svg{width:var(--ui-icon);height:var(--ui-icon)}.Ui__Label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TextBtn{padding:var(--ui-pad-y) var(--ui-pad-x);font-size:var(--ui-font);gap:var(--ui-gap)}.TextBtn--horizontal{flex-direction:row}.TextBtn--vertical{flex-direction:column;gap:calc(var(--ui-gap) * .75)}.IconBtn{width:32px;min-width:32px;padding:4px;flex-shrink:0}.IconBtn .Ui__Icon .lucide-svg{width:var(--ui-icon);height:var(--ui-icon)}.Capsule{display:inline-flex;height:auto;min-height:0;padding:4px 8px;font-size:.72rem;font-weight:var(--weight-medium, 500);gap:4px;cursor:default;border-width:1px;white-space:nowrap;max-width:100%}.Capsule .Ui__Label{white-space:nowrap}.Capsule--interactive{cursor:pointer}.Capsule--size-sm{padding:2px 4px;font-size:.68rem;--ui-icon: 11px}.Capsule--size-md{padding:4px 8px;font-size:.72rem;--ui-icon: 12px}.Capsule--size-lg{padding:4px 12px;font-size:.8rem;--ui-icon: 14px}.Capsule--tone-pending,.Capsule--tone-sent{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border)}.Capsule--tone-ok,.Capsule--tone-approved,.Capsule--tone-paid,.Capsule--tone-success{--ui-text: var(--success-text);--ui-bg: var(--success-bg);--ui-border: var(--success-border)}.Capsule--tone-bad,.Capsule--tone-cancelled,.Capsule--tone-error{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border)}.Capsule--tone-muted,.Capsule--tone-neutral{--ui-text: var(--text-muted);--ui-bg: var(--surface-2, var(--surface));--ui-border: var(--border)}.Capsule--tone-registered,.Capsule--tone-info{--ui-text: var(--info-text);--ui-bg: var(--info-bg);--ui-border: var(--info-border)}.Capsule--tone-primary{--ui-text: var(--btn-primary-text);--ui-bg: color-mix(in srgb, var(--btn-primary-bg) 20%, transparent);--ui-border: var(--btn-primary-border)}.Capsule--tone-secondary{--ui-text: var(--btn-secondary-text);--ui-bg: color-mix(in srgb, var(--btn-secondary-bg) 20%, transparent);--ui-border: var(--btn-secondary-border)}.Capsule--tone-warning{--ui-text: var(--warning-text);--ui-bg: var(--warning-bg);--ui-border: var(--warning-border)}.Capsule--tone-danger{--ui-text: var(--error-text);--ui-bg: var(--error-bg);--ui-border: var(--error-border)}.Capsule.Ui--variant-solid,.Capsule.Ui--solid{color:var(--ui-text);background-color:var(--ui-bg);border-color:var(--ui-border)}.Capsule.Ui--variant-solid.Capsule--interactive:active:not(.Ui--disabled),.Capsule.Ui--solid.Capsule--interactive:active:not(.Ui--disabled){opacity:.85;transform:scale(.98)}\n"], dependencies: [{ kind: "component", type: LucideIconComponent, selector: "lucide-icon", inputs: ["name", "size", "spin", "filled"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
524
524
|
}
|
|
525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CapsuleComponent, decorators: [{
|
|
526
526
|
type: Component,
|
|
527
527
|
args: [{ selector: 'capsule', standalone: true, imports: [LucideIconComponent, RouterLink, NgTemplateOutlet], template: `
|
|
528
528
|
@if (href()) {
|
|
@@ -595,8 +595,8 @@ class ChipComponent {
|
|
|
595
595
|
return;
|
|
596
596
|
this.removed.emit(event);
|
|
597
597
|
}
|
|
598
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
599
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
598
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
599
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: ChipComponent, isStandalone: true, selector: "chip", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, removable: { classPropertyName: "removable", publicName: "removable", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked", removed: "removed" }, ngImport: i0, template: `
|
|
600
600
|
<button
|
|
601
601
|
type="button"
|
|
602
602
|
class="Chip"
|
|
@@ -627,7 +627,7 @@ class ChipComponent {
|
|
|
627
627
|
</button>
|
|
628
628
|
`, isInline: true, styles: [":host{display:inline-flex}.Chip{display:inline-flex;align-items:center;gap:4px;height:32px;padding:4px 8px;border:1px solid var(--border);border-radius:9999px;background:var(--surface-2, var(--surface));color:var(--text-base);font:inherit;font-size:.8125rem;font-weight:var(--weight-medium, 500);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .15s ease,border-color .15s ease,transform .1s ease,opacity .15s ease}.Chip:hover:not(.Chip--disabled){background:color-mix(in srgb,var(--surface) 70%,var(--border))}.Chip:active:not(.Chip--disabled){transform:scale(.98)}.Chip:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.Chip--selected{background:color-mix(in srgb,var(--primary) 16%,var(--surface));border-color:color-mix(in srgb,var(--primary) 40%,var(--border));color:var(--primary)}.Chip--disabled{opacity:.55;cursor:not-allowed;pointer-events:none}.Chip__Icon,.Chip__Remove{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.Chip__Label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Chip__Remove{margin-left:0;padding:2px;border-radius:9999px;color:var(--text-muted)}.Chip__Remove:hover{background:color-mix(in srgb,var(--text-base) 10%,transparent);color:var(--text-base)}\n"], dependencies: [{ kind: "component", type: LucideIconComponent, selector: "lucide-icon", inputs: ["name", "size", "spin", "filled"] }] });
|
|
629
629
|
}
|
|
630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ChipComponent, decorators: [{
|
|
631
631
|
type: Component,
|
|
632
632
|
args: [{ selector: 'chip', standalone: true, imports: [LucideIconComponent], template: `
|
|
633
633
|
<button
|
|
@@ -683,8 +683,8 @@ class SegmentedControlComponent {
|
|
|
683
683
|
this.value.set(v);
|
|
684
684
|
this.selectedChange.emit(v);
|
|
685
685
|
}
|
|
686
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
687
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
686
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SegmentedControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
687
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: SegmentedControlComponent, isStandalone: true, selector: "segmented-control", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", selectedChange: "selectedChange" }, ngImport: i0, template: `
|
|
688
688
|
<div
|
|
689
689
|
class="Segmented"
|
|
690
690
|
[class.Segmented--sm]="size() === 'sm'"
|
|
@@ -713,7 +713,7 @@ class SegmentedControlComponent {
|
|
|
713
713
|
</div>
|
|
714
714
|
`, isInline: true, styles: [":host{display:inline-flex;max-width:100%}.Segmented{display:inline-flex;align-items:stretch;gap:0;padding:2px;background:var(--surface-2, var(--surface));border:1px solid var(--border);border-radius:var(--radius-lg, 12px);max-width:100%}.Segmented--sm .Segmented__Item{height:28px;padding:2px 8px;font-size:.75rem}.Segmented--md .Segmented__Item{height:32px;padding:4px 12px;font-size:.8125rem}.Segmented__Item{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:1 1 auto;min-width:0;border:none;border-radius:var(--radius-md, 8px);background:transparent;color:var(--text-muted);font:inherit;font-weight:var(--weight-medium, 500);cursor:pointer;transition:background-color .15s ease,color .15s ease,transform .1s ease}.Segmented__Item:hover:not(:disabled):not(.Segmented__Item--active){color:var(--text-base);background:color-mix(in srgb,var(--surface) 60%,transparent)}.Segmented__Item:active:not(:disabled){transform:scale(.98)}.Segmented__Item:disabled{opacity:.45;cursor:not-allowed}.Segmented__Item:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.Segmented__Item--active{background:var(--surface);color:var(--text-base);box-shadow:0 1px 2px color-mix(in srgb,var(--text-base) 12%,transparent)}.Segmented__Icon{display:inline-flex;flex-shrink:0}.Segmented__Label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "component", type: LucideIconComponent, selector: "lucide-icon", inputs: ["name", "size", "spin", "filled"] }] });
|
|
715
715
|
}
|
|
716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SegmentedControlComponent, decorators: [{
|
|
717
717
|
type: Component,
|
|
718
718
|
args: [{ selector: 'segmented-control', standalone: true, imports: [LucideIconComponent], template: `
|
|
719
719
|
<div
|
|
@@ -755,8 +755,8 @@ class ProgressBarComponent {
|
|
|
755
755
|
return 0;
|
|
756
756
|
return Math.max(0, Math.min(100, Math.round(v)));
|
|
757
757
|
});
|
|
758
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
759
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
758
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
759
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: ProgressBarComponent, isStandalone: true, selector: "progress-bar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
760
760
|
<div class="Progress" [class.Progress--indeterminate]="indeterminate()">
|
|
761
761
|
@if (label()) {
|
|
762
762
|
<div class="Progress__Meta">
|
|
@@ -772,7 +772,7 @@ class ProgressBarComponent {
|
|
|
772
772
|
</div>
|
|
773
773
|
`, isInline: true, styles: [":host{display:block;width:100%}.Progress{display:flex;flex-direction:column;gap:4px;width:100%}.Progress__Meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.Progress__Label,.Progress__Value{font-size:.75rem;color:var(--text-muted)}.Progress__Track{position:relative;width:100%;height:4px;overflow:hidden;border-radius:9999px;background:var(--surface-2, var(--border))}.Progress__Fill{height:100%;border-radius:inherit;background:var(--primary);transition:width .2s ease}.Progress--indeterminate .Progress__Fill{width:40%;position:absolute;left:0;animation:ProgressSlide 1.1s ease-in-out infinite}@keyframes ProgressSlide{0%{left:-40%}to{left:100%}}\n"] });
|
|
774
774
|
}
|
|
775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
776
776
|
type: Component,
|
|
777
777
|
args: [{ selector: 'progress-bar', standalone: true, template: `
|
|
778
778
|
<div class="Progress" [class.Progress--indeterminate]="indeterminate()">
|
|
@@ -810,8 +810,8 @@ class BadgeComponent {
|
|
|
810
810
|
return c > max ? `${max}+` : String(c);
|
|
811
811
|
});
|
|
812
812
|
countLabel = computed(() => `${this.count() ?? 0}`);
|
|
813
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
814
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
813
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
814
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: BadgeComponent, isStandalone: true, selector: "badge", inputs: { count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, dot: { classPropertyName: "dot", publicName: "dot", isSignal: true, isRequired: false, transformFunction: null }, hideZero: { classPropertyName: "hideZero", publicName: "hideZero", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
815
815
|
<span class="BadgeHost">
|
|
816
816
|
<ng-content></ng-content>
|
|
817
817
|
@if (dot()) {
|
|
@@ -822,7 +822,7 @@ class BadgeComponent {
|
|
|
822
822
|
</span>
|
|
823
823
|
`, isInline: true, styles: [":host{display:inline-flex}.BadgeHost{position:relative;display:inline-flex;align-items:center;justify-content:center}.Badge{position:absolute;top:0;right:0;transform:translate(40%,-40%);pointer-events:none;box-sizing:border-box}.Badge--dot{width:8px;height:8px;border-radius:9999px;background:var(--error-text, var(--danger, var(--primary)));border:2px solid var(--surface)}.Badge--count{min-width:16px;height:16px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;border-radius:9999px;font-size:.625rem;font-weight:700;line-height:1;color:var(--text-inverted);background:var(--error-text, var(--danger, var(--primary)));border:2px solid var(--surface)}\n"] });
|
|
824
824
|
}
|
|
825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
826
826
|
type: Component,
|
|
827
827
|
args: [{ selector: 'badge', standalone: true, template: `
|
|
828
828
|
<span class="BadgeHost">
|
|
@@ -839,8 +839,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
839
839
|
class DividerComponent {
|
|
840
840
|
vertical = input(false, { transform: booleanAttribute });
|
|
841
841
|
inset = input(false, { transform: booleanAttribute });
|
|
842
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
843
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
842
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
843
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: DividerComponent, isStandalone: true, selector: "divider", inputs: { vertical: { classPropertyName: "vertical", publicName: "vertical", isSignal: true, isRequired: false, transformFunction: null }, inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
844
844
|
<div
|
|
845
845
|
class="Divider"
|
|
846
846
|
[class.Divider--vertical]="vertical()"
|
|
@@ -850,7 +850,7 @@ class DividerComponent {
|
|
|
850
850
|
></div>
|
|
851
851
|
`, isInline: true, styles: [":host{display:block}:host:has(.Divider--vertical){display:inline-flex;align-self:stretch;height:auto}.Divider{height:1px;width:100%;background:var(--border);border:none;margin:0}.Divider--inset{margin-left:8px;margin-right:8px;width:calc(100% - 16px)}.Divider--vertical{width:1px;height:100%;min-height:1em;align-self:stretch}.Divider--vertical.Divider--inset{margin:4px 0;height:calc(100% - 8px);width:1px}\n"] });
|
|
852
852
|
}
|
|
853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DividerComponent, decorators: [{
|
|
854
854
|
type: Component,
|
|
855
855
|
args: [{ selector: 'divider', standalone: true, template: `
|
|
856
856
|
<div
|
|
@@ -876,8 +876,8 @@ class SpinnerComponent {
|
|
|
876
876
|
return `${trimmed}px`;
|
|
877
877
|
return trimmed;
|
|
878
878
|
}
|
|
879
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
880
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
879
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
880
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: SpinnerComponent, isStandalone: true, selector: "spinner", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
881
881
|
<span
|
|
882
882
|
class="Spinner"
|
|
883
883
|
[style.--spinner-size]="sizeCss()"
|
|
@@ -888,7 +888,7 @@ class SpinnerComponent {
|
|
|
888
888
|
</span>
|
|
889
889
|
`, isInline: true, styles: [":host{display:inline-flex;align-items:center;justify-content:center}.Spinner{--spinner-size: 20px;display:inline-flex;width:var(--spinner-size);height:var(--spinner-size)}.Spinner__Ring{box-sizing:border-box;width:100%;height:100%;border-radius:50%;border:2px solid color-mix(in srgb,var(--primary) 25%,transparent);border-top-color:var(--primary);animation:SpinnerRotate .75s linear infinite}@keyframes SpinnerRotate{to{transform:rotate(360deg)}}\n"] });
|
|
890
890
|
}
|
|
891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
892
892
|
type: Component,
|
|
893
893
|
args: [{ selector: 'spinner', standalone: true, template: `
|
|
894
894
|
<span
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xosue-utils/actions",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Angular standalone UI actions with Cupertino aesthetic (buttons, capsule, chip, segmented, progress, badge, divider, spinner).",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"xosue-utils"
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@angular/common": ">=19.0.0 <
|
|
21
|
-
"@angular/core": ">=19.0.0 <
|
|
22
|
-
"@angular/router": ">=19.0.0 <
|
|
20
|
+
"@angular/common": ">=19.0.0 <22.0.0",
|
|
21
|
+
"@angular/core": ">=19.0.0 <22.0.0",
|
|
22
|
+
"@angular/router": ">=19.0.0 <22.0.0",
|
|
23
23
|
"@lucide/angular": ">=0.500.0 <2.0.0",
|
|
24
24
|
"rxjs": ">=7.8.0 <8.0.0"
|
|
25
25
|
},
|
|
Binary file
|