@talxis/base-controls 1.2501.2 → 1.2501.3
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/dist/index.d.ts +13 -3
- package/dist/interfaces/context.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="powerapps-component-framework" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
3
|
import { ITheme, IDatePickerProps, ITextFieldProps, IComboBoxProps, ITagPickerProps } from '@talxis/react-components';
|
|
4
|
+
import { DeepPartial, IDataset } from '@talxis/client-libraries';
|
|
4
5
|
import { ITheme as ITheme$1, IToggleProps } from '@fluentui/react';
|
|
5
6
|
import { AgGridReactProps } from '@ag-grid-community/react';
|
|
6
|
-
import { IDataset } from '@talxis/client-libraries';
|
|
7
7
|
|
|
8
8
|
type ExcludedProps = Pick<ComponentFramework.PropertyTypes.Property, 'formatted'>;
|
|
9
9
|
interface IProperty extends Omit<Partial<ComponentFramework.PropertyTypes.Property>, keyof ExcludedProps | 'attributes'> {
|
|
@@ -66,11 +66,21 @@ interface ILookupProperty extends IProperty, Omit<Partial<ComponentFramework.Pro
|
|
|
66
66
|
}[]>;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
interface IFluentDesignState extends ComponentFramework.FluentDesignState {
|
|
70
|
+
tokenTheme: {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
fluentV8Overrides?: DeepPartial<ITheme>;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
69
76
|
interface IOutputs$1 {
|
|
70
77
|
[key: string]: any;
|
|
71
78
|
}
|
|
79
|
+
interface IContext extends ComponentFramework.Context<any> {
|
|
80
|
+
fluentDesignLanguage: IFluentDesignState;
|
|
81
|
+
}
|
|
72
82
|
interface IControl<TParameters, TOutputs, TTranslations, TComponentProps> {
|
|
73
|
-
context:
|
|
83
|
+
context: IContext;
|
|
74
84
|
parameters: TParameters;
|
|
75
85
|
translations?: TTranslations;
|
|
76
86
|
state?: ComponentFramework.Dictionary;
|
|
@@ -879,4 +889,4 @@ interface IDatasetControl extends IControl<IGridParameters, IGridOutputs, Partia
|
|
|
879
889
|
|
|
880
890
|
declare const DatasetControl: (props: IDatasetControl) => JSX.Element;
|
|
881
891
|
|
|
882
|
-
export { DatasetControl, DateTime, Decimal, Duration, Grid, IControl, IControlController, IDatasetControl, IDateTime, IDateTimeOutputs, IDateTimeParameters, IDateTimeProperty, IDecimal, IDecimalNumberProperty, IDecimalOutputs, IDecimalParameters, IDefaultTranslations, IDuration, IDurationOutputs, IDurationParameters, IEntity, IGrid, IGridOutputs, IGridParameters, ILayout, ILookup, ILookupOutputs, ILookupParameters, ILookupProperty, IMetadata, IMultiSelectOptionSet, IMultiSelectOptionSetOutputs, IMultiSelectOptionSetParameters, IMultiSelectOptionSetProperty, IOptionSet, IOptionSetOutputs, IOptionSetParameters, IOptionSetProperty, IOutputs, IParameters$1 as IParameters, IProperty, IStringProperty, ITextField, ITextFieldOutputs, ITextFieldParameters, ITranslation, ITranslations, ITwoOptions, ITwoOptionsOutputs, ITwoOptionsParameters, ITwoOptionsProperty, IWholeNumberProperty, Lookup, MultiSelectOptionSet, OptionSet, TextField, TwoOptions, useControl, useControlSizing, useControlTheme, useDateTime, useFocusIn, useInputBasedControl, useLookup, useMouseOver };
|
|
892
|
+
export { DatasetControl, DateTime, Decimal, Duration, Grid, IContext, IControl, IControlController, IDatasetControl, IDateTime, IDateTimeOutputs, IDateTimeParameters, IDateTimeProperty, IDecimal, IDecimalNumberProperty, IDecimalOutputs, IDecimalParameters, IDefaultTranslations, IDuration, IDurationOutputs, IDurationParameters, IEntity, IGrid, IGridOutputs, IGridParameters, ILayout, ILookup, ILookupOutputs, ILookupParameters, ILookupProperty, IMetadata, IMultiSelectOptionSet, IMultiSelectOptionSetOutputs, IMultiSelectOptionSetParameters, IMultiSelectOptionSetProperty, IOptionSet, IOptionSetOutputs, IOptionSetParameters, IOptionSetProperty, IOutputs, IParameters$1 as IParameters, IProperty, IStringProperty, ITextField, ITextFieldOutputs, ITextFieldParameters, ITranslation, ITranslations, ITwoOptions, ITwoOptionsOutputs, ITwoOptionsParameters, ITwoOptionsProperty, IWholeNumberProperty, Lookup, MultiSelectOptionSet, OptionSet, TextField, TwoOptions, useControl, useControlSizing, useControlTheme, useDateTime, useFocusIn, useInputBasedControl, useLookup, useMouseOver };
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/// <reference types="powerapps-component-framework" />
|
|
2
|
+
import { IFluentDesignState } from "../utils";
|
|
2
3
|
export interface IOutputs {
|
|
3
4
|
[key: string]: any;
|
|
4
5
|
}
|
|
6
|
+
export interface IContext extends ComponentFramework.Context<any> {
|
|
7
|
+
fluentDesignLanguage: IFluentDesignState;
|
|
8
|
+
}
|
|
5
9
|
export interface IControl<TParameters, TOutputs, TTranslations, TComponentProps> {
|
|
6
|
-
context:
|
|
10
|
+
context: IContext;
|
|
7
11
|
parameters: TParameters;
|
|
8
12
|
translations?: TTranslations;
|
|
9
13
|
state?: ComponentFramework.Dictionary;
|
package/package.json
CHANGED