@epam/uui 4.2.7 → 4.5.1
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/__mocks__/reactDom.mock.d.ts +4 -4
- package/bundle-stats.json +1 -1
- package/constants/index.d.ts +1 -1
- package/constants/selectors.d.ts +77 -69
- package/constants/selectors.d.ts.map +1 -1
- package/data/Stateful.d.ts +11 -11
- package/data/forms/Form.d.ts +37 -68
- package/data/forms/Form.d.ts.map +1 -1
- package/data/forms/index.d.ts +2 -1
- package/data/forms/index.d.ts.map +1 -1
- package/data/forms/useForm.d.ts +4 -0
- package/data/forms/useForm.d.ts.map +1 -0
- package/data/forms/useLock.d.ts +6 -0
- package/data/forms/useLock.d.ts.map +1 -0
- package/data/index.d.ts +6 -6
- package/data/lenses/LensBuilder.d.ts +17 -17
- package/data/lenses/builders.d.ts +5 -5
- package/data/lenses/hooks.d.ts +7 -7
- package/data/lenses/index.d.ts +4 -4
- package/data/lenses/lensesImpl.d.ts +16 -16
- package/data/lenses/types.d.ts +12 -12
- package/data/processing/ArrayDataSource.d.ts +26 -26
- package/data/processing/ArrayDataSource.d.ts.map +1 -1
- package/data/processing/AsyncDataSource.d.ts +16 -16
- package/data/processing/BaseDataSource.d.ts +17 -15
- package/data/processing/BaseDataSource.d.ts.map +1 -1
- package/data/processing/LazyDataSource.d.ts +18 -18
- package/data/processing/LazyDataSource.d.ts.map +1 -1
- package/data/processing/ListApiCache.d.ts +70 -70
- package/data/processing/hooks/index.d.ts +3 -3
- package/data/processing/hooks/useArrayDataSource.d.ts +2 -2
- package/data/processing/hooks/useAsyncDataSource.d.ts +2 -2
- package/data/processing/hooks/useLazyDataSource.d.ts +2 -2
- package/data/processing/index.d.ts +8 -8
- package/data/processing/types.d.ts +76 -76
- package/data/processing/views/ArrayListView.d.ts +26 -26
- package/data/processing/views/ArrayListView.d.ts.map +1 -1
- package/data/processing/views/BaseListView.d.ts +69 -64
- package/data/processing/views/BaseListView.d.ts.map +1 -1
- package/data/processing/views/LazyListView.d.ts +87 -83
- package/data/processing/views/LazyListView.d.ts.map +1 -1
- package/data/processing/views/LazyTree.d.ts +24 -24
- package/data/processing/views/LoadingListView.d.ts +14 -14
- package/data/processing/views/index.d.ts +5 -5
- package/data/processing/views/types.d.ts +30 -30
- package/data/querying/getOrderComparer.d.ts +2 -2
- package/data/querying/getPatternPredicate.d.ts +3 -3
- package/data/querying/getSearchFilter.d.ts +1 -1
- package/data/querying/index.d.ts +4 -4
- package/data/querying/runDataQuery.d.ts +5 -5
- package/data/validation/index.d.ts +3 -3
- package/data/validation/mergeValidation.d.ts +2 -2
- package/data/validation/validate.d.ts +5 -5
- package/data/validation/validateServerErrorState.d.ts +2 -2
- package/helpers/Debouncer.d.ts +14 -14
- package/helpers/IEditableDebouncer.d.ts +26 -26
- package/helpers/LazyLoadedMap.d.ts +45 -45
- package/helpers/applyColumnsConfig.d.ts +3 -3
- package/helpers/arrayToMatrix.d.ts +1 -1
- package/helpers/batchOnNextTick.d.ts +1 -1
- package/helpers/browser.d.ts +10 -10
- package/helpers/closest.d.ts +1 -1
- package/helpers/cookie.d.ts +3 -3
- package/helpers/cx.d.ts +3 -1
- package/helpers/cx.d.ts.map +1 -1
- package/helpers/events.d.ts +5 -5
- package/helpers/events.d.ts.map +1 -1
- package/helpers/formatBytes.d.ts +1 -1
- package/helpers/getDefaultColumnsConfig.d.ts +2 -2
- package/helpers/getOffset.d.ts +4 -4
- package/helpers/getOrderBetween.d.ts +1 -1
- package/helpers/index.d.ts +24 -24
- package/helpers/index.d.ts.map +1 -1
- package/helpers/mobile.d.ts +3 -3
- package/helpers/mobile.d.ts.map +1 -1
- package/helpers/mouseCoords.d.ts +11 -11
- package/helpers/mouseCoords.d.ts.map +1 -1
- package/helpers/numericInputCalculations.d.ts +8 -8
- package/helpers/parseIconViewbox.d.ts +5 -5
- package/helpers/parseToCSSProperties.d.ts +1 -1
- package/helpers/parseToCSSProperties.d.ts.map +1 -1
- package/helpers/screenSize.d.ts +4 -4
- package/helpers/screenSize.d.ts.map +1 -1
- package/helpers/ssr.d.ts +2 -0
- package/helpers/ssr.d.ts.map +1 -0
- package/helpers/urlParser.d.ts +7 -7
- package/helpers/urlUtils.d.ts +4 -4
- package/helpers/useMemoWithDestructor.d.ts +1 -1
- package/helpers/withMods.d.ts +3 -3
- package/helpers/withMods.d.ts.map +1 -1
- package/hooks/index.d.ts +7 -2
- package/hooks/index.d.ts.map +1 -1
- package/hooks/useAppMobileHeight.d.ts +1 -1
- package/hooks/useColumnsConfig.d.ts +6 -6
- package/hooks/useForceUpdate.d.ts +2 -0
- package/hooks/useForceUpdate.d.ts.map +1 -0
- package/hooks/useScrollShadows.d.ts +14 -0
- package/hooks/useScrollShadows.d.ts.map +1 -0
- package/hooks/useUuiError.d.ts +25 -0
- package/hooks/useUuiError.d.ts.map +1 -0
- package/hooks/useUuiServices.d.ts +10 -0
- package/hooks/useUuiServices.d.ts.map +1 -0
- package/hooks/useVirtualList.d.ts +23 -0
- package/hooks/useVirtualList.d.ts.map +1 -0
- package/i18n.d.ts +10 -10
- package/index.d.ts +7 -7
- package/index.js +5475 -4868
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/readme.md +10 -10
- package/services/AnalyticsContext.d.ts +15 -18
- package/services/AnalyticsContext.d.ts.map +1 -1
- package/services/ApiContext.d.ts +52 -51
- package/services/ApiContext.d.ts.map +1 -1
- package/services/BaseContext.d.ts +6 -6
- package/services/ContextProvider.d.ts +20 -44
- package/services/ContextProvider.d.ts.map +1 -1
- package/services/ErrorContext.d.ts +15 -15
- package/services/LayoutContext.d.ts +8 -8
- package/services/LegacyContextProvider.d.ts +35 -35
- package/services/LegacyContextProvider.d.ts.map +1 -1
- package/services/LockContext.d.ts +20 -20
- package/services/LockContext.d.ts.map +1 -1
- package/services/ModalContext.d.ts +32 -32
- package/services/ModalContext.d.ts.map +1 -1
- package/services/NotificationContext.d.ts +20 -20
- package/services/NotificationContext.d.ts.map +1 -1
- package/services/ScrollManager.d.ts +36 -33
- package/services/ScrollManager.d.ts.map +1 -1
- package/services/SkinContext.d.ts +43 -43
- package/services/SkinContext.d.ts.map +1 -1
- package/services/UserSettingsContext.d.ts +4 -4
- package/services/analytics/GAListener.d.ts +10 -10
- package/services/analytics/GAListener.d.ts.map +1 -1
- package/services/analytics/index.d.ts +2 -0
- package/services/analytics/index.d.ts.map +1 -0
- package/services/dnd/DndActor.d.ts +30 -31
- package/services/dnd/DndActor.d.ts.map +1 -1
- package/services/dnd/DndContext.d.ts +22 -22
- package/services/dnd/DndContext.d.ts.map +1 -1
- package/services/dnd/DragGhost.d.ts +25 -25
- package/services/dnd/DragGhost.d.ts.map +1 -1
- package/services/dnd/helpers.d.ts +1 -1
- package/services/dnd/helpers.d.ts.map +1 -1
- package/services/dnd/index.d.ts +3 -3
- package/services/index.d.ts +14 -13
- package/services/index.d.ts.map +1 -1
- package/services/routing/HistoryAdaptedRouter.d.ts +20 -20
- package/services/routing/NextRouterAdapter.d.ts +18 -0
- package/services/routing/NextRouterAdapter.d.ts.map +1 -0
- package/services/routing/StubAdaptedRouter.d.ts +12 -11
- package/services/routing/StubAdaptedRouter.d.ts.map +1 -1
- package/services/routing/index.d.ts +3 -2
- package/services/routing/index.d.ts.map +1 -1
- package/types/components/Button.d.ts +15 -15
- package/types/components/Checkbox.d.ts +3 -3
- package/types/components/LabeledInput.d.ts +7 -7
- package/types/components/Modals.d.ts +13 -13
- package/types/components/Modals.d.ts.map +1 -1
- package/types/components/Spinner.d.ts +3 -3
- package/types/components/TextInput.d.ts +17 -17
- package/types/components/index.d.ts +6 -6
- package/types/contexts.d.ts +160 -159
- package/types/contexts.d.ts.map +1 -1
- package/types/dataQuery.d.ts +26 -26
- package/types/dataQuery.d.ts.map +1 -1
- package/types/dnd.d.ts +55 -54
- package/types/dnd.d.ts.map +1 -1
- package/types/index.d.ts +8 -8
- package/types/objects.d.ts +24 -26
- package/types/objects.d.ts.map +1 -1
- package/types/props.d.ts +146 -146
- package/types/tables.d.ts +161 -165
- package/types/tables.d.ts.map +1 -1
- package/types/validation.d.ts +20 -20
- package/helpers/getScrollBarSize.d.ts +0 -7
- package/helpers/getScrollBarSize.d.ts.map +0 -1
|
@@ -1,34 +1,37 @@
|
|
|
1
|
-
/// <reference types="resize-observer-browser" />
|
|
2
|
-
export interface ScrollPosition {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
private
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
node: HTMLElement;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
/// <reference types="resize-observer-browser" />
|
|
2
|
+
export interface ScrollPosition {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated will be removed in the next major release
|
|
8
|
+
*/
|
|
9
|
+
export declare class ScrollManager {
|
|
10
|
+
scrollPosition: ScrollPosition;
|
|
11
|
+
private scrollWidth?;
|
|
12
|
+
private clientWidth?;
|
|
13
|
+
private offsetLeft?;
|
|
14
|
+
private markersStatus;
|
|
15
|
+
subscribers: {
|
|
16
|
+
node: HTMLElement;
|
|
17
|
+
}[];
|
|
18
|
+
scrollNodes: {
|
|
19
|
+
node: HTMLElement;
|
|
20
|
+
scrollHandler: any;
|
|
21
|
+
}[];
|
|
22
|
+
updateScrollPosition(scrollPosition: ScrollPosition): void;
|
|
23
|
+
updateMarkersStatus(node: HTMLElement): void;
|
|
24
|
+
setAttachedNodeScroll(node: HTMLElement): void;
|
|
25
|
+
updateAttachedNodeNodeScroll(node: HTMLElement): void;
|
|
26
|
+
updateScrollingNodeScroll(node: HTMLElement): void;
|
|
27
|
+
setScrollingNodeScroll(node: HTMLElement): void;
|
|
28
|
+
updateMarkers(node: HTMLElement): void;
|
|
29
|
+
updateXScroll(x: number): void;
|
|
30
|
+
handleOnWheel(e: WheelEvent, node: HTMLElement): void;
|
|
31
|
+
resizeObserver: ResizeObserver;
|
|
32
|
+
attachNode(node: HTMLElement): void;
|
|
33
|
+
detachNode(node: HTMLElement): void;
|
|
34
|
+
attachScrollNode: (node: HTMLElement) => void;
|
|
35
|
+
detachScrollNode(node: HTMLElement): void;
|
|
36
|
+
}
|
|
34
37
|
//# sourceMappingURL=ScrollManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollManager.d.ts","sourceRoot":"","sources":["../../services/ScrollManager.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ScrollManager.d.ts","sourceRoot":"","sources":["../../services/ScrollManager.ts"],"names":[],"mappings":";AAGA,MAAM,WAAW,cAAc;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;EAEE;AACF,qBAAa,aAAa;IACf,cAAc,EAAE,cAAc,CAGnC;IAEF,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,UAAU,CAAC,CAAS;IAE5B,OAAO,CAAC,aAAa,CAInB;IAEF,WAAW,EAAE;QAAE,IAAI,EAAE,WAAW,CAAA;KAAE,EAAE,CAAM;IAC1C,WAAW,EAAE;QAAE,IAAI,EAAE,WAAW,CAAC;QAAC,aAAa,EAAE,GAAG,CAAA;KAAE,EAAE,CAAM;IAE9D,oBAAoB,CAAC,cAAc,EAAE,cAAc;IAenD,mBAAmB,CAAC,IAAI,EAAE,WAAW;IAmBrC,qBAAqB,CAAC,IAAI,EAAE,WAAW;IAQvC,4BAA4B,CAAC,IAAI,EAAE,WAAW;IAK9C,yBAAyB,CAAC,IAAI,EAAE,WAAW;IAK3C,sBAAsB,CAAC,IAAI,EAAE,WAAW;IAKxC,aAAa,CAAC,IAAI,EAAE,WAAW;IAgB/B,aAAa,CAAC,CAAC,EAAE,MAAM;IAIvB,aAAa,CAAC,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW;IAW9C,cAAc,iBAQX;IAEH,UAAU,CAAC,IAAI,EAAE,WAAW;IAO5B,UAAU,CAAC,IAAI,EAAE,WAAW;IAQ5B,gBAAgB,SAAU,WAAW,UAWpC;IAED,gBAAgB,CAAC,IAAI,EAAE,WAAW;CAOrC"}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { ButtonCoreProps, CheckboxCoreProps, FlexCellProps, FlexRowProps, TextInputCoreProps, SpinnerCoreProps, ModalWindowProps, ModalBlockerProps, ModalFooterCoreProps, ModalHeaderCoreProps, ButtonSemanticProps, LabeledInputCoreProps } from '../types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
interface ISkinComponent<TProps, TSemanticProps = {}> {
|
|
4
|
-
component: React.
|
|
5
|
-
mapProps?(props: SkinContextComponentProps<TProps, TSemanticProps>): TProps;
|
|
6
|
-
render(props: SkinContextComponentProps<TProps, TSemanticProps>): React.ReactElement<SkinContextComponentProps<TProps, TSemanticProps>>;
|
|
7
|
-
}
|
|
8
|
-
export declare type SkinContextComponentProps<TProps, TSemanticProps = {}> = TProps & TSemanticProps & {
|
|
9
|
-
usageContext?: string[];
|
|
10
|
-
};
|
|
11
|
-
export declare function skinComponent<TProps, TSemanticProps = {}>(component: React.
|
|
12
|
-
export interface ISkin {
|
|
13
|
-
Button: ISkinComponent<ButtonCoreProps, ButtonSemanticProps>;
|
|
14
|
-
IconButton: ISkinComponent<ButtonCoreProps>;
|
|
15
|
-
Checkbox: ISkinComponent<CheckboxCoreProps>;
|
|
16
|
-
FlexRow: ISkinComponent<FlexRowProps>;
|
|
17
|
-
FlexCell: ISkinComponent<FlexCellProps>;
|
|
18
|
-
Spinner: ISkinComponent<SpinnerCoreProps>;
|
|
19
|
-
TextInput: ISkinComponent<TextInputCoreProps>;
|
|
20
|
-
ModalWindow: ISkinComponent<ModalWindowProps>;
|
|
21
|
-
ModalBlocker: ISkinComponent<ModalBlockerProps>;
|
|
22
|
-
ModalHeader: ISkinComponent<ModalHeaderCoreProps>;
|
|
23
|
-
ModalFooter: ISkinComponent<ModalFooterCoreProps>;
|
|
24
|
-
LabeledInput: ISkinComponent<LabeledInputCoreProps>;
|
|
25
|
-
}
|
|
26
|
-
export declare class SkinContext {
|
|
27
|
-
skin: ISkin;
|
|
28
|
-
setSkin(skin: ISkin): void;
|
|
29
|
-
Button: (props: ButtonCoreProps & ButtonSemanticProps) => React.ReactElement<SkinContextComponentProps<ButtonCoreProps, ButtonSemanticProps>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
30
|
-
IconButton: (props: SkinContextComponentProps<ButtonCoreProps>) => React.ReactElement<SkinContextComponentProps<ButtonCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
31
|
-
Checkbox: (props: CheckboxCoreProps) => React.ReactElement<SkinContextComponentProps<CheckboxCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
32
|
-
FlexRow: (props: FlexRowProps) => React.ReactElement<SkinContextComponentProps<FlexRowProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
33
|
-
FlexCell: (props: FlexCellProps) => React.ReactElement<SkinContextComponentProps<FlexCellProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
34
|
-
Spinner: (props: SpinnerCoreProps) => React.ReactElement<SkinContextComponentProps<SpinnerCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
35
|
-
TextInput: (props: TextInputCoreProps) => React.ReactElement<SkinContextComponentProps<TextInputCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
36
|
-
ModalWindow: (props: ModalWindowProps) => React.ReactElement<SkinContextComponentProps<ModalWindowProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
37
|
-
ModalBlocker: (props: ModalBlockerProps) => React.ReactElement<SkinContextComponentProps<ModalBlockerProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
38
|
-
ModalHeader: (props: ModalHeaderCoreProps) => React.ReactElement<SkinContextComponentProps<ModalHeaderCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
39
|
-
ModalFooter: (props: ModalFooterCoreProps) => React.ReactElement<SkinContextComponentProps<ModalFooterCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
40
|
-
LabeledInput: (props: LabeledInputCoreProps) => React.ReactElement<SkinContextComponentProps<LabeledInputCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
41
|
-
}
|
|
42
|
-
export declare const uuiSkin: SkinContext;
|
|
43
|
-
export {};
|
|
1
|
+
import { ButtonCoreProps, CheckboxCoreProps, FlexCellProps, FlexRowProps, TextInputCoreProps, SpinnerCoreProps, ModalWindowProps, ModalBlockerProps, ModalFooterCoreProps, ModalHeaderCoreProps, ButtonSemanticProps, LabeledInputCoreProps } from '../types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface ISkinComponent<TProps, TSemanticProps = {}> {
|
|
4
|
+
component: React.ComponentType<TProps>;
|
|
5
|
+
mapProps?(props: SkinContextComponentProps<TProps, TSemanticProps>): TProps;
|
|
6
|
+
render(props: SkinContextComponentProps<TProps, TSemanticProps>): React.ReactElement<SkinContextComponentProps<TProps, TSemanticProps>>;
|
|
7
|
+
}
|
|
8
|
+
export declare type SkinContextComponentProps<TProps, TSemanticProps = {}> = TProps & TSemanticProps & {
|
|
9
|
+
usageContext?: string[];
|
|
10
|
+
};
|
|
11
|
+
export declare function skinComponent<TProps, TSemanticProps = {}>(component: React.ComponentType<TProps>, mapProps?: (props: SkinContextComponentProps<TProps, TSemanticProps>) => TProps): ISkinComponent<TProps, TSemanticProps>;
|
|
12
|
+
export interface ISkin {
|
|
13
|
+
Button: ISkinComponent<ButtonCoreProps, ButtonSemanticProps>;
|
|
14
|
+
IconButton: ISkinComponent<ButtonCoreProps>;
|
|
15
|
+
Checkbox: ISkinComponent<CheckboxCoreProps>;
|
|
16
|
+
FlexRow: ISkinComponent<FlexRowProps>;
|
|
17
|
+
FlexCell: ISkinComponent<FlexCellProps>;
|
|
18
|
+
Spinner: ISkinComponent<SpinnerCoreProps>;
|
|
19
|
+
TextInput: ISkinComponent<TextInputCoreProps>;
|
|
20
|
+
ModalWindow: ISkinComponent<ModalWindowProps>;
|
|
21
|
+
ModalBlocker: ISkinComponent<ModalBlockerProps>;
|
|
22
|
+
ModalHeader: ISkinComponent<ModalHeaderCoreProps>;
|
|
23
|
+
ModalFooter: ISkinComponent<ModalFooterCoreProps>;
|
|
24
|
+
LabeledInput: ISkinComponent<LabeledInputCoreProps>;
|
|
25
|
+
}
|
|
26
|
+
export declare class SkinContext {
|
|
27
|
+
skin: ISkin;
|
|
28
|
+
setSkin(skin: ISkin): void;
|
|
29
|
+
Button: (props: ButtonCoreProps & ButtonSemanticProps) => React.ReactElement<SkinContextComponentProps<ButtonCoreProps, ButtonSemanticProps>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
30
|
+
IconButton: (props: SkinContextComponentProps<ButtonCoreProps>) => React.ReactElement<SkinContextComponentProps<ButtonCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
31
|
+
Checkbox: (props: CheckboxCoreProps) => React.ReactElement<SkinContextComponentProps<CheckboxCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
32
|
+
FlexRow: (props: FlexRowProps) => React.ReactElement<SkinContextComponentProps<FlexRowProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
33
|
+
FlexCell: (props: FlexCellProps) => React.ReactElement<SkinContextComponentProps<FlexCellProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
34
|
+
Spinner: (props: SpinnerCoreProps) => React.ReactElement<SkinContextComponentProps<SpinnerCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
35
|
+
TextInput: (props: TextInputCoreProps) => React.ReactElement<SkinContextComponentProps<TextInputCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
36
|
+
ModalWindow: (props: ModalWindowProps) => React.ReactElement<SkinContextComponentProps<ModalWindowProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
37
|
+
ModalBlocker: (props: ModalBlockerProps) => React.ReactElement<SkinContextComponentProps<ModalBlockerProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
38
|
+
ModalHeader: (props: ModalHeaderCoreProps) => React.ReactElement<SkinContextComponentProps<ModalHeaderCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
39
|
+
ModalFooter: (props: ModalFooterCoreProps) => React.ReactElement<SkinContextComponentProps<ModalFooterCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
40
|
+
LabeledInput: (props: LabeledInputCoreProps) => React.ReactElement<SkinContextComponentProps<LabeledInputCoreProps, {}>, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
41
|
+
}
|
|
42
|
+
export declare const uuiSkin: SkinContext;
|
|
43
|
+
export {};
|
|
44
44
|
//# sourceMappingURL=SkinContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SkinContext.d.ts","sourceRoot":"","sources":["../../services/SkinContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAC5H,iBAAiB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAChI,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,cAAc,CAAC,MAAM,EAAE,cAAc,GAAE,EAAE;IAC/C,SAAS,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"SkinContext.d.ts","sourceRoot":"","sources":["../../services/SkinContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAC5H,iBAAiB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAChI,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,cAAc,CAAC,MAAM,EAAE,cAAc,GAAE,EAAE;IAC/C,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IACvC,QAAQ,CAAC,CAAC,KAAK,EAAE,yBAAyB,CAAC,MAAM,EAAE,cAAc,CAAC,GAAG,MAAM,CAAC;IAC5E,MAAM,CAAC,KAAK,EAAE,yBAAyB,CAAC,MAAM,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,yBAAyB,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;CAC3I;AAED,oBAAY,yBAAyB,CAAC,MAAM,EAAE,cAAc,GAAG,EAAE,IAAI,MAAM,GAAG,cAAc,GAAG;IAC3F,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAGF,wBAAgB,aAAa,CAAC,MAAM,EAAE,cAAc,GAAG,EAAE,EACrD,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,EACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,CAAC,MAAM,EAAE,cAAc,CAAC,KAAK,MAAM,GAChF,cAAc,CAAC,MAAM,EAAE,cAAc,CAAC,CAMxC;AAED,MAAM,WAAW,KAAK;IAClB,MAAM,EAAE,cAAc,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;IAC7D,UAAU,EAAE,cAAc,CAAC,eAAe,CAAC,CAAC;IAC5C,QAAQ,EAAE,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAC5C,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IACtC,QAAQ,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IACxC,OAAO,EAAE,cAAc,CAAC,gBAAgB,CAAC,CAAC;IAC1C,SAAS,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAC9C,WAAW,EAAE,cAAc,CAAC,gBAAgB,CAAC,CAAC;IAC9C,YAAY,EAAE,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAChD,WAAW,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAC;IAClD,WAAW,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAC;IAClD,YAAY,EAAE,cAAc,CAAC,qBAAqB,CAAC,CAAC;CACvD;AAED,qBAAa,WAAW;IACpB,IAAI,EAAE,KAAK,CAAC;IAEL,OAAO,CAAC,IAAI,EAAE,KAAK;IAInB,MAAM,UAAW,eAAe,GAAG,mBAAmB,yMAAoC;IAC1F,UAAU,UAAW,0BAA0B,eAAe,CAAC,wLAAwC;IACvG,QAAQ,UAAW,iBAAiB,0LAAsC;IAC1E,OAAO,UAAW,YAAY,qLAAqC;IACnE,QAAQ,UAAW,aAAa,sLAAsC;IACtE,OAAO,UAAW,gBAAgB,yLAAqC;IACvE,SAAS,UAAW,kBAAkB,2LAAuC;IAC7E,WAAW,UAAW,gBAAgB,yLAAyC;IAC/E,YAAY,UAAW,iBAAiB,0LAA0C;IAClF,WAAW,UAAW,oBAAoB,6LAAyC;IACnF,WAAW,UAAW,oBAAoB,6LAAyC;IACnF,YAAY,UAAW,qBAAqB,8LAA0C;CAChG;AAED,eAAO,MAAM,OAAO,aAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class UserSettingsContext {
|
|
2
|
-
get<TValue>(key: any, initial?: TValue): TValue;
|
|
3
|
-
set<TValue>(key: any, value: TValue): void;
|
|
4
|
-
}
|
|
1
|
+
export declare class UserSettingsContext {
|
|
2
|
+
get<TValue>(key: any, initial?: TValue): TValue;
|
|
3
|
+
set<TValue>(key: any, value: TValue): void;
|
|
4
|
+
}
|
|
5
5
|
//# sourceMappingURL=UserSettingsContext.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AnalyticsEvent, IAnalyticsListener } from "../../types/contexts";
|
|
2
|
-
export declare class GAListener implements IAnalyticsListener {
|
|
3
|
-
gaCode: string;
|
|
4
|
-
constructor(gaCode: string);
|
|
5
|
-
init(): void;
|
|
6
|
-
private addGaScript;
|
|
7
|
-
sendEvent(event: AnalyticsEvent, parameters: Omit<AnalyticsEvent, "name">, eventType
|
|
8
|
-
private sendToGA;
|
|
9
|
-
private sendPageView;
|
|
10
|
-
}
|
|
1
|
+
import { AnalyticsEvent, IAnalyticsListener } from "../../types/contexts";
|
|
2
|
+
export declare class GAListener implements IAnalyticsListener {
|
|
3
|
+
gaCode: string;
|
|
4
|
+
constructor(gaCode: string);
|
|
5
|
+
init(): void;
|
|
6
|
+
private addGaScript;
|
|
7
|
+
sendEvent(event: AnalyticsEvent, parameters: Omit<AnalyticsEvent, "name">, eventType?: string): void;
|
|
8
|
+
private sendToGA;
|
|
9
|
+
private sendPageView;
|
|
10
|
+
}
|
|
11
11
|
//# sourceMappingURL=GAListener.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GAListener.d.ts","sourceRoot":"","sources":["../../../services/analytics/GAListener.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1E,qBAAa,UAAW,YAAW,kBAAkB;IAC1C,MAAM,EAAE,MAAM,CAAC;gBAEV,MAAM,EAAE,MAAM;IAMnB,IAAI;IAMX,OAAO,CAAC,WAAW;IASZ,SAAS,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"GAListener.d.ts","sourceRoot":"","sources":["../../../services/analytics/GAListener.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1E,qBAAa,UAAW,YAAW,kBAAkB;IAC1C,MAAM,EAAE,MAAM,CAAC;gBAEV,MAAM,EAAE,MAAM;IAMnB,IAAI;IAMX,OAAO,CAAC,WAAW;IASZ,SAAS,CAAC,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM;IAYpG,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,YAAY;CAIvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../services/analytics/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IDndActor, UuiContexts, DropPosition, AcceptDropParams, DndActorRenderParams, DropPositionOptions, DndContextState } from '../../types';
|
|
3
|
-
export declare type DndActorProps<TSrcData, TDstData> = IDndActor<TSrcData, TDstData> & {
|
|
4
|
-
render(props: DndActorRenderParams): React.ReactNode;
|
|
5
|
-
};
|
|
6
|
-
interface DndActorState {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
isMouseDown: boolean;
|
|
10
|
-
isDragging: boolean;
|
|
11
|
-
isMouseOver: boolean;
|
|
12
|
-
position?: DropPosition;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IDndActor, UuiContexts, DropPosition, AcceptDropParams, DndActorRenderParams, DropPositionOptions, DndContextState } from '../../types';
|
|
3
|
+
export declare type DndActorProps<TSrcData, TDstData> = IDndActor<TSrcData, TDstData> & {
|
|
4
|
+
render(props: DndActorRenderParams): React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
interface DndActorState {
|
|
7
|
+
pointerX: number;
|
|
8
|
+
pointerY: number;
|
|
9
|
+
isMouseDown: boolean;
|
|
10
|
+
isDragging: boolean;
|
|
11
|
+
isMouseOver: boolean;
|
|
12
|
+
position?: DropPosition;
|
|
13
|
+
dndContextState: DndContextState;
|
|
14
|
+
}
|
|
15
|
+
export declare class DndActor<TSrcData = any, TDstData = any> extends React.Component<DndActorProps<TSrcData, TDstData>, DndActorState> {
|
|
16
|
+
static contextType: React.Context<import("../../types").CommonContexts<any, any>>;
|
|
17
|
+
context: UuiContexts;
|
|
18
|
+
state: DndActorState;
|
|
19
|
+
contextUpdateHandler: (dndContextState: DndContextState) => void;
|
|
20
|
+
constructor(props: DndActorProps<TSrcData, TDstData>, context: any);
|
|
21
|
+
componentDidMount(): void;
|
|
22
|
+
componentWillUnmount(): void;
|
|
23
|
+
windowPointerUpHandler: (e: Event) => void;
|
|
24
|
+
windowPointerMoveHandler: (e: MouseEvent) => void;
|
|
25
|
+
getDropParams(e: React.MouseEvent<HTMLElement>): AcceptDropParams<TSrcData, TDstData>;
|
|
26
|
+
static sectorPositionPriorities: Record<string, DropPosition[]>;
|
|
27
|
+
getPosition(params: AcceptDropParams<TSrcData, TDstData>, options: DropPositionOptions): DropPosition;
|
|
28
|
+
render(): React.ReactNode;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
32
31
|
//# sourceMappingURL=DndActor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DndActor.d.ts","sourceRoot":"","sources":["../../../services/dnd/DndActor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAOjJ,oBAAY,aAAa,CAAC,QAAQ,EAAE,QAAQ,IAAI,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG;IAC5E,MAAM,CAAC,KAAK,EAAE,oBAAoB,GAAG,KAAK,CAAC,SAAS,CAAC;CACxD,CAAC;AAIF,UAAU,aAAa;IACnB,
|
|
1
|
+
{"version":3,"file":"DndActor.d.ts","sourceRoot":"","sources":["../../../services/dnd/DndActor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAOjJ,oBAAY,aAAa,CAAC,QAAQ,EAAE,QAAQ,IAAI,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG;IAC5E,MAAM,CAAC,KAAK,EAAE,oBAAoB,GAAG,KAAK,CAAC,SAAS,CAAC;CACxD,CAAC;AAIF,UAAU,aAAa;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;CACpC;AAcD,qBAAa,QAAQ,CAAC,QAAQ,GAAG,GAAG,EAAE,QAAQ,GAAG,GAAG,CAChD,SAAQ,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzE,MAAM,CAAC,WAAW,gEAAc;IAChC,OAAO,EAAE,WAAW,CAAC;IACrB,KAAK,gBAAgB;IAErB,oBAAoB,oBAAqB,eAAe,UAEvD;gBAEW,KAAK,EAAE,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG;IAMlE,iBAAiB;IAKjB,oBAAoB;IAMpB,sBAAsB,MAAO,KAAK,UAIjC;IAED,wBAAwB,MAAO,UAAU,UAyCxC;IAED,aAAa,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAcrF,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAS7D;IAEF,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,mBAAmB,GAAG,YAAY;IAwCrG,MAAM;CAiGT"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IDndContext, DndContextState } from '../../types';
|
|
3
|
-
import { BaseContext } from '../BaseContext';
|
|
4
|
-
export declare class DndContext extends BaseContext<DndContextState> implements IDndContext {
|
|
5
|
-
isDragging: boolean;
|
|
6
|
-
dragData: any;
|
|
7
|
-
private scrollZoneSize;
|
|
8
|
-
private ghostOffsetX;
|
|
9
|
-
private ghostOffsetY;
|
|
10
|
-
private ghostWidth;
|
|
11
|
-
private renderGhostCallback;
|
|
12
|
-
private lastScrollTime;
|
|
13
|
-
|
|
14
|
-
startDrag(node: HTMLElement, data: {}, renderGhost: () => React.ReactNode): void;
|
|
15
|
-
endDrag(): void;
|
|
16
|
-
xScrollNode: HTMLElement;
|
|
17
|
-
yScrollNode: HTMLElement;
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
private getScrollStep;
|
|
21
|
-
private scrollWindow;
|
|
22
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IDndContext, DndContextState } from '../../types';
|
|
3
|
+
import { BaseContext } from '../BaseContext';
|
|
4
|
+
export declare class DndContext extends BaseContext<DndContextState> implements IDndContext {
|
|
5
|
+
isDragging: boolean;
|
|
6
|
+
dragData: any;
|
|
7
|
+
private scrollZoneSize;
|
|
8
|
+
private ghostOffsetX;
|
|
9
|
+
private ghostOffsetY;
|
|
10
|
+
private ghostWidth;
|
|
11
|
+
private renderGhostCallback;
|
|
12
|
+
private lastScrollTime;
|
|
13
|
+
componentDidMount(): void;
|
|
14
|
+
startDrag(node: HTMLElement, data: {}, renderGhost: () => React.ReactNode): void;
|
|
15
|
+
endDrag(): void;
|
|
16
|
+
xScrollNode: HTMLElement;
|
|
17
|
+
yScrollNode: HTMLElement;
|
|
18
|
+
private windowPointerMoveHandler;
|
|
19
|
+
private windowPointerUpHandler;
|
|
20
|
+
private getScrollStep;
|
|
21
|
+
private scrollWindow;
|
|
22
|
+
}
|
|
23
23
|
//# sourceMappingURL=DndContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DndContext.d.ts","sourceRoot":"","sources":["../../../services/dnd/DndContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DndContext.d.ts","sourceRoot":"","sources":["../../../services/dnd/DndContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7C,qBAAa,UAAW,SAAQ,WAAW,CAAC,eAAe,CAAE,YAAW,WAAW;IACxE,UAAU,UAAS;IACnB,QAAQ,EAAE,GAAG,CAAC;IAErB,OAAO,CAAC,cAAc,CAAM;IAC5B,OAAO,CAAC,YAAY,CAAa;IACjC,OAAO,CAAC,YAAY,CAAa;IACjC,OAAO,CAAC,UAAU,CAAe;IACjC,OAAO,CAAC,mBAAmB,CAA+B;IAC1D,OAAO,CAAC,cAAc,CAAwB;IAE9C,iBAAiB;IAKV,SAAS,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC,SAAS;IA6BzE,OAAO;IAYd,WAAW,EAAE,WAAW,CAAQ;IAChC,WAAW,EAAE,WAAW,CAAQ;IAEhC,OAAO,CAAC,wBAAwB,CAK/B;IAED,OAAO,CAAC,sBAAsB,CAE7B;IAED,OAAO,CAAC,aAAa;IAyBrB,OAAO,CAAC,YAAY;CAqCvB"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { UuiContexts, DndContextState } from '../../types/contexts';
|
|
3
|
-
export interface DragGhostProps {
|
|
4
|
-
}
|
|
5
|
-
interface DragGhostState extends DndContextState {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
export declare class DragGhost extends React.Component<DragGhostProps, DragGhostState> {
|
|
10
|
-
static contextType: React.Context<import("../../types/contexts").CommonContexts<any, any>>;
|
|
11
|
-
context: UuiContexts;
|
|
12
|
-
private layer;
|
|
13
|
-
state: DragGhostState;
|
|
14
|
-
constructor(props: DragGhostProps, context: UuiContexts);
|
|
15
|
-
|
|
16
|
-
contextUpdateHandler: (state: DndContextState) => void;
|
|
17
|
-
componentDidMount(): void;
|
|
18
|
-
componentWillUnmount(): void;
|
|
19
|
-
getGhostCoords(
|
|
20
|
-
left: number;
|
|
21
|
-
top: number;
|
|
22
|
-
};
|
|
23
|
-
render(): JSX.Element;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { UuiContexts, DndContextState } from '../../types/contexts';
|
|
3
|
+
export interface DragGhostProps {
|
|
4
|
+
}
|
|
5
|
+
interface DragGhostState extends DndContextState {
|
|
6
|
+
pointerX?: number;
|
|
7
|
+
pointerY?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare class DragGhost extends React.Component<DragGhostProps, DragGhostState> {
|
|
10
|
+
static contextType: React.Context<import("../../types/contexts").CommonContexts<any, any>>;
|
|
11
|
+
context: UuiContexts;
|
|
12
|
+
private layer;
|
|
13
|
+
state: DragGhostState;
|
|
14
|
+
constructor(props: DragGhostProps, context: UuiContexts);
|
|
15
|
+
onPointerMove: (e: PointerEvent) => void;
|
|
16
|
+
contextUpdateHandler: (state: DndContextState) => void;
|
|
17
|
+
componentDidMount(): void;
|
|
18
|
+
componentWillUnmount(): void;
|
|
19
|
+
getGhostCoords(pointerX: number, pointerY: number): {
|
|
20
|
+
left: number;
|
|
21
|
+
top: number;
|
|
22
|
+
};
|
|
23
|
+
render(): JSX.Element;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
26
26
|
//# sourceMappingURL=DragGhost.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DragGhost.d.ts","sourceRoot":"","sources":["../../../services/dnd/DragGhost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIpE,MAAM,WAAW,cAAc;CAC9B;AAED,UAAU,cAAe,SAAQ,eAAe;IAC5C,
|
|
1
|
+
{"version":3,"file":"DragGhost.d.ts","sourceRoot":"","sources":["../../../services/dnd/DragGhost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIpE,MAAM,WAAW,cAAc;CAC9B;AAED,UAAU,cAAe,SAAQ,eAAe;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAC1E,MAAM,CAAC,WAAW,yEAAc;IAChC,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,KAAK,CAAqB;IAClC,KAAK,EAAE,cAAc,CAEnB;gBAEU,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW;IAKvD,aAAa,MAAO,YAAY,UAI/B;IAED,oBAAoB,UAAW,eAAe,UAS7C;IAED,iBAAiB;IAIjB,oBAAoB;IAKpB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;;;;IAOjD,MAAM;CAmBT"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function getSector(x: number, y: number): number;
|
|
1
|
+
export declare function getSector(x: number, y: number): number;
|
|
2
2
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../services/dnd/helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../services/dnd/helpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAK7C"}
|
package/services/dnd/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './DndContext';
|
|
2
|
-
export * from './DragGhost';
|
|
3
|
-
export * from './DndActor';
|
|
1
|
+
export * from './DndContext';
|
|
2
|
+
export * from './DragGhost';
|
|
3
|
+
export * from './DndActor';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/services/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
export * from './dnd';
|
|
2
|
-
export * from './ScrollManager';
|
|
3
|
-
export * from './LayoutContext';
|
|
4
|
-
export * from './LegacyContextProvider';
|
|
5
|
-
export * from './ContextProvider';
|
|
6
|
-
export * from './AnalyticsContext';
|
|
7
|
-
export * from './ApiContext';
|
|
8
|
-
export * from './ErrorContext';
|
|
9
|
-
export * from './LockContext';
|
|
10
|
-
export * from './NotificationContext';
|
|
11
|
-
export * from './ModalContext';
|
|
12
|
-
export * from './SkinContext';
|
|
13
|
-
export * from './routing';
|
|
1
|
+
export * from './dnd';
|
|
2
|
+
export * from './ScrollManager';
|
|
3
|
+
export * from './LayoutContext';
|
|
4
|
+
export * from './LegacyContextProvider';
|
|
5
|
+
export * from './ContextProvider';
|
|
6
|
+
export * from './AnalyticsContext';
|
|
7
|
+
export * from './ApiContext';
|
|
8
|
+
export * from './ErrorContext';
|
|
9
|
+
export * from './LockContext';
|
|
10
|
+
export * from './NotificationContext';
|
|
11
|
+
export * from './ModalContext';
|
|
12
|
+
export * from './SkinContext';
|
|
13
|
+
export * from './routing';
|
|
14
|
+
export * from './analytics';
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
package/services/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../services/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../services/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { IRouterContext, Link } from "../../types";
|
|
2
|
-
export interface IHistory4 {
|
|
3
|
-
location: Link;
|
|
4
|
-
push(link: Link): void;
|
|
5
|
-
replace(link: Link): void;
|
|
6
|
-
createHref(link: Link): string;
|
|
7
|
-
listen(listener: (location: Link) => void): () => void;
|
|
8
|
-
block(listener: (args: any) => any): () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare class HistoryAdaptedRouter implements IRouterContext {
|
|
11
|
-
private history;
|
|
12
|
-
constructor(history: IHistory4);
|
|
13
|
-
getCurrentLink(): Link;
|
|
14
|
-
redirect(link: Link): void;
|
|
15
|
-
transfer(link: Link): void;
|
|
16
|
-
isActive(link: Link): boolean;
|
|
17
|
-
createHref(link: Link): string;
|
|
18
|
-
listen(listener: (link: Link) => void): () => void;
|
|
19
|
-
block(listener: (link: Link) => void): () => void;
|
|
20
|
-
}
|
|
1
|
+
import { IRouterContext, Link } from "../../types";
|
|
2
|
+
export interface IHistory4 {
|
|
3
|
+
location: Link;
|
|
4
|
+
push(link: Link): void;
|
|
5
|
+
replace(link: Link): void;
|
|
6
|
+
createHref(link: Link): string;
|
|
7
|
+
listen(listener: (location: Link) => void): () => void;
|
|
8
|
+
block(listener: (args: any) => any): () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare class HistoryAdaptedRouter implements IRouterContext {
|
|
11
|
+
private history;
|
|
12
|
+
constructor(history: IHistory4);
|
|
13
|
+
getCurrentLink(): Link;
|
|
14
|
+
redirect(link: Link): void;
|
|
15
|
+
transfer(link: Link): void;
|
|
16
|
+
isActive(link: Link): boolean;
|
|
17
|
+
createHref(link: Link): string;
|
|
18
|
+
listen(listener: (link: Link) => void): () => void;
|
|
19
|
+
block(listener: (link: Link) => void): () => void;
|
|
20
|
+
}
|
|
21
21
|
//# sourceMappingURL=HistoryAdaptedRouter.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IRouterContext, Link } from "../../types";
|
|
2
|
+
export declare class NextRouterAdapter implements IRouterContext {
|
|
3
|
+
private router;
|
|
4
|
+
private isBlockRun;
|
|
5
|
+
private blockedUrl;
|
|
6
|
+
constructor(router: any);
|
|
7
|
+
getCurrentLink(): Link;
|
|
8
|
+
redirect(link: Link): void;
|
|
9
|
+
transfer(link: Link): void;
|
|
10
|
+
isActive(link: Link): boolean;
|
|
11
|
+
createHref(link: Link): string;
|
|
12
|
+
private handleBeforeHistoryChange;
|
|
13
|
+
listen(listener: (link: Link) => void): any;
|
|
14
|
+
private handleRouterChangeError;
|
|
15
|
+
block(listener: (link: Link) => void): () => void;
|
|
16
|
+
unSubscribe(): void;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=NextRouterAdapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NextRouterAdapter.d.ts","sourceRoot":"","sources":["../../../services/routing/NextRouterAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAQnD,qBAAa,iBAAkB,YAAW,cAAc;IAKxC,OAAO,CAAC,MAAM;IAH1B,OAAO,CAAC,UAAU,CAAU;IAC5B,OAAO,CAAC,UAAU,CAAc;gBAEZ,MAAM,EAAE,GAAG;IAKxB,cAAc,IAAI,IAAI;IAOtB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAO1B,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAO1B,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAK7B,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAIrC,OAAO,CAAC,yBAAyB,CAKhC;IAEM,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI;IAI5C,OAAO,CAAC,uBAAuB,CAI9B;IAEM,KAAK,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI;IAUpC,WAAW;CAKrB"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { IRouterContext, Link } from "../../types";
|
|
2
|
-
export declare class StubAdaptedRouter implements IRouterContext {
|
|
3
|
-
private warningMessage;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { IRouterContext, Link } from "../../types";
|
|
2
|
+
export declare class StubAdaptedRouter implements IRouterContext {
|
|
3
|
+
private warningMessage;
|
|
4
|
+
throwError(): void;
|
|
5
|
+
getCurrentLink(): Link;
|
|
6
|
+
redirect(link: Link): void;
|
|
7
|
+
transfer(link: Link): void;
|
|
8
|
+
isActive(link: Link): boolean;
|
|
9
|
+
createHref(link: Link): string;
|
|
10
|
+
listen(listener: (link: Link) => void): () => void;
|
|
11
|
+
block(listener: (link: Link) => void): () => void;
|
|
12
|
+
}
|
|
12
13
|
//# sourceMappingURL=StubAdaptedRouter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StubAdaptedRouter.d.ts","sourceRoot":"","sources":["../../../services/routing/StubAdaptedRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnD,qBAAa,iBAAkB,YAAW,cAAc;IACpD,OAAO,CAAC,cAAc,CAAwF;
|
|
1
|
+
{"version":3,"file":"StubAdaptedRouter.d.ts","sourceRoot":"","sources":["../../../services/routing/StubAdaptedRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnD,qBAAa,iBAAkB,YAAW,cAAc;IACpD,OAAO,CAAC,cAAc,CAAwF;IAE9G,UAAU;IAMH,cAAc,IAAI,IAAI;IAKtB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAI1B,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAI1B,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAK7B,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAK9B,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,GAAG,MAAM,IAAI;IAKlD,KAAK,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,GAAG,MAAM,IAAI;CAI3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../services/routing/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../services/routing/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC"}
|