yukit-web 0.0.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.
- package/.npm/_logs/2026-08-20T08_40_55_706Z-debug-0.log +38 -0
- package/.npm/_logs/2026-08-20T08_40_56_280Z-debug-0.log +14 -0
- package/README.md +1465 -0
- package/fesm2022/yukit-web-helm-accordion.mjs +141 -0
- package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-alert-dialog.mjs +250 -0
- package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-alert.mjs +94 -0
- package/fesm2022/yukit-web-helm-alert.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs +47 -0
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-attachment.mjs +211 -0
- package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-autocomplete.mjs +361 -0
- package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-avatar.mjs +152 -0
- package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-badge.mjs +47 -0
- package/fesm2022/yukit-web-helm-badge.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-breadcrumb.mjs +196 -0
- package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-bubble.mjs +121 -0
- package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-button-group.mjs +86 -0
- package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-button.mjs +77 -0
- package/fesm2022/yukit-web-helm-button.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-calendar.mjs +937 -0
- package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-card.mjs +141 -0
- package/fesm2022/yukit-web-helm-card.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-carousel.mjs +270 -0
- package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-checkbox.mjs +147 -0
- package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-collapsible.mjs +62 -0
- package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-combobox.mjs +624 -0
- package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-command.mjs +315 -0
- package/fesm2022/yukit-web-helm-command.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-context-menu.mjs +71 -0
- package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-date-picker.mjs +1517 -0
- package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-dialog.mjs +271 -0
- package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-drawer.mjs +233 -0
- package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs +508 -0
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-empty.mjs +125 -0
- package/fesm2022/yukit-web-helm-empty.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-field.mjs +325 -0
- package/fesm2022/yukit-web-helm-field.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-hover-card.mjs +102 -0
- package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-input-group.mjs +171 -0
- package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-input-otp.mjs +127 -0
- package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-input.mjs +32 -0
- package/fesm2022/yukit-web-helm-input.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-item.mjs +242 -0
- package/fesm2022/yukit-web-helm-item.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-kbd.mjs +46 -0
- package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-label.mjs +30 -0
- package/fesm2022/yukit-web-helm-label.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-marker.mjs +77 -0
- package/fesm2022/yukit-web-helm-marker.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-menubar.mjs +90 -0
- package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-message.mjs +115 -0
- package/fesm2022/yukit-web-helm-message.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-native-select.mjs +180 -0
- package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-navigation-menu.mjs +173 -0
- package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-pagination.mjs +745 -0
- package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-popover.mjs +136 -0
- package/fesm2022/yukit-web-helm-popover.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-progress.mjs +60 -0
- package/fesm2022/yukit-web-helm-progress.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-radio-group.mjs +185 -0
- package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-resizable.mjs +98 -0
- package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-scroll-area.mjs +36 -0
- package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-select.mjs +412 -0
- package/fesm2022/yukit-web-helm-select.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-separator.mjs +33 -0
- package/fesm2022/yukit-web-helm-separator.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-sheet.mjs +254 -0
- package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-sidebar.mjs +857 -0
- package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-skeleton.mjs +29 -0
- package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-slider.mjs +123 -0
- package/fesm2022/yukit-web-helm-slider.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-sonner.mjs +126 -0
- package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-spinner.mjs +48 -0
- package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-switch.mjs +126 -0
- package/fesm2022/yukit-web-helm-switch.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-table.mjs +180 -0
- package/fesm2022/yukit-web-helm-table.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-tabs.mjs +251 -0
- package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-textarea.mjs +32 -0
- package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-toggle-group.mjs +95 -0
- package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-toggle.mjs +61 -0
- package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-tooltip.mjs +57 -0
- package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-typography.mjs +205 -0
- package/fesm2022/yukit-web-helm-typography.mjs.map +1 -0
- package/fesm2022/yukit-web-helm-utils.mjs +272 -0
- package/fesm2022/yukit-web-helm-utils.mjs.map +1 -0
- package/fesm2022/yukit-web.mjs +3592 -0
- package/fesm2022/yukit-web.mjs.map +1 -0
- package/package.json +291 -0
- package/src/lib/theme/spartan-overwrites/accordion.css +4 -0
- package/src/lib/theme/theme.css +161 -0
- package/src/lib/theme/tokens/color.css +356 -0
- package/src/lib/theme/tokens/component-colors.css +167 -0
- package/src/lib/theme/tokens/radius.css +18 -0
- package/src/lib/theme/tokens/typography.css +201 -0
- package/types/yukit-web-helm-accordion.d.ts +32 -0
- package/types/yukit-web-helm-alert-dialog.d.ts +85 -0
- package/types/yukit-web-helm-alert.d.ts +37 -0
- package/types/yukit-web-helm-aspect-ratio.d.ts +16 -0
- package/types/yukit-web-helm-attachment.d.ts +80 -0
- package/types/yukit-web-helm-autocomplete.d.ts +91 -0
- package/types/yukit-web-helm-avatar.d.ts +45 -0
- package/types/yukit-web-helm-badge.d.ts +19 -0
- package/types/yukit-web-helm-breadcrumb.d.ts +52 -0
- package/types/yukit-web-helm-bubble.d.ts +46 -0
- package/types/yukit-web-helm-button-group.d.ts +25 -0
- package/types/yukit-web-helm-button.d.ts +33 -0
- package/types/yukit-web-helm-calendar.d.ts +89 -0
- package/types/yukit-web-helm-card.d.ts +49 -0
- package/types/yukit-web-helm-carousel.d.ts +79 -0
- package/types/yukit-web-helm-checkbox.d.ts +60 -0
- package/types/yukit-web-helm-collapsible.d.ts +22 -0
- package/types/yukit-web-helm-combobox.d.ts +150 -0
- package/types/yukit-web-helm-command.d.ts +84 -0
- package/types/yukit-web-helm-context-menu.d.ts +29 -0
- package/types/yukit-web-helm-date-picker.d.ts +574 -0
- package/types/yukit-web-helm-dialog.d.ts +90 -0
- package/types/yukit-web-helm-drawer.d.ts +71 -0
- package/types/yukit-web-helm-dropdown-menu.d.ts +171 -0
- package/types/yukit-web-helm-empty.d.ts +49 -0
- package/types/yukit-web-helm-field.d.ts +102 -0
- package/types/yukit-web-helm-hover-card.d.ts +31 -0
- package/types/yukit-web-helm-input-group.d.ts +47 -0
- package/types/yukit-web-helm-input-otp.d.ts +40 -0
- package/types/yukit-web-helm-input.d.ts +13 -0
- package/types/yukit-web-helm-item.d.ts +96 -0
- package/types/yukit-web-helm-kbd.d.ts +17 -0
- package/types/yukit-web-helm-label.d.ts +12 -0
- package/types/yukit-web-helm-marker.d.ts +31 -0
- package/types/yukit-web-helm-menubar.d.ts +35 -0
- package/types/yukit-web-helm-message.d.ts +44 -0
- package/types/yukit-web-helm-native-select.d.ts +65 -0
- package/types/yukit-web-helm-navigation-menu.d.ts +49 -0
- package/types/yukit-web-helm-pagination.d.ts +187 -0
- package/types/yukit-web-helm-popover.d.ts +49 -0
- package/types/yukit-web-helm-progress.d.ts +22 -0
- package/types/yukit-web-helm-radio-group.d.ts +66 -0
- package/types/yukit-web-helm-resizable.d.ts +27 -0
- package/types/yukit-web-helm-scroll-area.d.ts +11 -0
- package/types/yukit-web-helm-select.d.ts +114 -0
- package/types/yukit-web-helm-separator.d.ts +13 -0
- package/types/yukit-web-helm-sheet.d.ts +75 -0
- package/types/yukit-web-helm-sidebar.d.ts +232 -0
- package/types/yukit-web-helm-skeleton.d.ts +11 -0
- package/types/yukit-web-helm-slider.d.ts +14 -0
- package/types/yukit-web-helm-sonner.d.ts +52 -0
- package/types/yukit-web-helm-spinner.d.ts +18 -0
- package/types/yukit-web-helm-switch.d.ts +54 -0
- package/types/yukit-web-helm-table.d.ts +82 -0
- package/types/yukit-web-helm-tabs.d.ts +66 -0
- package/types/yukit-web-helm-textarea.d.ts +13 -0
- package/types/yukit-web-helm-toggle-group.d.ts +34 -0
- package/types/yukit-web-helm-toggle.d.ts +22 -0
- package/types/yukit-web-helm-tooltip.d.ts +17 -0
- package/types/yukit-web-helm-typography.d.ts +89 -0
- package/types/yukit-web-helm-utils.d.ts +44 -0
- package/types/yukit-web.d.ts +2426 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import * as i1 from '@spartan-ng/brain/radio-group';
|
|
4
|
+
import { BrnRadioChange } from '@spartan-ng/brain/radio-group';
|
|
5
|
+
import { ClassValue } from 'clsx';
|
|
6
|
+
import * as i2 from '@spartan-ng/brain/field';
|
|
7
|
+
|
|
8
|
+
declare class HlmRadio<T = unknown> {
|
|
9
|
+
private readonly _document;
|
|
10
|
+
private readonly _renderer;
|
|
11
|
+
private readonly _elementRef;
|
|
12
|
+
private readonly _isBrowser;
|
|
13
|
+
private readonly _radioGroup;
|
|
14
|
+
protected readonly _ariaInvalid: _angular_core.Signal<boolean | undefined>;
|
|
15
|
+
protected readonly _touched: _angular_core.Signal<boolean | undefined>;
|
|
16
|
+
protected readonly _dirty: _angular_core.Signal<boolean | undefined>;
|
|
17
|
+
protected readonly _groupSpartanInvalid: _angular_core.Signal<boolean | undefined>;
|
|
18
|
+
protected readonly _errorStateClass: _angular_core.Signal<"text-destructive" | "">;
|
|
19
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
20
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
21
|
+
/** Used to set the id on the underlying brn element. */
|
|
22
|
+
readonly inputId: _angular_core.InputSignal<string | undefined>;
|
|
23
|
+
/** Used to set the aria-label attribute on the underlying brn element. */
|
|
24
|
+
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
25
|
+
/** Used to set the aria-labelledby attribute on the underlying brn element. */
|
|
26
|
+
readonly ariaLabelledby: _angular_core.InputSignal<string | undefined>;
|
|
27
|
+
/** Used to set the aria-describedby attribute on the underlying brn element. */
|
|
28
|
+
readonly ariaDescribedby: _angular_core.InputSignal<string | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* The value this radio button represents.
|
|
31
|
+
*/
|
|
32
|
+
readonly value: _angular_core.InputSignal<T>;
|
|
33
|
+
/** Whether the checkbox is required. */
|
|
34
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
35
|
+
/** Whether the checkbox is disabled. */
|
|
36
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
37
|
+
/**
|
|
38
|
+
* Event emitted when the checked state of this radio button changes.
|
|
39
|
+
*/
|
|
40
|
+
readonly change: _angular_core.OutputEmitterRef<BrnRadioChange<T>>;
|
|
41
|
+
constructor();
|
|
42
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmRadio<any>, never>;
|
|
43
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmRadio<any>, "hlm-radio", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, ["[target],[indicator],hlm-radio-indicator", "*"], true, never>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare class HlmRadioGroup {
|
|
47
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
48
|
+
private readonly _brnRadioGroup;
|
|
49
|
+
protected readonly _ariaInvalid: _angular_core.Signal<boolean | undefined>;
|
|
50
|
+
protected readonly _touched: _angular_core.Signal<boolean | undefined>;
|
|
51
|
+
protected readonly _dirty: _angular_core.Signal<boolean | undefined>;
|
|
52
|
+
protected readonly _errorState: _angular_core.Signal<boolean | undefined>;
|
|
53
|
+
constructor();
|
|
54
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmRadioGroup, never>;
|
|
55
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmRadioGroup, "[hlmRadioGroup],hlm-radio-group", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnRadioGroup; inputs: { "name": "name"; "value": "value"; "disabled": "disabled"; "required": "required"; }; outputs: { "valueChange": "valueChange"; }; }, { directive: typeof i2.BrnFieldControlDescribedBy; inputs: {}; outputs: {}; }]>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare class HlmRadioIndicator {
|
|
59
|
+
constructor();
|
|
60
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmRadioIndicator, never>;
|
|
61
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmRadioIndicator, "hlm-radio-indicator", never, {}, {}, never, never, true, never>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare const HlmRadioGroupImports: readonly [typeof HlmRadioGroup, typeof HlmRadio, typeof HlmRadioIndicator];
|
|
65
|
+
|
|
66
|
+
export { HlmRadio, HlmRadioGroup, HlmRadioGroupImports, HlmRadioIndicator };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@spartan-ng/brain/resizable';
|
|
3
|
+
import { BrnResizableHandle } from '@spartan-ng/brain/resizable';
|
|
4
|
+
|
|
5
|
+
declare class HlmResizableGroup {
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmResizableGroup, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmResizableGroup, "[hlmResizableGroup],hlm-resizable-group", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnResizableGroup; inputs: { "direction": "direction"; "layout": "layout"; }; outputs: { "dragEnd": "dragEnd"; "dragStart": "dragStart"; "layoutChange": "layoutChange"; }; }]>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class HlmResizableHandle {
|
|
12
|
+
protected readonly _brnResizableHandle: BrnResizableHandle;
|
|
13
|
+
constructor();
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmResizableHandle, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmResizableHandle, "hlm-resizable-handle", ["hlmResizableHandle"], {}, {}, never, never, true, [{ directive: typeof i1.BrnResizableHandle; inputs: { "withHandle": "withHandle"; "disabled": "disabled"; }; outputs: {}; }]>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class HlmResizablePanel {
|
|
19
|
+
private readonly _resizablePanel;
|
|
20
|
+
setSize(size: number): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmResizablePanel, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmResizablePanel, "[hlmResizablePanel],hlm-resizable-panel", ["hlmResizablePanel"], {}, {}, never, never, true, [{ directive: typeof i1.BrnResizablePanel; inputs: { "defaultSize": "defaultSize"; "id": "id"; "collapsible": "collapsible"; "maxSize": "maxSize"; "minSize": "minSize"; }; outputs: {}; }]>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare const HlmResizableImports: readonly [typeof HlmResizableGroup, typeof HlmResizablePanel, typeof HlmResizableHandle];
|
|
26
|
+
|
|
27
|
+
export { HlmResizableGroup, HlmResizableHandle, HlmResizableImports, HlmResizablePanel };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class HlmScrollArea {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmScrollArea, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmScrollArea, "ng-scrollbar[hlm],ng-scrollbar[hlmScrollbar]", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare const HlmScrollAreaImports: readonly [typeof HlmScrollArea];
|
|
10
|
+
|
|
11
|
+
export { HlmScrollArea, HlmScrollAreaImports };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@spartan-ng/brain/select';
|
|
3
|
+
import * as i2 from '@spartan-ng/brain/popover';
|
|
4
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
+
import { ClassValue } from 'clsx';
|
|
6
|
+
|
|
7
|
+
declare class HlmSelect {
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelect, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelect, "[hlmSelect],hlm-select", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelect; inputs: { "disabled": "disabled"; "value": "value"; "isItemEqualToValue": "isItemEqualToValue"; "itemToString": "itemToString"; }; outputs: { "valueChange": "valueChange"; }; }, { directive: typeof i2.BrnPopover; inputs: { "align": "align"; "closeOnOutsidePointerEvents": "closeOnOutsidePointerEvents"; "sideOffset": "sideOffset"; "state": "state"; "offsetX": "offsetX"; }; outputs: { "stateChanged": "stateChanged"; "closed": "closed"; }; }]>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare class HlmSelectContent {
|
|
14
|
+
protected readonly _computedListboxClasses: i0.Signal<string>;
|
|
15
|
+
readonly showScroll: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
16
|
+
constructor();
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectContent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSelectContent, "hlm-select-content", never, { "showScroll": { "alias": "showScroll"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.BrnSelectContent; inputs: {}; outputs: {}; }]>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class HlmSelectGroup {
|
|
22
|
+
constructor();
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectGroup, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectGroup, "[hlmSelectGroup],hlm-select-group", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectGroup; inputs: {}; outputs: {}; }]>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class HlmSelectItem {
|
|
28
|
+
private readonly _brnSelectItem;
|
|
29
|
+
protected readonly _active: i0.Signal<boolean>;
|
|
30
|
+
constructor();
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectItem, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSelectItem, "hlm-select-item", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.BrnSelectItem; inputs: { "id": "id"; "disabled": "disabled"; "value": "value"; }; outputs: {}; }]>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class HlmSelectLabel {
|
|
36
|
+
constructor();
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectLabel, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectLabel, "[hlmSelectLabel],hlm-select-label", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectLabel; inputs: { "id": "id"; }; outputs: {}; }]>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare class HlmSelectMultiple {
|
|
42
|
+
constructor();
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectMultiple, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectMultiple, "[hlmSelectMultiple],hlm-select-multiple", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectMultiple; inputs: { "disabled": "disabled"; "value": "value"; "isItemEqualToValue": "isItemEqualToValue"; "itemToString": "itemToString"; }; outputs: { "valueChange": "valueChange"; }; }, { directive: typeof i2.BrnPopover; inputs: { "align": "align"; "closeOnOutsidePointerEvents": "closeOnOutsidePointerEvents"; "sideOffset": "sideOffset"; "state": "state"; "offsetX": "offsetX"; }; outputs: { "stateChanged": "stateChanged"; "closed": "closed"; }; }]>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare class HlmSelectPlaceholder {
|
|
48
|
+
constructor();
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectPlaceholder, never>;
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectPlaceholder, "[hlmSelectPlaceholder],hlm-select-placeholder", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectPlaceholder; inputs: {}; outputs: {}; }]>;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
declare class HlmSelectPortal {
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectPortal, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectPortal, "[hlmSelectPortal]", never, {}, {}, never, never, true, [{ directive: typeof i2.BrnPopoverContent; inputs: { "context": "context"; "class": "class"; }; outputs: {}; }]>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare class HlmSelectScrollDown {
|
|
59
|
+
constructor();
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectScrollDown, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSelectScrollDown, "hlm-select-scroll-down", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectScrollDown; inputs: {}; outputs: {}; }]>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare class HlmSelectScrollUp {
|
|
65
|
+
constructor();
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectScrollUp, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSelectScrollUp, "hlm-select-scroll-up", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectScrollUp; inputs: {}; outputs: {}; }]>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class HlmSelectSeparator {
|
|
71
|
+
constructor();
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectSeparator, never>;
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectSeparator, "[hlmSelectSeparator],hlm-select-separator", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectSeparator; inputs: { "orientation": "orientation"; }; outputs: {}; }]>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare class HlmSelectTrigger {
|
|
77
|
+
private static _id;
|
|
78
|
+
readonly userClass: i0.InputSignal<ClassValue>;
|
|
79
|
+
protected readonly _computedClass: i0.Signal<string>;
|
|
80
|
+
readonly buttonId: i0.InputSignal<string>;
|
|
81
|
+
readonly size: i0.InputSignal<"default" | "sm">;
|
|
82
|
+
/** Whether to force the trigger into an invalid state. */
|
|
83
|
+
readonly forceInvalid: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectTrigger, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSelectTrigger, "hlm-select-trigger", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "buttonId": { "alias": "buttonId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "forceInvalid": { "alias": "forceInvalid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare class HlmSelectValue {
|
|
89
|
+
private readonly _brnSelectValue;
|
|
90
|
+
protected readonly _hidden: i0.Signal<boolean>;
|
|
91
|
+
constructor();
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectValue, never>;
|
|
93
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectValue, "[hlmSelectValue],hlm-select-value", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectValue; inputs: { "placeholder": "placeholder"; }; outputs: {}; }]>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
declare class HlmSelectValueTemplate {
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectValueTemplate, never>;
|
|
98
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectValueTemplate, "[hlmSelectValueTemplate]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectValueTemplate; inputs: {}; outputs: {}; }]>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare class HlmSelectValues {
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectValues, never>;
|
|
103
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectValues, "[hlmSelectValues]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSelectValues; inputs: {}; outputs: {}; }]>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare class HlmSelectValuesContent {
|
|
107
|
+
constructor();
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectValuesContent, never>;
|
|
109
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSelectValuesContent, "[hlmSelectValuesContent],hlm-select-values-content", never, {}, {}, never, never, true, never>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare const HlmSelectImports: readonly [typeof HlmSelect, typeof HlmSelectContent, typeof HlmSelectGroup, typeof HlmSelectItem, typeof HlmSelectLabel, typeof HlmSelectMultiple, typeof HlmSelectPlaceholder, typeof HlmSelectPortal, typeof HlmSelectScrollDown, typeof HlmSelectScrollUp, typeof HlmSelectSeparator, typeof HlmSelectTrigger, typeof HlmSelectValue, typeof HlmSelectValues, typeof HlmSelectValuesContent, typeof HlmSelectValueTemplate];
|
|
113
|
+
|
|
114
|
+
export { HlmSelect, HlmSelectContent, HlmSelectGroup, HlmSelectImports, HlmSelectItem, HlmSelectLabel, HlmSelectMultiple, HlmSelectPlaceholder, HlmSelectPortal, HlmSelectScrollDown, HlmSelectScrollUp, HlmSelectSeparator, HlmSelectTrigger, HlmSelectValue, HlmSelectValueTemplate, HlmSelectValues, HlmSelectValuesContent };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@spartan-ng/brain/separator';
|
|
3
|
+
|
|
4
|
+
declare const hlmSeparatorClass = "inline-flex shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch";
|
|
5
|
+
declare class HlmSeparator {
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSeparator, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSeparator, "[hlmSeparator],hlm-separator", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSeparator; inputs: { "orientation": "orientation"; "decorative": "decorative"; }; outputs: {}; }]>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare const HlmSeparatorImports: readonly [typeof HlmSeparator];
|
|
12
|
+
|
|
13
|
+
export { HlmSeparator, HlmSeparatorImports, hlmSeparatorClass };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as i1 from '@spartan-ng/brain/sheet';
|
|
2
|
+
import { BrnSheet } from '@spartan-ng/brain/sheet';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import * as _spartan_ng_brain_core from '@spartan-ng/brain/core';
|
|
5
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
6
|
+
import { ClassValue } from 'clsx';
|
|
7
|
+
|
|
8
|
+
declare class HlmSheet extends BrnSheet {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheet, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSheet, "hlm-sheet", ["hlmSheet"], {}, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare class HlmSheetClose {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetClose, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSheetClose, "button[hlmSheetClose]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSheetClose; inputs: {}; outputs: {}; }]>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class HlmSheetContent {
|
|
19
|
+
private readonly _stateProvider;
|
|
20
|
+
protected readonly _sideProvider: _spartan_ng_brain_core.ExposesSide;
|
|
21
|
+
readonly state: i0.Signal<"closed" | "open">;
|
|
22
|
+
private readonly _renderer;
|
|
23
|
+
private readonly _element;
|
|
24
|
+
readonly showCloseButton: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
25
|
+
constructor();
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetContent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSheetContent, "hlm-sheet-content", never, { "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class HlmSheetDescription {
|
|
31
|
+
constructor();
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetDescription, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSheetDescription, "[hlmSheetDescription]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSheetDescription; inputs: {}; outputs: {}; }]>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class HlmSheetFooter {
|
|
37
|
+
constructor();
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetFooter, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSheetFooter, "[hlmSheetFooter],hlm-sheet-footer", never, {}, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare class HlmSheetHeader {
|
|
43
|
+
constructor();
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetHeader, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSheetHeader, "[hlmSheetHeader],hlm-sheet-header", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare class HlmSheetOverlay {
|
|
49
|
+
private readonly _classSettable;
|
|
50
|
+
readonly userClass: i0.InputSignal<ClassValue>;
|
|
51
|
+
protected readonly _computedClass: i0.Signal<string>;
|
|
52
|
+
constructor();
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetOverlay, never>;
|
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSheetOverlay, "[hlmSheetOverlay],hlm-sheet-overlay", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BrnSheetOverlay; inputs: {}; outputs: {}; }]>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class HlmSheetPortal {
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetPortal, never>;
|
|
59
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSheetPortal, "[hlmSheetPortal]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSheetContent; inputs: { "context": "context"; "class": "class"; }; outputs: {}; }]>;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
declare class HlmSheetTitle {
|
|
63
|
+
constructor();
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetTitle, never>;
|
|
65
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSheetTitle, "[hlmSheetTitle]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSheetTitle; inputs: {}; outputs: {}; }]>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare class HlmSheetTrigger {
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSheetTrigger, never>;
|
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSheetTrigger, "button[hlmSheetTrigger]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSheetTrigger; inputs: { "id": "id"; "side": "side"; "type": "type"; }; outputs: {}; }]>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare const HlmSheetImports: readonly [typeof HlmSheet, typeof HlmSheetClose, typeof HlmSheetContent, typeof HlmSheetDescription, typeof HlmSheetFooter, typeof HlmSheetHeader, typeof HlmSheetOverlay, typeof HlmSheetPortal, typeof HlmSheetTitle, typeof HlmSheetTrigger];
|
|
74
|
+
|
|
75
|
+
export { HlmSheet, HlmSheetClose, HlmSheetContent, HlmSheetDescription, HlmSheetFooter, HlmSheetHeader, HlmSheetImports, HlmSheetOverlay, HlmSheetPortal, HlmSheetTitle, HlmSheetTrigger };
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Signal, ValueProvider } from '@angular/core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
import * as i1 from 'yukit-web/helm/input';
|
|
5
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
6
|
+
import * as i1$1 from '@spartan-ng/brain/tooltip';
|
|
7
|
+
import * as i1$2 from 'yukit-web/helm/separator';
|
|
8
|
+
import * as i1$3 from 'yukit-web/helm/button';
|
|
9
|
+
|
|
10
|
+
type SidebarVariant = 'sidebar' | 'floating' | 'inset';
|
|
11
|
+
declare class HlmSidebarService {
|
|
12
|
+
private readonly _platformId;
|
|
13
|
+
private readonly _request;
|
|
14
|
+
private readonly _config;
|
|
15
|
+
private readonly _document;
|
|
16
|
+
private readonly _window;
|
|
17
|
+
private readonly _open;
|
|
18
|
+
private readonly _openMobile;
|
|
19
|
+
private readonly _isMobile;
|
|
20
|
+
private readonly _variant;
|
|
21
|
+
private _mediaQuery;
|
|
22
|
+
readonly open: Signal<boolean>;
|
|
23
|
+
readonly openMobile: Signal<boolean>;
|
|
24
|
+
readonly isMobile: Signal<boolean>;
|
|
25
|
+
readonly variant: Signal<SidebarVariant>;
|
|
26
|
+
readonly state: Signal<"expanded" | "collapsed">;
|
|
27
|
+
constructor();
|
|
28
|
+
setOpen(open: boolean): void;
|
|
29
|
+
setOpenMobile(open: boolean): void;
|
|
30
|
+
setVariant(variant: SidebarVariant): void;
|
|
31
|
+
toggleSidebar(): void;
|
|
32
|
+
private restoreStateFromCookie;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarService, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HlmSidebarService>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class HlmSidebar {
|
|
38
|
+
protected readonly _sidebarService: HlmSidebarService;
|
|
39
|
+
private readonly _config;
|
|
40
|
+
readonly sidebarWidthMobile: i0.InputSignal<string>;
|
|
41
|
+
readonly side: i0.InputSignal<"left" | "right">;
|
|
42
|
+
readonly variant: i0.InputSignal<SidebarVariant>;
|
|
43
|
+
readonly collapsible: i0.InputSignal<"offcanvas" | "icon" | "none">;
|
|
44
|
+
protected readonly _sidebarGapComputedClass: i0.Signal<string>;
|
|
45
|
+
readonly sidebarContainerClass: i0.InputSignal<ClassValue>;
|
|
46
|
+
protected readonly _sidebarContainerComputedClass: i0.Signal<string>;
|
|
47
|
+
protected readonly _dataSlot: i0.Signal<"sidebar" | undefined>;
|
|
48
|
+
private readonly _collapsibleAndNonMobile;
|
|
49
|
+
protected readonly _dataState: i0.Signal<"expanded" | "collapsed" | undefined>;
|
|
50
|
+
protected readonly _dataCollapsible: i0.Signal<"offcanvas" | "icon" | "none" | "" | undefined>;
|
|
51
|
+
protected readonly _dataVariant: i0.Signal<SidebarVariant | undefined>;
|
|
52
|
+
protected readonly _dataSide: i0.Signal<"left" | "right" | undefined>;
|
|
53
|
+
constructor();
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebar, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSidebar, "hlm-sidebar", never, { "sidebarWidthMobile": { "alias": "sidebarWidthMobile"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "sidebarContainerClass": { "alias": "sidebarContainerClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare class HlmSidebarContent {
|
|
59
|
+
constructor();
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarContent, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarContent, "[hlmSidebarContent],hlm-sidebar-content", never, {}, {}, never, never, true, never>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare class HlmSidebarFooter {
|
|
65
|
+
constructor();
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarFooter, never>;
|
|
67
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarFooter, "[hlmSidebarFooter],hlm-sidebar-footer", never, {}, {}, never, never, true, never>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class HlmSidebarGroup {
|
|
71
|
+
constructor();
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarGroup, never>;
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarGroup, "[hlmSidebarGroup],hlm-sidebar-group", never, {}, {}, never, never, true, never>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare class HlmSidebarGroupAction {
|
|
77
|
+
constructor();
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarGroupAction, never>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarGroupAction, "button[hlmSidebarGroupAction]", never, {}, {}, never, never, true, never>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare class HlmSidebarGroupContent {
|
|
83
|
+
constructor();
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarGroupContent, never>;
|
|
85
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarGroupContent, "div[hlmSidebarGroupContent]", never, {}, {}, never, never, true, never>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare class HlmSidebarGroupLabel {
|
|
89
|
+
constructor();
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarGroupLabel, never>;
|
|
91
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarGroupLabel, "div[hlmSidebarGroupLabel], button[hlmSidebarGroupLabel]", never, {}, {}, never, never, true, never>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
declare class HlmSidebarHeader {
|
|
95
|
+
constructor();
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarHeader, never>;
|
|
97
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarHeader, "[hlmSidebarHeader],hlm-sidebar-header", never, {}, {}, never, never, true, never>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare class HlmSidebarInput {
|
|
101
|
+
constructor();
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarInput, never>;
|
|
103
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarInput, "input[hlmSidebarInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.HlmInput; inputs: {}; outputs: {}; }]>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare class HlmSidebarInset {
|
|
107
|
+
constructor();
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarInset, never>;
|
|
109
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarInset, "main[hlmSidebarInset]", never, {}, {}, never, never, true, never>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare class HlmSidebarMenu {
|
|
113
|
+
constructor();
|
|
114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenu, never>;
|
|
115
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarMenu, "ul[hlmSidebarMenu]", never, {}, {}, never, never, true, never>;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare class HlmSidebarMenuAction {
|
|
119
|
+
readonly showOnHover: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
120
|
+
constructor();
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenuAction, never>;
|
|
122
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarMenuAction, "button[hlmSidebarMenuAction]", never, { "showOnHover": { "alias": "showOnHover"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare class HlmSidebarMenuBadge {
|
|
126
|
+
constructor();
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenuBadge, never>;
|
|
128
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarMenuBadge, "[hlmSidebarMenuBadge],hlm-sidebar-menu-badge", never, {}, {}, never, never, true, never>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare class HlmSidebarMenuButton {
|
|
132
|
+
private readonly _config;
|
|
133
|
+
private readonly _sidebarService;
|
|
134
|
+
private readonly _brnTooltip;
|
|
135
|
+
readonly variant: i0.InputSignal<"default" | "outline">;
|
|
136
|
+
readonly size: i0.InputSignal<"default" | "sm" | "lg">;
|
|
137
|
+
readonly isActive: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
138
|
+
readonly closeMobileSidebarOnClick: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
139
|
+
protected readonly _isTooltipHidden: i0.Signal<boolean>;
|
|
140
|
+
constructor();
|
|
141
|
+
protected onClick(): void;
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenuButton, never>;
|
|
143
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarMenuButton, "button[hlmSidebarMenuButton], a[hlmSidebarMenuButton]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; "closeMobileSidebarOnClick": { "alias": "closeMobileSidebarOnClick"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1$1.BrnTooltip; inputs: { "brnTooltip": "tooltip"; }; outputs: {}; }]>;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
declare class HlmSidebarMenuItem {
|
|
147
|
+
constructor();
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenuItem, never>;
|
|
149
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarMenuItem, "li[hlmSidebarMenuItem]", never, {}, {}, never, never, true, never>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
declare class HlmSidebarMenuSkeleton {
|
|
153
|
+
readonly showIcon: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
154
|
+
protected readonly _width: string;
|
|
155
|
+
constructor();
|
|
156
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenuSkeleton, never>;
|
|
157
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSidebarMenuSkeleton, "hlm-sidebar-menu-skeleton,div[hlmSidebarMenuSkeleton]", never, { "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare class HlmSidebarMenuSub {
|
|
161
|
+
constructor();
|
|
162
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenuSub, never>;
|
|
163
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarMenuSub, "ul[hlmSidebarMenuSub]", never, {}, {}, never, never, true, never>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare class HlmSidebarMenuSubButton {
|
|
167
|
+
private readonly _sidebarService;
|
|
168
|
+
private readonly _config;
|
|
169
|
+
readonly closeMobileSidebarOnClick: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
170
|
+
readonly size: i0.InputSignal<"sm" | "md">;
|
|
171
|
+
readonly isActive: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
172
|
+
constructor();
|
|
173
|
+
protected onClick(): void;
|
|
174
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenuSubButton, never>;
|
|
175
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarMenuSubButton, "a[hlmSidebarMenuSubButton], button[hlmSidebarMenuSubButton]", never, { "closeMobileSidebarOnClick": { "alias": "closeMobileSidebarOnClick"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
declare class HlmSidebarMenuSubItem {
|
|
179
|
+
constructor();
|
|
180
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarMenuSubItem, never>;
|
|
181
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarMenuSubItem, "li[hlmSidebarMenuSubItem]", never, {}, {}, never, never, true, never>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare class HlmSidebarRail {
|
|
185
|
+
private readonly _sidebarService;
|
|
186
|
+
readonly ariaLabel: i0.InputSignal<string>;
|
|
187
|
+
constructor();
|
|
188
|
+
protected onClick(): void;
|
|
189
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarRail, never>;
|
|
190
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarRail, "button[hlmSidebarRail]", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
declare class HlmSidebarSeparator {
|
|
194
|
+
constructor();
|
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarSeparator, never>;
|
|
196
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarSeparator, "[hlmSidebarSeparator],hlm-sidebar-separator", never, {}, {}, never, never, true, [{ directive: typeof i1$2.HlmSeparator; inputs: {}; outputs: {}; }]>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
declare class HlmSidebarTrigger {
|
|
200
|
+
private readonly _sidebarService;
|
|
201
|
+
readonly srOnlyText: i0.InputSignal<string>;
|
|
202
|
+
protected _onClick(): void;
|
|
203
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarTrigger, never>;
|
|
204
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSidebarTrigger, "button[hlmSidebarTrigger]", never, { "srOnlyText": { "alias": "srOnlyText"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1$3.HlmButton; inputs: { "variant": "variant"; "size": "size"; }; outputs: {}; }]>;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
declare class HlmSidebarWrapper {
|
|
208
|
+
private readonly _config;
|
|
209
|
+
readonly sidebarWidth: i0.InputSignal<string>;
|
|
210
|
+
readonly sidebarWidthIcon: i0.InputSignal<string>;
|
|
211
|
+
constructor();
|
|
212
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSidebarWrapper, never>;
|
|
213
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSidebarWrapper, "[hlmSidebarWrapper],hlm-sidebar-wrapper", never, { "sidebarWidth": { "alias": "sidebarWidth"; "required": false; "isSignal": true; }; "sidebarWidthIcon": { "alias": "sidebarWidthIcon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
interface HlmSidebarConfig {
|
|
217
|
+
sidebarWidth: string;
|
|
218
|
+
sidebarWidthMobile: string;
|
|
219
|
+
sidebarWidthIcon: string;
|
|
220
|
+
sidebarCookieName: string;
|
|
221
|
+
sidebarCookieMaxAge: number;
|
|
222
|
+
sidebarKeyboardShortcut: string;
|
|
223
|
+
mobileBreakpoint: string;
|
|
224
|
+
closeMobileSidebarOnMenuButtonClick: boolean;
|
|
225
|
+
}
|
|
226
|
+
declare function provideHlmSidebarConfig(config: Partial<HlmSidebarConfig>): ValueProvider;
|
|
227
|
+
declare function injectHlmSidebarConfig(): HlmSidebarConfig;
|
|
228
|
+
|
|
229
|
+
declare const HlmSidebarImports: readonly [typeof HlmSidebar, typeof HlmSidebarContent, typeof HlmSidebarFooter, typeof HlmSidebarGroup, typeof HlmSidebarGroupAction, typeof HlmSidebarGroupContent, typeof HlmSidebarGroupLabel, typeof HlmSidebarHeader, typeof HlmSidebarInput, typeof HlmSidebarInset, typeof HlmSidebarMenu, typeof HlmSidebarMenuSkeleton, typeof HlmSidebarMenuAction, typeof HlmSidebarMenuBadge, typeof HlmSidebarMenuButton, typeof HlmSidebarMenuItem, typeof HlmSidebarMenuSub, typeof HlmSidebarMenuSubButton, typeof HlmSidebarRail, typeof HlmSidebarSeparator, typeof HlmSidebarTrigger, typeof HlmSidebarWrapper, typeof HlmSidebarMenuSubItem];
|
|
230
|
+
|
|
231
|
+
export { HlmSidebar, HlmSidebarContent, HlmSidebarFooter, HlmSidebarGroup, HlmSidebarGroupAction, HlmSidebarGroupContent, HlmSidebarGroupLabel, HlmSidebarHeader, HlmSidebarImports, HlmSidebarInput, HlmSidebarInset, HlmSidebarMenu, HlmSidebarMenuAction, HlmSidebarMenuBadge, HlmSidebarMenuButton, HlmSidebarMenuItem, HlmSidebarMenuSkeleton, HlmSidebarMenuSub, HlmSidebarMenuSubButton, HlmSidebarMenuSubItem, HlmSidebarRail, HlmSidebarSeparator, HlmSidebarService, HlmSidebarTrigger, HlmSidebarWrapper, injectHlmSidebarConfig, provideHlmSidebarConfig };
|
|
232
|
+
export type { HlmSidebarConfig, SidebarVariant };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class HlmSkeleton {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSkeleton, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmSkeleton, "[hlmSkeleton],hlm-skeleton", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare const HlmSkeletonImports: readonly [typeof HlmSkeleton];
|
|
10
|
+
|
|
11
|
+
export { HlmSkeleton, HlmSkeletonImports };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i1 from '@spartan-ng/brain/slider';
|
|
2
|
+
import { BrnSlider } from '@spartan-ng/brain/slider';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
|
|
5
|
+
declare class HlmSlider {
|
|
6
|
+
protected readonly _slider: BrnSlider;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmSlider, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmSlider, "hlm-slider, brn-slider [hlm]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnSlider; inputs: { "id": "id"; "value": "value"; "disabled": "disabled"; "min": "min"; "max": "max"; "step": "step"; "minStepsBetweenThumbs": "minStepsBetweenThumbs"; "inverted": "inverted"; "orientation": "orientation"; "showTicks": "showTicks"; "maxTicks": "maxTicks"; "tickLabelInterval": "tickLabelInterval"; "formatTick": "formatTick"; "draggableRange": "draggableRange"; "draggableRangeOnly": "draggableRangeOnly"; "aria-label": "aria-label"; "aria-labelledby": "aria-labelledby"; }; outputs: { "valueChange": "valueChange"; }; }]>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const HlmSliderImports: readonly [typeof HlmSlider];
|
|
13
|
+
|
|
14
|
+
export { HlmSlider, HlmSliderImports };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as _spartan_ng_brain_sonner from '@spartan-ng/brain/sonner';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
4
|
+
import { ClassValue } from 'clsx';
|
|
5
|
+
|
|
6
|
+
declare class HlmToaster {
|
|
7
|
+
readonly invert: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
8
|
+
readonly theme: _angular_core.InputSignal<"light" | "dark" | "system">;
|
|
9
|
+
readonly position: _angular_core.InputSignal<_spartan_ng_brain_sonner.Position>;
|
|
10
|
+
readonly hotKey: _angular_core.InputSignal<string[]>;
|
|
11
|
+
readonly richColors: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
12
|
+
readonly expand: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
13
|
+
readonly duration: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
14
|
+
readonly visibleToasts: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
15
|
+
readonly closeButton: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
16
|
+
readonly toastOptions: _angular_core.InputSignal<_spartan_ng_brain_sonner.ToastOptions>;
|
|
17
|
+
protected readonly _computedToastOptions: _angular_core.Signal<{
|
|
18
|
+
classes: {
|
|
19
|
+
toast: string;
|
|
20
|
+
title?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
loader?: string;
|
|
23
|
+
closeButton?: string;
|
|
24
|
+
cancelButton?: string;
|
|
25
|
+
actionButton?: string;
|
|
26
|
+
action?: string | undefined;
|
|
27
|
+
success?: string | undefined;
|
|
28
|
+
info?: string | undefined;
|
|
29
|
+
warning?: string | undefined;
|
|
30
|
+
error?: string | undefined;
|
|
31
|
+
loading?: string | undefined;
|
|
32
|
+
default?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
class?: string;
|
|
35
|
+
descriptionClass?: string;
|
|
36
|
+
style?: Record<string, unknown>;
|
|
37
|
+
cancelButtonStyle?: string;
|
|
38
|
+
actionButtonStyle?: string;
|
|
39
|
+
duration?: number;
|
|
40
|
+
unstyled?: boolean;
|
|
41
|
+
}>;
|
|
42
|
+
readonly offset: _angular_core.InputSignal<string | number | null>;
|
|
43
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
44
|
+
readonly userStyle: _angular_core.InputSignal<Record<string, string>>;
|
|
45
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmToaster, never>;
|
|
47
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmToaster, "hlm-toaster", never, { "invert": { "alias": "invert"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "hotKey": { "alias": "hotKey"; "required": false; "isSignal": true; }; "richColors": { "alias": "richColors"; "required": false; "isSignal": true; }; "expand": { "alias": "expand"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "visibleToasts": { "alias": "visibleToasts"; "required": false; "isSignal": true; }; "closeButton": { "alias": "closeButton"; "required": false; "isSignal": true; }; "toastOptions": { "alias": "toastOptions"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "userStyle": { "alias": "style"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare const HlmToasterImports: readonly [typeof HlmToaster];
|
|
51
|
+
|
|
52
|
+
export { HlmToaster, HlmToasterImports };
|