@mcurros2/microm 1.1.317-0 → 1.1.319-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/dist/index.d.ts +24 -21
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +99 -80
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -240,6 +240,8 @@ export interface IDefaultColumns extends ColumnsObject {
|
|
|
240
240
|
}
|
|
241
241
|
export const DefaultColumnsNames: string[];
|
|
242
242
|
export const DefaultColumns: () => IDefaultColumns;
|
|
243
|
+
export const isScalar: (value: unknown) => boolean;
|
|
244
|
+
export const isValuesObject: (value: unknown) => value is ValuesObject;
|
|
243
245
|
export function hasValue(value: Value): boolean;
|
|
244
246
|
export function copyValuesObject(obj: ValuesObject): ValuesObject;
|
|
245
247
|
export function mergeValuesObject(source?: ValuesObject, mergeAndOverride?: ValuesObject): ValuesObject;
|
|
@@ -2927,6 +2929,26 @@ export interface MenuItem {
|
|
|
2927
2929
|
}
|
|
2928
2930
|
export function getMenuItemContext(item: MenuItem, context?: MenuItemContext): MenuItemContext;
|
|
2929
2931
|
export function resolveMenuItemContent(item: MenuItem, context?: MenuItemContext): ReactNode | Promise<ReactNode> | undefined;
|
|
2932
|
+
export const MENU_ROUTE_CONTEXT_VERSION: 1;
|
|
2933
|
+
export interface MenuRouteContext {
|
|
2934
|
+
version: typeof MENU_ROUTE_CONTEXT_VERSION;
|
|
2935
|
+
parentKeys: ValuesObject;
|
|
2936
|
+
contextLabel: string;
|
|
2937
|
+
originPath: string;
|
|
2938
|
+
}
|
|
2939
|
+
export interface MenuRoute {
|
|
2940
|
+
menuId: string;
|
|
2941
|
+
itemPath: string;
|
|
2942
|
+
context?: MenuRouteContext;
|
|
2943
|
+
}
|
|
2944
|
+
export interface CreateMenuRouteProps {
|
|
2945
|
+
menuId: string;
|
|
2946
|
+
itemPath?: string;
|
|
2947
|
+
context?: Omit<MenuRouteContext, "version">;
|
|
2948
|
+
}
|
|
2949
|
+
export function getMenuBasePath(menuId: string): string;
|
|
2950
|
+
export function createMenuRoute({ menuId, itemPath, context }: CreateMenuRouteProps): string;
|
|
2951
|
+
export function parseMenuRoute(route: string): MenuRoute | null;
|
|
2930
2952
|
export interface NavigationState {
|
|
2931
2953
|
navigated: boolean;
|
|
2932
2954
|
route: string;
|
|
@@ -3071,27 +3093,6 @@ export interface RouteProps {
|
|
|
3071
3093
|
children: React.ReactNode;
|
|
3072
3094
|
}
|
|
3073
3095
|
export function Route(props: RouteProps): JSX.Element | null;
|
|
3074
|
-
export const CONTEXTUAL_MENU_ROUTE_VERSION: 1;
|
|
3075
|
-
export const CONTEXTUAL_MENU_ROUTE_PREFIX = "/contextual";
|
|
3076
|
-
export interface ContextualMenuRoutePayload {
|
|
3077
|
-
version: typeof CONTEXTUAL_MENU_ROUTE_VERSION;
|
|
3078
|
-
parentKeys: ValuesObject;
|
|
3079
|
-
contextLabel: string;
|
|
3080
|
-
originPath: string;
|
|
3081
|
-
}
|
|
3082
|
-
export interface ContextualMenuRoute {
|
|
3083
|
-
menuId: string;
|
|
3084
|
-
itemPath: string;
|
|
3085
|
-
payload: ContextualMenuRoutePayload;
|
|
3086
|
-
}
|
|
3087
|
-
export interface CreateContextualMenuRouteProps extends Omit<ContextualMenuRoutePayload, 'version'> {
|
|
3088
|
-
menuId: string;
|
|
3089
|
-
itemPath?: string;
|
|
3090
|
-
}
|
|
3091
|
-
export function mergeParentKeys(parentKeys?: ValuesObject, selectedKeys?: ValuesObject): ValuesObject;
|
|
3092
|
-
export const getContextualMenuBasePath: (menuId: string) => string;
|
|
3093
|
-
export function createContextualMenuRoute(props: CreateContextualMenuRouteProps): string;
|
|
3094
|
-
export function parseContextualMenuRoute(route: string): ContextualMenuRoute | null;
|
|
3095
3096
|
export const DEFAULT_MAP_CENTER: latLng;
|
|
3096
3097
|
export type GoogleMapsAddressComponentType = 'street_address' | 'route' | 'intersection' | 'political' | 'country' | 'administrative_area_level_1' | 'administrative_area_level_2' | 'administrative_area_level_3' | 'administrative_area_level_4' | 'administrative_area_level_5' | 'administrative_area_level_6' | 'administrative_area_level_7' | 'colloquial_area' | 'locality' | 'sublocality' | 'sublocality_level_1' | 'sublocality_level_2' | 'sublocality_level_3' | 'sublocality_level_4' | 'sublocality_level_5' | 'neighborhood' | 'premise' | 'subpremise' | 'plus_code' | 'postal_code' | 'natural_feature' | 'airport' | 'park' | 'point_of_interest' | 'floor' | 'establishment' | 'landmark' | 'parking' | 'post_box' | 'postal_town' | 'room' | 'street_number' | 'bus_station' | 'train_station' | 'transit_station';
|
|
3097
3098
|
export type AddressComponentValue = {
|
|
@@ -3969,5 +3970,7 @@ export class RecordReader {
|
|
|
3969
3970
|
constructor(dataResult: DataResult);
|
|
3970
3971
|
getValue(recordIndex: number, headerName: string): Value | undefined;
|
|
3971
3972
|
}
|
|
3973
|
+
export const encodeBase64Url: (value: string) => string;
|
|
3974
|
+
export const decodeBase64Url: (value: string) => string;
|
|
3972
3975
|
|
|
3973
3976
|
//# sourceMappingURL=index.d.ts.map
|