@mindfusion/dataviews 2.1.2 → 2.2.0

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/dataviews.d.ts CHANGED
@@ -849,6 +849,14 @@ declare module "DataViews/jsdv/src/UIControl" {
849
849
  export class UIControl extends Control {
850
850
  static get tm(): number[];
851
851
  static get ns(): string;
852
+ /**
853
+ * Initializes a new instance of the UIControl class.
854
+ * @constructor
855
+ * @param {HTMLElement} [element] The control's associated Dom element.
856
+ * @param {String} [tagName] The tag name of the element.
857
+ * @param {Type} [componentType] The type of the component.
858
+ */
859
+ constructor(element?: HTMLElement, tagName?: string, componentType?: any);
852
860
  _messenger: {
853
861
  message(control: any): void;
854
862
  setKey(value: any): void;
@@ -1546,6 +1554,15 @@ declare module "DataViews/jsdv/src/Grid" {
1546
1554
  * @private
1547
1555
  */
1548
1556
  private get contentClientHeight();
1557
+ set uiThemesPath(arg: string);
1558
+ /**
1559
+ * Gets or sets the path to the control's css themes.
1560
+ * @type {String}
1561
+ * @summary A string specifying the path.
1562
+ * @remarks Only applies to web components.
1563
+ */
1564
+ get uiThemesPath(): string;
1565
+ _uiThemesPath: string;
1549
1566
  /**
1550
1567
  * Gets the width of the specified grid column.
1551
1568
  * @param {Number} column The column index.
@@ -2735,6 +2752,15 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
2735
2752
  get allowScroll(): boolean;
2736
2753
  _allowScroll: any;
2737
2754
  _selectedItem: PropertyGridPage;
2755
+ set uiThemesPath(arg: string);
2756
+ /**
2757
+ * Gets or sets the path to the control's css themes.
2758
+ * @type {String}
2759
+ * @summary A string specifying the path.
2760
+ * @remarks Only applies to web components.
2761
+ */
2762
+ get uiThemesPath(): string;
2763
+ _uiThemesPath: string;
2738
2764
  set allowDrag(arg: boolean);
2739
2765
  /**
2740
2766
  * ListContainer.allowDrag override.
@@ -2835,6 +2861,7 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
2835
2861
  * @protected
2836
2862
  */
2837
2863
  protected onItemsChanging(sender: any, args: any): void;
2864
+ connectedCallback(): void;
2838
2865
  }
2839
2866
  import { UIControl } from "DataViews/jsdv/src/UIControl";
2840
2867
  import { Unit } from "@mindfusion/common";
@@ -2842,6 +2869,17 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
2842
2869
  import { EventDispatcher } from "@mindfusion/common";
2843
2870
  import { PropertyGridPage } from "DataViews/jsdv/src/PropertyGridPage";
2844
2871
  }
2872
+ declare module "DataViews/jsdv/src/WebComponents" {
2873
+ /**
2874
+ * @class Contains web components-related functions.
2875
+ */
2876
+ export class WebComponents {
2877
+ /**
2878
+ * @class Registers the controls in the package as web components.
2879
+ */
2880
+ static register(): void;
2881
+ }
2882
+ }
2845
2883
  declare module "@mindfusion/dataviews" {
2846
2884
  export { ArrayModel } from "DataViews/jsdv/src/ArrayModel";
2847
2885
  export { Command } from "DataViews/jsdv/src/Command";
@@ -2869,4 +2907,5 @@ declare module "@mindfusion/dataviews" {
2869
2907
  export { BooleanType } from "DataViews/jsdv/src/BooleanType";
2870
2908
  export { ObjectType } from "DataViews/jsdv/src/ObjectType";
2871
2909
  export { CollectionType } from "DataViews/jsdv/src/CollectionType";
2910
+ export { WebComponents } from "DataViews/jsdv/src/WebComponents";
2872
2911
  }