@progress/kendo-angular-inputs 13.2.1-develop.11 → 13.2.1-develop.13
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/LICENSE.md +11 -0
- package/NOTICE.txt +654 -0
- package/README.md +184 -0
- package/checkbox/checkbox.directive.d.ts +52 -0
- package/checkbox.module.d.ts +43 -0
- package/colorpicker/color-contrast-svg.component.d.ts +29 -0
- package/colorpicker/color-gradient-numeric-label.directive.d.ts +20 -0
- package/colorpicker/color-gradient.component.d.ts +281 -0
- package/colorpicker/color-input.component.d.ts +95 -0
- package/colorpicker/color-palette.component.d.ts +221 -0
- package/colorpicker/colorpicker.component.d.ts +383 -0
- package/colorpicker/constants.d.ts +41 -0
- package/colorpicker/contrast-validation.component.d.ts +24 -0
- package/colorpicker/contrast.component.d.ts +25 -0
- package/colorpicker/events/active-color-click-event.d.ts +53 -0
- package/colorpicker/events/cancel-event.d.ts +15 -0
- package/colorpicker/events/close-event.d.ts +10 -0
- package/colorpicker/events/kendo-drag-event.d.ts +21 -0
- package/colorpicker/events/open-event.d.ts +10 -0
- package/colorpicker/events.d.ts +8 -0
- package/colorpicker/flatcolorpicker-actions.component.d.ts +24 -0
- package/colorpicker/flatcolorpicker-header.component.d.ts +43 -0
- package/colorpicker/flatcolorpicker.component.d.ts +267 -0
- package/colorpicker/focus-on-dom-ready.directive.d.ts +18 -0
- package/colorpicker/localization/colorgradient-localization.service.d.ts +17 -0
- package/colorpicker/localization/colorpalette-localization.service.d.ts +17 -0
- package/colorpicker/localization/colorpicker-localization.service.d.ts +14 -0
- package/colorpicker/localization/custom-messages.component.d.ts +17 -0
- package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +17 -0
- package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +16 -0
- package/colorpicker/localization/messages.d.ts +121 -0
- package/colorpicker/models/actions-layout.d.ts +8 -0
- package/colorpicker/models/colorpicker-view.d.ts +8 -0
- package/colorpicker/models/gradient-settings.d.ts +35 -0
- package/colorpicker/models/hsva.d.ts +13 -0
- package/colorpicker/models/output-format.d.ts +8 -0
- package/colorpicker/models/palette-presets.d.ts +61 -0
- package/colorpicker/models/palette-settings.d.ts +33 -0
- package/colorpicker/models/popup-settings.d.ts +18 -0
- package/colorpicker/models/rgb.d.ts +12 -0
- package/colorpicker/models/rgba.d.ts +13 -0
- package/colorpicker/models/table-cell.d.ts +11 -0
- package/colorpicker/models/tile-size.d.ts +11 -0
- package/colorpicker/models.d.ts +16 -0
- package/colorpicker/services/color-palette.service.d.ts +19 -0
- package/colorpicker/services/flatcolorpicker.service.d.ts +15 -0
- package/colorpicker/utils/color-parser.d.ts +77 -0
- package/colorpicker/utils/contrast-curve.d.ts +37 -0
- package/colorpicker/utils.d.ts +6 -0
- package/colorpicker.module.d.ts +35 -0
- package/common/dom-utils.d.ts +25 -0
- package/common/math.d.ts +36 -0
- package/common/models/fillmode.d.ts +9 -0
- package/common/models/rounded.d.ts +14 -0
- package/common/models/size.d.ts +9 -0
- package/common/models/styling-classes.d.ts +11 -0
- package/common/models.d.ts +8 -0
- package/common/utils.d.ts +56 -0
- package/esm2020/checkbox/checkbox.directive.mjs +94 -0
- package/esm2020/checkbox.module.mjs +52 -0
- package/esm2020/colorpicker/color-contrast-svg.component.mjs +97 -0
- package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +31 -0
- package/esm2020/colorpicker/color-gradient.component.mjs +1003 -0
- package/esm2020/colorpicker/color-input.component.mjs +433 -0
- package/esm2020/colorpicker/color-palette.component.mjs +553 -0
- package/esm2020/colorpicker/colorpicker.component.mjs +1086 -0
- package/esm2020/colorpicker/constants.mjs +40 -0
- package/esm2020/colorpicker/contrast-validation.component.mjs +72 -0
- package/esm2020/colorpicker/contrast.component.mjs +100 -0
- package/esm2020/colorpicker/events/active-color-click-event.mjs +58 -0
- package/esm2020/colorpicker/events/cancel-event.mjs +14 -0
- package/esm2020/colorpicker/events/close-event.mjs +10 -0
- package/esm2020/colorpicker/events/kendo-drag-event.mjs +5 -0
- package/esm2020/colorpicker/events/open-event.mjs +10 -0
- package/esm2020/colorpicker/events.mjs +8 -0
- package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +93 -0
- package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +217 -0
- package/esm2020/colorpicker/flatcolorpicker.component.mjs +829 -0
- package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +29 -0
- package/esm2020/colorpicker/localization/colorgradient-localization.service.mjs +45 -0
- package/esm2020/colorpicker/localization/colorpalette-localization.service.mjs +45 -0
- package/esm2020/colorpicker/localization/colorpicker-localization.service.mjs +31 -0
- package/esm2020/colorpicker/localization/custom-messages.component.mjs +41 -0
- package/esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs +45 -0
- package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +37 -0
- package/esm2020/colorpicker/localization/messages.mjs +75 -0
- package/esm2020/colorpicker/models/actions-layout.mjs +5 -0
- package/esm2020/colorpicker/models/colorpicker-view.mjs +5 -0
- package/esm2020/colorpicker/models/gradient-settings.mjs +5 -0
- package/esm2020/colorpicker/models/hsva.mjs +5 -0
- package/esm2020/colorpicker/models/output-format.mjs +5 -0
- package/esm2020/colorpicker/models/palette-presets.mjs +62 -0
- package/esm2020/colorpicker/models/palette-settings.mjs +5 -0
- package/esm2020/colorpicker/models/popup-settings.mjs +5 -0
- package/esm2020/colorpicker/models/rgb.mjs +5 -0
- package/esm2020/colorpicker/models/rgba.mjs +5 -0
- package/esm2020/colorpicker/models/table-cell.mjs +5 -0
- package/esm2020/colorpicker/models/tile-size.mjs +6 -0
- package/esm2020/colorpicker/models.mjs +16 -0
- package/esm2020/colorpicker/services/color-palette.service.mjs +67 -0
- package/esm2020/colorpicker/services/flatcolorpicker.service.mjs +39 -0
- package/esm2020/colorpicker/utils/color-parser.mjs +164 -0
- package/esm2020/colorpicker/utils/contrast-curve.mjs +85 -0
- package/esm2020/colorpicker/utils.mjs +6 -0
- package/esm2020/colorpicker.module.mjs +104 -0
- package/esm2020/common/dom-utils.mjs +36 -0
- package/esm2020/common/math.mjs +65 -0
- package/esm2020/common/models/fillmode.mjs +5 -0
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/esm2020/common/models/styling-classes.mjs +5 -0
- package/esm2020/common/models.mjs +8 -0
- package/esm2020/common/utils.mjs +81 -0
- package/esm2020/formfield/error.component.mjs +68 -0
- package/esm2020/formfield/formfield.component.mjs +284 -0
- package/esm2020/formfield/hint.component.mjs +63 -0
- package/esm2020/formfield/models/message-align.mjs +5 -0
- package/esm2020/formfield/models/orientation.mjs +5 -0
- package/esm2020/formfield/models/show-options.mjs +5 -0
- package/esm2020/formfield.module.mjs +54 -0
- package/esm2020/index.mjs +66 -0
- package/esm2020/inputs.module.mjs +98 -0
- package/esm2020/maskedtextbox/maskedtextbox.component.mjs +711 -0
- package/esm2020/maskedtextbox/masking.service.mjs +191 -0
- package/esm2020/maskedtextbox/parsing/combinators.mjs +28 -0
- package/esm2020/maskedtextbox/parsing/parsers.mjs +147 -0
- package/esm2020/maskedtextbox/parsing/result.mjs +41 -0
- package/esm2020/maskedtextbox/parsing/stream.mjs +41 -0
- package/esm2020/maskedtextbox.module.mjs +53 -0
- package/esm2020/numerictextbox/arrow-direction.mjs +13 -0
- package/esm2020/numerictextbox/constants.mjs +28 -0
- package/esm2020/numerictextbox/localization/custom-messages.component.mjs +41 -0
- package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +37 -0
- package/esm2020/numerictextbox/localization/messages.mjs +25 -0
- package/esm2020/numerictextbox/numerictextbox.component.mjs +1105 -0
- package/esm2020/numerictextbox/utils.mjs +92 -0
- package/esm2020/numerictextbox.module.mjs +66 -0
- package/esm2020/package-metadata.mjs +15 -0
- package/esm2020/progress-kendo-angular-inputs.mjs +8 -0
- package/esm2020/radiobutton/radiobutton.directive.mjs +76 -0
- package/esm2020/radiobutton.module.mjs +52 -0
- package/esm2020/rangeslider/localization/custom-messages.component.mjs +41 -0
- package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +37 -0
- package/esm2020/rangeslider/localization/messages.mjs +25 -0
- package/esm2020/rangeslider/rangeslider-model.mjs +52 -0
- package/esm2020/rangeslider/rangeslider-value.type.mjs +5 -0
- package/esm2020/rangeslider/rangeslider.component.mjs +605 -0
- package/esm2020/rangeslider.module.mjs +71 -0
- package/esm2020/shared/input-separator.component.mjs +41 -0
- package/esm2020/shared/textarea.directive.mjs +260 -0
- package/esm2020/shared/utils.mjs +13 -0
- package/esm2020/shared.module.mjs +32 -0
- package/esm2020/signature/events/close-event.mjs +10 -0
- package/esm2020/signature/events/index.mjs +6 -0
- package/esm2020/signature/events/open-event.mjs +10 -0
- package/esm2020/signature/localization/custom-messages.component.mjs +41 -0
- package/esm2020/signature/localization/index.mjs +7 -0
- package/esm2020/signature/localization/localized-signature-messages.directive.mjs +37 -0
- package/esm2020/signature/localization/messages.mjs +29 -0
- package/esm2020/signature/signature.component.mjs +906 -0
- package/esm2020/signature.module.mjs +79 -0
- package/esm2020/slider/localization/custom-messages.component.mjs +41 -0
- package/esm2020/slider/localization/localized-slider-messages.directive.mjs +37 -0
- package/esm2020/slider/localization/messages.mjs +27 -0
- package/esm2020/slider/slider-model.mjs +34 -0
- package/esm2020/slider/slider.component.mjs +646 -0
- package/esm2020/slider.module.mjs +73 -0
- package/esm2020/sliders-common/label-template.directive.mjs +45 -0
- package/esm2020/sliders-common/slider-base.mjs +255 -0
- package/esm2020/sliders-common/slider-model.base.mjs +93 -0
- package/esm2020/sliders-common/slider-ticks.component.mjs +125 -0
- package/esm2020/sliders-common/sliders-common.module.mjs +42 -0
- package/esm2020/sliders-common/sliders-util.mjs +219 -0
- package/esm2020/sliders-common/title-callback.mjs +5 -0
- package/esm2020/switch/events/blur-event.mjs +9 -0
- package/esm2020/switch/events/focus-event.mjs +9 -0
- package/esm2020/switch/localization/custom-messages.component.mjs +41 -0
- package/esm2020/switch/localization/localized-switch-messages.directive.mjs +37 -0
- package/esm2020/switch/localization/messages.mjs +25 -0
- package/esm2020/switch/switch.component.mjs +577 -0
- package/esm2020/switch.module.mjs +68 -0
- package/esm2020/text-fields-common/text-fields-base.mjs +128 -0
- package/esm2020/textarea/models/flow.mjs +5 -0
- package/esm2020/textarea/models/resize.mjs +5 -0
- package/esm2020/textarea/textarea-suffix.component.mjs +40 -0
- package/esm2020/textarea/textarea.component.mjs +604 -0
- package/esm2020/textarea.module.mjs +68 -0
- package/esm2020/textbox/localization/custom-messages.component.mjs +41 -0
- package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +37 -0
- package/esm2020/textbox/localization/messages.mjs +23 -0
- package/esm2020/textbox/models/icon-show-options.mjs +5 -0
- package/esm2020/textbox/textbox-prefix.directive.mjs +38 -0
- package/esm2020/textbox/textbox-suffix.directive.mjs +37 -0
- package/esm2020/textbox/textbox.component.mjs +849 -0
- package/esm2020/textbox/textbox.directive.mjs +121 -0
- package/esm2020/textbox.module.mjs +89 -0
- package/esm2020/validators/max.validator.mjs +21 -0
- package/esm2020/validators/min.validator.mjs +21 -0
- package/fesm2015/progress-kendo-angular-inputs.mjs +15090 -0
- package/fesm2020/progress-kendo-angular-inputs.mjs +15055 -0
- package/formfield/error.component.d.ts +31 -0
- package/formfield/formfield.component.d.ts +98 -0
- package/formfield/hint.component.d.ts +29 -0
- package/formfield/models/message-align.d.ts +8 -0
- package/formfield/models/orientation.d.ts +9 -0
- package/formfield/models/show-options.d.ts +16 -0
- package/formfield.module.d.ts +45 -0
- package/index.d.ts +76 -0
- package/inputs.module.d.ts +55 -0
- package/maskedtextbox/maskedtextbox.component.d.ts +315 -0
- package/maskedtextbox/masking.service.d.ts +48 -0
- package/maskedtextbox/parsing/combinators.d.ts +13 -0
- package/maskedtextbox/parsing/parsers.d.ts +51 -0
- package/maskedtextbox/parsing/result.d.ts +27 -0
- package/maskedtextbox/parsing/stream.d.ts +26 -0
- package/maskedtextbox.module.d.ts +44 -0
- package/numerictextbox/arrow-direction.d.ts +12 -0
- package/numerictextbox/constants.d.ts +28 -0
- package/numerictextbox/localization/custom-messages.component.d.ts +17 -0
- package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +16 -0
- package/numerictextbox/localization/messages.d.ts +21 -0
- package/numerictextbox/numerictextbox.component.d.ts +364 -0
- package/numerictextbox/utils.d.ts +44 -0
- package/numerictextbox.module.d.ts +47 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +74 -0
- package/progress-kendo-angular-inputs.d.ts +9 -0
- package/radiobutton/radiobutton.directive.d.ts +38 -0
- package/radiobutton.module.d.ts +43 -0
- package/rangeslider/localization/custom-messages.component.d.ts +17 -0
- package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +16 -0
- package/rangeslider/localization/messages.d.ts +21 -0
- package/rangeslider/rangeslider-model.d.ts +15 -0
- package/rangeslider/rangeslider-value.type.d.ts +9 -0
- package/rangeslider/rangeslider.component.d.ts +139 -0
- package/rangeslider.module.d.ts +48 -0
- package/schematics/collection.json +12 -0
- package/schematics/ngAdd/index.js +11 -0
- package/schematics/ngAdd/schema.json +28 -0
- package/shared/input-separator.component.d.ts +28 -0
- package/shared/textarea.directive.d.ts +99 -0
- package/shared/utils.d.ts +10 -0
- package/shared.module.d.ts +19 -0
- package/signature/events/close-event.d.ts +10 -0
- package/signature/events/index.d.ts +6 -0
- package/signature/events/open-event.d.ts +10 -0
- package/signature/localization/custom-messages.component.d.ts +17 -0
- package/signature/localization/index.d.ts +7 -0
- package/signature/localization/localized-signature-messages.directive.d.ts +16 -0
- package/signature/localization/messages.d.ts +29 -0
- package/signature/signature.component.d.ts +364 -0
- package/signature.module.d.ts +48 -0
- package/slider/localization/custom-messages.component.d.ts +17 -0
- package/slider/localization/localized-slider-messages.directive.d.ts +16 -0
- package/slider/localization/messages.d.ts +25 -0
- package/slider/slider-model.d.ts +14 -0
- package/slider/slider.component.d.ts +175 -0
- package/slider.module.d.ts +50 -0
- package/sliders-common/label-template.directive.d.ts +36 -0
- package/sliders-common/slider-base.d.ts +141 -0
- package/sliders-common/slider-model.base.d.ts +26 -0
- package/sliders-common/slider-ticks.component.d.ts +26 -0
- package/sliders-common/sliders-common.module.d.ts +17 -0
- package/sliders-common/sliders-util.d.ts +119 -0
- package/sliders-common/title-callback.d.ts +10 -0
- package/switch/events/blur-event.d.ts +13 -0
- package/switch/events/focus-event.d.ts +13 -0
- package/switch/localization/custom-messages.component.d.ts +17 -0
- package/switch/localization/localized-switch-messages.directive.d.ts +16 -0
- package/switch/localization/messages.d.ts +21 -0
- package/switch/switch.component.d.ts +216 -0
- package/switch.module.d.ts +46 -0
- package/text-fields-common/text-fields-base.d.ts +91 -0
- package/textarea/models/flow.d.ts +12 -0
- package/textarea/models/resize.d.ts +16 -0
- package/textarea/textarea-suffix.component.d.ts +26 -0
- package/textarea/textarea.component.d.ts +225 -0
- package/textarea.module.d.ts +48 -0
- package/textbox/localization/custom-messages.component.d.ts +17 -0
- package/textbox/localization/localized-textbox-messages.directive.d.ts +16 -0
- package/textbox/localization/messages.d.ts +17 -0
- package/textbox/models/icon-show-options.d.ts +13 -0
- package/textbox/textbox-prefix.directive.d.ts +29 -0
- package/textbox/textbox-suffix.directive.d.ts +28 -0
- package/textbox/textbox.component.d.ts +376 -0
- package/textbox/textbox.directive.d.ts +59 -0
- package/textbox.module.d.ts +53 -0
- package/validators/max.validator.d.ts +8 -0
- package/validators/min.validator.d.ts +8 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./slider/slider.component";
|
|
7
|
+
import * as i2 from "./slider/localization/custom-messages.component";
|
|
8
|
+
import * as i3 from "./slider/localization/localized-slider-messages.directive";
|
|
9
|
+
import * as i4 from "@angular/common";
|
|
10
|
+
import * as i5 from "./sliders-common/sliders-common.module";
|
|
11
|
+
import * as i6 from "@progress/kendo-angular-icons";
|
|
12
|
+
import * as i7 from "@progress/kendo-angular-buttons";
|
|
13
|
+
import * as i8 from "./sliders-common/label-template.directive";
|
|
14
|
+
/**
|
|
15
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
16
|
+
* definition for the Slider component.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
*
|
|
20
|
+
* ```ts-no-run
|
|
21
|
+
* // Import the Inputs module
|
|
22
|
+
* import { SliderModule } from '@progress/kendo-angular-inputs';
|
|
23
|
+
*
|
|
24
|
+
* // The browser platform with a compiler
|
|
25
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
26
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
27
|
+
*
|
|
28
|
+
* import { NgModule } from '@angular/core';
|
|
29
|
+
*
|
|
30
|
+
* // Import the app component
|
|
31
|
+
* import { AppComponent } from './app.component';
|
|
32
|
+
*
|
|
33
|
+
* // Define the app module
|
|
34
|
+
* _@NgModule({
|
|
35
|
+
* declarations: [AppComponent], // declare app component
|
|
36
|
+
* imports: [BrowserModule, BrowserAnimationsModule, SliderModule], // import Slider module
|
|
37
|
+
* bootstrap: [AppComponent]
|
|
38
|
+
* })
|
|
39
|
+
* export class AppModule {}
|
|
40
|
+
*
|
|
41
|
+
* // Compile and launch the module
|
|
42
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class SliderModule {
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderModule, never>;
|
|
48
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, [typeof i1.SliderComponent, typeof i2.SliderCustomMessagesComponent, typeof i3.LocalizedSliderMessagesDirective], [typeof i4.CommonModule, typeof i5.SlidersCommonModule, typeof i6.IconsModule, typeof i7.ButtonModule], [typeof i1.SliderComponent, typeof i2.SliderCustomMessagesComponent, typeof i8.LabelTemplateDirective, typeof i3.LocalizedSliderMessagesDirective]>;
|
|
49
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SliderModule>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents the template for the labels of the Slider.
|
|
9
|
+
* To define the labels template, nest an `<ng-template>` tag with the `kendoSliderLabelTemplate` directive inside
|
|
10
|
+
* the `<kendo-slider>` tag. The template context is passed to the `label` value.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts-no-run
|
|
14
|
+
*
|
|
15
|
+
* _@Component({
|
|
16
|
+
* selector: 'my-app',
|
|
17
|
+
* template: `
|
|
18
|
+
* <kendo-slider [largeStep]="2">
|
|
19
|
+
* <ng-template kendoSliderLabelTemplate let-value="value">
|
|
20
|
+
* <b>{{value}}</b>
|
|
21
|
+
* </ng-template>
|
|
22
|
+
* </kendo-slider>
|
|
23
|
+
* `
|
|
24
|
+
* })
|
|
25
|
+
*
|
|
26
|
+
* class AppComponent {
|
|
27
|
+
* }
|
|
28
|
+
*
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class LabelTemplateDirective {
|
|
32
|
+
templateRef: TemplateRef<any>;
|
|
33
|
+
constructor(templateRef: TemplateRef<any>);
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelTemplateDirective, [{ optional: true; }]>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LabelTemplateDirective, "[kendoSliderLabelTemplate]", never, {}, {}, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { EventEmitter, Injector, Renderer2, NgZone, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
7
|
+
import { Subscription } from 'rxjs';
|
|
8
|
+
import { NgControl } from '@angular/forms';
|
|
9
|
+
import { LabelTemplateDirective } from './label-template.directive';
|
|
10
|
+
import { SliderTickTitleCallback } from './title-callback';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare abstract class SliderBase {
|
|
16
|
+
protected localizationService: LocalizationService;
|
|
17
|
+
protected injector: Injector;
|
|
18
|
+
protected renderer: Renderer2;
|
|
19
|
+
protected ngZone: NgZone;
|
|
20
|
+
protected changeDetector: ChangeDetectorRef;
|
|
21
|
+
protected hostElement: ElementRef;
|
|
22
|
+
/**
|
|
23
|
+
* Defines the title of the ticks ([see example]({% slug ticks_slider %}#toc-titles)). The default title
|
|
24
|
+
* for each tick is its Slider value. If you use a callback function, the function accepts an argument
|
|
25
|
+
* that holds the value of the component and returns a string with the new title.
|
|
26
|
+
*/
|
|
27
|
+
title: SliderTickTitleCallback;
|
|
28
|
+
/**
|
|
29
|
+
* Denotes the location of the tick marks in the Slider ([see example]({% slug ticks_slider %}#toc-placement)).
|
|
30
|
+
*
|
|
31
|
+
* The available options are:
|
|
32
|
+
* * `before`—The tick marks are located to the top side of the horizontal track or to the left side of a vertical track.
|
|
33
|
+
* * `after`—The tick marks are located to the bottom side of the horizontal track or to the right side of the vertical track.
|
|
34
|
+
* * `both`— (Default) The tick marks are located on both sides of the track.
|
|
35
|
+
* * `none`—The tick marks are not visible. The actual elements are not added to the DOM tree.
|
|
36
|
+
*/
|
|
37
|
+
tickPlacement: string;
|
|
38
|
+
/**
|
|
39
|
+
* If `vertical` is set to `true`, the orientation of the Slider changes from horizontal to vertical
|
|
40
|
+
* ([see example]({% slug orientation_slider %})).
|
|
41
|
+
*/
|
|
42
|
+
vertical: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The minimum value of the Slider ([see example]({% slug predefinedsteps_slider %}#toc-small-steps)).
|
|
45
|
+
* The attribute accepts both integers and floating-point numbers.
|
|
46
|
+
*/
|
|
47
|
+
min: number;
|
|
48
|
+
/**
|
|
49
|
+
* The maximum value of the Slider ([see example]({% slug predefinedsteps_slider %}#toc-small-steps)).
|
|
50
|
+
* The attribute accepts both integers and floating-point numbers.
|
|
51
|
+
*/
|
|
52
|
+
max: number;
|
|
53
|
+
/**
|
|
54
|
+
* The step value of the Slider ([see example]({% slug predefinedsteps_slider %}#toc-small-steps)).
|
|
55
|
+
* Accepts positive values only. Can be an integer or a floating-point number.
|
|
56
|
+
*/
|
|
57
|
+
smallStep: number;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies that every n<sup>th</sup> tick will be large and will have a label
|
|
60
|
+
* ([see example]({% slug predefinedsteps_slider %}#toc-large-steps)).
|
|
61
|
+
* Accepts positive integer values only.
|
|
62
|
+
*/
|
|
63
|
+
largeStep: number;
|
|
64
|
+
/**
|
|
65
|
+
* Sets the width between each two ticks along the track ([see example]({% slug ticks_slider %}#toc-width)). The value
|
|
66
|
+
* has to be set in pixels. If no `fixedTickWidth` is provided, the Slider automatically adjusts the tick width to
|
|
67
|
+
* accommodate the elements within the size of the component.
|
|
68
|
+
*/
|
|
69
|
+
fixedTickWidth: number;
|
|
70
|
+
/**
|
|
71
|
+
* Determines whether the Slider is disabled ([see example]({% slug disabledstate_slider %})).
|
|
72
|
+
*/
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Determines whether the Slider is in its read-only state ([see example]({% slug readonly_slider %})).
|
|
76
|
+
*/
|
|
77
|
+
readonly: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Slider.
|
|
80
|
+
*/
|
|
81
|
+
tabindex: number;
|
|
82
|
+
/**
|
|
83
|
+
* Fires each time the user focuses the component.
|
|
84
|
+
*/
|
|
85
|
+
onFocus: EventEmitter<any>;
|
|
86
|
+
/**
|
|
87
|
+
* Fires each time the component is blurred.
|
|
88
|
+
*/
|
|
89
|
+
onBlur: EventEmitter<any>;
|
|
90
|
+
/**
|
|
91
|
+
* Fires each time the user selects a new value.
|
|
92
|
+
*/
|
|
93
|
+
valueChange: EventEmitter<any>;
|
|
94
|
+
direction: string;
|
|
95
|
+
get horizontalClass(): boolean;
|
|
96
|
+
get verticalClass(): boolean;
|
|
97
|
+
sliderClass: boolean;
|
|
98
|
+
get disabledClass(): boolean;
|
|
99
|
+
wrapper: ElementRef;
|
|
100
|
+
track: ElementRef;
|
|
101
|
+
sliderSelection: ElementRef;
|
|
102
|
+
ticksContainer: ElementRef;
|
|
103
|
+
ticks: any;
|
|
104
|
+
labelTemplate: LabelTemplateDirective;
|
|
105
|
+
protected subscriptions: Subscription;
|
|
106
|
+
protected isFocused: boolean;
|
|
107
|
+
protected isDragged: boolean;
|
|
108
|
+
protected control: NgControl;
|
|
109
|
+
constructor(localizationService: LocalizationService, injector: Injector, renderer: Renderer2, ngZone: NgZone, changeDetector: ChangeDetectorRef, hostElement: ElementRef);
|
|
110
|
+
/**
|
|
111
|
+
* @hidden
|
|
112
|
+
* Called when the status of the component changes to or from `disabled`.
|
|
113
|
+
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
114
|
+
*
|
|
115
|
+
* @param isDisabled
|
|
116
|
+
*/
|
|
117
|
+
setDisabledState(isDisabled: boolean): void;
|
|
118
|
+
ngOnInit(): void;
|
|
119
|
+
/**
|
|
120
|
+
* @hidden
|
|
121
|
+
*/
|
|
122
|
+
abstract sizeComponent(animate?: boolean): void;
|
|
123
|
+
/**
|
|
124
|
+
* @hidden
|
|
125
|
+
*/
|
|
126
|
+
get isDisabled(): boolean;
|
|
127
|
+
/**
|
|
128
|
+
* @hidden
|
|
129
|
+
*/
|
|
130
|
+
ifEnabled: Function;
|
|
131
|
+
/**
|
|
132
|
+
* @hidden
|
|
133
|
+
* Used by the FloatingLabel to determine if the component is empty.
|
|
134
|
+
*/
|
|
135
|
+
isEmpty(): boolean;
|
|
136
|
+
protected get reverse(): boolean;
|
|
137
|
+
protected get keyBinding(): Object;
|
|
138
|
+
protected resetStyles(elements: HTMLElement[]): void;
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderBase, never>;
|
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderBase, "kendo-slider-base", never, { "title": "title"; "tickPlacement": "tickPlacement"; "vertical": "vertical"; "min": "min"; "max": "max"; "smallStep": "smallStep"; "largeStep": "largeStep"; "fixedTickWidth": "fixedTickWidth"; "disabled": "disabled"; "readonly": "readonly"; "tabindex": "tabindex"; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, ["labelTemplate"], never>;
|
|
141
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Renderer2 } from '@angular/core';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare abstract class SliderModelBase {
|
|
10
|
+
protected props: any;
|
|
11
|
+
protected wrapper: HTMLElement;
|
|
12
|
+
protected track: HTMLElement;
|
|
13
|
+
protected renderer: Renderer2;
|
|
14
|
+
protected tickSizes: number[];
|
|
15
|
+
constructor(props: any, wrapper: HTMLElement, track: HTMLElement, renderer: Renderer2);
|
|
16
|
+
protected abstract positionHandle(dragHandle: HTMLElement): void;
|
|
17
|
+
protected abstract positionSelection(dragHandle: HTMLElement, selection: HTMLElement): void;
|
|
18
|
+
resizeTrack(): void;
|
|
19
|
+
resizeTicks(ticksContainer: HTMLElement, ticks: HTMLElement[]): void;
|
|
20
|
+
resizeWrapper(): void;
|
|
21
|
+
protected trackWidth(): number;
|
|
22
|
+
protected getTickSizes(): any[];
|
|
23
|
+
private adjustPadding;
|
|
24
|
+
private elementOffset;
|
|
25
|
+
private elementSize;
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef, OnChanges, QueryList, TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class SliderTicksComponent implements OnChanges {
|
|
11
|
+
wrapperClasses: string;
|
|
12
|
+
tickTitle: (value: number) => string;
|
|
13
|
+
vertical: boolean;
|
|
14
|
+
step: number;
|
|
15
|
+
largeStep: number;
|
|
16
|
+
min: number;
|
|
17
|
+
max: number;
|
|
18
|
+
labelTemplate: TemplateRef<any>;
|
|
19
|
+
tickElements: QueryList<ElementRef>;
|
|
20
|
+
ticks: Array<any>;
|
|
21
|
+
ngOnChanges(_: any): void;
|
|
22
|
+
private createTicks;
|
|
23
|
+
private endTickClasses;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderTicksComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderTicksComponent, "[kendoSliderTicks]", never, { "tickTitle": "tickTitle"; "vertical": "vertical"; "step": "step"; "largeStep": "largeStep"; "min": "min"; "max": "max"; "labelTemplate": "labelTemplate"; }, {}, never, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./slider-ticks.component";
|
|
7
|
+
import * as i2 from "./label-template.directive";
|
|
8
|
+
import * as i3 from "@angular/common";
|
|
9
|
+
import * as i4 from "@progress/kendo-angular-common";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare class SlidersCommonModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlidersCommonModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SlidersCommonModule, [typeof i1.SliderTicksComponent, typeof i2.LabelTemplateDirective], [typeof i3.CommonModule, typeof i4.DraggableModule, typeof i4.EventsModule, typeof i4.ResizeSensorModule], [typeof i2.LabelTemplateDirective, typeof i1.SliderTicksComponent, typeof i4.DraggableModule, typeof i4.EventsModule, typeof i4.ResizeSensorModule]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SlidersCommonModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { RangeSliderValue } from '../rangeslider/rangeslider-value.type';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare const calculateFixedTrackSize: ({ max, min, smallStep, fixedTickWidth }: any) => number;
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const calculateTrackSize: (wrapperWidth: number, offset: any, showButtons?: boolean) => number;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare const calculateTicksCount: (min?: number, max?: number, smallStep?: number) => number;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export declare const calculateValueFromTick: (index: number, { max, min, smallStep, reverse, vertical }: any) => number;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare const calculateHandlePosition: ({ trackWidth, min, max, reverse, value }: any) => number;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export declare const decreaseValueToStep: (value: number, { max, min, smallStep, largeStep }: any, large?: boolean) => number;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export declare const increaseValueToStep: (value: number, { max, min, smallStep, largeStep }: any, large?: boolean) => number;
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
export declare const isStartHandle: (dragHandle: HTMLElement) => boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
export declare const snapValue: (value: number, options: any) => number;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
export declare const trimValue: (max: number, min: number, value: number) => number;
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
export declare const trimValueRange: (max: number, min: number, value: [number, number]) => [number, number];
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*/
|
|
53
|
+
export declare const identity: (value: any) => any;
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
export declare const isSameRange: (value1: [number, number], value2: [number, number]) => boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @hidden
|
|
60
|
+
*/
|
|
61
|
+
export declare const elementOffset: (element: any) => any;
|
|
62
|
+
/**
|
|
63
|
+
* @hidden
|
|
64
|
+
*/
|
|
65
|
+
export declare const limitValue: (value: number, min: number, max: number) => number;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
export declare const eventValue: (eventArgs: any, scaleElement: any, options: any) => number;
|
|
70
|
+
/**
|
|
71
|
+
* @hidden
|
|
72
|
+
*/
|
|
73
|
+
export declare const isButton: (element: any) => boolean;
|
|
74
|
+
/**
|
|
75
|
+
* @hidden
|
|
76
|
+
*/
|
|
77
|
+
export declare const increment: (options: any) => number;
|
|
78
|
+
/**
|
|
79
|
+
* @hidden
|
|
80
|
+
*/
|
|
81
|
+
export declare const decrement: (options: any) => number;
|
|
82
|
+
/**
|
|
83
|
+
* @hidden
|
|
84
|
+
*/
|
|
85
|
+
export declare const incrementLarge: (options: any) => number;
|
|
86
|
+
/**
|
|
87
|
+
* @hidden
|
|
88
|
+
*/
|
|
89
|
+
export declare const decrementLarge: (options: any) => number;
|
|
90
|
+
/**
|
|
91
|
+
* @hidden
|
|
92
|
+
*/
|
|
93
|
+
export declare const validateValue: (value: RangeSliderValue) => void;
|
|
94
|
+
declare const _default: {
|
|
95
|
+
calculateFixedTrackSize: ({ max, min, smallStep, fixedTickWidth }: any) => number;
|
|
96
|
+
calculateValueFromTick: (index: number, { max, min, smallStep, reverse, vertical }: any) => number;
|
|
97
|
+
calculateTrackSize: (wrapperWidth: number, offset: any, showButtons?: boolean) => number;
|
|
98
|
+
calculateTicksCount: (min?: number, max?: number, smallStep?: number) => number;
|
|
99
|
+
calculateHandlePosition: ({ trackWidth, min, max, reverse, value }: any) => number;
|
|
100
|
+
decreaseValueToStep: (value: number, { max, min, smallStep, largeStep }: any, large?: boolean) => number;
|
|
101
|
+
decrement: (options: any) => number;
|
|
102
|
+
decrementLarge: (options: any) => number;
|
|
103
|
+
eventValue: (eventArgs: any, scaleElement: any, options: any) => number;
|
|
104
|
+
identity: (value: any) => any;
|
|
105
|
+
increment: (options: any) => number;
|
|
106
|
+
incrementLarge: (options: any) => number;
|
|
107
|
+
isButton: (element: any) => boolean;
|
|
108
|
+
isSameRange: (value1: [number, number], value2: [number, number]) => boolean;
|
|
109
|
+
isStartHandle: (dragHandle: HTMLElement) => boolean;
|
|
110
|
+
increaseValueToStep: (value: number, { max, min, smallStep, largeStep }: any, large?: boolean) => number;
|
|
111
|
+
trimValue: (max: number, min: number, value: number) => number;
|
|
112
|
+
trimValueRange: (max: number, min: number, value: [number, number]) => [number, number];
|
|
113
|
+
snapValue: (value: number, options: any) => number;
|
|
114
|
+
validateValue: (value: RangeSliderValue) => void;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @hidden
|
|
118
|
+
*/
|
|
119
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Defines the title of the ticks ([see example]({% slug ticks_slider %}#toc-titles)). The default title
|
|
7
|
+
* for each tick is its Slider value. If you use a callback function, the function accepts an argument
|
|
8
|
+
* that holds the value of the component and returns a string with the new title.
|
|
9
|
+
*/
|
|
10
|
+
export declare type SliderTickTitleCallback = (value: number) => string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Arguments for the `blur` event of the Switch component.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SwitchBlurEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The original DOM [`blur`](https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event) event.
|
|
11
|
+
*/
|
|
12
|
+
originalEvent: FocusEvent;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Arguments for the `focus` event of the Switch component.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SwitchFocusEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The original DOM [`focus`](https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event) event.
|
|
11
|
+
*/
|
|
12
|
+
originalEvent: FocusEvent;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SwitchCustomMessagesComponent extends Messages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected get override(): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchCustomMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchCustomMessagesComponent, "kendo-switch-messages", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class LocalizedSwitchMessagesDirective extends Messages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedSwitchMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedSwitchMessagesDirective, "[kendoSwitchLocalizedMessages]", never, {}, {}, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class Messages extends ComponentMessages {
|
|
11
|
+
/**
|
|
12
|
+
* The title of the **On** button of the Switch.
|
|
13
|
+
*/
|
|
14
|
+
on: string;
|
|
15
|
+
/**
|
|
16
|
+
* The title of the **Off** button of the Switch.
|
|
17
|
+
*/
|
|
18
|
+
off: string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-switch-messages-base", never, { "on": "on"; "off": "off"; }, {}, never>;
|
|
21
|
+
}
|