@semantic-components/ui 0.66.0 → 0.67.0
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/esm2022/lib/components/file-upload/file-upload-dropzone.js +91 -0
- package/esm2022/lib/components/file-upload/file-upload-dropzone.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-delete.js +29 -0
- package/esm2022/lib/components/file-upload/file-upload-item-delete.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-name.js +20 -0
- package/esm2022/lib/components/file-upload/file-upload-item-name.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-preview.js +51 -0
- package/esm2022/lib/components/file-upload/file-upload-item-preview.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-progress.js +34 -0
- package/esm2022/lib/components/file-upload/file-upload-item-progress.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item-size.js +37 -0
- package/esm2022/lib/components/file-upload/file-upload-item-size.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-item.js +29 -0
- package/esm2022/lib/components/file-upload/file-upload-item.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-list.js +20 -0
- package/esm2022/lib/components/file-upload/file-upload-list.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload-trigger.js +66 -0
- package/esm2022/lib/components/file-upload/file-upload-trigger.js.map +1 -0
- package/esm2022/lib/components/file-upload/file-upload.js +118 -0
- package/esm2022/lib/components/file-upload/file-upload.js.map +1 -0
- package/esm2022/lib/components/file-upload/index.js +11 -0
- package/esm2022/lib/components/file-upload/index.js.map +1 -0
- package/esm2022/lib/components/index.js +6 -0
- package/esm2022/lib/components/index.js.map +1 -1
- package/esm2022/lib/components/menu-bar/menu-bar-item.js +12 -4
- package/esm2022/lib/components/menu-bar/menu-bar-item.js.map +1 -1
- package/esm2022/lib/components/native-select/index.js +6 -0
- package/esm2022/lib/components/native-select/index.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select-container.js +20 -0
- package/esm2022/lib/components/native-select/native-select-container.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select-icon.js +20 -0
- package/esm2022/lib/components/native-select/native-select-icon.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select-optgroup.js +20 -0
- package/esm2022/lib/components/native-select/native-select-optgroup.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select-option.js +20 -0
- package/esm2022/lib/components/native-select/native-select-option.js.map +1 -0
- package/esm2022/lib/components/native-select/native-select.js +29 -0
- package/esm2022/lib/components/native-select/native-select.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/index.js +8 -0
- package/esm2022/lib/components/navigation-menu/index.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-content.js +37 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-content.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-item.js +118 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-item.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-link.js +22 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-link.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-list.js +20 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-list.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-portal.js +14 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-portal.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js +22 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js +41 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js.map +1 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu.js +32 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu.js.map +1 -0
- package/esm2022/lib/components/range-slider/index.js +4 -0
- package/esm2022/lib/components/range-slider/index.js.map +1 -0
- package/esm2022/lib/components/range-slider/range-slider-max.js +38 -0
- package/esm2022/lib/components/range-slider/range-slider-max.js.map +1 -0
- package/esm2022/lib/components/range-slider/range-slider-min.js +38 -0
- package/esm2022/lib/components/range-slider/range-slider-min.js.map +1 -0
- package/esm2022/lib/components/range-slider/range-slider-thumb-base.js +24 -0
- package/esm2022/lib/components/range-slider/range-slider-thumb-base.js.map +1 -0
- package/esm2022/lib/components/range-slider/range-slider.js +62 -0
- package/esm2022/lib/components/range-slider/range-slider.js.map +1 -0
- package/esm2022/lib/components/select/index.js +5 -1
- package/esm2022/lib/components/select/index.js.map +1 -1
- package/esm2022/lib/components/select/select-group-label.js +28 -0
- package/esm2022/lib/components/select/select-group-label.js.map +1 -0
- package/esm2022/lib/components/select/select-group.js +28 -0
- package/esm2022/lib/components/select/select-group.js.map +1 -0
- package/esm2022/lib/components/select/{select-icon.js → select-item-icon.js} +7 -7
- package/esm2022/lib/components/select/select-item-icon.js.map +1 -0
- package/esm2022/lib/components/select/select-list.js +1 -5
- package/esm2022/lib/components/select/select-list.js.map +1 -1
- package/esm2022/lib/components/select/select-popup.js +32 -0
- package/esm2022/lib/components/select/select-popup.js.map +1 -0
- package/esm2022/lib/components/select/select-separator.js +22 -0
- package/esm2022/lib/components/select/select-separator.js.map +1 -0
- package/esm2022/lib/components/select/select-trigger-icon.js +4 -2
- package/esm2022/lib/components/select/select-trigger-icon.js.map +1 -1
- package/esm2022/lib/components/select/select-trigger.js +4 -7
- package/esm2022/lib/components/select/select-trigger.js.map +1 -1
- package/esm2022/lib/components/select/select.js +6 -5
- package/esm2022/lib/components/select/select.js.map +1 -1
- package/esm2022/lib/components/slider/index.js +2 -0
- package/esm2022/lib/components/slider/index.js.map +1 -0
- package/esm2022/lib/components/slider/slider.js +46 -0
- package/esm2022/lib/components/slider/slider.js.map +1 -0
- package/esm2022/lib/components/time-picker/index.js +10 -0
- package/esm2022/lib/components/time-picker/index.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-hours-input.js +67 -0
- package/esm2022/lib/components/time-picker/time-picker-hours-input.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-input.js +26 -0
- package/esm2022/lib/components/time-picker/time-picker-input.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-minutes-input.js +57 -0
- package/esm2022/lib/components/time-picker/time-picker-minutes-input.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-period-am.js +26 -0
- package/esm2022/lib/components/time-picker/time-picker-period-am.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-period-pm.js +26 -0
- package/esm2022/lib/components/time-picker/time-picker-period-pm.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-period.js +46 -0
- package/esm2022/lib/components/time-picker/time-picker-period.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-seconds-input.js +57 -0
- package/esm2022/lib/components/time-picker/time-picker-seconds-input.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker-separator.js +20 -0
- package/esm2022/lib/components/time-picker/time-picker-separator.js.map +1 -0
- package/esm2022/lib/components/time-picker/time-picker.js +58 -0
- package/esm2022/lib/components/time-picker/time-picker.js.map +1 -0
- package/lib/components/file-upload/file-upload-dropzone.d.ts +15 -0
- package/lib/components/file-upload/file-upload-item-delete.d.ts +10 -0
- package/lib/components/file-upload/file-upload-item-name.d.ts +7 -0
- package/lib/components/file-upload/file-upload-item-preview.d.ts +11 -0
- package/lib/components/file-upload/file-upload-item-progress.d.ts +9 -0
- package/lib/components/file-upload/file-upload-item-size.d.ts +10 -0
- package/lib/components/file-upload/file-upload-item.d.ts +9 -0
- package/lib/components/file-upload/file-upload-list.d.ts +7 -0
- package/lib/components/file-upload/file-upload-trigger.d.ts +11 -0
- package/lib/components/file-upload/file-upload.d.ts +32 -0
- package/lib/components/file-upload/index.d.ts +11 -0
- package/lib/components/index.d.ts +6 -0
- package/lib/components/menu-bar/menu-bar-item.d.ts +1 -0
- package/lib/components/native-select/index.d.ts +5 -0
- package/lib/components/native-select/native-select-container.d.ts +7 -0
- package/lib/components/native-select/native-select-icon.d.ts +7 -0
- package/lib/components/native-select/native-select-optgroup.d.ts +7 -0
- package/lib/components/native-select/native-select-option.d.ts +7 -0
- package/lib/components/native-select/native-select.d.ts +12 -0
- package/lib/components/navigation-menu/index.d.ts +7 -0
- package/lib/components/navigation-menu/navigation-menu-content.d.ts +10 -0
- package/lib/components/navigation-menu/navigation-menu-item.d.ts +27 -0
- package/lib/components/navigation-menu/navigation-menu-link.d.ts +8 -0
- package/lib/components/navigation-menu/navigation-menu-list.d.ts +7 -0
- package/lib/components/navigation-menu/navigation-menu-portal.d.ts +7 -0
- package/lib/components/navigation-menu/navigation-menu-trigger-icon.d.ts +8 -0
- package/lib/components/navigation-menu/navigation-menu-trigger.d.ts +12 -0
- package/lib/components/navigation-menu/navigation-menu.d.ts +10 -0
- package/lib/components/range-slider/index.d.ts +3 -0
- package/lib/components/range-slider/range-slider-max.d.ts +10 -0
- package/lib/components/range-slider/range-slider-min.d.ts +10 -0
- package/lib/components/range-slider/range-slider-thumb-base.d.ts +2 -0
- package/lib/components/range-slider/range-slider.d.ts +21 -0
- package/lib/components/select/index.d.ts +5 -1
- package/lib/components/select/select-group-label.d.ts +7 -0
- package/lib/components/select/select-group.d.ts +7 -0
- package/lib/components/select/select-item-icon.d.ts +7 -0
- package/lib/components/select/select-list.d.ts +0 -1
- package/lib/components/select/select-popup.d.ts +8 -0
- package/lib/components/select/select-separator.d.ts +7 -0
- package/lib/components/select/select-trigger-icon.d.ts +1 -0
- package/lib/components/select/select-trigger.d.ts +3 -4
- package/lib/components/select/select.d.ts +3 -2
- package/lib/components/slider/index.d.ts +1 -0
- package/lib/components/slider/slider.d.ts +15 -0
- package/lib/components/time-picker/index.d.ts +10 -0
- package/lib/components/time-picker/time-picker-hours-input.d.ts +14 -0
- package/lib/components/time-picker/time-picker-input.d.ts +9 -0
- package/lib/components/time-picker/time-picker-minutes-input.d.ts +12 -0
- package/lib/components/time-picker/time-picker-period-am.d.ts +8 -0
- package/lib/components/time-picker/time-picker-period-pm.d.ts +8 -0
- package/lib/components/time-picker/time-picker-period.d.ts +12 -0
- package/lib/components/time-picker/time-picker-seconds-input.d.ts +12 -0
- package/lib/components/time-picker/time-picker-separator.d.ts +7 -0
- package/lib/components/time-picker/time-picker.d.ts +26 -0
- package/package.json +1 -1
- package/esm2022/lib/components/select/select-icon.js.map +0 -1
- package/lib/components/select/select-icon.d.ts +0 -7
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export { ScSelect } from './select';
|
|
2
|
-
export {
|
|
2
|
+
export { ScSelectItemIcon } from './select-item-icon';
|
|
3
3
|
export { ScSelectTrigger } from './select-trigger';
|
|
4
4
|
export { ScSelectValue } from './select-value';
|
|
5
5
|
export { ScSelectPortal } from './select-portal';
|
|
6
|
+
export { ScSelectPopup } from './select-popup';
|
|
6
7
|
export { ScSelectList } from './select-list';
|
|
7
8
|
export { ScSelectItem } from './select-item';
|
|
9
|
+
export { ScSelectGroup } from './select-group';
|
|
10
|
+
export { ScSelectGroupLabel } from './select-group-label';
|
|
11
|
+
export { ScSelectSeparator } from './select-separator';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScSelectGroupLabel {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectGroupLabel, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectGroupLabel, "div[scSelectGroupLabel]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScSelectGroup {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectGroup, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectGroup, "div[scSelectGroup]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScSelectItemIcon {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectItemIcon, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScSelectItemIcon, "svg[scSelectItemIcon]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -4,7 +4,6 @@ export declare class ScSelectList {
|
|
|
4
4
|
private readonly listbox;
|
|
5
5
|
readonly values: import("@angular/core").Signal<any[]>;
|
|
6
6
|
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
7
|
-
private readonly combobox;
|
|
8
7
|
protected readonly class: import("@angular/core").Signal<string>;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectList, never>;
|
|
10
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectList, "div[scSelectList]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.Listbox; inputs: {}; outputs: {}; }]>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScSelectPopup {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
private readonly combobox;
|
|
5
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectPopup, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectPopup, "div[scSelectPopup]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScSelectSeparator {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectSeparator, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScSelectSeparator, "[scSelectSeparator]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ScSelectTriggerIcon {
|
|
3
3
|
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
private readonly combobox;
|
|
4
5
|
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectTriggerIcon, never>;
|
|
6
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ScSelectTriggerIcon, "svg[scSelectTriggerIcon]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/cdk/overlay";
|
|
4
3
|
export declare class ScSelectTrigger {
|
|
5
|
-
readonly
|
|
4
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
6
5
|
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
7
6
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
8
7
|
private readonly select;
|
|
9
8
|
readonly placeholder: import("@angular/core").Signal<any>;
|
|
10
9
|
protected readonly class: import("@angular/core").Signal<string>;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectTrigger, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectTrigger, "div[scSelectTrigger]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectTrigger, "div[scSelectTrigger]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
12
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Combobox } from '@angular/aria/combobox';
|
|
1
2
|
import type { FormValueControl } from '@angular/forms/signals';
|
|
2
3
|
import { ScSelectPortal } from './select-portal';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
@@ -9,11 +10,11 @@ export declare class ScSelect implements FormValueControl<string> {
|
|
|
9
10
|
private readonly trigger;
|
|
10
11
|
private readonly content;
|
|
11
12
|
protected readonly selectPortal: import("@angular/core").Signal<ScSelectPortal>;
|
|
12
|
-
readonly origin: import("@angular/core").Signal<import("@angular/
|
|
13
|
+
readonly origin: import("@angular/core").Signal<import("@angular/core").ElementRef<HTMLElement> | undefined>;
|
|
13
14
|
readonly values: import("@angular/core").Signal<any[]>;
|
|
14
15
|
readonly displayValue: import("@angular/core").Signal<string>;
|
|
15
16
|
protected readonly class: import("@angular/core").Signal<string>;
|
|
16
|
-
|
|
17
|
+
protected readonly combobox: Combobox<any>;
|
|
17
18
|
constructor();
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelect, never>;
|
|
19
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<ScSelect, "div[scSelect]", ["scSelect"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["trigger", "content", "selectPortal"], ["*"], true, [{ directive: typeof i1.Combobox; inputs: {}; outputs: {}; }]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './slider';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScSlider {
|
|
3
|
+
private readonly field;
|
|
4
|
+
private readonly fallbackId;
|
|
5
|
+
private readonly el;
|
|
6
|
+
readonly idInput: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly id: import("@angular/core").Signal<string>;
|
|
9
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
10
|
+
constructor();
|
|
11
|
+
protected onInput(): void;
|
|
12
|
+
private updateFillPercent;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScSlider, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScSlider, "input[scSlider]", never, { "idInput": { "alias": "id"; "required": false; "isSignal": true; }; "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { SC_TIME_PICKER, ScTimePicker } from './time-picker';
|
|
2
|
+
export type { ScTimeValue, ScTimeFormat, ScTimePeriod } from './time-picker';
|
|
3
|
+
export { ScTimePickerInput } from './time-picker-input';
|
|
4
|
+
export { ScTimePickerHoursInput } from './time-picker-hours-input';
|
|
5
|
+
export { ScTimePickerMinutesInput } from './time-picker-minutes-input';
|
|
6
|
+
export { ScTimePickerSecondsInput } from './time-picker-seconds-input';
|
|
7
|
+
export { ScTimePickerPeriod } from './time-picker-period';
|
|
8
|
+
export { ScTimePickerPeriodAM } from './time-picker-period-am';
|
|
9
|
+
export { ScTimePickerPeriodPM } from './time-picker-period-pm';
|
|
10
|
+
export { ScTimePickerSeparator } from './time-picker-separator';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScTimePickerHoursInput {
|
|
3
|
+
private readonly input;
|
|
4
|
+
private readonly timePicker;
|
|
5
|
+
private readonly max;
|
|
6
|
+
private readonly min;
|
|
7
|
+
protected readonly displayValue: import("@angular/core").Signal<string>;
|
|
8
|
+
protected onInput(event: Event): void;
|
|
9
|
+
protected onBlur(): void;
|
|
10
|
+
protected onFocus(event: FocusEvent): void;
|
|
11
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePickerHoursInput, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePickerHoursInput, "input[scTimePickerHoursInput]", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScTimePickerInput {
|
|
3
|
+
readonly timePicker: import("@semantic-components/ui").ScTimePicker;
|
|
4
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly focused: import("@angular/core").WritableSignal<boolean>;
|
|
6
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePickerInput, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePickerInput, "input[scTimePickerInput]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScTimePickerMinutesInput {
|
|
3
|
+
private readonly input;
|
|
4
|
+
private readonly timePicker;
|
|
5
|
+
protected readonly displayValue: import("@angular/core").Signal<string>;
|
|
6
|
+
protected onInput(event: Event): void;
|
|
7
|
+
protected onBlur(): void;
|
|
8
|
+
protected onFocus(event: FocusEvent): void;
|
|
9
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePickerMinutesInput, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePickerMinutesInput, "input[scTimePickerMinutesInput]", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ScTimePickerPeriod } from './time-picker-period';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScTimePickerPeriodAM {
|
|
4
|
+
protected readonly period: ScTimePickerPeriod;
|
|
5
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePickerPeriodAM, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePickerPeriodAM, "button[scTimePickerPeriodAM]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ScTimePickerPeriod } from './time-picker-period';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScTimePickerPeriodPM {
|
|
4
|
+
protected readonly period: ScTimePickerPeriod;
|
|
5
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePickerPeriodPM, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePickerPeriodPM, "button[scTimePickerPeriodPM]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScTimePickerPeriod {
|
|
3
|
+
readonly timePicker: import("@semantic-components/ui").ScTimePicker;
|
|
4
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
5
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
6
|
+
readonly isAM: import("@angular/core").Signal<boolean>;
|
|
7
|
+
readonly isPM: import("@angular/core").Signal<boolean>;
|
|
8
|
+
selectAM(): void;
|
|
9
|
+
selectPM(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePickerPeriod, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePickerPeriod, "[scTimePickerPeriod]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScTimePickerSecondsInput {
|
|
3
|
+
private readonly input;
|
|
4
|
+
private readonly timePicker;
|
|
5
|
+
protected readonly displayValue: import("@angular/core").Signal<string>;
|
|
6
|
+
protected onInput(event: Event): void;
|
|
7
|
+
protected onBlur(): void;
|
|
8
|
+
protected onFocus(event: FocusEvent): void;
|
|
9
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePickerSecondsInput, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePickerSecondsInput, "input[scTimePickerSecondsInput]", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScTimePickerSeparator {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePickerSeparator, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePickerSeparator, "[scTimePickerSeparator]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type ScTimeFormat = '12h' | '24h';
|
|
4
|
+
export type ScTimePeriod = 'AM' | 'PM';
|
|
5
|
+
export interface ScTimeValue {
|
|
6
|
+
hours: number;
|
|
7
|
+
minutes: number;
|
|
8
|
+
seconds?: number;
|
|
9
|
+
period?: ScTimePeriod;
|
|
10
|
+
}
|
|
11
|
+
export declare const SC_TIME_PICKER: InjectionToken<ScTimePicker>;
|
|
12
|
+
export declare class ScTimePicker {
|
|
13
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
14
|
+
readonly format: import("@angular/core").InputSignal<ScTimeFormat>;
|
|
15
|
+
readonly showSeconds: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
readonly value: import("@angular/core").ModelSignal<ScTimeValue | null>;
|
|
18
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
19
|
+
readonly formattedTime: import("@angular/core").Signal<string>;
|
|
20
|
+
setHours(hours: number): void;
|
|
21
|
+
setMinutes(minutes: number): void;
|
|
22
|
+
setSeconds(seconds: number): void;
|
|
23
|
+
setPeriod(period: ScTimePeriod): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePicker, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScTimePicker, "[scTimePicker]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"select-icon.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAUjC,MAAM,OAAO,YAAY;IACd,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,uCAAuC,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAC/D,CAAC;uGALS,YAAY;2FAAZ,YAAY;;2FAAZ,YAAY;kBARxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,aAAa,EAAE,MAAM;wBACrB,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'svg[scSelectIcon]',\n host: {\n 'data-slot': 'select-icon',\n 'aria-hidden': 'true',\n '[class]': 'class()',\n },\n})\nexport class ScSelectIcon {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('text-muted-foreground size-4 shrink-0', this.classInput()),\n );\n}\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ScSelectIcon {
|
|
3
|
-
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
-
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectIcon, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScSelectIcon, "svg[scSelectIcon]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
-
}
|