ids-enterprise-typings 17.0.1-dev.0 → 17.1.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/lib/wizard/soho-wizard.d.ts +33 -8
- package/package.json +1 -1
|
@@ -5,11 +5,39 @@
|
|
|
5
5
|
* interface of the Soho jQuery wizard control.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Soho ButtonBar button definition
|
|
10
|
+
*/
|
|
11
|
+
interface SohoWizardButtonBarButton {
|
|
12
|
+
/** the button's unique element id */
|
|
13
|
+
id: string, // e.g. 'next'
|
|
14
|
+
|
|
15
|
+
/** the button's text */
|
|
16
|
+
text: string, // e.g. "Next"
|
|
17
|
+
|
|
18
|
+
/** the button's icon */
|
|
19
|
+
icon?: string, // the name of the icon to use
|
|
20
|
+
|
|
21
|
+
/** the click callback for the button */
|
|
22
|
+
click: () => void,
|
|
23
|
+
|
|
24
|
+
/** an optional disable callback, return true if the button is disabled */
|
|
25
|
+
disabled?: () => boolean,
|
|
26
|
+
|
|
27
|
+
/** an optional hidden callback, return true if the button is hidden */
|
|
28
|
+
hidden?: () => boolean,
|
|
29
|
+
|
|
30
|
+
/** an optional isDefault flag, true if the button is displayed as the default */
|
|
31
|
+
isDefault?: boolean, // defaults to false
|
|
12
32
|
|
|
33
|
+
/** the relative position of the button */
|
|
34
|
+
position?: 'left' | 'middle' | 'right' | undefined
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Soho Widget model for a tick
|
|
39
|
+
*/
|
|
40
|
+
interface SohoWizardTick {
|
|
13
41
|
/**
|
|
14
42
|
* Sets the ng-click event for AngularJS.
|
|
15
43
|
*
|
|
@@ -35,7 +63,7 @@
|
|
|
35
63
|
*
|
|
36
64
|
*/
|
|
37
65
|
label?: string;
|
|
38
|
-
|
|
66
|
+
}
|
|
39
67
|
|
|
40
68
|
/**
|
|
41
69
|
* Wizard options.
|
|
@@ -43,9 +71,6 @@
|
|
|
43
71
|
interface SohoWizardOptions {
|
|
44
72
|
/**
|
|
45
73
|
* Optional model driven list of ticks to display.
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
74
|
*/
|
|
50
75
|
ticks?: SohoWizardTick[];
|
|
51
76
|
}
|