ids-enterprise-typings 20.2.0-alpha.1 → 20.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -654,6 +654,7 @@ interface SohoStatic {
654
654
  TargetedAchievement: SohoDataGridColumnFormatterFunction;
655
655
  Fileupload: SohoDataGridColumnFormatterFunction;
656
656
  MultiSelect: SohoDataGridColumnFormatterFunction;
657
+ RevealableText: SohoDataGridColumnFormatterFunction;
657
658
  };
658
659
  Editors: {
659
660
  // Supports, Text, Numeric, Integer via mask
@@ -671,6 +672,7 @@ interface SohoStatic {
671
672
  Spinbox: SohoDataGridColumnEditorFunction;
672
673
  Favorite: SohoDataGridColumnEditorFunction;
673
674
  MultiSelect: SohoDataGridColumnEditorFunction;
675
+
674
676
  };
675
677
  }
676
678
 
@@ -736,6 +738,7 @@ declare var Formatters: {
736
738
  TargetedAchievement: SohoDataGridColumnFormatterFunction;
737
739
  Fileupload: SohoDataGridColumnFormatterFunction;
738
740
  MultiSelect: SohoDataGridColumnFormatterFunction;
741
+ RevealableText: SohoDataGridColumnFormatterFunction;
739
742
  };
740
743
 
741
744
  type SohoDataGridColumnHrefFunction = (
@@ -809,6 +812,14 @@ type SohoDataGridColumnContentVisibleFunction = (
809
812
  item: any
810
813
  ) => boolean;
811
814
 
815
+ type SohoDataGridRevealableTextData = {
816
+ revealCharacters?: number
817
+ initialState?: 'hide' | 'hide',
818
+ revealBtn?: 'default' | 'icon' | 'text',
819
+ maskingType?: 'default' | `email` | `phone` | `address` | `card` | `ssn` | `birthday` | `digit`;
820
+ }
821
+
822
+
812
823
  /**
813
824
  * This is an interface mapping for the grid column defined
814
825
  * within the Soho jQuery Control.
@@ -1008,6 +1019,8 @@ interface SohoDataGridColumn {
1008
1019
  /** If true the text will be transformed to upper case in readonly view. Also in edit mode uppercase will be enforced. */
1009
1020
  uppercase?: boolean;
1010
1021
 
1022
+ revealTextSettings?: SohoDataGridRevealableTextData;
1023
+
1011
1024
  /**
1012
1025
  * Option for tree datagrid
1013
1026
  * If false children nodes will not be selected when the parent node is selected
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Soho Field Options.
3
+ *
4
+ * This file contains the Typescript mappings for the public
5
+ * interface of the Soho jQuery Field Options control.
6
+ *
7
+ * Which has no options at this time.
8
+ */
9
+
10
+ interface SohoFieldSetOptionStaticSettings {
11
+
12
+ }
13
+
14
+ interface SohoFieldSetOptionStatic {
15
+ /** Access to the control's options block. */
16
+ settings: SohoFieldSetOptionStaticSettings;
17
+
18
+ /** Destructor. */
19
+ destroy(): void;
20
+ }
21
+
22
+ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
23
+ fieldoptions(options?: SohoFieldSetOptionStaticSettings): JQuery;
24
+ }
@@ -50,6 +50,18 @@ interface SohoListViewOptions {
50
50
 
51
51
  /** Add extra attributes like id's to the component **/
52
52
  attributes?: Array<Object> | Object;
53
+
54
+ /** Reveal text settings for masking/revealing text content */
55
+ revealTextSettings?: SohoListViewRevealableTextData;
56
+ }
57
+
58
+ type SohoListViewRevealableTextData = {
59
+ [key: string]: {
60
+ revealCharacters?: number;
61
+ initialState?: 'hide' | 'show';
62
+ revealBtn?: 'default' | 'icon' | 'text';
63
+ maskingType?: 'default' | 'email' | 'phone' | 'address' | 'card' | 'ssn' | 'birthday' | 'digit';
64
+ };
53
65
  }
54
66
 
55
67
  type SohoListViewSourceFunction = (
@@ -136,6 +148,10 @@ interface SohoListViewStatic {
136
148
  */
137
149
  toggleItemActivation(item: SohoListViewItemReference): void;
138
150
 
151
+ /**
152
+ * Initialize revealable characters functionality
153
+ */
154
+ initReavealableCharacters(): void;
139
155
  }
140
156
 
141
157
  /**
@@ -29,6 +29,9 @@ interface SohoNotificationBadgeOptions {
29
29
 
30
30
  /** The label of the notification badge. */
31
31
  label?: string;
32
+
33
+ /** Whether the notification badge is visible */
34
+ visible?: boolean;
32
35
  }
33
36
 
34
37
  interface SohoNotificationBadge {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "20.2.0-alpha.1",
4
+ "version": "20.2.0-beta.2",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "peerDependencies": {