shirkasoft-ui-components 1.14.0 → 2.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/README.md +12 -9
- package/fesm2022/shirkasoft-ui-components-breadcrumb.mjs +189 -100
- package/fesm2022/shirkasoft-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-button.mjs +363 -69
- package/fesm2022/shirkasoft-ui-components-button.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-chart.mjs +206 -142
- package/fesm2022/shirkasoft-ui-components-chart.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-config.mjs +905 -843
- package/fesm2022/shirkasoft-ui-components-config.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-confirm-dialog.mjs +307 -142
- package/fesm2022/shirkasoft-ui-components-confirm-dialog.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-date-picker.mjs +1697 -1440
- package/fesm2022/shirkasoft-ui-components-date-picker.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-fieldset.mjs +347 -92
- package/fesm2022/shirkasoft-ui-components-fieldset.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-file-upload.mjs +555 -300
- package/fesm2022/shirkasoft-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-icons.mjs +1028 -533
- package/fesm2022/shirkasoft-ui-components-icons.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-knob.mjs +389 -201
- package/fesm2022/shirkasoft-ui-components-knob.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-loading.mjs +505 -128
- package/fesm2022/shirkasoft-ui-components-loading.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-modal.mjs +311 -314
- package/fesm2022/shirkasoft-ui-components-modal.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-notification.mjs +188 -142
- package/fesm2022/shirkasoft-ui-components-notification.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-price-input.mjs +585 -327
- package/fesm2022/shirkasoft-ui-components-price-input.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-rail-sidebar.mjs +669 -289
- package/fesm2022/shirkasoft-ui-components-rail-sidebar.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-select.mjs +1076 -819
- package/fesm2022/shirkasoft-ui-components-select.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-sidebar.mjs +508 -184
- package/fesm2022/shirkasoft-ui-components-sidebar.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-skeleton.mjs +197 -57
- package/fesm2022/shirkasoft-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-table.mjs +1916 -1698
- package/fesm2022/shirkasoft-ui-components-table.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tabs.mjs +419 -175
- package/fesm2022/shirkasoft-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tag.mjs +175 -49
- package/fesm2022/shirkasoft-ui-components-tag.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-text-field.mjs +749 -402
- package/fesm2022/shirkasoft-ui-components-text-field.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-theme-picker.mjs +310 -124
- package/fesm2022/shirkasoft-ui-components-theme-picker.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-theme.mjs +141 -174
- package/fesm2022/shirkasoft-ui-components-theme.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-timeline.mjs +791 -203
- package/fesm2022/shirkasoft-ui-components-timeline.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-toggle.mjs +179 -109
- package/fesm2022/shirkasoft-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tooltip.mjs +244 -180
- package/fesm2022/shirkasoft-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-utils.mjs +129 -133
- package/fesm2022/shirkasoft-ui-components-utils.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-wizard.mjs +673 -165
- package/fesm2022/shirkasoft-ui-components-wizard.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components.mjs +0 -9
- package/package.json +5 -5
- package/types/shirkasoft-ui-components-breadcrumb.d.ts +59 -44
- package/types/shirkasoft-ui-components-button.d.ts +142 -49
- package/types/shirkasoft-ui-components-chart.d.ts +59 -44
- package/types/shirkasoft-ui-components-config.d.ts +193 -204
- package/types/shirkasoft-ui-components-confirm-dialog.d.ts +107 -66
- package/types/shirkasoft-ui-components-date-picker.d.ts +561 -398
- package/types/shirkasoft-ui-components-fieldset.d.ts +135 -60
- package/types/shirkasoft-ui-components-file-upload.d.ts +210 -112
- package/types/shirkasoft-ui-components-icons.d.ts +1302 -1294
- package/types/shirkasoft-ui-components-knob.d.ts +144 -78
- package/types/shirkasoft-ui-components-loading.d.ts +155 -64
- package/types/shirkasoft-ui-components-modal.d.ts +134 -136
- package/types/shirkasoft-ui-components-notification.d.ts +63 -59
- package/types/shirkasoft-ui-components-price-input.d.ts +232 -113
- package/types/shirkasoft-ui-components-rail-sidebar.d.ts +262 -142
- package/types/shirkasoft-ui-components-select.d.ts +335 -196
- package/types/shirkasoft-ui-components-sidebar.d.ts +198 -93
- package/types/shirkasoft-ui-components-skeleton.d.ts +68 -27
- package/types/shirkasoft-ui-components-table.d.ts +849 -660
- package/types/shirkasoft-ui-components-tabs.d.ts +102 -61
- package/types/shirkasoft-ui-components-tag.d.ts +54 -23
- package/types/shirkasoft-ui-components-text-field.d.ts +263 -127
- package/types/shirkasoft-ui-components-theme-picker.d.ts +92 -58
- package/types/shirkasoft-ui-components-theme.d.ts +56 -64
- package/types/shirkasoft-ui-components-timeline.d.ts +325 -150
- package/types/shirkasoft-ui-components-toggle.d.ts +73 -49
- package/types/shirkasoft-ui-components-tooltip.d.ts +64 -43
- package/types/shirkasoft-ui-components-utils.d.ts +47 -15
- package/types/shirkasoft-ui-components-wizard.d.ts +236 -87
- package/types/shirkasoft-ui-components.d.ts +1 -2
- package/fesm2022/shirkasoft-ui-components.mjs.map +0 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { ElementRef } from "@angular/core";
|
|
6
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
7
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
6
8
|
/**
|
|
7
9
|
* Shirkasoft UI Components.
|
|
8
10
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
@@ -15,76 +17,140 @@ import { FormValueControl } from '@angular/forms/signals';
|
|
|
15
17
|
* Angular Signal Forms `FormValueControl<number>` contract through its
|
|
16
18
|
* `value` model, so it also works with `[formField]`.
|
|
17
19
|
*/
|
|
18
|
-
declare class KnobComponent implements ControlValueAccessor, FormValueControl<number> {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
20
|
+
export declare class KnobComponent implements ControlValueAccessor, FormValueControl<number> {
|
|
21
|
+
/** Current value. Two-way bindable with [(value)]. */
|
|
22
|
+
value: import("@angular/core").ModelSignal<number>;
|
|
23
|
+
/**
|
|
24
|
+
* Minimum value. Optional so the component satisfies the Signal Forms
|
|
25
|
+
* `FormUiControl` contract (`min` accepts `undefined`); defaults to 0.
|
|
26
|
+
*/
|
|
27
|
+
min: import("@angular/core").InputSignal<number | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Maximum value. Optional so the component satisfies the Signal Forms
|
|
30
|
+
* `FormUiControl` contract (`max` accepts `undefined`); defaults to 100.
|
|
31
|
+
*/
|
|
32
|
+
max: import("@angular/core").InputSignal<number | undefined>;
|
|
33
|
+
/** Increment used by arrows and pointer drag rounding. */
|
|
34
|
+
step: import("@angular/core").InputSignal<number>;
|
|
35
|
+
/** Diameter of the knob in px. */
|
|
36
|
+
size: import("@angular/core").InputSignal<number>;
|
|
37
|
+
/** Thickness of the arc stroke. */
|
|
38
|
+
strokeWidth: import("@angular/core").InputSignal<number>;
|
|
39
|
+
/** Color of the filled arc. */
|
|
40
|
+
valueColor: import("@angular/core").InputSignal<string>;
|
|
41
|
+
/** Color of the track arc. */
|
|
42
|
+
rangeColor: import("@angular/core").InputSignal<string>;
|
|
43
|
+
/** Whether the current value is shown in the center. */
|
|
44
|
+
showValue: import("@angular/core").InputSignal<boolean>;
|
|
45
|
+
/** Disables user interaction. */
|
|
46
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
47
|
+
/** Blocks editing but keeps the control styled as enabled. */
|
|
48
|
+
readonly: import("@angular/core").InputSignal<boolean>;
|
|
49
|
+
/** Accessible label. */
|
|
50
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
51
|
+
/** Emitted when the knob value changes. */
|
|
52
|
+
change: import("@angular/core").OutputEmitterRef<number>;
|
|
53
|
+
/** Emitted when the user releases the pointer. */
|
|
54
|
+
end: import("@angular/core").OutputEmitterRef<number>;
|
|
55
|
+
/** Emitted on blur so Signal Forms can mark the field as touched. */
|
|
56
|
+
touch: import("@angular/core").OutputEmitterRef<void>;
|
|
57
|
+
protected knobSvg: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
58
|
+
private onChange;
|
|
59
|
+
private onTouched;
|
|
60
|
+
private dragging;
|
|
61
|
+
private formDisabled;
|
|
62
|
+
/** Effective disabled state combining the `disabled` input and the form binding. */
|
|
63
|
+
protected effectiveDisabled: import("@angular/core").Signal<boolean>;
|
|
64
|
+
/** Minimum value with the `0` fallback applied. */
|
|
65
|
+
protected effectiveMin: import("@angular/core").Signal<number>;
|
|
66
|
+
/** Maximum value with the `100` fallback applied. */
|
|
67
|
+
protected effectiveMax: import("@angular/core").Signal<number>;
|
|
68
|
+
protected r: import("@angular/core").Signal<number>;
|
|
69
|
+
protected center: import("@angular/core").Signal<number>;
|
|
70
|
+
protected fraction: import("@angular/core").Signal<number>;
|
|
71
|
+
protected rangeArc: import("@angular/core").Signal<string>;
|
|
72
|
+
protected valueArc: import("@angular/core").Signal<string>;
|
|
73
|
+
writeValue(value: any): void;
|
|
74
|
+
registerOnChange(fn: any): void;
|
|
75
|
+
registerOnTouched(fn: any): void;
|
|
76
|
+
/** Marks the control as touched when focus leaves the knob. */
|
|
77
|
+
onBlur(): void;
|
|
78
|
+
setDisabledState(isDisabled: boolean): void;
|
|
79
|
+
onPointerDown(event: PointerEvent): void;
|
|
80
|
+
onPointerMove(event: PointerEvent): void;
|
|
81
|
+
onPointerUp(event: PointerEvent): void;
|
|
82
|
+
updateByKey(step: number): void;
|
|
83
|
+
private applyEvent;
|
|
84
|
+
private setValue;
|
|
85
|
+
private clamp;
|
|
86
|
+
private getArcPath;
|
|
87
|
+
private anglePoint;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KnobComponent, never>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KnobComponent, "shk-knob", never, {
|
|
90
|
+
"value": {
|
|
91
|
+
"alias": "value";
|
|
92
|
+
"required": false;
|
|
93
|
+
"isSignal": true;
|
|
94
|
+
};
|
|
95
|
+
"min": {
|
|
96
|
+
"alias": "min";
|
|
97
|
+
"required": false;
|
|
98
|
+
"isSignal": true;
|
|
99
|
+
};
|
|
100
|
+
"max": {
|
|
101
|
+
"alias": "max";
|
|
102
|
+
"required": false;
|
|
103
|
+
"isSignal": true;
|
|
104
|
+
};
|
|
105
|
+
"step": {
|
|
106
|
+
"alias": "step";
|
|
107
|
+
"required": false;
|
|
108
|
+
"isSignal": true;
|
|
109
|
+
};
|
|
110
|
+
"size": {
|
|
111
|
+
"alias": "size";
|
|
112
|
+
"required": false;
|
|
113
|
+
"isSignal": true;
|
|
114
|
+
};
|
|
115
|
+
"strokeWidth": {
|
|
116
|
+
"alias": "strokeWidth";
|
|
117
|
+
"required": false;
|
|
118
|
+
"isSignal": true;
|
|
119
|
+
};
|
|
120
|
+
"valueColor": {
|
|
121
|
+
"alias": "valueColor";
|
|
122
|
+
"required": false;
|
|
123
|
+
"isSignal": true;
|
|
124
|
+
};
|
|
125
|
+
"rangeColor": {
|
|
126
|
+
"alias": "rangeColor";
|
|
127
|
+
"required": false;
|
|
128
|
+
"isSignal": true;
|
|
129
|
+
};
|
|
130
|
+
"showValue": {
|
|
131
|
+
"alias": "showValue";
|
|
132
|
+
"required": false;
|
|
133
|
+
"isSignal": true;
|
|
134
|
+
};
|
|
135
|
+
"disabled": {
|
|
136
|
+
"alias": "disabled";
|
|
137
|
+
"required": false;
|
|
138
|
+
"isSignal": true;
|
|
139
|
+
};
|
|
140
|
+
"readonly": {
|
|
141
|
+
"alias": "readonly";
|
|
142
|
+
"required": false;
|
|
143
|
+
"isSignal": true;
|
|
144
|
+
};
|
|
145
|
+
"ariaLabel": {
|
|
146
|
+
"alias": "ariaLabel";
|
|
147
|
+
"required": false;
|
|
148
|
+
"isSignal": true;
|
|
149
|
+
};
|
|
150
|
+
}, {
|
|
151
|
+
"value": "valueChange";
|
|
152
|
+
"change": "change";
|
|
153
|
+
"end": "end";
|
|
154
|
+
"touch": "touch";
|
|
155
|
+
}, never, never, true, never>;
|
|
156
|
+
}
|
|
@@ -1,51 +1,98 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
3
5
|
/**
|
|
4
6
|
* Shirkasoft UI Components.
|
|
5
7
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
6
8
|
* Belongs to Shirkasoft.
|
|
7
9
|
*/
|
|
8
10
|
/** Circular indeterminate spinner. */
|
|
9
|
-
declare class LoadingSpinnerComponent {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
export declare class LoadingSpinnerComponent {
|
|
12
|
+
/** Diameter of the spinner. */
|
|
13
|
+
size: import("@angular/core").InputSignal<string>;
|
|
14
|
+
/** Border thickness in px. */
|
|
15
|
+
thickness: import("@angular/core").InputSignal<number>;
|
|
16
|
+
/** Color of the moving arc. Defaults to the primary token. */
|
|
17
|
+
color: import("@angular/core").InputSignal<string>;
|
|
18
|
+
/** Optional text shown under the spinner. */
|
|
19
|
+
label: import("@angular/core").InputSignal<string>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingSpinnerComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingSpinnerComponent, "shk-loading-spinner", never, {
|
|
22
|
+
"size": {
|
|
23
|
+
"alias": "size";
|
|
24
|
+
"required": false;
|
|
25
|
+
"isSignal": true;
|
|
26
|
+
};
|
|
27
|
+
"thickness": {
|
|
28
|
+
"alias": "thickness";
|
|
29
|
+
"required": false;
|
|
30
|
+
"isSignal": true;
|
|
31
|
+
};
|
|
32
|
+
"color": {
|
|
33
|
+
"alias": "color";
|
|
34
|
+
"required": false;
|
|
35
|
+
"isSignal": true;
|
|
36
|
+
};
|
|
37
|
+
"label": {
|
|
38
|
+
"alias": "label";
|
|
39
|
+
"required": false;
|
|
40
|
+
"isSignal": true;
|
|
41
|
+
};
|
|
42
|
+
}, {}, never, never, true, never>;
|
|
20
43
|
}
|
|
21
|
-
|
|
22
44
|
/**
|
|
23
45
|
* Shirkasoft UI Components.
|
|
24
46
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
25
47
|
* Belongs to Shirkasoft.
|
|
26
48
|
*/
|
|
27
49
|
/** Progress bar with an indeterminate sweep or a determinate percentage. */
|
|
28
|
-
declare class LoadingBarComponent {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
export declare class LoadingBarComponent {
|
|
51
|
+
/** Height of the bar. */
|
|
52
|
+
height: import("@angular/core").InputSignal<string>;
|
|
53
|
+
/** When true the bar animates without a known percentage. */
|
|
54
|
+
indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
55
|
+
/** Current progress 0-100 when `indeterminate` is false. */
|
|
56
|
+
progress: import("@angular/core").InputSignal<number>;
|
|
57
|
+
/** Fill color. Defaults to the primary token. */
|
|
58
|
+
color: import("@angular/core").InputSignal<string>;
|
|
59
|
+
/** Renders fully rounded ends. */
|
|
60
|
+
rounded: import("@angular/core").InputSignal<boolean>;
|
|
61
|
+
/** Fill width/style for the determinate mode, empty for indeterminate. */
|
|
62
|
+
protected fillStyle: import("@angular/core").Signal<{
|
|
63
|
+
width?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
width: string;
|
|
66
|
+
}>;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingBarComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingBarComponent, "shk-loading-bar", never, {
|
|
69
|
+
"height": {
|
|
70
|
+
"alias": "height";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"indeterminate": {
|
|
75
|
+
"alias": "indeterminate";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"progress": {
|
|
80
|
+
"alias": "progress";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"color": {
|
|
85
|
+
"alias": "color";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"rounded": {
|
|
90
|
+
"alias": "rounded";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
}, {}, never, never, true, never>;
|
|
47
95
|
}
|
|
48
|
-
|
|
49
96
|
/** Backdrop style behind the overlay: none, light or dark. */
|
|
50
97
|
type LoadingOverlayBackdrop = 'transparent' | 'light' | 'dark';
|
|
51
98
|
/**
|
|
@@ -54,41 +101,85 @@ type LoadingOverlayBackdrop = 'transparent' | 'light' | 'dark';
|
|
|
54
101
|
* Belongs to Shirkasoft.
|
|
55
102
|
*/
|
|
56
103
|
/** Wraps content and shows a centered spinner over it while `visible` is true. */
|
|
57
|
-
declare class LoadingOverlayComponent {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
104
|
+
export declare class LoadingOverlayComponent {
|
|
105
|
+
/** Controls whether the spinner layer is shown. */
|
|
106
|
+
visible: import("@angular/core").InputSignal<boolean>;
|
|
107
|
+
/** Optional text under the spinner. */
|
|
108
|
+
message: import("@angular/core").InputSignal<string>;
|
|
109
|
+
/** Diameter of the spinner. */
|
|
110
|
+
spinnerSize: import("@angular/core").InputSignal<string>;
|
|
111
|
+
/** Spinner color. Defaults to the primary token. */
|
|
112
|
+
color: import("@angular/core").InputSignal<string>;
|
|
113
|
+
/** Backdrop behind the spinner. */
|
|
114
|
+
backdrop: import("@angular/core").InputSignal<LoadingOverlayBackdrop>;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingOverlayComponent, never>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingOverlayComponent, "shk-loading-overlay", never, {
|
|
117
|
+
"visible": {
|
|
118
|
+
"alias": "visible";
|
|
119
|
+
"required": false;
|
|
120
|
+
"isSignal": true;
|
|
121
|
+
};
|
|
122
|
+
"message": {
|
|
123
|
+
"alias": "message";
|
|
124
|
+
"required": false;
|
|
125
|
+
"isSignal": true;
|
|
126
|
+
};
|
|
127
|
+
"spinnerSize": {
|
|
128
|
+
"alias": "spinnerSize";
|
|
129
|
+
"required": false;
|
|
130
|
+
"isSignal": true;
|
|
131
|
+
};
|
|
132
|
+
"color": {
|
|
133
|
+
"alias": "color";
|
|
134
|
+
"required": false;
|
|
135
|
+
"isSignal": true;
|
|
136
|
+
};
|
|
137
|
+
"backdrop": {
|
|
138
|
+
"alias": "backdrop";
|
|
139
|
+
"required": false;
|
|
140
|
+
"isSignal": true;
|
|
141
|
+
};
|
|
142
|
+
}, {}, never, ["*"], true, never>;
|
|
70
143
|
}
|
|
71
|
-
|
|
72
144
|
/**
|
|
73
145
|
* Shirkasoft UI Components.
|
|
74
146
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
75
147
|
* Belongs to Shirkasoft.
|
|
76
148
|
*/
|
|
77
149
|
/** Bouncing dots loading indicator. */
|
|
78
|
-
declare class LoadingDotsComponent {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
150
|
+
export declare class LoadingDotsComponent {
|
|
151
|
+
/** Diameter of each dot. */
|
|
152
|
+
size: import("@angular/core").InputSignal<string>;
|
|
153
|
+
/** Dot color. Defaults to the primary token. */
|
|
154
|
+
color: import("@angular/core").InputSignal<string>;
|
|
155
|
+
/** Number of dots. */
|
|
156
|
+
count: import("@angular/core").InputSignal<number>;
|
|
157
|
+
/** Optional text shown next to the dots. */
|
|
158
|
+
label: import("@angular/core").InputSignal<string>;
|
|
159
|
+
/** Array of dot indices to render based on the `count` input. */
|
|
160
|
+
protected dots: import("@angular/core").Signal<unknown[]>;
|
|
161
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingDotsComponent, never>;
|
|
162
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingDotsComponent, "shk-loading-dots", never, {
|
|
163
|
+
"size": {
|
|
164
|
+
"alias": "size";
|
|
165
|
+
"required": false;
|
|
166
|
+
"isSignal": true;
|
|
167
|
+
};
|
|
168
|
+
"color": {
|
|
169
|
+
"alias": "color";
|
|
170
|
+
"required": false;
|
|
171
|
+
"isSignal": true;
|
|
172
|
+
};
|
|
173
|
+
"count": {
|
|
174
|
+
"alias": "count";
|
|
175
|
+
"required": false;
|
|
176
|
+
"isSignal": true;
|
|
177
|
+
};
|
|
178
|
+
"label": {
|
|
179
|
+
"alias": "label";
|
|
180
|
+
"required": false;
|
|
181
|
+
"isSignal": true;
|
|
182
|
+
};
|
|
183
|
+
}, {}, never, never, true, never>;
|
|
91
184
|
}
|
|
92
|
-
|
|
93
|
-
export { LoadingBarComponent, LoadingDotsComponent, LoadingOverlayComponent, LoadingSpinnerComponent };
|
|
94
|
-
export type { LoadingOverlayBackdrop };
|
|
185
|
+
export type { LoadingOverlayBackdrop };
|