@progress/kendo-angular-inputs 9.0.0-next.202203161725 → 9.0.0-next.202203171314

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.
@@ -4,11 +4,5 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
6
  * Represents the possible size options of the inputs.
7
- *
8
- * The possible values are:
9
- * - `'small'`
10
- * - `'medium'`
11
- * - `'large'`
12
- * - `null`
13
7
  */
14
8
  export declare type InputSize = 'small' | 'medium' | 'large' | null;
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-inputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1647451372,
12
+ publishDate: 1647522715,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -9,8 +9,9 @@ import { detectDesktopBrowser, detectMobileOS } from "@progress/kendo-common";
9
9
  * Returns true if the used browser is Safari.
10
10
  */
11
11
  export const isSafari = (userAgent) => {
12
- return detectDesktopBrowser(userAgent).safari ||
13
- (detectMobileOS(userAgent) && detectMobileOS(userAgent).browser === 'mobilesafari');
12
+ const desktopBrowser = detectDesktopBrowser(userAgent);
13
+ const mobileOS = detectMobileOS(userAgent);
14
+ return (desktopBrowser && desktopBrowser.safari) || (mobileOS && mobileOS.browser === 'mobilesafari');
14
15
  };
15
16
  /**
16
17
  * @hidden
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -5,8 +5,7 @@
5
5
  import { Component, HostBinding } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Specifies the adornments in the suffix container ([see example]({% slug textarea_adornments %}).
9
- * @example
8
+ * Specifies the adornments in the suffix container ([see example]({% slug textarea_adornments %})).
10
9
  * ```ts-no-run
11
10
  * _@Component({
12
11
  * selector: 'my-app',
@@ -6,7 +6,6 @@ import { Directive, Optional } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Specifies the adornments in the suffix container ([see examples]({% slug adornments_textbox %}#toc-suffixadornments)).
9
- * @example
10
9
  * ```ts-no-run
11
10
  * _@Component({
12
11
  * selector: 'my-app',
@@ -519,7 +519,7 @@ const packageMetadata = {
519
519
  name: '@progress/kendo-angular-inputs',
520
520
  productName: 'Kendo UI for Angular',
521
521
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
522
- publishDate: 1647451372,
522
+ publishDate: 1647522715,
523
523
  version: '',
524
524
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
525
525
  };
@@ -5929,8 +5929,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
5929
5929
  * Returns true if the used browser is Safari.
5930
5930
  */
5931
5931
  const isSafari = (userAgent) => {
5932
- return detectDesktopBrowser(userAgent).safari ||
5933
- (detectMobileOS(userAgent) && detectMobileOS(userAgent).browser === 'mobilesafari');
5932
+ const desktopBrowser = detectDesktopBrowser(userAgent);
5933
+ const mobileOS = detectMobileOS(userAgent);
5934
+ return (desktopBrowser && desktopBrowser.safari) || (mobileOS && mobileOS.browser === 'mobilesafari');
5934
5935
  };
5935
5936
  /**
5936
5937
  * @hidden
@@ -5944,7 +5945,6 @@ const isJapanese = (input) => {
5944
5945
 
5945
5946
  /**
5946
5947
  * Specifies the adornments in the suffix container ([see examples]({% slug adornments_textbox %}#toc-suffixadornments)).
5947
- * @example
5948
5948
  * ```ts-no-run
5949
5949
  * _@Component({
5950
5950
  * selector: 'my-app',
@@ -7638,8 +7638,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
7638
7638
  }] } });
7639
7639
 
7640
7640
  /**
7641
- * Specifies the adornments in the suffix container ([see example]({% slug textarea_adornments %}).
7642
- * @example
7641
+ * Specifies the adornments in the suffix container ([see example]({% slug textarea_adornments %})).
7643
7642
  * ```ts-no-run
7644
7643
  * _@Component({
7645
7644
  * selector: 'my-app',
package/main.d.ts CHANGED
@@ -61,6 +61,7 @@ export { LocalizedTextBoxMessagesDirective } from './textbox/localization/locali
61
61
  export { LocalizedSliderMessagesDirective } from './slider/localization/localized-slider-messages.directive';
62
62
  export { LocalizedRangeSliderMessagesDirective } from './rangeslider/localization/localized-rangeslider-messages.directive';
63
63
  export { LocalizedSwitchMessagesDirective } from './switch/localization/localized-switch-messages.directive';
64
+ export { SliderTickTitleCallback } from './sliders-common/title-callback';
64
65
  export { SliderCustomMessagesComponent } from './slider/localization/custom-messages.component';
65
66
  export { RangeSliderCustomMessagesComponent } from './rangeslider/localization/custom-messages.component';
66
67
  export { SwitchCustomMessagesComponent } from './switch/localization/custom-messages.component';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-inputs",
3
- "version": "9.0.0-next.202203161725",
3
+ "version": "9.0.0-next.202203171314",
4
4
  "description": "Inputs Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -7,6 +7,7 @@ import { EventEmitter, Injector, Renderer2, NgZone, ChangeDetectorRef, ElementRe
7
7
  import { Subscription } from 'rxjs';
8
8
  import { NgControl } from '@angular/forms';
9
9
  import { LabelTemplateDirective } from './label-template.directive';
10
+ import { SliderTickTitleCallback } from './title-callback';
10
11
  import * as i0 from "@angular/core";
11
12
  /**
12
13
  * @hidden
@@ -23,7 +24,7 @@ export declare abstract class SliderBase {
23
24
  * for each tick is its Slider value. If you use a callback function, the function accepts an argument
24
25
  * that holds the value of the component and returns a string with the new title.
25
26
  */
26
- title: (value: number) => string;
27
+ title: SliderTickTitleCallback;
27
28
  /**
28
29
  * Denotes the location of the tick marks in the Slider ([see example]({% slug ticks_slider %}#toc-placement)).
29
30
  *
@@ -0,0 +1,10 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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;
@@ -4,8 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
- * Specifies the adornments in the suffix container ([see example]({% slug textarea_adornments %}).
8
- * @example
7
+ * Specifies the adornments in the suffix container ([see example]({% slug textarea_adornments %})).
9
8
  * ```ts-no-run
10
9
  * _@Component({
11
10
  * selector: 'my-app',
@@ -6,7 +6,6 @@ import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Specifies the adornments in the suffix container ([see examples]({% slug adornments_textbox %}#toc-suffixadornments)).
9
- * @example
10
9
  * ```ts-no-run
11
10
  * _@Component({
12
11
  * selector: 'my-app',