shirkasoft-ui-components 1.14.0 → 2.0.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/README.md +4 -8
- 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 +1624 -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 +484 -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 +517 -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 +1014 -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 +687 -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 +95 -134
- 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 +527 -398
- package/types/shirkasoft-ui-components-fieldset.d.ts +135 -60
- package/types/shirkasoft-ui-components-file-upload.d.ts +176 -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 +198 -113
- package/types/shirkasoft-ui-components-rail-sidebar.d.ts +262 -142
- package/types/shirkasoft-ui-components-select.d.ts +301 -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 +231 -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 +15 -16
- 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,102 +1,143 @@
|
|
|
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
|
/** Shared state between shk-abs and its tab/tabpanel children. */
|
|
9
|
-
declare class TabsService {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
export declare class TabsService {
|
|
12
|
+
/** Currently active tab value. */
|
|
13
|
+
readonly active: import("@angular/core").WritableSignal<any>;
|
|
14
|
+
/** Sets the active tab to the given value. */
|
|
15
|
+
select(value: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
16
18
|
}
|
|
17
|
-
|
|
18
19
|
/**
|
|
19
20
|
* Shirkasoft UI Components.
|
|
20
21
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
21
22
|
* Belongs to Shirkasoft.
|
|
22
23
|
*/
|
|
23
24
|
/** Container for tab panels. Renders its projected shk-tablist/shh-tab content. */
|
|
24
|
-
declare class TabsComponent {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
export declare class TabsComponent {
|
|
26
|
+
/** Currently active tab value. Two-way bindable with [(value)]. */
|
|
27
|
+
value: import("@angular/core").ModelSignal<any>;
|
|
28
|
+
/** Allows the tab header to scroll horizontally when it overflows. */
|
|
29
|
+
scrollable: import("@angular/core").InputSignal<boolean>;
|
|
30
|
+
/** Shared service used to sync the active tab with the children. */
|
|
31
|
+
protected tabsSvc: TabsService;
|
|
32
|
+
constructor();
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "shk-tabs", never, {
|
|
35
|
+
"value": {
|
|
36
|
+
"alias": "value";
|
|
37
|
+
"required": false;
|
|
38
|
+
"isSignal": true;
|
|
39
|
+
};
|
|
40
|
+
"scrollable": {
|
|
41
|
+
"alias": "scrollable";
|
|
42
|
+
"required": false;
|
|
43
|
+
"isSignal": true;
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
"value": "valueChange";
|
|
47
|
+
}, never, ["*"], true, never>;
|
|
34
48
|
}
|
|
35
|
-
|
|
36
49
|
/**
|
|
37
50
|
* Shirkasoft UI Components.
|
|
38
51
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
39
52
|
* Belongs to Shirkasoft.
|
|
40
53
|
*/
|
|
41
54
|
/** Horizontal bar that contains the shk-tab headers. */
|
|
42
|
-
declare class TablistComponent {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
export declare class TablistComponent {
|
|
56
|
+
/** Allows the header to scroll horizontally when it overflows. */
|
|
57
|
+
scrollable: import("@angular/core").InputSignal<boolean>;
|
|
58
|
+
/** Extra CSS classes. */
|
|
59
|
+
styleClass: import("@angular/core").InputSignal<string>;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TablistComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TablistComponent, "shk-tablist", never, {
|
|
62
|
+
"scrollable": {
|
|
63
|
+
"alias": "scrollable";
|
|
64
|
+
"required": false;
|
|
65
|
+
"isSignal": true;
|
|
66
|
+
};
|
|
67
|
+
"styleClass": {
|
|
68
|
+
"alias": "styleClass";
|
|
69
|
+
"required": false;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
72
|
+
}, {}, never, ["*"], true, never>;
|
|
49
73
|
}
|
|
50
|
-
|
|
51
74
|
/**
|
|
52
75
|
* Shirkasoft UI Components.
|
|
53
76
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
54
77
|
* Belongs to Shirkasoft.
|
|
55
78
|
*/
|
|
56
79
|
/** A single tab header. Clicking it activates the matching panel. */
|
|
57
|
-
declare class TabComponent {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
80
|
+
export declare class TabComponent {
|
|
81
|
+
/** Value that links this tab to its panel. */
|
|
82
|
+
value: import("@angular/core").InputSignal<any>;
|
|
83
|
+
/** Disables the tab. */
|
|
84
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
85
|
+
/** Extra CSS classes. */
|
|
86
|
+
styleClass: import("@angular/core").InputSignal<string>;
|
|
87
|
+
/** Shared service used to read the active tab value. */
|
|
88
|
+
protected tabsSvc: TabsService;
|
|
89
|
+
/** Whether this tab is the active one. */
|
|
90
|
+
protected active: import("@angular/core").Signal<boolean>;
|
|
91
|
+
/** Activates this tab through the shared service. */
|
|
92
|
+
select(): void;
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "shk-tab", never, {
|
|
95
|
+
"value": {
|
|
96
|
+
"alias": "value";
|
|
97
|
+
"required": false;
|
|
98
|
+
"isSignal": true;
|
|
99
|
+
};
|
|
100
|
+
"disabled": {
|
|
101
|
+
"alias": "disabled";
|
|
102
|
+
"required": false;
|
|
103
|
+
"isSignal": true;
|
|
104
|
+
};
|
|
105
|
+
"styleClass": {
|
|
106
|
+
"alias": "styleClass";
|
|
107
|
+
"required": false;
|
|
108
|
+
"isSignal": true;
|
|
109
|
+
};
|
|
110
|
+
}, {}, never, ["*"], true, never>;
|
|
72
111
|
}
|
|
73
|
-
|
|
74
112
|
/**
|
|
75
113
|
* Shirkasoft UI Components.
|
|
76
114
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
77
115
|
* Belongs to Shirkasoft.
|
|
78
116
|
*/
|
|
79
117
|
/** Container that groups the shk-tabpanel content sections. */
|
|
80
|
-
declare class TabpanelsComponent {
|
|
81
|
-
|
|
82
|
-
|
|
118
|
+
export declare class TabpanelsComponent {
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabpanelsComponent, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabpanelsComponent, "shk-tabpanels", never, {}, {}, never, ["*"], true, never>;
|
|
83
121
|
}
|
|
84
|
-
|
|
85
122
|
/**
|
|
86
123
|
* Shirkasoft UI Components.
|
|
87
124
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
88
125
|
* Belongs to Shirkasoft.
|
|
89
126
|
*/
|
|
90
127
|
/** Content section shown only while its value is the active tab. */
|
|
91
|
-
declare class TabPanelComponent {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
128
|
+
export declare class TabPanelComponent {
|
|
129
|
+
/** Value that links this panel to its tab. */
|
|
130
|
+
value: import("@angular/core").InputSignal<any>;
|
|
131
|
+
/** Shared service used to read the active tab value. */
|
|
132
|
+
protected tabsSvc: TabsService;
|
|
133
|
+
/** Whether this panel is the active one. */
|
|
134
|
+
protected active: import("@angular/core").Signal<boolean>;
|
|
135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabPanelComponent, never>;
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabPanelComponent, "shk-tabpanel", never, {
|
|
137
|
+
"value": {
|
|
138
|
+
"alias": "value";
|
|
139
|
+
"required": false;
|
|
140
|
+
"isSignal": true;
|
|
141
|
+
};
|
|
142
|
+
}, {}, never, ["*"], true, never>;
|
|
143
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import { getIcon } from "shirkasoft-ui-components/utils";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
4
6
|
/**
|
|
5
7
|
* Shirkasoft UI Components.
|
|
6
8
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
@@ -8,24 +10,53 @@ import { getIcon } from 'shirkasoft-ui-components/utils';
|
|
|
8
10
|
*/
|
|
9
11
|
type TagSeverity = 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'contrast';
|
|
10
12
|
/** Small label used to highlight a value, status or category. */
|
|
11
|
-
declare class TagComponent {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
export declare class TagComponent {
|
|
14
|
+
/** Text shown inside the tag. */
|
|
15
|
+
value: import("@angular/core").InputSignal<string | number>;
|
|
16
|
+
/** Color variant. Defaults to 'secondary'. */
|
|
17
|
+
severity: import("@angular/core").InputSignal<TagSeverity>;
|
|
18
|
+
/** Renders the tag with fully rounded corners (pill). */
|
|
19
|
+
rounded: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
/** Optional leading icon: registered name (e.g. `'check'`) or `IconNode` data. */
|
|
21
|
+
icon: import("@angular/core").InputSignal<any>;
|
|
22
|
+
/** Inline styles applied to the tag. */
|
|
23
|
+
style: import("@angular/core").InputSignal<Record<string, string | number>>;
|
|
24
|
+
/** Extra CSS classes. */
|
|
25
|
+
styleClass: import("@angular/core").InputSignal<string>;
|
|
26
|
+
protected getIcon: typeof getIcon;
|
|
27
|
+
protected tagClass: import("@angular/core").Signal<string>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "shk-tag", never, {
|
|
30
|
+
"value": {
|
|
31
|
+
"alias": "value";
|
|
32
|
+
"required": false;
|
|
33
|
+
"isSignal": true;
|
|
34
|
+
};
|
|
35
|
+
"severity": {
|
|
36
|
+
"alias": "severity";
|
|
37
|
+
"required": false;
|
|
38
|
+
"isSignal": true;
|
|
39
|
+
};
|
|
40
|
+
"rounded": {
|
|
41
|
+
"alias": "rounded";
|
|
42
|
+
"required": false;
|
|
43
|
+
"isSignal": true;
|
|
44
|
+
};
|
|
45
|
+
"icon": {
|
|
46
|
+
"alias": "icon";
|
|
47
|
+
"required": false;
|
|
48
|
+
"isSignal": true;
|
|
49
|
+
};
|
|
50
|
+
"style": {
|
|
51
|
+
"alias": "style";
|
|
52
|
+
"required": false;
|
|
53
|
+
"isSignal": true;
|
|
54
|
+
};
|
|
55
|
+
"styleClass": {
|
|
56
|
+
"alias": "styleClass";
|
|
57
|
+
"required": false;
|
|
58
|
+
"isSignal": true;
|
|
59
|
+
};
|
|
60
|
+
}, {}, never, ["*"], true, never>;
|
|
28
61
|
}
|
|
29
|
-
|
|
30
|
-
export { TagComponent };
|
|
31
|
-
export type { TagSeverity };
|
|
62
|
+
export type { TagSeverity };
|