ids-enterprise-typings 18.6.0 → 18.6.2

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.
Files changed (100) hide show
  1. package/package.json +1 -1
  2. package/about/soho-about.d.ts +0 -76
  3. package/accordion/soho-accordion.d.ts +0 -229
  4. package/actionsheet/soho-actionsheet.d.ts +0 -81
  5. package/alert/soho-alert.d.ts +0 -65
  6. package/application-menu/soho-application-menu.d.ts +0 -135
  7. package/arrange/soho-arrange.d.ts +0 -24
  8. package/autocomplete/soho-autocomplete.d.ts +0 -92
  9. package/bar/soho-bar.d.ts +0 -120
  10. package/blockgrid/soho-blockgrid.d.ts +0 -66
  11. package/breadcrumb/soho-breadcrumb.d.ts +0 -171
  12. package/bullet/soho-bullet.d.ts +0 -61
  13. package/busyindicator/soho-busyindicator.d.ts +0 -78
  14. package/button/soho-button.d.ts +0 -132
  15. package/buttonset/soho-buttonset.d.ts +0 -108
  16. package/calendar/soho-calendar.d.ts +0 -215
  17. package/card/soho-card.d.ts +0 -100
  18. package/chart/soho-chart.d.ts +0 -175
  19. package/checkbox/soho-checkbox.d.ts +0 -9
  20. package/circlepager/soho-circlepager.d.ts +0 -41
  21. package/colorpicker/soho-colorpicker.d.ts +0 -82
  22. package/column/soho-column.d.ts +0 -123
  23. package/context-menu/soho-context-menu.d.ts +0 -12
  24. package/contextual-action-panel/soho-contextual-action-panel.d.ts +0 -161
  25. package/datagrid/soho-datagrid.d.ts +0 -1686
  26. package/datepicker/soho-datepicker.d.ts +0 -266
  27. package/drag/soho-drag.d.ts +0 -38
  28. package/dropdown/soho-dropdown.d.ts +0 -287
  29. package/editor/soho-editor.d.ts +0 -111
  30. package/emptymessage/soho-emptymessage.d.ts +0 -122
  31. package/error/soho-error.d.ts +0 -47
  32. package/expandablearea/soho-expandablearea.d.ts +0 -71
  33. package/field-filter/soho-field-filter.d.ts +0 -69
  34. package/field-options/soho-field-options.d.ts +0 -24
  35. package/fileupload/soho-fileupload.d.ts +0 -45
  36. package/fileupload-advanced/soho-fileupload-advanced.d.ts +0 -89
  37. package/form-compact/soho-form-compact.d.ts +0 -30
  38. package/header/soho-header.d.ts +0 -65
  39. package/hierarchy/soho-hierarchy.d.ts +0 -136
  40. package/homepage/soho-homepage.d.ts +0 -118
  41. package/hyperlink/soho-hyperlink.d.ts +0 -11
  42. package/input/soho-input.d.ts +0 -9
  43. package/input-validate/soho-input-validate.d.ts +0 -45
  44. package/lib/grid/soho-row.d.ts +0 -5
  45. package/lib/index.d.ts +0 -92
  46. package/lib/tag/phnx-tag.d.ts +0 -49
  47. package/line/soho-line.d.ts +0 -101
  48. package/listbuilder/soho-listbuilder.d.ts +0 -55
  49. package/listview/soho-listview.d.ts +0 -150
  50. package/locale/soho-locale.d.ts +0 -150
  51. package/lookup/soho-lookup.d.ts +0 -251
  52. package/mask/soho-mask.d.ts +0 -213
  53. package/menu-button/soho-menu-button.d.ts +0 -21
  54. package/message/soho-message.d.ts +0 -94
  55. package/modal-dialog/soho-modal-dialog.d.ts +0 -246
  56. package/module-nav/index.d.ts +0 -4
  57. package/module-nav/soho-module-nav-common.d.ts +0 -12
  58. package/module-nav/soho-module-nav-settings.d.ts +0 -53
  59. package/module-nav/soho-module-nav-switcher.d.ts +0 -95
  60. package/module-nav/soho-module-nav.d.ts +0 -100
  61. package/monthview/soho-monthview.d.ts +0 -111
  62. package/notification/soho-notification.d.ts +0 -58
  63. package/notification-badge/soho-notification-badge.d.ts +0 -47
  64. package/pager/soho-pager.d.ts +0 -219
  65. package/personalize/soho-personalize.d.ts +0 -73
  66. package/pie/soho-pie.d.ts +0 -133
  67. package/popdown/soho-popdown.d.ts +0 -73
  68. package/popupmenu/soho-popupmenu.d.ts +0 -149
  69. package/post-install.js +0 -13
  70. package/postinstall.js +0 -18
  71. package/progress/soho-progress.d.ts +0 -27
  72. package/radar/soho-radar.d.ts +0 -131
  73. package/radiobutton/soho-radiobutton.d.ts +0 -14
  74. package/rating/soho-rating.d.ts +0 -39
  75. package/scripts/post-install.js +0 -13
  76. package/scripts/postinstall.js +0 -13
  77. package/searchfield/soho-searchfield.d.ts +0 -118
  78. package/slider/soho-slider.d.ts +0 -110
  79. package/soho.d.ts +0 -94
  80. package/sparkline/soho-sparkline.d.ts +0 -59
  81. package/spinbox/soho-spinbox.d.ts +0 -32
  82. package/splitter/soho-splitter.d.ts +0 -84
  83. package/stepchart/soho-stepchart.d.ts +0 -26
  84. package/stepprocess/soho-stepprocess.d.ts +0 -108
  85. package/swaplist/soho-swaplist.d.ts +0 -127
  86. package/swipe-action/soho-swipe-action.d.ts +0 -28
  87. package/tabs/soho-tabs.d.ts +0 -181
  88. package/tag/soho-tag.d.ts +0 -52
  89. package/textarea/soho-textarea.d.ts +0 -76
  90. package/timepicker/soho-timepicker.d.ts +0 -82
  91. package/toast/soho-toast.d.ts +0 -64
  92. package/toolbar/soho-toolbar.d.ts +0 -182
  93. package/toolbar-flex/soho-toolbar-flex.d.ts +0 -276
  94. package/tooltip/soho-tooltip.d.ts +0 -68
  95. package/trackdirty/soho-trackdirty.d.ts +0 -20
  96. package/tree/soho-tree.d.ts +0 -275
  97. package/treemap/soho-treemap.d.ts +0 -59
  98. package/utils/soho-utils.d.ts +0 -67
  99. package/week-view/soho-week-view.d.ts +0 -163
  100. package/wizard/soho-wizard.d.ts +0 -111
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "18.6.0",
4
+ "version": "18.6.2",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "peerDependencies": {
@@ -1,76 +0,0 @@
1
- /**
2
- * Soho About Dialog Control.
3
- *
4
- * This file contains the Typescript mappings for the public
5
- * interface of the Soho jQuery about dialog control.
6
- *
7
- * Only the public interface consumable by the Angular
8
- * Soho Component is included in this file.
9
- *
10
- * The corresponding Soho control can be found in about.js.
11
- */
12
-
13
- /**
14
- * Soho About Dialog configuration options
15
- *
16
- * See the jQuery control for the defaults.
17
- */
18
- interface SohoAboutOptions {
19
- /** The Main Application Name to display in the heading */
20
- appName?: string;
21
-
22
- /** Additional Text content to display at the top of the about dialog */
23
- content?: string;
24
-
25
- /** The year displayed in the copyright, defaults to current year. */
26
- copyrightYear?: string;
27
-
28
- /** Determines whether or not to display device information (Browser, Platform, Locale, Cookies Enabled) */
29
- deviceSpecs?: boolean;
30
-
31
- /** Additional product name information to display */
32
- productName?: string;
33
-
34
- /** Add the Legal Approved Infor Copyright Text */
35
- useDefaultCopyright?: boolean;
36
-
37
- /** Semantic Version Number for example (4.0.0) */
38
- version?: string;
39
-
40
- /** Add extra attributes like id's to the component **/
41
- attributes?: Array<Object> | Object;
42
- }
43
-
44
- /**
45
- * This interface represents the Api exposed by the
46
- * soho control.
47
- *
48
- * Only public members are exposed on this interface.
49
- */
50
- interface SohoAboutStatic {
51
-
52
- /** Element. */
53
- element: JQuery;
54
-
55
- /**
56
- * Close the about dialog.
57
- *
58
- */
59
- close(): void;
60
-
61
- /**
62
- * Releases all resources managed by the about dialog.
63
- */
64
- destroy(): void;
65
- }
66
-
67
- /**
68
- * Integration with jQuery
69
- */
70
- interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
71
- about(options: SohoAboutOptions): JQuery;
72
- }
73
-
74
- interface JQueryStatic {
75
- about: SohoAboutStatic;
76
- }
@@ -1,229 +0,0 @@
1
- /**
2
- * Soho Accordion Typings.
3
- *
4
- * The Accordion is a grouped set of collapsible panels used to navigate sections of
5
- * related content. Each panel consists of two levels: the top level identifies the
6
- * category or section header, and the second level provides the associated options.
7
- */
8
-
9
- type SohoAccordionExpanderType = 'classic' | 'plus-minus' | 'chevron';
10
-
11
- type SohoAccordionDefaultFocusBehaviorCallback = () => void;
12
-
13
- type SohoAccordionHeaderGroup = any; // JQuery<HTMLElement>
14
-
15
- type SohoAccordionHeaderExpanderButtonGroup = any; // JQuery<HTMLElement>
16
-
17
- type SohoAccordionHeaderAnchorGroup = any; // JQuery<HTMLElement>
18
-
19
- type SohoAccordionHeaderAnyGroup = SohoAccordionHeaderGroup | SohoAccordionHeaderExpanderButtonGroup | SohoAccordionHeaderAnchorGroup;
20
-
21
- type SohoAccordionNavDirection = 0 | -1 | 1;
22
-
23
- /**
24
- * Soho Accordion data representation types
25
- * These can be used to work with the results of `.toData()`
26
- */
27
-
28
- type SohoAccordionData = Array<SohoAccordionSectionData> | Array<SohoAccordionHeaderData>;
29
-
30
- type SohoAccordionSectionData = {
31
- index: string,
32
- type: 'section',
33
- children?: Array<SohoAccordionHeaderData | SohoAccordionContentData>,
34
- };
35
-
36
- type SohoAccordionContentData = {
37
- index: string,
38
- type: 'content',
39
- content?: string,
40
- contentText?: string
41
- };
42
-
43
- type SohoAccordionHeaderData = {
44
- index: string,
45
- type: 'header',
46
- text?: string,
47
- icon?: string,
48
- children?: Array<SohoAccordionHeaderData | SohoAccordionContentData>
49
- };
50
-
51
- /**
52
- * Soho Accordion Control Options
53
- */
54
- interface SohoAccordionOptions {
55
- /**
56
- * Provides a mechanism for controlling the behavior of accordion header focus.
57
- * By default, the built-in behavior is used (ability to focus headers/expanders independently).
58
- */
59
- accordionFocusCallback?: (header: JQuery<HTMLElement>, defaultFocusBehaviorCallback?: SohoAccordionDefaultFocusBehaviorCallback) => void;
60
-
61
- /**
62
- * If set to true, allows only one pane of the Accordion to be open at a time.
63
- * If an Accordion pane is open, and that pane contains sub-headers,
64
- * only one of the pane's sub-headers can be open at a time. (default true)
65
- */
66
- allowOnePane?: boolean;
67
-
68
- /**
69
- * Displays a "Chevron" icon that sits off to the right-most side of a top-level
70
- * accordion header. Used in place of an Expander (+/-) if enabled.
71
- */
72
- displayChevron?: boolean;
73
-
74
- /**
75
- * Changes the iconography used in accordion header expander buttons.
76
- */
77
- expanderDisplay?: SohoAccordionExpanderType;
78
-
79
- /**
80
- * Set to false if routing is handled externally.
81
- */
82
- rerouteOnLinkClick?: boolean;
83
-
84
- /**
85
- * Add a alert badge to the accordion header (used for App menu)
86
- */
87
- notificationBadge?: boolean;
88
-
89
- /**
90
- * A callback function that when implemented provided a call back for "ajax loading"
91
- * of tab contents on open.
92
- */
93
- source?: Function;
94
-
95
- /**
96
- * Set true to use panels with header selection
97
- */
98
- hasPanels?: boolean;
99
-
100
- /**
101
- * Sets the color scheme to inverse
102
- */
103
- inverse?: boolean;
104
-
105
- /**
106
- * Sets the color scheme to alternate
107
- */
108
- alternate?: boolean;
109
-
110
- /**
111
- * Enables tooltips for longer text that is handled with ellipsis
112
- */
113
- enableTooltips?: boolean;
114
- }
115
-
116
- /**
117
- * This interface represents the public API exposed by the Soho Accordion
118
- */
119
- interface SohoAccordionStatic {
120
- /** Access to the control's options block. */
121
- settings: SohoAccordionOptions;
122
-
123
- /** Calls the `source` method passed via settings */
124
- callSource(anchor: SohoAccordionHeaderAnchorGroup, animationCallback: () => void): void;
125
-
126
- /** Collapses all panels. */
127
- collapseAll(): void;
128
-
129
- /** Expands all panels. */
130
- expandAll(): void;
131
-
132
- /** Expands one or a group of panels */
133
- expand(header: SohoAccordionHeaderGroup | string): void;
134
-
135
- /** Collapses one or a group of panels */
136
- collapse(header: SohoAccordionHeaderGroup | string): void;
137
-
138
- /** Disables the accordion from reacting to events. */
139
- disable(): void;
140
-
141
- /** Enables the accordion. */
142
- enable(): void;
143
-
144
- /** Checks if a particular header is disabled, or if the entire accordion is disabled. */
145
- isDisabled(header: SohoAccordionHeaderGroup): boolean;
146
-
147
- /** Checks if an Accordion Section is currently expanded. */
148
- isExpanded(header: SohoAccordionHeaderGroup): boolean;
149
-
150
- /** Toggles the exanded state of the selected header. */
151
- toggle(header: SohoAccordionHeaderGroup): boolean;
152
-
153
- /**
154
- * Gets the current contents of this accordion and creates a JSON-like representation of the structure.
155
- * For full JSON compatibility, don't use the `addElementReference` flag.
156
- **/
157
- toData(flatten?: boolean, addElementReference?: boolean): SohoAccordionData;
158
-
159
- /** Makes an accordion header appear with a "selected" state */
160
- select(element?: SohoAccordionHeaderAnyGroup): void;
161
-
162
- /** Makes an accordion header appear with a "deselected" state */
163
- deselect(element?: SohoAccordionHeaderAnyGroup): void;
164
-
165
- /** Makes all accordion headers deselected */
166
- deselectAll(): void;
167
-
168
- /** Gets a reference to currently-selected accordion headers */
169
- getSelected(): SohoAccordionHeaderGroup;
170
-
171
- /** Determines if an Accordion Header is disabled */
172
- isDisabled(header: SohoAccordionHeaderGroup): boolean;
173
-
174
- /** "Visually" filters accordion headers (elements are not added/removed but temporarily hidden by CSS if filtered out) */
175
- filter(headers?: SohoAccordionHeaderGroup): void;
176
-
177
- /** Resets a previously-applied filter */
178
- unfilter(headers?: SohoAccordionHeaderGroup): void;
179
-
180
- /** Determines if an Accordion Header is currently visually filtered out */
181
- isFiltered(header: SohoAccordionHeaderGroup): boolean;
182
-
183
- /** Determines if animation is currently happening on accordion panes (controls some behavior internally) */
184
- isAnimating: boolean;
185
-
186
- /** Programmatically navigates to the next-available accordion header (down) */
187
- nextHeader(element: SohoAccordionHeaderAnyGroup, noDescend?: boolean): void;
188
-
189
- /** Programmatically navigates to the previous-available accordion header (up) */
190
- prevHeader(element: SohoAccordionHeaderAnyGroup, noDescend?: boolean): void;
191
-
192
- /** Programmatically navigates to the next-available accordion header (down) */
193
- ascend(element: SohoAccordionHeaderGroup, direction?: SohoAccordionNavDirection): void;
194
-
195
- /** Programmatically navigates to the previous-available accordion header (up) */
196
- descend(element: SohoAccordionHeaderGroup, direction?: SohoAccordionNavDirection): void;
197
-
198
- /** Programmatically focuses the correct element within an accordion header (based on previously-focused elements) */
199
- focusOriginalType(header: SohoAccordionHeaderGroup): void;
200
-
201
- /** Updates the accordion with any new settings. */
202
- updated(headers?: SohoAccordionHeaderGroup, settings?: SohoAccordionOptions): void;
203
-
204
- /** Performs a teardown of the jQuery component API (does not remove the component instance) */
205
- teardown(): void;
206
-
207
- /** Destroys the control on completion. (Tears down and removes the component instance) */
208
- destroy(): void;
209
- }
210
-
211
- /**
212
- * JQuery Integration
213
- */
214
- interface JQueryStatic {
215
- accordion: any;
216
- }
217
-
218
- /**
219
- * jQuery integration.
220
- */
221
- interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
222
- accordion(options?: SohoAccordionOptions): SohoAccordionStatic;
223
- on(events: string,
224
- handler: JQuery.EventHandlerBase<TElement, SohoAccordionEvent>): this;
225
- }
226
-
227
- interface SohoAccordionEvent extends JQuery.TriggeredEvent {
228
- anchor: HTMLAnchorElement;
229
- }
@@ -1,81 +0,0 @@
1
- /**
2
- * Soho Actionsheet.
3
- *
4
- * This file contains the TypeScript mappings for the public
5
- * interface of the Soho Actionsheet control.
6
- */
7
-
8
- /**
9
- * Actionsheet Options
10
- */
11
-
12
- type SohoActionsheetDisplay = false | 'responsive' | 'always';
13
-
14
- type SohoActionsheetTrayBackgroundColors = 'slate' | 'ruby' | 'amber' | 'emerald' | 'azure' | 'turquoise' | 'amethyst';
15
-
16
- interface SohoActionsheetOptions {
17
- actions?: Array<SohoActionsheetActions>;
18
- autoFocus?: boolean;
19
- breakpoint?: string;
20
- displayAsActionSheet?: SohoActionsheetDisplay;
21
- overlayOpacity?: number;
22
- onSelect?: Function;
23
- onCancel?: Function;
24
- tray?: boolean;
25
- trayOpts?: SohoActionsheetTrayOptions;
26
- showCancelButton?: boolean;
27
- attributes?: Array<Object> | Object;
28
- }
29
-
30
- interface SohoActionsheetTrayOptions {
31
- text?: string;
32
- icon?: string;
33
- backgroundColor?: SohoActionsheetTrayBackgroundColors;
34
- }
35
-
36
- interface SohoActionsheetActions {
37
- icon?: string;
38
- text?: string;
39
- }
40
-
41
- interface SohoActionsheetStatic {
42
- settings: SohoActionsheetOptions;
43
-
44
- /** Returns true if the Action Sheet is currently visible */
45
- get visible(): boolean;
46
-
47
- /** Returns true if the Action Sheet is currently visible */
48
- get actionElems(): boolean;
49
-
50
- /** Returns attached Popupmenu API, if available */
51
- get popupmenuAPI(): SohoPopupMenuOptions;
52
-
53
- /** Returns true if there is a currently-open Popupmenu attached to the trigger button */
54
- get hasOpenPopupMenu(): boolean;
55
-
56
- /** Returns {boolean} whether or not this Action Sheet instance should currently display in
57
- * full size mode (uses the settings, but determined at runtime)
58
- * */
59
- get currentlyNeedsActionSheet(): boolean;
60
-
61
- /** Opens the Action Sheet */
62
- open(): void;
63
-
64
- /** Opens a simple Popupmenu containing the same actions as the sheet. */
65
- openPopupMenu(): void;
66
-
67
- /** Tears down and removes any added markup and events. */
68
- destroy(): void;
69
-
70
- /** Triggers a UI Resync. */
71
- updated(settings?: SohoActionsheetOptions): void;
72
- }
73
-
74
- /** jQuery Integration */
75
- interface jQueryStatic {
76
- actionsheet: SohoActionsheetStatic;
77
- }
78
-
79
- interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
80
- actionsheet(options?: SohoActionsheetOptions): JQuery;
81
- }
@@ -1,65 +0,0 @@
1
- /**
2
- * Soho Alert.
3
- *
4
- * This file contains the Typescript mappings for the public
5
- * interface of the Soho jQuery alert control.
6
- */
7
-
8
- type SohoAlertType = 'error' | 'alert' | 'success' | 'info' | 'icon' | undefined;
9
-
10
- interface SohoAlertOptions {
11
- /** */
12
- message?: string;
13
-
14
- /** */
15
- inline?: boolean;
16
-
17
- /** */
18
- type?: SohoAlertType;
19
-
20
- /**
21
- * If true, does not display control border color, control text color, and control icon color.
22
- */
23
- isAlert?: boolean;
24
-
25
- /**
26
- * If true, events will be triggered
27
- */
28
- triggerEvents?: boolean;
29
-
30
- /** */
31
- icon?: string;
32
-
33
- id?: string;
34
- }
35
-
36
- /**
37
- * This interface represents the public API exposed by the
38
- * Alert.
39
- */
40
- interface SohoAlertStatic {
41
- /** Access to the control's options block. */
42
- settings: SohoAlertOptions;
43
-
44
- /** Tears down the control and recreates it. */
45
- updated(): void;
46
-
47
- /** Destructor. */
48
- destroy(): void;
49
- }
50
-
51
- interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
52
- addError(options?: SohoAlertOptions): JQuery;
53
-
54
- addMessage(options?: SohoAlertOptions): JQuery;
55
-
56
- getErrorMessage(options?: SohoAlertOptions): string;
57
-
58
- getMessage(options?: SohoAlertOptions): string;
59
-
60
- removeError(options?: SohoAlertOptions): JQuery;
61
-
62
- removeMessage(options?: SohoAlertOptions): JQuery;
63
-
64
- scrollIntoView(alignToTop?: boolean, options?: SohoAlertOptions): void;
65
- }
@@ -1,135 +0,0 @@
1
- /// <reference path='../accordion/soho-accordion.d.ts' />
2
- /// <reference path='../searchfield/soho-searchfield.d.ts' />
3
-
4
- /**
5
- * Soho Application Menu.
6
- *
7
- * This file contains the Typescript mappings for the public
8
- * interface of the Soho jQuery applicationmenu control.
9
- */
10
-
11
- /**
12
- * Application Menu Options
13
- */
14
- type SohoApplicationMenuBreakPoint =
15
- 'phone' |
16
- 'slim' |
17
- 'phablet' |
18
- 'phone-to-tablet' |
19
- 'wide-tablet' |
20
- 'tablet-to-desktop' |
21
- 'desktop-to-extralarge' | undefined;
22
-
23
- type SohoApplicationMenuExpandSwitcherFunction = (
24
- applicationMenu: any,
25
- element: HTMLElement,
26
- settings: any
27
- ) => void;
28
-
29
- type SohoApplicationMenuCollapseSwitcherFunction = (
30
- applicationMenu: any,
31
- element: HTMLElement,
32
- settings: any
33
- ) => void;
34
-
35
- interface SohoApplicationMenuOptions {
36
- /** Defines the point at which the application should be displayed - depends on device. */
37
- breakpoint: SohoApplicationMenuBreakPoint;
38
-
39
- /** Is this application menu filterable. */
40
- filterable?: boolean;
41
-
42
- /** Is this application menu resizable. */
43
- resizable?: boolean;
44
-
45
- /** Is this application menu resizable. */
46
- savePosition?: boolean;
47
-
48
- /** Open the menu when the screen width is larger that the breakpoint. */
49
- openOnLarge: boolean | undefined;
50
-
51
- /** Allows the menu to become closed after an actionable header has been selected */
52
- dismissOnClickMobile: boolean | undefined;
53
-
54
- /** The controls which can trigger the display state of the application menu. */
55
- triggers: any[];
56
-
57
- onExpandSwitcher?: SohoApplicationMenuExpandSwitcherFunction;
58
-
59
- onCollapseSwitcher?: SohoApplicationMenuCollapseSwitcherFunction;
60
- }
61
-
62
- /**
63
- * Application Menu Api
64
- */
65
- interface SohoApplicationMenuStatic {
66
- /** Control settings. */
67
- settings: SohoApplicationMenuOptions;
68
-
69
- /** Accordion element */
70
- accordionEl: HTMLElement;
71
-
72
- /** Searchfield element, if present */
73
- searchEl?: HTMLElement | null;
74
-
75
- /** Searchfield API, if present */
76
- searchAPI?: SohoSearchFieldStatic;
77
-
78
- /**
79
- * Opens the application menu.
80
- *
81
- * param noFocus - if set the current focus is not modified.
82
- */
83
- openMenu(noFocus?: boolean, userOpened?: boolean, openedByClass?: boolean): void;
84
-
85
- /**
86
- * Closes the application menu.
87
- */
88
- closeMenu(): void;
89
-
90
- /**
91
- * Add and remove application nav menu triggers.
92
- *
93
- * @param triggers - list of triggers
94
- * @param remove - if set the triggers will be removed.
95
- * @param norebuild - if set this control's events won't automatically be rebound to include
96
- * the new triggers.
97
- */
98
- modifyTriggers(triggers: any[], remove: boolean, norebusild: boolean): void;
99
-
100
- /**
101
- * Updates the control based on the new settings.
102
- */
103
- updated(): void;
104
-
105
- /**
106
- * Closes the panel area controlled by switcher
107
- */
108
- closeSwitcherPanel(): void;
109
-
110
- /**
111
- * Has this control got the defined class.
112
- *
113
- * @param clazz - the class to check for.
114
- */
115
- hasClass(clazz: string): boolean;
116
-
117
- /**
118
- * Checks if the application menu is open.
119
- *
120
- */
121
- isOpen(): boolean;
122
-
123
- /**
124
- * Cleans up any markup.
125
- */
126
- destroy(): void;
127
- }
128
-
129
- interface JQueryStatic {
130
- applicationmenu: SohoApplicationMenuStatic;
131
- }
132
-
133
- interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
134
- applicationmenu(options?: SohoApplicationMenuOptions): JQuery;
135
- }
@@ -1,24 +0,0 @@
1
- interface SohoArrangeOptions {
2
- handle?: string; // The CSS class name of the handle element to connect.
3
- itemsSelector?: string; // The CSS selector to match all the sortable elements.
4
- connectWith?: boolean; // Optional CSS Selector to connect with when using two lists.
5
- isVisualItems?: boolean; // Use only index of visual items to trigger.
6
- placeholder?: string; // The html for the element that appears while dragging.
7
- placeholderCssClass?: string; // The class to add to the ghost element that is being dragged.
8
- useItemDimensions?: boolean; // If true, use item's dimensions to placeholder.
9
- }
10
-
11
- interface SohoArrangeStatic {
12
- settings: SohoArrangeOptions;
13
- updated: Function;
14
- destroy: Function;
15
- }
16
-
17
- interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
18
- arrange(options?: SohoArrangeOptions): JQuery;
19
- }
20
-
21
- interface SohoArrangeEvent {
22
- event: JQuery.TriggeredEvent;
23
- status?: any;
24
- }