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,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { OnDestroy } 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).
|
|
@@ -11,43 +13,62 @@ import { OnDestroy } from '@angular/core';
|
|
|
11
13
|
* floats above any container (tables with `overflow: hidden`, modals, scroll
|
|
12
14
|
* wrappers, etc.) and never gets clipped or hidden behind its anchor element.
|
|
13
15
|
*/
|
|
14
|
-
declare class TooltipComponent implements OnDestroy {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
16
|
+
export declare class TooltipComponent implements OnDestroy {
|
|
17
|
+
/** Content of the tooltip. */
|
|
18
|
+
readonly text: import("@angular/core").InputSignal<string>;
|
|
19
|
+
/** Preferred placement relative to the trigger. */
|
|
20
|
+
readonly position: import("@angular/core").InputSignal<"top" | "bottom" | "right">;
|
|
21
|
+
/** 'hover' shows on mouse enter; 'fixed' stays pinned to the content. */
|
|
22
|
+
readonly mode: import("@angular/core").InputSignal<"hover" | "fixed">;
|
|
23
|
+
/** Distance (px) between the tooltip and the trigger. */
|
|
24
|
+
readonly offset: import("@angular/core").InputSignal<number>;
|
|
25
|
+
private readonly host;
|
|
26
|
+
private readonly document;
|
|
27
|
+
/** The dynamically created tooltip element. */
|
|
28
|
+
private tooltipEl;
|
|
29
|
+
/** Unsubscribe callbacks for the scroll/resize listeners. */
|
|
30
|
+
private cleanup;
|
|
31
|
+
/** Shows the tooltip over the host trigger on mouseenter. */
|
|
32
|
+
onMouseEnter(): void;
|
|
33
|
+
/** Hides the tooltip on mouseleave. */
|
|
34
|
+
onMouseLeave(): void;
|
|
35
|
+
/** Also opens on keyboard focus, so icon-only triggers are readable. */
|
|
36
|
+
onFocusIn(): void;
|
|
37
|
+
/** Closes when the focus leaves the trigger. */
|
|
38
|
+
onFocusOut(): void;
|
|
39
|
+
/** Opens the tooltip when there is text to show. */
|
|
40
|
+
private open;
|
|
41
|
+
/** Creates and positions the tooltip element on `document.body`. */
|
|
42
|
+
private show;
|
|
43
|
+
/** Computes the tooltip position, clamped to the viewport. */
|
|
44
|
+
private computePosition;
|
|
45
|
+
/** Fades the tooltip out and removes it from the DOM. */
|
|
46
|
+
private hide;
|
|
47
|
+
/** Removes the tooltip and its listeners. */
|
|
48
|
+
private removeTooltip;
|
|
49
|
+
/** Cleans up the tooltip on component destroy. */
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "shk-tooltip", never, {
|
|
53
|
+
"text": {
|
|
54
|
+
"alias": "text";
|
|
55
|
+
"required": false;
|
|
56
|
+
"isSignal": true;
|
|
57
|
+
};
|
|
58
|
+
"position": {
|
|
59
|
+
"alias": "position";
|
|
60
|
+
"required": false;
|
|
61
|
+
"isSignal": true;
|
|
62
|
+
};
|
|
63
|
+
"mode": {
|
|
64
|
+
"alias": "mode";
|
|
65
|
+
"required": false;
|
|
66
|
+
"isSignal": true;
|
|
67
|
+
};
|
|
68
|
+
"offset": {
|
|
69
|
+
"alias": "offset";
|
|
70
|
+
"required": false;
|
|
71
|
+
"isSignal": true;
|
|
72
|
+
};
|
|
73
|
+
}, {}, never, ["*"], true, never>;
|
|
74
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import { IconNode } from "shirkasoft-ui-components/icons";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
4
6
|
/** Maps the icon names used across the library to their SVG data. */
|
|
5
|
-
declare const ICONS: Record<string, IconNode>;
|
|
7
|
+
export declare const ICONS: Record<string, IconNode>;
|
|
6
8
|
/**
|
|
7
9
|
* True when `icon` is a per-item resolver function such as `(row) => 'pencil'`.
|
|
8
10
|
*
|
|
@@ -11,13 +13,12 @@ declare const ICONS: Record<string, IconNode>;
|
|
|
11
13
|
* "Class constructor cannot be invoked without 'new'". Those fall through to
|
|
12
14
|
* `getIcon()`, which renders the fallback icon instead.
|
|
13
15
|
*/
|
|
14
|
-
declare function isIconResolver(icon: unknown): icon is (...args: any[]) => unknown;
|
|
16
|
+
export declare function isIconResolver(icon: unknown): icon is (...args: any[]) => unknown;
|
|
15
17
|
/**
|
|
16
18
|
* Resolves the icon passed to a component into SVG data.
|
|
17
19
|
* Accepts a registered string name or an icon node array.
|
|
18
20
|
*/
|
|
19
|
-
declare function getIcon(icon?: any, fallback?: any): IconNode | null;
|
|
20
|
-
|
|
21
|
+
export declare function getIcon(icon?: any, fallback?: any): IconNode | null;
|
|
21
22
|
/**
|
|
22
23
|
* Shirkasoft UI Components.
|
|
23
24
|
* Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
|
|
@@ -41,7 +42,7 @@ declare function getIcon(icon?: any, fallback?: any): IconNode | null;
|
|
|
41
42
|
* Returns a function that removes the element from the DOM; call it when the
|
|
42
43
|
* owner component is destroyed so the element does not stay orphaned in `body`.
|
|
43
44
|
*/
|
|
44
|
-
declare function portalToBody(element: HTMLElement, anchor?: HTMLElement | null): () => void;
|
|
45
|
+
export declare function portalToBody(element: HTMLElement, anchor?: HTMLElement | null): () => void;
|
|
45
46
|
/**
|
|
46
47
|
* Renders the host element in `document.body` (see `portalToBody`) once it is
|
|
47
48
|
* rendered, and removes it when the element or its owner is destroyed.
|
|
@@ -52,11 +53,9 @@ declare function portalToBody(element: HTMLElement, anchor?: HTMLElement | null)
|
|
|
52
53
|
* }
|
|
53
54
|
* ```
|
|
54
55
|
*/
|
|
55
|
-
declare class PortalDirective {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export { ICONS, PortalDirective, getIcon, isIconResolver, portalToBody };
|
|
56
|
+
export declare class PortalDirective {
|
|
57
|
+
private readonly el;
|
|
58
|
+
constructor();
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PortalDirective, never>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PortalDirective, "[shkPortal]", never, {}, {}, never, never, true, never>;
|
|
61
|
+
}
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { TemplateRef } from "@angular/core";
|
|
5
6
|
/** A step of the wizard shown in the stepper. */
|
|
6
7
|
interface WizardStep {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
id: string | number;
|
|
9
|
+
label: string;
|
|
10
|
+
/** Optional icon (name or `IconNode` data) rendered inside the step circle. */
|
|
11
|
+
icon?: string;
|
|
12
|
+
/** Overrides the primary footer button label for this step. */
|
|
13
|
+
primaryLabel?: string;
|
|
14
|
+
/** Overrides the primary footer button icon for this step. */
|
|
15
|
+
primaryIcon?: string;
|
|
15
16
|
}
|
|
16
17
|
/** Declares a step's content template: <ng-template shkWizardStepContent="stepId">…</ng-template>. */
|
|
17
|
-
declare class ShkWizardStepContent {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
export declare class ShkWizardStepContent {
|
|
19
|
+
templateRef: TemplateRef<unknown>;
|
|
20
|
+
stepId: import("@angular/core").InputSignal<string | number>;
|
|
21
|
+
constructor(templateRef: TemplateRef<unknown>);
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShkWizardStepContent, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShkWizardStepContent, "ng-template[shkWizardStepContent]", never, {
|
|
24
|
+
"stepId": {
|
|
25
|
+
"alias": "shkWizardStepContent";
|
|
26
|
+
"required": true;
|
|
27
|
+
"isSignal": true;
|
|
28
|
+
};
|
|
29
|
+
}, {}, never, never, true, never>;
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* Shirkasoft UI Components.
|
|
@@ -30,73 +37,215 @@ declare class ShkWizardStepContent {
|
|
|
30
37
|
* Multi-step wizard with a progress stepper, header, footer actions and
|
|
31
38
|
* content templates declared with `shkWizardStepContent`.
|
|
32
39
|
*/
|
|
33
|
-
declare class WizardComponent {
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
40
|
+
export declare class WizardComponent {
|
|
41
|
+
protected getIcon: (name: any) => import("shirkasoft-ui-components/icons").IconNode | null;
|
|
42
|
+
/** Steps definition shown in the stepper and used to resolve step content. */
|
|
43
|
+
steps: import("@angular/core").InputSignal<WizardStep[]>;
|
|
44
|
+
/** Active step id. Two-way bindable with [(currentStep)]. Null resolves to the first step. */
|
|
45
|
+
currentStep: import("@angular/core").ModelSignal<string | number | null>;
|
|
46
|
+
/** Shows the sticky header (back button + title). */
|
|
47
|
+
showHeader: import("@angular/core").InputSignal<boolean>;
|
|
48
|
+
headerTitle: import("@angular/core").InputSignal<string>;
|
|
49
|
+
headerSubtitle: import("@angular/core").InputSignal<string>;
|
|
50
|
+
/** Shows the round back button in the header. */
|
|
51
|
+
showBackButton: import("@angular/core").InputSignal<boolean>;
|
|
52
|
+
backTooltip: import("@angular/core").InputSignal<string>;
|
|
53
|
+
/** Optional icon (name or `IconNode` data) shown before the title. */
|
|
54
|
+
headerIcon: import("@angular/core").InputSignal<string>;
|
|
55
|
+
/** Shows the progress stepper (hide it for edit mode, like wac-app does). */
|
|
56
|
+
showStepper: import("@angular/core").InputSignal<boolean>;
|
|
57
|
+
/** Lets the user click on previous steps to jump back. */
|
|
58
|
+
stepperClickable: import("@angular/core").InputSignal<boolean>;
|
|
59
|
+
showFooter: import("@angular/core").InputSignal<boolean>;
|
|
60
|
+
/** Shows a "Paso X / N" counter on the left of the footer. */
|
|
61
|
+
showStepCounter: import("@angular/core").InputSignal<boolean>;
|
|
62
|
+
stepCounterPrefix: import("@angular/core").InputSignal<string>;
|
|
63
|
+
/** Shows the Cancel button on the first step (instead of a back button). */
|
|
64
|
+
showCancel: import("@angular/core").InputSignal<boolean>;
|
|
65
|
+
/** Auto-advances to the next step on the primary button when it is not the last step. */
|
|
66
|
+
advanceOnNext: import("@angular/core").InputSignal<boolean>;
|
|
67
|
+
prevLabel: import("@angular/core").InputSignal<string>;
|
|
68
|
+
prevIcon: import("@angular/core").InputSignal<string>;
|
|
69
|
+
cancelLabel: import("@angular/core").InputSignal<string>;
|
|
70
|
+
cancelIcon: import("@angular/core").InputSignal<string>;
|
|
71
|
+
nextLabel: import("@angular/core").InputSignal<string>;
|
|
72
|
+
nextIcon: import("@angular/core").InputSignal<string>;
|
|
73
|
+
finishLabel: import("@angular/core").InputSignal<string>;
|
|
74
|
+
finishIcon: import("@angular/core").InputSignal<string>;
|
|
75
|
+
/** Overrides the primary footer button label for every step. */
|
|
76
|
+
primaryLabel: import("@angular/core").InputSignal<string | null>;
|
|
77
|
+
/** Overrides the primary footer button icon for every step. */
|
|
78
|
+
primaryIcon: import("@angular/core").InputSignal<string | null>;
|
|
79
|
+
/** Shows a loading spinner on the primary button and disables it. */
|
|
80
|
+
primaryLoading: import("@angular/core").InputSignal<boolean>;
|
|
81
|
+
/** Disables the primary footer button (e.g. while the step form is invalid). */
|
|
82
|
+
primaryDisabled: import("@angular/core").InputSignal<boolean>;
|
|
83
|
+
back: import("@angular/core").OutputEmitterRef<void>;
|
|
84
|
+
cancel: import("@angular/core").OutputEmitterRef<void>;
|
|
85
|
+
prev: import("@angular/core").OutputEmitterRef<void>;
|
|
86
|
+
next: import("@angular/core").OutputEmitterRef<void>;
|
|
87
|
+
finish: import("@angular/core").OutputEmitterRef<void>;
|
|
88
|
+
stepChange: import("@angular/core").OutputEmitterRef<{
|
|
89
|
+
step: WizardStep | null;
|
|
90
|
+
index: number;
|
|
91
|
+
}>;
|
|
92
|
+
readonly stepContents: import("@angular/core").Signal<readonly ShkWizardStepContent[]>;
|
|
93
|
+
currentIndex: import("@angular/core").Signal<number>;
|
|
94
|
+
currentStepObj: import("@angular/core").Signal<WizardStep>;
|
|
95
|
+
isFirstStep: import("@angular/core").Signal<boolean>;
|
|
96
|
+
isLastStep: import("@angular/core").Signal<boolean>;
|
|
97
|
+
primaryActionLabel: import("@angular/core").Signal<string>;
|
|
98
|
+
primaryActionIcon: import("@angular/core").Signal<string>;
|
|
99
|
+
getStepTemplate(id: string | number): TemplateRef<unknown> | undefined;
|
|
100
|
+
goTo(stepId: string | number): void;
|
|
101
|
+
onPrev(): void;
|
|
102
|
+
onNext(): void;
|
|
103
|
+
onPrimary(): void;
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
|
|
105
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "shk-wizard", never, {
|
|
106
|
+
"steps": {
|
|
107
|
+
"alias": "steps";
|
|
108
|
+
"required": false;
|
|
109
|
+
"isSignal": true;
|
|
110
|
+
};
|
|
111
|
+
"currentStep": {
|
|
112
|
+
"alias": "currentStep";
|
|
113
|
+
"required": false;
|
|
114
|
+
"isSignal": true;
|
|
115
|
+
};
|
|
116
|
+
"showHeader": {
|
|
117
|
+
"alias": "showHeader";
|
|
118
|
+
"required": false;
|
|
119
|
+
"isSignal": true;
|
|
120
|
+
};
|
|
121
|
+
"headerTitle": {
|
|
122
|
+
"alias": "headerTitle";
|
|
123
|
+
"required": false;
|
|
124
|
+
"isSignal": true;
|
|
125
|
+
};
|
|
126
|
+
"headerSubtitle": {
|
|
127
|
+
"alias": "headerSubtitle";
|
|
128
|
+
"required": false;
|
|
129
|
+
"isSignal": true;
|
|
130
|
+
};
|
|
131
|
+
"showBackButton": {
|
|
132
|
+
"alias": "showBackButton";
|
|
133
|
+
"required": false;
|
|
134
|
+
"isSignal": true;
|
|
135
|
+
};
|
|
136
|
+
"backTooltip": {
|
|
137
|
+
"alias": "backTooltip";
|
|
138
|
+
"required": false;
|
|
139
|
+
"isSignal": true;
|
|
140
|
+
};
|
|
141
|
+
"headerIcon": {
|
|
142
|
+
"alias": "headerIcon";
|
|
143
|
+
"required": false;
|
|
144
|
+
"isSignal": true;
|
|
145
|
+
};
|
|
146
|
+
"showStepper": {
|
|
147
|
+
"alias": "showStepper";
|
|
148
|
+
"required": false;
|
|
149
|
+
"isSignal": true;
|
|
150
|
+
};
|
|
151
|
+
"stepperClickable": {
|
|
152
|
+
"alias": "stepperClickable";
|
|
153
|
+
"required": false;
|
|
154
|
+
"isSignal": true;
|
|
155
|
+
};
|
|
156
|
+
"showFooter": {
|
|
157
|
+
"alias": "showFooter";
|
|
158
|
+
"required": false;
|
|
159
|
+
"isSignal": true;
|
|
160
|
+
};
|
|
161
|
+
"showStepCounter": {
|
|
162
|
+
"alias": "showStepCounter";
|
|
163
|
+
"required": false;
|
|
164
|
+
"isSignal": true;
|
|
165
|
+
};
|
|
166
|
+
"stepCounterPrefix": {
|
|
167
|
+
"alias": "stepCounterPrefix";
|
|
168
|
+
"required": false;
|
|
169
|
+
"isSignal": true;
|
|
170
|
+
};
|
|
171
|
+
"showCancel": {
|
|
172
|
+
"alias": "showCancel";
|
|
173
|
+
"required": false;
|
|
174
|
+
"isSignal": true;
|
|
175
|
+
};
|
|
176
|
+
"advanceOnNext": {
|
|
177
|
+
"alias": "advanceOnNext";
|
|
178
|
+
"required": false;
|
|
179
|
+
"isSignal": true;
|
|
180
|
+
};
|
|
181
|
+
"prevLabel": {
|
|
182
|
+
"alias": "prevLabel";
|
|
183
|
+
"required": false;
|
|
184
|
+
"isSignal": true;
|
|
185
|
+
};
|
|
186
|
+
"prevIcon": {
|
|
187
|
+
"alias": "prevIcon";
|
|
188
|
+
"required": false;
|
|
189
|
+
"isSignal": true;
|
|
190
|
+
};
|
|
191
|
+
"cancelLabel": {
|
|
192
|
+
"alias": "cancelLabel";
|
|
193
|
+
"required": false;
|
|
194
|
+
"isSignal": true;
|
|
195
|
+
};
|
|
196
|
+
"cancelIcon": {
|
|
197
|
+
"alias": "cancelIcon";
|
|
198
|
+
"required": false;
|
|
199
|
+
"isSignal": true;
|
|
200
|
+
};
|
|
201
|
+
"nextLabel": {
|
|
202
|
+
"alias": "nextLabel";
|
|
203
|
+
"required": false;
|
|
204
|
+
"isSignal": true;
|
|
205
|
+
};
|
|
206
|
+
"nextIcon": {
|
|
207
|
+
"alias": "nextIcon";
|
|
208
|
+
"required": false;
|
|
209
|
+
"isSignal": true;
|
|
210
|
+
};
|
|
211
|
+
"finishLabel": {
|
|
212
|
+
"alias": "finishLabel";
|
|
213
|
+
"required": false;
|
|
214
|
+
"isSignal": true;
|
|
215
|
+
};
|
|
216
|
+
"finishIcon": {
|
|
217
|
+
"alias": "finishIcon";
|
|
218
|
+
"required": false;
|
|
219
|
+
"isSignal": true;
|
|
220
|
+
};
|
|
221
|
+
"primaryLabel": {
|
|
222
|
+
"alias": "primaryLabel";
|
|
223
|
+
"required": false;
|
|
224
|
+
"isSignal": true;
|
|
225
|
+
};
|
|
226
|
+
"primaryIcon": {
|
|
227
|
+
"alias": "primaryIcon";
|
|
228
|
+
"required": false;
|
|
229
|
+
"isSignal": true;
|
|
230
|
+
};
|
|
231
|
+
"primaryLoading": {
|
|
232
|
+
"alias": "primaryLoading";
|
|
233
|
+
"required": false;
|
|
234
|
+
"isSignal": true;
|
|
235
|
+
};
|
|
236
|
+
"primaryDisabled": {
|
|
237
|
+
"alias": "primaryDisabled";
|
|
238
|
+
"required": false;
|
|
239
|
+
"isSignal": true;
|
|
240
|
+
};
|
|
241
|
+
}, {
|
|
242
|
+
"currentStep": "currentStepChange";
|
|
243
|
+
"back": "back";
|
|
244
|
+
"cancel": "cancel";
|
|
245
|
+
"prev": "prev";
|
|
246
|
+
"next": "next";
|
|
247
|
+
"finish": "finish";
|
|
248
|
+
"stepChange": "stepChange";
|
|
249
|
+
}, ["stepContents"], ["[shkWizardHeaderActions]"], true, never>;
|
|
99
250
|
}
|
|
100
|
-
|
|
101
|
-
export { ShkWizardStepContent, WizardComponent };
|
|
102
|
-
export type { WizardStep };
|
|
251
|
+
export type { WizardStep };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { };
|
|
1
|
+
export {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shirkasoft-ui-components.mjs","sources":["../../../projects/ui-components/src/index.ts","../../../projects/ui-components/src/shirkasoft-ui-components.ts"],"sourcesContent":["/* Theme — import theme.css in your global styles.css:\n @import '@shirkasoft/ui-components/theme.css';\n Override --shk-* CSS variables at :root or .dark to theme.\n*/\n\n/* SHA-256 edge case: root entry point intentionally empty.\n Import components from subpath entry points, e.g.:\n import { ButtonComponent } from 'shirkasoft-ui-components/button';\n*/\nexport {};","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;AAGE;;ACHF;;AAEG"}
|