@smart-webcomponents-angular/window 13.0.1 → 13.1.70
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 +10 -2
- package/esm2020/window/smart.element.mjs +5 -5
- package/esm2020/window/smart.window.mjs +85 -27
- package/esm2020/window/smart.window.module.mjs +4 -4
- package/fesm2015/smart-webcomponents-angular-window.mjs +93 -35
- package/fesm2015/smart-webcomponents-angular-window.mjs.map +1 -1
- package/fesm2020/smart-webcomponents-angular-window.mjs +91 -33
- package/fesm2020/smart-webcomponents-angular-window.mjs.map +1 -1
- package/index.d.ts +1138 -629
- package/package.json +12 -11
- package/source/modules/smart.window.js +2 -2
- package/source/smart.button.js +2 -2
- package/source/smart.combobox.js +2 -2
- package/source/smart.dropdownlist.js +2 -2
- package/source/smart.element.js +2 -2
- package/source/smart.listbox.js +2 -2
- package/source/smart.multilinetextbox.js +1 -1
- package/source/smart.progressbar.js +1 -1
- package/source/smart.scrollbar.js +1 -1
- package/source/smart.textbox.js +2 -2
- package/source/smart.window.js +2 -2
- package/styles/smart.base.css +2 -2
- package/styles/smart.window.css +1 -1
- package/window/smart-webcomponents-angular-window.d.ts +1 -1
- package/window/smart.window.d.ts +57 -38
package/window/smart.window.d.ts
CHANGED
|
@@ -18,11 +18,11 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
18
18
|
get addNewTab(): boolean;
|
|
19
19
|
set addNewTab(value: boolean);
|
|
20
20
|
/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
|
|
21
|
-
get animation(): Animation;
|
|
22
|
-
set animation(value: Animation);
|
|
21
|
+
get animation(): Animation | string;
|
|
22
|
+
set animation(value: Animation | string);
|
|
23
23
|
/** @description Determines whether and how the value should be automatically capitalized as it is entered/edited by the user. Applicable only to MultilinePromptWindow. */
|
|
24
|
-
get autoCapitalize(): WindowAutoCapitalize;
|
|
25
|
-
set autoCapitalize(value: WindowAutoCapitalize);
|
|
24
|
+
get autoCapitalize(): WindowAutoCapitalize | string;
|
|
25
|
+
set autoCapitalize(value: WindowAutoCapitalize | string);
|
|
26
26
|
/** @description Determines whether element will auto expand when the input overflows vertically. Applicable only to MultilinePromptWindow. */
|
|
27
27
|
get autoExpand(): boolean;
|
|
28
28
|
set autoExpand(value: boolean);
|
|
@@ -56,18 +56,24 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
56
56
|
/** @description Enables or disables the window snapping feature. */
|
|
57
57
|
get disableSnap(): boolean;
|
|
58
58
|
set disableSnap(value: boolean);
|
|
59
|
+
/** @description By default the window is closing after the 'Escape' key is pressed. Set this property to true, if you want to disable that. */
|
|
60
|
+
get disableEscape(): boolean;
|
|
61
|
+
set disableEscape(value: boolean);
|
|
62
|
+
/** @description By default the window is handling keyboard keys like 'Arrows', 'Escape', etc. Set this property to true, if you want to disable that. */
|
|
63
|
+
get disableKeyboard(): boolean;
|
|
64
|
+
set disableKeyboard(value: boolean);
|
|
59
65
|
/** @description Determines how the characters are displayed inside the input. Applicable to Prompt Window. */
|
|
60
|
-
get displayMode(): WindowDisplayMode;
|
|
61
|
-
set displayMode(value: WindowDisplayMode);
|
|
66
|
+
get displayMode(): WindowDisplayMode | string;
|
|
67
|
+
set displayMode(value: WindowDisplayMode | string);
|
|
62
68
|
/** @description Applicable to TabsWindow when docked inside a DockingLayout Custom Element. Determines where the window(it's tab items as well) can be dropped inside the DockingLayout. The property is an array that accepts multiple positions. Note: Positions with prefix 'layout-' are applied to the Tab item children of the TabsWidnow owner that is being dragged. The rest of the positions indicate the allowed drop position inside the hovered target(TabsWindow). Used only by jqxDockingLayout custom elements. Determines the possible drop position inside the DockingLayout. The following values are allowed. */
|
|
63
|
-
get dropPosition(): WindowDropPosition;
|
|
64
|
-
set dropPosition(value: WindowDropPosition);
|
|
69
|
+
get dropPosition(): WindowDropPosition | string;
|
|
70
|
+
set dropPosition(value: WindowDropPosition | string);
|
|
65
71
|
/** @description A callback function defining the new format for the label of the Progress Bar. Applicable only to ProgressWindow. */
|
|
66
72
|
get formatFunction(): any;
|
|
67
73
|
set formatFunction(value: any);
|
|
68
74
|
/** @description Determines the position of the footer of the window element. */
|
|
69
|
-
get footerPosition(): WindowFooterPosition;
|
|
70
|
-
set footerPosition(value: WindowFooterPosition);
|
|
75
|
+
get footerPosition(): WindowFooterPosition | string;
|
|
76
|
+
set footerPosition(value: WindowFooterPosition | string);
|
|
71
77
|
/** @description Determines the template for the Dialog section of the window. By default footerTemplate is null. */
|
|
72
78
|
get footerTemplate(): any;
|
|
73
79
|
set footerTemplate(value: any);
|
|
@@ -78,8 +84,8 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
78
84
|
get headerTemplate(): any;
|
|
79
85
|
set headerTemplate(value: any);
|
|
80
86
|
/** @description Determines the position of the header of the window element. */
|
|
81
|
-
get headerPosition(): TabPosition;
|
|
82
|
-
set headerPosition(value: TabPosition);
|
|
87
|
+
get headerPosition(): TabPosition | string;
|
|
88
|
+
set headerPosition(value: TabPosition | string);
|
|
83
89
|
/** @description Sets additional helper text below the text box. The hint is visible only when the text box is focued. Applicable to Prompt Window. */
|
|
84
90
|
get hint(): any;
|
|
85
91
|
set hint(value: any);
|
|
@@ -150,8 +156,8 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
150
156
|
get resizeIndicator(): boolean;
|
|
151
157
|
set resizeIndicator(value: boolean);
|
|
152
158
|
/** @description Determines the resizing mode of the window. Several modes are available: none - resizing is disabled. vertical - vertical resizing is allowed. horizontal - horizontal resizing is allowed. both - horizontal and vertical resizing is allowed. top - the window can only be resized from the top side. bottom - the window is resizable only from the bottom side. left - the window can be resized only from the left side. right - the window can be resized only from the right side. */
|
|
153
|
-
get resizeMode(): WindowResizeMode;
|
|
154
|
-
set resizeMode(value: WindowResizeMode);
|
|
159
|
+
get resizeMode(): WindowResizeMode | string;
|
|
160
|
+
set resizeMode(value: WindowResizeMode | string);
|
|
155
161
|
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
|
|
156
162
|
get rightToLeft(): boolean;
|
|
157
163
|
set rightToLeft(value: boolean);
|
|
@@ -168,8 +174,8 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
168
174
|
get selectedIndex(): number | null;
|
|
169
175
|
set selectedIndex(value: number | null);
|
|
170
176
|
/** @description Determines the way the user can switch between tabs. Applicable only to TabsWindow. */
|
|
171
|
-
get selectionMode(): TabSelectionMode;
|
|
172
|
-
set selectionMode(value: TabSelectionMode);
|
|
177
|
+
get selectionMode(): TabSelectionMode | string;
|
|
178
|
+
set selectionMode(value: TabSelectionMode | string);
|
|
173
179
|
/** @description Indicates the index of the last character in the current selection. Applicable only to MultilinePromptWindow. */
|
|
174
180
|
get selectionEnd(): number;
|
|
175
181
|
set selectionEnd(value: number);
|
|
@@ -192,20 +198,20 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
192
198
|
get tabCloseButtons(): boolean;
|
|
193
199
|
set tabCloseButtons(value: boolean);
|
|
194
200
|
/** @description Determines if the close button is visible on select or always. Applicable only to TabsWindow. */
|
|
195
|
-
get tabCloseButtonMode(): WindowTabCloseButtonMode;
|
|
196
|
-
set tabCloseButtonMode(value: WindowTabCloseButtonMode);
|
|
201
|
+
get tabCloseButtonMode(): WindowTabCloseButtonMode | string;
|
|
202
|
+
set tabCloseButtonMode(value: WindowTabCloseButtonMode | string);
|
|
197
203
|
/** @description Sets or gets the Tabs scroll buttons behavior. Applicable only when tabLayout is 'scroll'. Applicable only to TabsWindow. */
|
|
198
|
-
get tabOverflow(): Overflow;
|
|
199
|
-
set tabOverflow(value: Overflow);
|
|
204
|
+
get tabOverflow(): Overflow | string;
|
|
205
|
+
set tabOverflow(value: Overflow | string);
|
|
200
206
|
/** @description Detetmines Tab Strip is positioned of the TabsWindow. Applicable only to TabsWindow. */
|
|
201
|
-
get tabPosition(): TabPosition;
|
|
202
|
-
set tabPosition(value: TabPosition);
|
|
207
|
+
get tabPosition(): TabPosition | string;
|
|
208
|
+
set tabPosition(value: TabPosition | string);
|
|
203
209
|
/** @description Sets or gets the position of the scroll buttons inside the Tab header of the TabsWindow. Applicable only to TabsWindow. */
|
|
204
|
-
get tabScrollButtonsPosition(): LayoutPosition;
|
|
205
|
-
set tabScrollButtonsPosition(value: LayoutPosition);
|
|
210
|
+
get tabScrollButtonsPosition(): LayoutPosition | string;
|
|
211
|
+
set tabScrollButtonsPosition(value: LayoutPosition | string);
|
|
206
212
|
/** @description Sets or gets the orientation of the text in the tabs labels of the TabsWindow. Applicable only to TabsWindow. */
|
|
207
|
-
get tabTextOrientation(): Orientation;
|
|
208
|
-
set tabTextOrientation(value: Orientation);
|
|
213
|
+
get tabTextOrientation(): Orientation | string;
|
|
214
|
+
set tabTextOrientation(value: Orientation | string);
|
|
209
215
|
/** @description Determines the theme. Theme defines the look of the element */
|
|
210
216
|
get theme(): string;
|
|
211
217
|
set theme(value: string);
|
|
@@ -219,8 +225,8 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
219
225
|
get windowParent(): any;
|
|
220
226
|
set windowParent(value: any);
|
|
221
227
|
/** @description Indicates how the input wraps text. Applicable only to MultilinePromptWindow. */
|
|
222
|
-
get wrap(): WindowWrap;
|
|
223
|
-
set wrap(value: WindowWrap);
|
|
228
|
+
get wrap(): WindowWrap | string;
|
|
229
|
+
set wrap(value: WindowWrap | string);
|
|
224
230
|
/** @description This event is triggered just before the window starts opening.
|
|
225
231
|
* @param event. The custom event. */
|
|
226
232
|
onOpening: EventEmitter<CustomEvent>;
|
|
@@ -297,15 +303,11 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
297
303
|
* @returns {Node}
|
|
298
304
|
*/
|
|
299
305
|
insertBefore(newNode: any, referenceNode?: any): Promise<any>;
|
|
300
|
-
/** @description
|
|
301
|
-
* @param {number}
|
|
306
|
+
/** @description Moves the window to a new position
|
|
307
|
+
* @param {string | number} left. Left position. For example: '100px'.
|
|
308
|
+
* @param {string | number} top. Top position. For example: '100px'.
|
|
302
309
|
*/
|
|
303
|
-
|
|
304
|
-
/** @description Removes a child "smart-tab-item" node. Applicable only to TabsWindow.
|
|
305
|
-
* @param {Node} node. The "smart-tab-item" node to remove.
|
|
306
|
-
* @returns {Node}
|
|
307
|
-
*/
|
|
308
|
-
removeChild(node: any): Promise<any>;
|
|
310
|
+
move(left: string | number, top: string | number): void;
|
|
309
311
|
/** @description Maximizes the window to fill the area.
|
|
310
312
|
*/
|
|
311
313
|
maximize(): void;
|
|
@@ -318,6 +320,15 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
318
320
|
/** @description Pins the window. Disables window dragging.
|
|
319
321
|
*/
|
|
320
322
|
pin(): void;
|
|
323
|
+
/** @description Removes a tab and its associated content section. Applicable only to TabsWindow.
|
|
324
|
+
* @param {number} index. The index of the tab to remove.
|
|
325
|
+
*/
|
|
326
|
+
removeAt(index: number): void;
|
|
327
|
+
/** @description Removes a child "smart-tab-item" node. Applicable only to TabsWindow.
|
|
328
|
+
* @param {Node} node. The "smart-tab-item" node to remove.
|
|
329
|
+
* @returns {Node}
|
|
330
|
+
*/
|
|
331
|
+
removeChild(node: any): Promise<any>;
|
|
321
332
|
/** @description Restores the window to it's previous size before maximization/minimization.
|
|
322
333
|
*/
|
|
323
334
|
restore(): void;
|
|
@@ -328,7 +339,15 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
328
339
|
/** @description Unpins the window. Enables window dragging.
|
|
329
340
|
*/
|
|
330
341
|
unpin(): void;
|
|
331
|
-
/** @description Updates
|
|
342
|
+
/** @description Updates the header label.
|
|
343
|
+
* @param {string} label. The new label of the Header.
|
|
344
|
+
*/
|
|
345
|
+
updateLabel(label: string): void;
|
|
346
|
+
/** @description Updates the content.
|
|
347
|
+
* @param {string | HTMLElement} content. The new content of the window.
|
|
348
|
+
*/
|
|
349
|
+
updateContent(content: string | HTMLElement): void;
|
|
350
|
+
/** @description Updates a TAB in TAB Window and its associated content section. Applies only to TabsWindow elements.
|
|
332
351
|
* @param {number} index. The index of the tab to update.
|
|
333
352
|
* @param {string} label. The new label of the tab. The value can be the id of an HTMLTemplateElement
|
|
334
353
|
* @param {string | HTMLElement} content. The new content of the tab.
|
|
@@ -344,5 +363,5 @@ export declare class WindowComponent extends BaseElement implements OnInit, Afte
|
|
|
344
363
|
/** @description Remove event listeners. */
|
|
345
364
|
private unlisten;
|
|
346
365
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowComponent, never>;
|
|
347
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowComponent, "smart-window, [smart-window], smart-tabs-window, smart-prompt-window, smart-multilineprompt-window, smart-dialog-window, smart-alert-window, smart-progress-window, smart-wait-window",
|
|
366
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowComponent, "smart-window, [smart-window], smart-tabs-window, smart-prompt-window, smart-multilineprompt-window, smart-dialog-window, smart-alert-window, smart-progress-window, smart-wait-window", ["smart-window"], { "addNewTab": "addNewTab"; "animation": "animation"; "autoCapitalize": "autoCapitalize"; "autoExpand": "autoExpand"; "cancelLabel": "cancelLabel"; "completeLabel": "completeLabel"; "confirmLabel": "confirmLabel"; "collapsed": "collapsed"; "closeOnMaskClick": "closeOnMaskClick"; "dataSource": "dataSource"; "disabled": "disabled"; "disableSnap": "disableSnap"; "disableEscape": "disableEscape"; "disableKeyboard": "disableKeyboard"; "displayMode": "displayMode"; "dropPosition": "dropPosition"; "formatFunction": "formatFunction"; "footerPosition": "footerPosition"; "footerTemplate": "footerTemplate"; "headerButtons": "headerButtons"; "headerTemplate": "headerTemplate"; "headerPosition": "headerPosition"; "hint": "hint"; "indeterminate": "indeterminate"; "inverted": "inverted"; "label": "label"; "liveResize": "liveResize"; "layout": "layout"; "locale": "locale"; "locked": "locked"; "localizeFormatFunction": "localizeFormatFunction"; "maximized": "maximized"; "messages": "messages"; "modal": "modal"; "max": "max"; "min": "min"; "minimized": "minimized"; "maxLength": "maxLength"; "minLength": "minLength"; "opened": "opened"; "pinned": "pinned"; "placeholder": "placeholder"; "promptLabel": "promptLabel"; "readonly": "readonly"; "resizeIndicator": "resizeIndicator"; "resizeMode": "resizeMode"; "rightToLeft": "rightToLeft"; "required": "required"; "requiredMessage": "requiredMessage"; "selectAllOnFocus": "selectAllOnFocus"; "selectedIndex": "selectedIndex"; "selectionMode": "selectionMode"; "selectionEnd": "selectionEnd"; "selectionStart": "selectionStart"; "showProgressValue": "showProgressValue"; "siblings": "siblings"; "size": "size"; "spellCheck": "spellCheck"; "tabCloseButtons": "tabCloseButtons"; "tabCloseButtonMode": "tabCloseButtonMode"; "tabOverflow": "tabOverflow"; "tabPosition": "tabPosition"; "tabScrollButtonsPosition": "tabScrollButtonsPosition"; "tabTextOrientation": "tabTextOrientation"; "theme": "theme"; "unfocusable": "unfocusable"; "value": "value"; "windowParent": "windowParent"; "wrap": "wrap"; }, { "onOpening": "onOpening"; "onOpen": "onOpen"; "onClosing": "onClosing"; "onClose": "onClose"; "onCollapse": "onCollapse"; "onDragEnd": "onDragEnd"; "onDragStart": "onDragStart"; "onExpand": "onExpand"; "onMaximize": "onMaximize"; "onMinimize": "onMinimize"; "onResizeEnd": "onResizeEnd"; "onResizeStart": "onResizeStart"; "onRestore": "onRestore"; }, never>;
|
|
348
367
|
}
|