@smart-webcomponents-angular/scrollbar 19.0.8 → 25.5.5
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/esm2020/scrollbar/smart.element.mjs +16 -3
- package/esm2020/scrollbar/smart.scrollbar.mjs +34 -23
- package/fesm2015/smart-webcomponents-angular-scrollbar.mjs +47 -24
- package/fesm2015/smart-webcomponents-angular-scrollbar.mjs.map +1 -1
- package/fesm2020/smart-webcomponents-angular-scrollbar.mjs +47 -24
- package/fesm2020/smart-webcomponents-angular-scrollbar.mjs.map +1 -1
- package/index.d.ts +6083 -5194
- package/package.json +20 -17
- package/scrollbar/smart.element.d.ts +6 -2
- package/scrollbar/smart.scrollbar.d.ts +23 -20
- package/source/modules/smart.scrollbar.js +2 -2
- package/source/smart.button.js +3 -3
- package/source/smart.element.js +3 -3
- package/source/smart.scrollbar.js +2 -2
- package/styles/font/smart-icons.eot +0 -0
- package/styles/font/smart-icons.svg +14 -0
- package/styles/font/smart-icons.ttf +0 -0
- package/styles/font/smart-icons.woff +0 -0
- package/styles/font/smart-icons.woff2 +0 -0
- package/styles/smart.base.css +2 -2
- package/styles/smart.common.css +1 -1
- package/styles/smart.scrollbar.css +1 -1
|
@@ -43,6 +43,13 @@ class BaseElement {
|
|
|
43
43
|
focus(options) {
|
|
44
44
|
this.nativeElement.focus(options);
|
|
45
45
|
}
|
|
46
|
+
/** @description Sets or gets the license. */
|
|
47
|
+
get license() {
|
|
48
|
+
return this.nativeElement ? this.nativeElement.license : undefined;
|
|
49
|
+
}
|
|
50
|
+
set license(value) {
|
|
51
|
+
this.nativeElement ? this.nativeElement.license = value : undefined;
|
|
52
|
+
}
|
|
46
53
|
/** @description Sets or gets the language. Used in conjunction with the property messages. */
|
|
47
54
|
get locale() {
|
|
48
55
|
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
@@ -80,7 +87,7 @@ class BaseElement {
|
|
|
80
87
|
}
|
|
81
88
|
}
|
|
82
89
|
BaseElement.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BaseElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
83
|
-
BaseElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BaseElement, inputs: { locale: "locale", localizeFormatFunction: "localizeFormatFunction", messages: "messages", rightToLeft: "rightToLeft", theme: "theme" }, outputs: { onCreate: "onCreate", onReady: "onReady", onAttach: "onAttach", onDetach: "onDetach" }, ngImport: i0 });
|
|
90
|
+
BaseElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BaseElement, inputs: { license: "license", locale: "locale", localizeFormatFunction: "localizeFormatFunction", messages: "messages", rightToLeft: "rightToLeft", theme: "theme" }, outputs: { onCreate: "onCreate", onReady: "onReady", onAttach: "onAttach", onDetach: "onDetach" }, ngImport: i0 });
|
|
84
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BaseElement, decorators: [{
|
|
85
92
|
type: Directive
|
|
86
93
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onCreate: [{
|
|
@@ -91,6 +98,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
91
98
|
type: Output
|
|
92
99
|
}], onDetach: [{
|
|
93
100
|
type: Output
|
|
101
|
+
}], license: [{
|
|
102
|
+
type: Input
|
|
94
103
|
}], locale: [{
|
|
95
104
|
type: Input
|
|
96
105
|
}], localizeFormatFunction: [{
|
|
@@ -102,13 +111,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
102
111
|
}], theme: [{
|
|
103
112
|
type: Input
|
|
104
113
|
}] } });
|
|
105
|
-
|
|
114
|
+
let Smart;
|
|
115
|
+
if (typeof window !== "undefined") {
|
|
116
|
+
Smart = window.Smart;
|
|
117
|
+
}
|
|
106
118
|
|
|
107
119
|
class ScrollBarComponent extends BaseElement {
|
|
108
120
|
constructor(ref) {
|
|
109
121
|
super(ref);
|
|
110
122
|
this.eventHandlers = [];
|
|
111
|
-
/** @description This event is triggered
|
|
123
|
+
/** @description This event is triggered whenever the value of the associated element is modified by the user or programmatically. It occurs immediately after the value has changed, allowing you to perform custom actions in response to the update.
|
|
112
124
|
* @param event. The custom event. Custom event was created with: event.detail( value, oldValue, min, max)
|
|
113
125
|
* value - A numeric value indicating the scroll position.
|
|
114
126
|
* oldValue - A numeric value indicating the previous scroll position.
|
|
@@ -128,126 +140,133 @@ class ScrollBarComponent extends BaseElement {
|
|
|
128
140
|
}
|
|
129
141
|
return this.nativeElement;
|
|
130
142
|
}
|
|
131
|
-
/** @description
|
|
143
|
+
/** @description Specifies the current animation mode for the component. You can retrieve the current mode or assign a new one. Setting this property to 'none' disables all animations; other values will enable and determine the type of animation applied. */
|
|
132
144
|
get animation() {
|
|
133
145
|
return this.nativeElement ? this.nativeElement.animation : undefined;
|
|
134
146
|
}
|
|
135
147
|
set animation(value) {
|
|
136
148
|
this.nativeElement ? this.nativeElement.animation = value : undefined;
|
|
137
149
|
}
|
|
138
|
-
/** @description
|
|
150
|
+
/** @description Determines whether the element is interactive or inactive. When enabled, users can interact with the element as intended. When disabled, the element becomes unresponsive to user input and typically appears visually distinct to indicate its inactive state. */
|
|
139
151
|
get disabled() {
|
|
140
152
|
return this.nativeElement ? this.nativeElement.disabled : undefined;
|
|
141
153
|
}
|
|
142
154
|
set disabled(value) {
|
|
143
155
|
this.nativeElement ? this.nativeElement.disabled = value : undefined;
|
|
144
156
|
}
|
|
145
|
-
/** @description
|
|
157
|
+
/** @description Defines or retrieves the value of the scrollbar's large step increment. This large step value determines how much the scrollbar's position changes when the user clicks in the track area between the scrollbar's thumb (slider) and one of its arrow buttons. When the left mouse button is pressed in this area, the scrollbar advances or retreats by the specified large step amount, enabling quicker navigation through the content compared to single-step arrow button clicks. */
|
|
146
158
|
get largeStep() {
|
|
147
159
|
return this.nativeElement ? this.nativeElement.largeStep : undefined;
|
|
148
160
|
}
|
|
149
161
|
set largeStep(value) {
|
|
150
162
|
this.nativeElement ? this.nativeElement.largeStep = value : undefined;
|
|
151
163
|
}
|
|
152
|
-
/** @description
|
|
164
|
+
/** @description Gets or sets the 'unlockKey' property, which is a unique key used to activate or unlock access to the product’s features or functionality. */
|
|
165
|
+
get unlockKey() {
|
|
166
|
+
return this.nativeElement ? this.nativeElement.unlockKey : undefined;
|
|
167
|
+
}
|
|
168
|
+
set unlockKey(value) {
|
|
169
|
+
this.nativeElement ? this.nativeElement.unlockKey = value : undefined;
|
|
170
|
+
}
|
|
171
|
+
/** @description Specifies or retrieves the current language setting. This property determines which language is used for displaying messages, working in conjunction with the messages property to select the appropriate set of localized text based on the specified language code (e.g., "en", "fr", "es"). */
|
|
153
172
|
get locale() {
|
|
154
173
|
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
155
174
|
}
|
|
156
175
|
set locale(value) {
|
|
157
176
|
this.nativeElement ? this.nativeElement.locale = value : undefined;
|
|
158
177
|
}
|
|
159
|
-
/** @description
|
|
178
|
+
/** @description Invokes a callback function associated with the localization module, typically used to handle events or actions such as language changes, text translations, or updates to localized content within the application. */
|
|
160
179
|
get localizeFormatFunction() {
|
|
161
180
|
return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
|
|
162
181
|
}
|
|
163
182
|
set localizeFormatFunction(value) {
|
|
164
183
|
this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
|
|
165
184
|
}
|
|
166
|
-
/** @description
|
|
185
|
+
/** @description Specifies or retrieves the maximum scrollable value of the scrollbar, determining the highest position to which the scrollbar thumb can be moved. This value defines the upper limit of the scrollable content range. */
|
|
167
186
|
get max() {
|
|
168
187
|
return this.nativeElement ? this.nativeElement.max : undefined;
|
|
169
188
|
}
|
|
170
189
|
set max(value) {
|
|
171
190
|
this.nativeElement ? this.nativeElement.max = value : undefined;
|
|
172
191
|
}
|
|
173
|
-
/** @description
|
|
192
|
+
/** @description Specifies or retrieves the type of mechanical action applied to the element. Mechanical action determines the exact moment when the element's value is updated—such as immediately upon interaction, after a confirmation (like releasing a button), or according to specific user actions. This property allows you to control how and when changes to the element’s value are registered and processed within the application. */
|
|
174
193
|
get mechanicalAction() {
|
|
175
194
|
return this.nativeElement ? this.nativeElement.mechanicalAction : undefined;
|
|
176
195
|
}
|
|
177
196
|
set mechanicalAction(value) {
|
|
178
197
|
this.nativeElement ? this.nativeElement.mechanicalAction = value : undefined;
|
|
179
198
|
}
|
|
180
|
-
/** @description
|
|
199
|
+
/** @description Defines an object containing string values that represent the various states of password strength (e.g., weak, medium, strong). Each key in the object corresponds to a specific strength level, allowing for customized messages or labels based on the user's password strength status. */
|
|
181
200
|
get messages() {
|
|
182
201
|
return this.nativeElement ? this.nativeElement.messages : undefined;
|
|
183
202
|
}
|
|
184
203
|
set messages(value) {
|
|
185
204
|
this.nativeElement ? this.nativeElement.messages = value : undefined;
|
|
186
205
|
}
|
|
187
|
-
/** @description
|
|
206
|
+
/** @description Defines or retrieves the lowest possible value that the scrollbar can represent, determining the starting point of the scrollbar's range. */
|
|
188
207
|
get min() {
|
|
189
208
|
return this.nativeElement ? this.nativeElement.min : undefined;
|
|
190
209
|
}
|
|
191
210
|
set min(value) {
|
|
192
211
|
this.nativeElement ? this.nativeElement.min = value : undefined;
|
|
193
212
|
}
|
|
194
|
-
/** @description
|
|
213
|
+
/** @description Specifies or retrieves the orientation of the scrollbar, determining whether it is displayed horizontally or vertically. */
|
|
195
214
|
get orientation() {
|
|
196
215
|
return this.nativeElement ? this.nativeElement.orientation : undefined;
|
|
197
216
|
}
|
|
198
217
|
set orientation(value) {
|
|
199
218
|
this.nativeElement ? this.nativeElement.orientation = value : undefined;
|
|
200
219
|
}
|
|
201
|
-
/** @description If the element
|
|
220
|
+
/** @description If the element has the readonly attribute, users will be able to see its value but will not be able to modify, edit, or otherwise interact with its contents through input actions. However, the element may still be focusable and its value can be changed programmatically using scripts. */
|
|
202
221
|
get readonly() {
|
|
203
222
|
return this.nativeElement ? this.nativeElement.readonly : undefined;
|
|
204
223
|
}
|
|
205
224
|
set readonly(value) {
|
|
206
225
|
this.nativeElement ? this.nativeElement.readonly = value : undefined;
|
|
207
226
|
}
|
|
208
|
-
/** @description Sets or
|
|
227
|
+
/** @description Sets or retrieves a value that specifies whether the element's content alignment is optimized for languages that use right-to-left (RTL) scripts, such as Arabic or Hebrew. When enabled, the element's layout, text direction, and associated styles are adjusted to properly support RTL locales. */
|
|
209
228
|
get rightToLeft() {
|
|
210
229
|
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
|
|
211
230
|
}
|
|
212
231
|
set rightToLeft(value) {
|
|
213
232
|
this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
|
|
214
233
|
}
|
|
215
|
-
/** @description
|
|
234
|
+
/** @description Controls the visibility of scrollbar buttons. When set, this property determines whether the scrollbar's increment and decrement buttons (commonly arrow buttons at the ends of the scrollbar) are shown or hidden. It can be used to either display or hide these buttons programmatically, and can also be queried to retrieve the current visibility state. */
|
|
216
235
|
get showButtons() {
|
|
217
236
|
return this.nativeElement ? this.nativeElement.showButtons : undefined;
|
|
218
237
|
}
|
|
219
238
|
set showButtons(value) {
|
|
220
239
|
this.nativeElement ? this.nativeElement.showButtons = value : undefined;
|
|
221
240
|
}
|
|
222
|
-
/** @description
|
|
241
|
+
/** @description Defines or retrieves the increment by which the scrollbar's value changes when a user clicks on the scrollbar's arrow (stepper) buttons. This value determines how much the scroll position increases or decreases with each button press, allowing for precise control over scrolling granularity. */
|
|
223
242
|
get step() {
|
|
224
243
|
return this.nativeElement ? this.nativeElement.step : undefined;
|
|
225
244
|
}
|
|
226
245
|
set step(value) {
|
|
227
246
|
this.nativeElement ? this.nativeElement.step = value : undefined;
|
|
228
247
|
}
|
|
229
|
-
/** @description
|
|
248
|
+
/** @description Specifies the theme to be applied to the element. The selected theme controls the visual appearance, including colors, typography, and overall styling, ensuring a consistent and cohesive look for the element within the user interface. */
|
|
230
249
|
get theme() {
|
|
231
250
|
return this.nativeElement ? this.nativeElement.theme : undefined;
|
|
232
251
|
}
|
|
233
252
|
set theme(value) {
|
|
234
253
|
this.nativeElement ? this.nativeElement.theme = value : undefined;
|
|
235
254
|
}
|
|
236
|
-
/** @description
|
|
255
|
+
/** @description When set to true, this property prevents the element from receiving keyboard focus, making it unreachable via tab navigation or programmatically using focus methods. */
|
|
237
256
|
get unfocusable() {
|
|
238
257
|
return this.nativeElement ? this.nativeElement.unfocusable : undefined;
|
|
239
258
|
}
|
|
240
259
|
set unfocusable(value) {
|
|
241
260
|
this.nativeElement ? this.nativeElement.unfocusable = value : undefined;
|
|
242
261
|
}
|
|
243
|
-
/** @description Sets or
|
|
262
|
+
/** @description Sets a new value for the widget or retrieves its current value, depending on how the method is invoked. This allows you to programmatically update the widget's data or access its existing data as needed. */
|
|
244
263
|
get value() {
|
|
245
264
|
return this.nativeElement ? this.nativeElement.value : undefined;
|
|
246
265
|
}
|
|
247
266
|
set value(value) {
|
|
248
267
|
this.nativeElement ? this.nativeElement.value = value : undefined;
|
|
249
268
|
}
|
|
250
|
-
/** @description
|
|
269
|
+
/** @description Re-renders the element by updating its visual presentation on the screen, ensuring that any recent changes to its properties, styles, or content are accurately reflected in the user interface.
|
|
251
270
|
*/
|
|
252
271
|
refresh() {
|
|
253
272
|
if (this.nativeElement.isRendered) {
|
|
@@ -267,9 +286,11 @@ class ScrollBarComponent extends BaseElement {
|
|
|
267
286
|
ngAfterViewInit() {
|
|
268
287
|
const that = this;
|
|
269
288
|
that.onCreate.emit(that.nativeElement);
|
|
270
|
-
Smart
|
|
289
|
+
if (Smart)
|
|
290
|
+
Smart.Render();
|
|
271
291
|
this.nativeElement.classList.add('smart-angular');
|
|
272
|
-
this.nativeElement.whenRendered
|
|
292
|
+
if (this.nativeElement.whenRendered)
|
|
293
|
+
this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });
|
|
273
294
|
this.listen();
|
|
274
295
|
}
|
|
275
296
|
ngOnDestroy() {
|
|
@@ -299,7 +320,7 @@ class ScrollBarComponent extends BaseElement {
|
|
|
299
320
|
}
|
|
300
321
|
}
|
|
301
322
|
ScrollBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ScrollBarComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
302
|
-
ScrollBarComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: ScrollBarComponent, selector: "smart-scroll-bar, [smart-scroll-bar]", inputs: { animation: "animation", disabled: "disabled", largeStep: "largeStep", locale: "locale", localizeFormatFunction: "localizeFormatFunction", max: "max", mechanicalAction: "mechanicalAction", messages: "messages", min: "min", orientation: "orientation", readonly: "readonly", rightToLeft: "rightToLeft", showButtons: "showButtons", step: "step", theme: "theme", unfocusable: "unfocusable", value: "value" }, outputs: { onChange: "onChange" }, exportAs: ["smart-scroll-bar"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
323
|
+
ScrollBarComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: ScrollBarComponent, selector: "smart-scroll-bar, [smart-scroll-bar]", inputs: { animation: "animation", disabled: "disabled", largeStep: "largeStep", unlockKey: "unlockKey", locale: "locale", localizeFormatFunction: "localizeFormatFunction", max: "max", mechanicalAction: "mechanicalAction", messages: "messages", min: "min", orientation: "orientation", readonly: "readonly", rightToLeft: "rightToLeft", showButtons: "showButtons", step: "step", theme: "theme", unfocusable: "unfocusable", value: "value" }, outputs: { onChange: "onChange" }, exportAs: ["smart-scroll-bar"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
303
324
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ScrollBarComponent, decorators: [{
|
|
304
325
|
type: Directive,
|
|
305
326
|
args: [{
|
|
@@ -311,6 +332,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
311
332
|
type: Input
|
|
312
333
|
}], largeStep: [{
|
|
313
334
|
type: Input
|
|
335
|
+
}], unlockKey: [{
|
|
336
|
+
type: Input
|
|
314
337
|
}], locale: [{
|
|
315
338
|
type: Input
|
|
316
339
|
}], localizeFormatFunction: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-webcomponents-angular-scrollbar.mjs","sources":["../../scrollbar/src/smart.element.ts","../../scrollbar/src/smart.scrollbar.ts","../../scrollbar/src/smart.scrollbar.module.ts","../../scrollbar/src/smart-webcomponents-angular-scrollbar.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n Smart: any;\n}\n}\n\n\nimport { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core';\nimport { ElementRenderMode } from './../index';\n\n@Directive()\nexport class BaseElement {\n constructor(ref: ElementRef) {\n const that = this;\n this.nativeElement = ref.nativeElement as any;\n\n that.nativeElement.onAttached = () => {\n that.onAttach.emit(that.nativeElement);\n }\n\n that.nativeElement.onDetached = () => {\n that.onDetach.emit(that.nativeElement);\n }\n }\n\n @Output() onCreate: EventEmitter<any> = new EventEmitter();\n @Output() onReady: EventEmitter<any> = new EventEmitter();\n @Output() onAttach: EventEmitter<any> = new EventEmitter();\n @Output() onDetach: EventEmitter<any> = new EventEmitter();\n\n public nativeElement: any;\n\n public addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n this.nativeElement.addEventListener(type, listener, options);\n\t}\n\n\tpublic removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n\t\tthis.nativeElement.removeEventListener(type, listener, options);\n\t}\n\n\tpublic dispatchEvent(event: Event): boolean {\n\t\treturn this.nativeElement.dispatchEvent(event);\n\t}\n\n\tpublic blur(): void {\n\t\tthis.nativeElement.blur();\n\t}\n\n\tpublic click(): void {\n\t\tthis.nativeElement.click();\n\t}\n\n\tpublic focus(options?: FocusOptions): void {\n\t\tthis.nativeElement.focus(options);\n\t}\n\n/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n}\n\nexport const Smart: any = window.Smart;\n\n","import { ScrollBar } from './../index';\nimport { Animation, DragMechanicalAction, Orientation, ElementRenderMode} from './../index';\nimport { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter } from '@angular/core';\nimport { BaseElement, Smart } from './smart.element';\nexport { Animation, DragMechanicalAction, Orientation, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { ScrollBar } from './../index';\n\n\n@Directive({\n\texportAs: 'smart-scroll-bar',\tselector: 'smart-scroll-bar, [smart-scroll-bar]'\n})\n\nexport class ScrollBarComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {\n\tconstructor(ref: ElementRef<ScrollBar>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as ScrollBar;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic declare nativeElement: ScrollBar;\n\t/** @description Creates the component on demand.\n\t * @param properties An optional object of properties, which will be added to the template binded ones.\n\t */\n\tpublic createComponent(properties = {}): any {\n \tthis.nativeElement = <ScrollBar>document.createElement('smart-scroll-bar');\n\t\tfor (let propertyName in properties) { \n \t\t\tthis.nativeElement[propertyName] = properties[propertyName];\n\t\t}\n\t\treturn this.nativeElement;\n\t}\n\t/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */\n\t@Input()\n\tget animation(): Animation | string {\n\t\treturn this.nativeElement ? this.nativeElement.animation : undefined;\n\t}\n\tset animation(value: Animation | string) {\n\t\tthis.nativeElement ? this.nativeElement.animation = value : undefined;\n\t}\n\n\t/** @description Enables or disables the element. */\n\t@Input()\n\tget disabled(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.disabled : undefined;\n\t}\n\tset disabled(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.disabled = value : undefined;\n\t}\n\n\t/** @description Sets or gets the scrollbar's largestep. The value is increased/decreased with this largestep when the user presses the left mouse button in the area between a scrollbar button and thumb. */\n\t@Input()\n\tget largeStep(): number {\n\t\treturn this.nativeElement ? this.nativeElement.largeStep : undefined;\n\t}\n\tset largeStep(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.largeStep = value : undefined;\n\t}\n\n\t/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback, related to localization module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets the scrollbar's maximum value. */\n\t@Input()\n\tget max(): number {\n\t\treturn this.nativeElement ? this.nativeElement.max : undefined;\n\t}\n\tset max(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.max = value : undefined;\n\t}\n\n\t/** @description Sets or gets the type of used mechanical action. The mechanical action defines in which moment the value of the element will be updated. */\n\t@Input()\n\tget mechanicalAction(): DragMechanicalAction | string {\n\t\treturn this.nativeElement ? this.nativeElement.mechanicalAction : undefined;\n\t}\n\tset mechanicalAction(value: DragMechanicalAction | string) {\n\t\tthis.nativeElement ? this.nativeElement.mechanicalAction = value : undefined;\n\t}\n\n\t/** @description Sets an object with string values, related to the different states of passwords strength. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the scrollbar's minimum value. */\n\t@Input()\n\tget min(): number {\n\t\treturn this.nativeElement ? this.nativeElement.min : undefined;\n\t}\n\tset min(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.min = value : undefined;\n\t}\n\n\t/** @description Sets or gets the scrollbar's orientation */\n\t@Input()\n\tget orientation(): Orientation | string {\n\t\treturn this.nativeElement ? this.nativeElement.orientation : undefined;\n\t}\n\tset orientation(value: Orientation | string) {\n\t\tthis.nativeElement ? this.nativeElement.orientation = value : undefined;\n\t}\n\n\t/** @description If the element is readonly, users cannot interact with it. */\n\t@Input()\n\tget readonly(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.readonly : undefined;\n\t}\n\tset readonly(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.readonly = value : undefined;\n\t}\n\n\t/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Sets or gets scrollbar buttons visibility. */\n\t@Input()\n\tget showButtons(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showButtons : undefined;\n\t}\n\tset showButtons(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showButtons = value : undefined;\n\t}\n\n\t/** @description Sets or gets the scrollbar's step. The value is increased/decreased with this step when the user presses a scrollbar button. */\n\t@Input()\n\tget step(): number {\n\t\treturn this.nativeElement ? this.nativeElement.step : undefined;\n\t}\n\tset step(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.step = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n\n\t/** @description If is set to true, the element cannot be focused. */\n\t@Input()\n\tget unfocusable(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.unfocusable : undefined;\n\t}\n\tset unfocusable(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.unfocusable = value : undefined;\n\t}\n\n\t/** @description Sets or gets the widget's value. */\n\t@Input()\n\tget value(): number {\n\t\treturn this.nativeElement ? this.nativeElement.value : undefined;\n\t}\n\tset value(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.value = value : undefined;\n\t}\n\n\t/** @description This event is triggered when the value is changed.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tvalue, \toldValue, \tmin, \tmax)\n\t* value - A numeric value indicating the scroll position.\n\t* oldValue - A numeric value indicating the previous scroll position.\n\t* min - A numeric value indicating the min scroll position.\n\t* max - A numeric value indicating the max scroll position.\n\t*/\n\t@Output() onChange: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description Redraws the element. \n\t*/\n public refresh(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.refresh();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.refresh();\n });\n }\n }\n\n\n\tget isRendered(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.isRendered : false;\n\t}\n\n\tngOnInit() {\n\t}\n\n ngAfterViewInit() {\n const that = this;\n\n that.onCreate.emit(that.nativeElement);\n\n\t\tSmart.Render();\n\n\t\tthis.nativeElement.classList.add('smart-angular');\n\n\t\tthis.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });\n\t\tthis.listen();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.unlisten();\n\t}\n\n\tngOnChanges(changes: SimpleChanges) {\n\t\tif (this.nativeElement && this.nativeElement.isRendered) {\n\t\t\tfor (const propName in changes) {\n\t\t\t\tif (changes.hasOwnProperty(propName)) {\n\t\t\t\t\tthis.nativeElement[propName] = changes[propName].currentValue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/** @description Add event listeners. */\n\tprivate listen(): void {\n const that = this;\n\t\tthat.eventHandlers['changeHandler'] = (event: CustomEvent) => { that.onChange.emit(event); }\n\t\tthat.nativeElement.addEventListener('change', that.eventHandlers['changeHandler']);\n\n\t}\n\n\t/** @description Remove event listeners. */\n\tprivate unlisten(): void {\n const that = this;\n\t\tif (that.eventHandlers['changeHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('change', that.eventHandlers['changeHandler']);\n\t\t}\n\n\t}\n}\n","import { NgModule } from '@angular/core';\n\nimport { ScrollBarComponent } from './smart.scrollbar';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [ScrollBarComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [ScrollBarComponent]\n})\n\nexport class ScrollBarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAYa,WAAW;IACpB,YAAY,GAAe;QAajB,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,YAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;QAChD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QAfvD,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC,aAAoB,CAAC;QAE9C,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC1C,CAAA;QAED,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC1C,CAAA;KACJ;IASM,gBAAgB,CAAC,IAAY,EAAE,QAA4C,EAAE,UAA6C,KAAK;QAClI,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;KACnE;IAEM,mBAAmB,CAAC,IAAY,EAAE,QAA4C,EAAE,UAA6C,KAAK;QACxI,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;KAChE;IAEM,aAAa,CAAC,KAAY;QAChC,OAAO,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KAC/C;IA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AAQ;mBAAC;oBACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBACrC,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,kBAAkB,CAAC;iBAC7B;;;ACTD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"smart-webcomponents-angular-scrollbar.mjs","sources":["../../scrollbar/src/smart.element.ts","../../scrollbar/src/smart.scrollbar.ts","../../scrollbar/src/smart.scrollbar.module.ts","../../scrollbar/src/smart-webcomponents-angular-scrollbar.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n Smart: any;\n}\n}\n\n\nimport { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core';\nimport { ElementRenderMode } from './../index';\n\n@Directive()\nexport class BaseElement {\n constructor(ref: ElementRef) {\n const that = this;\n this.nativeElement = ref.nativeElement as any;\n\n that.nativeElement.onAttached = () => {\n that.onAttach.emit(that.nativeElement);\n }\n\n that.nativeElement.onDetached = () => {\n that.onDetach.emit(that.nativeElement);\n }\n }\n\n @Output() onCreate: EventEmitter<any> = new EventEmitter();\n @Output() onReady: EventEmitter<any> = new EventEmitter();\n @Output() onAttach: EventEmitter<any> = new EventEmitter();\n @Output() onDetach: EventEmitter<any> = new EventEmitter();\n\n public nativeElement: any;\n\n public addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n this.nativeElement.addEventListener(type, listener, options);\n\t}\n\n\tpublic removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n\t\tthis.nativeElement.removeEventListener(type, listener, options);\n\t}\n\n\tpublic dispatchEvent(event: Event): boolean {\n\t\treturn this.nativeElement.dispatchEvent(event);\n\t}\n\n\tpublic blur(): void {\n\t\tthis.nativeElement.blur();\n\t}\n\n\tpublic click(): void {\n\t\tthis.nativeElement.click();\n\t}\n\n\tpublic focus(options?: FocusOptions): void {\n\t\tthis.nativeElement.focus(options);\n\t}\n\n/** @description Sets or gets the license. */\n\t@Input()\n\tget license(): string {\n\t\treturn this.nativeElement ? this.nativeElement.license : undefined;\n\t}\n\tset license(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.license = value : undefined;\n\t}\n\t\n/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n}\n\nlet Smart: any;\nif (typeof window !== \"undefined\") {\n\tSmart = window.Smart;\n}\nexport { Smart };\n\n","import { ScrollBar } from './../index';\nimport { Animation, DragMechanicalAction, Orientation, ElementRenderMode} from './../index';\nimport { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter } from '@angular/core';\nimport { BaseElement, Smart } from './smart.element';\nexport { Animation, DragMechanicalAction, Orientation, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { ScrollBar } from './../index';\n\n\n@Directive({\n\texportAs: 'smart-scroll-bar',\tselector: 'smart-scroll-bar, [smart-scroll-bar]'\n})\n\nexport class ScrollBarComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {\n\tconstructor(ref: ElementRef<ScrollBar>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as ScrollBar;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic declare nativeElement: ScrollBar;\n\t/** @description Creates the component on demand.\n\t * @param properties An optional object of properties, which will be added to the template binded ones.\n\t */\n\tpublic createComponent(properties = {}): any {\n \tthis.nativeElement = <ScrollBar>document.createElement('smart-scroll-bar');\n\t\tfor (let propertyName in properties) { \n \t\t\tthis.nativeElement[propertyName] = properties[propertyName];\n\t\t}\n\t\treturn this.nativeElement;\n\t}\n\t/** @description Specifies the current animation mode for the component. You can retrieve the current mode or assign a new one. Setting this property to 'none' disables all animations; other values will enable and determine the type of animation applied. */\n\t@Input()\n\tget animation(): Animation | string {\n\t\treturn this.nativeElement ? this.nativeElement.animation : undefined;\n\t}\n\tset animation(value: Animation | string) {\n\t\tthis.nativeElement ? this.nativeElement.animation = value : undefined;\n\t}\n\n\t/** @description Determines whether the element is interactive or inactive. When enabled, users can interact with the element as intended. When disabled, the element becomes unresponsive to user input and typically appears visually distinct to indicate its inactive state. */\n\t@Input()\n\tget disabled(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.disabled : undefined;\n\t}\n\tset disabled(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.disabled = value : undefined;\n\t}\n\n\t/** @description Defines or retrieves the value of the scrollbar's large step increment. This large step value determines how much the scrollbar's position changes when the user clicks in the track area between the scrollbar's thumb (slider) and one of its arrow buttons. When the left mouse button is pressed in this area, the scrollbar advances or retreats by the specified large step amount, enabling quicker navigation through the content compared to single-step arrow button clicks. */\n\t@Input()\n\tget largeStep(): number {\n\t\treturn this.nativeElement ? this.nativeElement.largeStep : undefined;\n\t}\n\tset largeStep(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.largeStep = value : undefined;\n\t}\n\n\t/** @description Gets or sets the 'unlockKey' property, which is a unique key used to activate or unlock access to the product’s features or functionality. */\n\t@Input()\n\tget unlockKey(): string {\n\t\treturn this.nativeElement ? this.nativeElement.unlockKey : undefined;\n\t}\n\tset unlockKey(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.unlockKey = value : undefined;\n\t}\n\n\t/** @description Specifies or retrieves the current language setting. This property determines which language is used for displaying messages, working in conjunction with the messages property to select the appropriate set of localized text based on the specified language code (e.g., \"en\", \"fr\", \"es\"). */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Invokes a callback function associated with the localization module, typically used to handle events or actions such as language changes, text translations, or updates to localized content within the application. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Specifies or retrieves the maximum scrollable value of the scrollbar, determining the highest position to which the scrollbar thumb can be moved. This value defines the upper limit of the scrollable content range. */\n\t@Input()\n\tget max(): number {\n\t\treturn this.nativeElement ? this.nativeElement.max : undefined;\n\t}\n\tset max(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.max = value : undefined;\n\t}\n\n\t/** @description Specifies or retrieves the type of mechanical action applied to the element. Mechanical action determines the exact moment when the element's value is updated—such as immediately upon interaction, after a confirmation (like releasing a button), or according to specific user actions. This property allows you to control how and when changes to the element’s value are registered and processed within the application. */\n\t@Input()\n\tget mechanicalAction(): DragMechanicalAction | string {\n\t\treturn this.nativeElement ? this.nativeElement.mechanicalAction : undefined;\n\t}\n\tset mechanicalAction(value: DragMechanicalAction | string) {\n\t\tthis.nativeElement ? this.nativeElement.mechanicalAction = value : undefined;\n\t}\n\n\t/** @description Defines an object containing string values that represent the various states of password strength (e.g., weak, medium, strong). Each key in the object corresponds to a specific strength level, allowing for customized messages or labels based on the user's password strength status. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Defines or retrieves the lowest possible value that the scrollbar can represent, determining the starting point of the scrollbar's range. */\n\t@Input()\n\tget min(): number {\n\t\treturn this.nativeElement ? this.nativeElement.min : undefined;\n\t}\n\tset min(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.min = value : undefined;\n\t}\n\n\t/** @description Specifies or retrieves the orientation of the scrollbar, determining whether it is displayed horizontally or vertically. */\n\t@Input()\n\tget orientation(): Orientation | string {\n\t\treturn this.nativeElement ? this.nativeElement.orientation : undefined;\n\t}\n\tset orientation(value: Orientation | string) {\n\t\tthis.nativeElement ? this.nativeElement.orientation = value : undefined;\n\t}\n\n\t/** @description If the element has the readonly attribute, users will be able to see its value but will not be able to modify, edit, or otherwise interact with its contents through input actions. However, the element may still be focusable and its value can be changed programmatically using scripts. */\n\t@Input()\n\tget readonly(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.readonly : undefined;\n\t}\n\tset readonly(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.readonly = value : undefined;\n\t}\n\n\t/** @description Sets or retrieves a value that specifies whether the element's content alignment is optimized for languages that use right-to-left (RTL) scripts, such as Arabic or Hebrew. When enabled, the element's layout, text direction, and associated styles are adjusted to properly support RTL locales. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Controls the visibility of scrollbar buttons. When set, this property determines whether the scrollbar's increment and decrement buttons (commonly arrow buttons at the ends of the scrollbar) are shown or hidden. It can be used to either display or hide these buttons programmatically, and can also be queried to retrieve the current visibility state. */\n\t@Input()\n\tget showButtons(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showButtons : undefined;\n\t}\n\tset showButtons(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showButtons = value : undefined;\n\t}\n\n\t/** @description Defines or retrieves the increment by which the scrollbar's value changes when a user clicks on the scrollbar's arrow (stepper) buttons. This value determines how much the scroll position increases or decreases with each button press, allowing for precise control over scrolling granularity. */\n\t@Input()\n\tget step(): number {\n\t\treturn this.nativeElement ? this.nativeElement.step : undefined;\n\t}\n\tset step(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.step = value : undefined;\n\t}\n\n\t/** @description Specifies the theme to be applied to the element. The selected theme controls the visual appearance, including colors, typography, and overall styling, ensuring a consistent and cohesive look for the element within the user interface. */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n\n\t/** @description When set to true, this property prevents the element from receiving keyboard focus, making it unreachable via tab navigation or programmatically using focus methods. */\n\t@Input()\n\tget unfocusable(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.unfocusable : undefined;\n\t}\n\tset unfocusable(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.unfocusable = value : undefined;\n\t}\n\n\t/** @description Sets a new value for the widget or retrieves its current value, depending on how the method is invoked. This allows you to programmatically update the widget's data or access its existing data as needed. */\n\t@Input()\n\tget value(): number {\n\t\treturn this.nativeElement ? this.nativeElement.value : undefined;\n\t}\n\tset value(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.value = value : undefined;\n\t}\n\n\t/** @description This event is triggered whenever the value of the associated element is modified by the user or programmatically. It occurs immediately after the value has changed, allowing you to perform custom actions in response to the update.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tvalue, \toldValue, \tmin, \tmax)\n\t* value - A numeric value indicating the scroll position.\n\t* oldValue - A numeric value indicating the previous scroll position.\n\t* min - A numeric value indicating the min scroll position.\n\t* max - A numeric value indicating the max scroll position.\n\t*/\n\t@Output() onChange: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description Re-renders the element by updating its visual presentation on the screen, ensuring that any recent changes to its properties, styles, or content are accurately reflected in the user interface. \n\t*/\n public refresh(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.refresh();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.refresh();\n });\n }\n }\n\n\n\tget isRendered(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.isRendered : false;\n\t}\n\n\tngOnInit() {\n\t}\n\n ngAfterViewInit() {\n const that = this;\n\n that.onCreate.emit(that.nativeElement);\n\n\t\tif (Smart) Smart.Render();\n\n\t\tthis.nativeElement.classList.add('smart-angular');\n\n\t\tif (this.nativeElement.whenRendered) this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });\n\t\tthis.listen();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.unlisten();\n\t}\n\n\tngOnChanges(changes: SimpleChanges) {\n\t\tif (this.nativeElement && this.nativeElement.isRendered) {\n\t\t\tfor (const propName in changes) {\n\t\t\t\tif (changes.hasOwnProperty(propName)) {\n\t\t\t\t\tthis.nativeElement[propName] = changes[propName].currentValue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/** @description Add event listeners. */\n\tprivate listen(): void {\n const that = this;\n\t\tthat.eventHandlers['changeHandler'] = (event: CustomEvent) => { that.onChange.emit(event); }\n\t\tthat.nativeElement.addEventListener('change', that.eventHandlers['changeHandler']);\n\n\t}\n\n\t/** @description Remove event listeners. */\n\tprivate unlisten(): void {\n const that = this;\n\t\tif (that.eventHandlers['changeHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('change', that.eventHandlers['changeHandler']);\n\t\t}\n\n\t}\n}\n","import { NgModule } from '@angular/core';\n\nimport { ScrollBarComponent } from './smart.scrollbar';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [ScrollBarComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [ScrollBarComponent]\n})\n\nexport class ScrollBarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAYa,WAAW;IACpB,YAAY,GAAe;QAajB,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,YAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;QAChD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QAfvD,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC,aAAoB,CAAC;QAE9C,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC1C,CAAA;QAED,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC1C,CAAA;KACJ;IASM,gBAAgB,CAAC,IAAY,EAAE,QAA4C,EAAE,UAA6C,KAAK;QAClI,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;KACnE;IAEM,mBAAmB,CAAC,IAAY,EAAE,QAA4C,EAAE,UAA6C,KAAK;QACxI,IAAI,CAA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C,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC;SACtF;KAED;;+GA9PW,kBAAkB;mGAAlB,kBAAkB;2FAAlB,kBAAkB;kBAJ9B,SAAS;mBAAC;oBACV,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,EAAE,sCAAsC;iBAC9E;iGAuBI,SAAS;sBADZ,KAAK;gBAUF,QAAQ;sBADX,KAAK;gBAUF,SAAS;sBADZ,KAAK;gBAUF,SAAS;sBADZ,KAAK;gBAUF,MAAM;sBADT,KAAK;gBAUF,sBAAsB;sBADzB,KAAK;gBAUF,GAAG;sBADN,KAAK;gBAUF,gBAAgB;sBADnB,KAAK;gBAUF,QAAQ;sBADX,KAAK;gBAUF,GAAG;sBADN,KAAK;gBAUF,WAAW;sBADd,KAAK;gBAUF,QAAQ;sBADX,KAAK;gBAUF,WAAW;sBADd,KAAK;gBAUF,WAAW;sBADd,KAAK;gBAUF,IAAI;sBADP,KAAK;gBAUF,KAAK;sBADR,KAAK;gBAUF,WAAW;sBADd,KAAK;gBAUF,KAAK;sBADR,KAAK;gBAeI,QAAQ;sBAAjB,MAAM;;;MC9LK,eAAe;;4GAAf,eAAe;6GAAf,eAAe,iBALT,kBAAkB,aAE1B,kBAAkB;6GAGhB,eAAe;2FAAf,eAAe;kBAN3B,QAAQ;mBAAC;oBACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBACrC,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,kBAAkB,CAAC;iBAC7B;;;ACTD;;;;;;"}
|
|
@@ -43,6 +43,13 @@ class BaseElement {
|
|
|
43
43
|
focus(options) {
|
|
44
44
|
this.nativeElement.focus(options);
|
|
45
45
|
}
|
|
46
|
+
/** @description Sets or gets the license. */
|
|
47
|
+
get license() {
|
|
48
|
+
return this.nativeElement ? this.nativeElement.license : undefined;
|
|
49
|
+
}
|
|
50
|
+
set license(value) {
|
|
51
|
+
this.nativeElement ? this.nativeElement.license = value : undefined;
|
|
52
|
+
}
|
|
46
53
|
/** @description Sets or gets the language. Used in conjunction with the property messages. */
|
|
47
54
|
get locale() {
|
|
48
55
|
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
@@ -80,7 +87,7 @@ class BaseElement {
|
|
|
80
87
|
}
|
|
81
88
|
}
|
|
82
89
|
BaseElement.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BaseElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
83
|
-
BaseElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BaseElement, inputs: { locale: "locale", localizeFormatFunction: "localizeFormatFunction", messages: "messages", rightToLeft: "rightToLeft", theme: "theme" }, outputs: { onCreate: "onCreate", onReady: "onReady", onAttach: "onAttach", onDetach: "onDetach" }, ngImport: i0 });
|
|
90
|
+
BaseElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: BaseElement, inputs: { license: "license", locale: "locale", localizeFormatFunction: "localizeFormatFunction", messages: "messages", rightToLeft: "rightToLeft", theme: "theme" }, outputs: { onCreate: "onCreate", onReady: "onReady", onAttach: "onAttach", onDetach: "onDetach" }, ngImport: i0 });
|
|
84
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: BaseElement, decorators: [{
|
|
85
92
|
type: Directive
|
|
86
93
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onCreate: [{
|
|
@@ -91,6 +98,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
91
98
|
type: Output
|
|
92
99
|
}], onDetach: [{
|
|
93
100
|
type: Output
|
|
101
|
+
}], license: [{
|
|
102
|
+
type: Input
|
|
94
103
|
}], locale: [{
|
|
95
104
|
type: Input
|
|
96
105
|
}], localizeFormatFunction: [{
|
|
@@ -102,13 +111,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
102
111
|
}], theme: [{
|
|
103
112
|
type: Input
|
|
104
113
|
}] } });
|
|
105
|
-
|
|
114
|
+
let Smart;
|
|
115
|
+
if (typeof window !== "undefined") {
|
|
116
|
+
Smart = window.Smart;
|
|
117
|
+
}
|
|
106
118
|
|
|
107
119
|
class ScrollBarComponent extends BaseElement {
|
|
108
120
|
constructor(ref) {
|
|
109
121
|
super(ref);
|
|
110
122
|
this.eventHandlers = [];
|
|
111
|
-
/** @description This event is triggered
|
|
123
|
+
/** @description This event is triggered whenever the value of the associated element is modified by the user or programmatically. It occurs immediately after the value has changed, allowing you to perform custom actions in response to the update.
|
|
112
124
|
* @param event. The custom event. Custom event was created with: event.detail( value, oldValue, min, max)
|
|
113
125
|
* value - A numeric value indicating the scroll position.
|
|
114
126
|
* oldValue - A numeric value indicating the previous scroll position.
|
|
@@ -128,126 +140,133 @@ class ScrollBarComponent extends BaseElement {
|
|
|
128
140
|
}
|
|
129
141
|
return this.nativeElement;
|
|
130
142
|
}
|
|
131
|
-
/** @description
|
|
143
|
+
/** @description Specifies the current animation mode for the component. You can retrieve the current mode or assign a new one. Setting this property to 'none' disables all animations; other values will enable and determine the type of animation applied. */
|
|
132
144
|
get animation() {
|
|
133
145
|
return this.nativeElement ? this.nativeElement.animation : undefined;
|
|
134
146
|
}
|
|
135
147
|
set animation(value) {
|
|
136
148
|
this.nativeElement ? this.nativeElement.animation = value : undefined;
|
|
137
149
|
}
|
|
138
|
-
/** @description
|
|
150
|
+
/** @description Determines whether the element is interactive or inactive. When enabled, users can interact with the element as intended. When disabled, the element becomes unresponsive to user input and typically appears visually distinct to indicate its inactive state. */
|
|
139
151
|
get disabled() {
|
|
140
152
|
return this.nativeElement ? this.nativeElement.disabled : undefined;
|
|
141
153
|
}
|
|
142
154
|
set disabled(value) {
|
|
143
155
|
this.nativeElement ? this.nativeElement.disabled = value : undefined;
|
|
144
156
|
}
|
|
145
|
-
/** @description
|
|
157
|
+
/** @description Defines or retrieves the value of the scrollbar's large step increment. This large step value determines how much the scrollbar's position changes when the user clicks in the track area between the scrollbar's thumb (slider) and one of its arrow buttons. When the left mouse button is pressed in this area, the scrollbar advances or retreats by the specified large step amount, enabling quicker navigation through the content compared to single-step arrow button clicks. */
|
|
146
158
|
get largeStep() {
|
|
147
159
|
return this.nativeElement ? this.nativeElement.largeStep : undefined;
|
|
148
160
|
}
|
|
149
161
|
set largeStep(value) {
|
|
150
162
|
this.nativeElement ? this.nativeElement.largeStep = value : undefined;
|
|
151
163
|
}
|
|
152
|
-
/** @description
|
|
164
|
+
/** @description Gets or sets the 'unlockKey' property, which is a unique key used to activate or unlock access to the product’s features or functionality. */
|
|
165
|
+
get unlockKey() {
|
|
166
|
+
return this.nativeElement ? this.nativeElement.unlockKey : undefined;
|
|
167
|
+
}
|
|
168
|
+
set unlockKey(value) {
|
|
169
|
+
this.nativeElement ? this.nativeElement.unlockKey = value : undefined;
|
|
170
|
+
}
|
|
171
|
+
/** @description Specifies or retrieves the current language setting. This property determines which language is used for displaying messages, working in conjunction with the messages property to select the appropriate set of localized text based on the specified language code (e.g., "en", "fr", "es"). */
|
|
153
172
|
get locale() {
|
|
154
173
|
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
155
174
|
}
|
|
156
175
|
set locale(value) {
|
|
157
176
|
this.nativeElement ? this.nativeElement.locale = value : undefined;
|
|
158
177
|
}
|
|
159
|
-
/** @description
|
|
178
|
+
/** @description Invokes a callback function associated with the localization module, typically used to handle events or actions such as language changes, text translations, or updates to localized content within the application. */
|
|
160
179
|
get localizeFormatFunction() {
|
|
161
180
|
return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
|
|
162
181
|
}
|
|
163
182
|
set localizeFormatFunction(value) {
|
|
164
183
|
this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
|
|
165
184
|
}
|
|
166
|
-
/** @description
|
|
185
|
+
/** @description Specifies or retrieves the maximum scrollable value of the scrollbar, determining the highest position to which the scrollbar thumb can be moved. This value defines the upper limit of the scrollable content range. */
|
|
167
186
|
get max() {
|
|
168
187
|
return this.nativeElement ? this.nativeElement.max : undefined;
|
|
169
188
|
}
|
|
170
189
|
set max(value) {
|
|
171
190
|
this.nativeElement ? this.nativeElement.max = value : undefined;
|
|
172
191
|
}
|
|
173
|
-
/** @description
|
|
192
|
+
/** @description Specifies or retrieves the type of mechanical action applied to the element. Mechanical action determines the exact moment when the element's value is updated—such as immediately upon interaction, after a confirmation (like releasing a button), or according to specific user actions. This property allows you to control how and when changes to the element’s value are registered and processed within the application. */
|
|
174
193
|
get mechanicalAction() {
|
|
175
194
|
return this.nativeElement ? this.nativeElement.mechanicalAction : undefined;
|
|
176
195
|
}
|
|
177
196
|
set mechanicalAction(value) {
|
|
178
197
|
this.nativeElement ? this.nativeElement.mechanicalAction = value : undefined;
|
|
179
198
|
}
|
|
180
|
-
/** @description
|
|
199
|
+
/** @description Defines an object containing string values that represent the various states of password strength (e.g., weak, medium, strong). Each key in the object corresponds to a specific strength level, allowing for customized messages or labels based on the user's password strength status. */
|
|
181
200
|
get messages() {
|
|
182
201
|
return this.nativeElement ? this.nativeElement.messages : undefined;
|
|
183
202
|
}
|
|
184
203
|
set messages(value) {
|
|
185
204
|
this.nativeElement ? this.nativeElement.messages = value : undefined;
|
|
186
205
|
}
|
|
187
|
-
/** @description
|
|
206
|
+
/** @description Defines or retrieves the lowest possible value that the scrollbar can represent, determining the starting point of the scrollbar's range. */
|
|
188
207
|
get min() {
|
|
189
208
|
return this.nativeElement ? this.nativeElement.min : undefined;
|
|
190
209
|
}
|
|
191
210
|
set min(value) {
|
|
192
211
|
this.nativeElement ? this.nativeElement.min = value : undefined;
|
|
193
212
|
}
|
|
194
|
-
/** @description
|
|
213
|
+
/** @description Specifies or retrieves the orientation of the scrollbar, determining whether it is displayed horizontally or vertically. */
|
|
195
214
|
get orientation() {
|
|
196
215
|
return this.nativeElement ? this.nativeElement.orientation : undefined;
|
|
197
216
|
}
|
|
198
217
|
set orientation(value) {
|
|
199
218
|
this.nativeElement ? this.nativeElement.orientation = value : undefined;
|
|
200
219
|
}
|
|
201
|
-
/** @description If the element
|
|
220
|
+
/** @description If the element has the readonly attribute, users will be able to see its value but will not be able to modify, edit, or otherwise interact with its contents through input actions. However, the element may still be focusable and its value can be changed programmatically using scripts. */
|
|
202
221
|
get readonly() {
|
|
203
222
|
return this.nativeElement ? this.nativeElement.readonly : undefined;
|
|
204
223
|
}
|
|
205
224
|
set readonly(value) {
|
|
206
225
|
this.nativeElement ? this.nativeElement.readonly = value : undefined;
|
|
207
226
|
}
|
|
208
|
-
/** @description Sets or
|
|
227
|
+
/** @description Sets or retrieves a value that specifies whether the element's content alignment is optimized for languages that use right-to-left (RTL) scripts, such as Arabic or Hebrew. When enabled, the element's layout, text direction, and associated styles are adjusted to properly support RTL locales. */
|
|
209
228
|
get rightToLeft() {
|
|
210
229
|
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
|
|
211
230
|
}
|
|
212
231
|
set rightToLeft(value) {
|
|
213
232
|
this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
|
|
214
233
|
}
|
|
215
|
-
/** @description
|
|
234
|
+
/** @description Controls the visibility of scrollbar buttons. When set, this property determines whether the scrollbar's increment and decrement buttons (commonly arrow buttons at the ends of the scrollbar) are shown or hidden. It can be used to either display or hide these buttons programmatically, and can also be queried to retrieve the current visibility state. */
|
|
216
235
|
get showButtons() {
|
|
217
236
|
return this.nativeElement ? this.nativeElement.showButtons : undefined;
|
|
218
237
|
}
|
|
219
238
|
set showButtons(value) {
|
|
220
239
|
this.nativeElement ? this.nativeElement.showButtons = value : undefined;
|
|
221
240
|
}
|
|
222
|
-
/** @description
|
|
241
|
+
/** @description Defines or retrieves the increment by which the scrollbar's value changes when a user clicks on the scrollbar's arrow (stepper) buttons. This value determines how much the scroll position increases or decreases with each button press, allowing for precise control over scrolling granularity. */
|
|
223
242
|
get step() {
|
|
224
243
|
return this.nativeElement ? this.nativeElement.step : undefined;
|
|
225
244
|
}
|
|
226
245
|
set step(value) {
|
|
227
246
|
this.nativeElement ? this.nativeElement.step = value : undefined;
|
|
228
247
|
}
|
|
229
|
-
/** @description
|
|
248
|
+
/** @description Specifies the theme to be applied to the element. The selected theme controls the visual appearance, including colors, typography, and overall styling, ensuring a consistent and cohesive look for the element within the user interface. */
|
|
230
249
|
get theme() {
|
|
231
250
|
return this.nativeElement ? this.nativeElement.theme : undefined;
|
|
232
251
|
}
|
|
233
252
|
set theme(value) {
|
|
234
253
|
this.nativeElement ? this.nativeElement.theme = value : undefined;
|
|
235
254
|
}
|
|
236
|
-
/** @description
|
|
255
|
+
/** @description When set to true, this property prevents the element from receiving keyboard focus, making it unreachable via tab navigation or programmatically using focus methods. */
|
|
237
256
|
get unfocusable() {
|
|
238
257
|
return this.nativeElement ? this.nativeElement.unfocusable : undefined;
|
|
239
258
|
}
|
|
240
259
|
set unfocusable(value) {
|
|
241
260
|
this.nativeElement ? this.nativeElement.unfocusable = value : undefined;
|
|
242
261
|
}
|
|
243
|
-
/** @description Sets or
|
|
262
|
+
/** @description Sets a new value for the widget or retrieves its current value, depending on how the method is invoked. This allows you to programmatically update the widget's data or access its existing data as needed. */
|
|
244
263
|
get value() {
|
|
245
264
|
return this.nativeElement ? this.nativeElement.value : undefined;
|
|
246
265
|
}
|
|
247
266
|
set value(value) {
|
|
248
267
|
this.nativeElement ? this.nativeElement.value = value : undefined;
|
|
249
268
|
}
|
|
250
|
-
/** @description
|
|
269
|
+
/** @description Re-renders the element by updating its visual presentation on the screen, ensuring that any recent changes to its properties, styles, or content are accurately reflected in the user interface.
|
|
251
270
|
*/
|
|
252
271
|
refresh() {
|
|
253
272
|
if (this.nativeElement.isRendered) {
|
|
@@ -267,9 +286,11 @@ class ScrollBarComponent extends BaseElement {
|
|
|
267
286
|
ngAfterViewInit() {
|
|
268
287
|
const that = this;
|
|
269
288
|
that.onCreate.emit(that.nativeElement);
|
|
270
|
-
Smart
|
|
289
|
+
if (Smart)
|
|
290
|
+
Smart.Render();
|
|
271
291
|
this.nativeElement.classList.add('smart-angular');
|
|
272
|
-
this.nativeElement.whenRendered
|
|
292
|
+
if (this.nativeElement.whenRendered)
|
|
293
|
+
this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });
|
|
273
294
|
this.listen();
|
|
274
295
|
}
|
|
275
296
|
ngOnDestroy() {
|
|
@@ -299,7 +320,7 @@ class ScrollBarComponent extends BaseElement {
|
|
|
299
320
|
}
|
|
300
321
|
}
|
|
301
322
|
ScrollBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ScrollBarComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
302
|
-
ScrollBarComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: ScrollBarComponent, selector: "smart-scroll-bar, [smart-scroll-bar]", inputs: { animation: "animation", disabled: "disabled", largeStep: "largeStep", locale: "locale", localizeFormatFunction: "localizeFormatFunction", max: "max", mechanicalAction: "mechanicalAction", messages: "messages", min: "min", orientation: "orientation", readonly: "readonly", rightToLeft: "rightToLeft", showButtons: "showButtons", step: "step", theme: "theme", unfocusable: "unfocusable", value: "value" }, outputs: { onChange: "onChange" }, exportAs: ["smart-scroll-bar"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
323
|
+
ScrollBarComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: ScrollBarComponent, selector: "smart-scroll-bar, [smart-scroll-bar]", inputs: { animation: "animation", disabled: "disabled", largeStep: "largeStep", unlockKey: "unlockKey", locale: "locale", localizeFormatFunction: "localizeFormatFunction", max: "max", mechanicalAction: "mechanicalAction", messages: "messages", min: "min", orientation: "orientation", readonly: "readonly", rightToLeft: "rightToLeft", showButtons: "showButtons", step: "step", theme: "theme", unfocusable: "unfocusable", value: "value" }, outputs: { onChange: "onChange" }, exportAs: ["smart-scroll-bar"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
303
324
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ScrollBarComponent, decorators: [{
|
|
304
325
|
type: Directive,
|
|
305
326
|
args: [{
|
|
@@ -311,6 +332,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
311
332
|
type: Input
|
|
312
333
|
}], largeStep: [{
|
|
313
334
|
type: Input
|
|
335
|
+
}], unlockKey: [{
|
|
336
|
+
type: Input
|
|
314
337
|
}], locale: [{
|
|
315
338
|
type: Input
|
|
316
339
|
}], localizeFormatFunction: [{
|