@maropost-ui/liquidsky-ui 0.1.73 → 0.1.74
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/composables/index.d.ts +1 -0
- package/dist/composables/useMpTestId.d.ts +17 -0
- package/dist/directives/MpTest.d.ts +23 -0
- package/dist/directives/index.d.ts +2 -0
- package/dist/directives/mpTestConfig.d.ts +56 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +16335 -16021
- package/dist/types/AlertModalProps.d.ts +2 -1
- package/dist/types/AppClipboardProps.d.ts +2 -1
- package/dist/types/AppConfirmationDialogProps.d.ts +2 -1
- package/dist/types/AppDataTableProps.d.ts +2 -1
- package/dist/types/AppDialogWrapperProps.d.ts +2 -1
- package/dist/types/AppDrawerWrapperProps.d.ts +2 -1
- package/dist/types/AppDropdownProps.d.ts +2 -1
- package/dist/types/AppMultiCellValueProps.d.ts +2 -1
- package/dist/types/AppSnackbarProps.d.ts +2 -1
- package/dist/types/AppStepperProps.d.ts +2 -1
- package/dist/types/AppTableActionMenuProps.d.ts +2 -1
- package/dist/types/AppsDropdownProps.d.ts +2 -1
- package/dist/types/MpTestIdProps.d.ts +6 -0
- package/dist/types/NotificationIconProps.d.ts +2 -1
- package/dist/types/SearchBarProps.d.ts +2 -1
- package/dist/types/SlVueTreeNextProps.d.ts +2 -1
- package/dist/types/TheNavigationProps.d.ts +2 -1
- package/dist/types/TheNotificationDrawerProps.d.ts +2 -1
- package/dist/types/TheOnboardingScreenChecklistsProps.d.ts +2 -1
- package/dist/types/TheTimezoneProps.d.ts +2 -1
- package/dist/types/TheUserDropdownProps.d.ts +2 -1
- package/dist/types/UnifiedNavigationProps.d.ts +2 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/router.d.ts +2 -1
- package/dist/vuetify.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
1
2
|
export type AlertModalPosition = 'center' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
2
3
|
export interface GenericModalState {
|
|
3
4
|
title: string;
|
|
@@ -19,7 +20,7 @@ export interface GenericModalState {
|
|
|
19
20
|
onConfirm?: () => void;
|
|
20
21
|
onCancel?: () => void;
|
|
21
22
|
}
|
|
22
|
-
export interface AlertModalProps {
|
|
23
|
+
export interface AlertModalProps extends MpTestIdProps {
|
|
23
24
|
state: GenericModalState;
|
|
24
25
|
show: boolean;
|
|
25
26
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
1
2
|
/**
|
|
2
3
|
* @file types/index.ts
|
|
3
4
|
* @description Generic types for AppDataTable component
|
|
@@ -45,7 +46,7 @@ export interface BulkAction {
|
|
|
45
46
|
disabled?: boolean;
|
|
46
47
|
attrs?: Record<string, any>;
|
|
47
48
|
}
|
|
48
|
-
export interface DataTableProps {
|
|
49
|
+
export interface DataTableProps extends MpTestIdProps {
|
|
49
50
|
service?: DataTableService | null;
|
|
50
51
|
gridView?: boolean;
|
|
51
52
|
disabledRouteParams?: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
1
2
|
export interface DataFetcherConfig {
|
|
2
3
|
q?: string;
|
|
3
4
|
limit: number;
|
|
@@ -44,7 +45,7 @@ export interface AppDropdownService<T = any> {
|
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
export type DataFetcher<T = any> = (config: DataFetcherConfig) => Promise<DataFetcherResponse<T>>;
|
|
47
|
-
export interface AppDropdownProps<T = any> {
|
|
48
|
+
export interface AppDropdownProps<T = any> extends MpTestIdProps {
|
|
48
49
|
dataFetcher?: DataFetcher<T>;
|
|
49
50
|
loadItemById?: number[];
|
|
50
51
|
service?: AppDropdownService<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component } from "vue";
|
|
2
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
2
3
|
export type TInternalStepItem = {
|
|
3
4
|
name: string;
|
|
4
5
|
order: number;
|
|
@@ -20,7 +21,7 @@ export type TStepItem = Pick<TInternalStepItem, "id" | "name" | "order" | "label
|
|
|
20
21
|
export type TPropStepperItem = TStepItem & {
|
|
21
22
|
title?: string;
|
|
22
23
|
};
|
|
23
|
-
export interface AppStepperProps {
|
|
24
|
+
export interface AppStepperProps extends MpTestIdProps {
|
|
24
25
|
stepperHeaderClass?: string;
|
|
25
26
|
steps: TPropStepperItem[];
|
|
26
27
|
setComponentRef?: (el: unknown, refName: string) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
1
2
|
export interface Action {
|
|
2
3
|
/** icon e.g. "mdi-arrow-up" */
|
|
3
4
|
icon?: string;
|
|
@@ -15,7 +16,7 @@ export interface Action {
|
|
|
15
16
|
}) => void;
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
|
-
export interface AppTableActionMenuProps {
|
|
19
|
+
export interface AppTableActionMenuProps extends MpTestIdProps {
|
|
19
20
|
/** actions e.g. [{ title: "Action Item 1", icon: "mdi-arrow-up", on: { click: (item,index) => clickHandler(item,index) } }] */
|
|
20
21
|
actions: Action[];
|
|
21
22
|
/** item e.g. { id: 1, name: "Item 1" } */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
1
2
|
export interface MaroPostApp {
|
|
2
3
|
/** App identifier */
|
|
3
4
|
id: string;
|
|
@@ -20,7 +21,7 @@ export interface MaroPostApp {
|
|
|
20
21
|
*/
|
|
21
22
|
[key: string]: any;
|
|
22
23
|
}
|
|
23
|
-
export interface AppsDropdownProps {
|
|
24
|
+
export interface AppsDropdownProps extends MpTestIdProps {
|
|
24
25
|
/** Account/user identifier */
|
|
25
26
|
getAccountId: string | number | null;
|
|
26
27
|
/** Apps configuration */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
2
|
+
export interface SearchBarProps extends MpTestIdProps {
|
|
2
3
|
/** Controls visibility of the search bar. Auto-detects from route meta if not provided */
|
|
3
4
|
show?: boolean;
|
|
4
5
|
/** v-model binding for the search input value */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
2
3
|
export declare enum MultiSelectKey {
|
|
3
4
|
CTRL = "ctrlKey",
|
|
4
5
|
META = "metaKey"
|
|
@@ -35,7 +36,7 @@ export interface VueData<T> {
|
|
|
35
36
|
rootCursorPosition: CursorPosition<T>;
|
|
36
37
|
rootDraggingNode: TreeNode<T>;
|
|
37
38
|
}
|
|
38
|
-
export interface SlVueTreeProps<T> {
|
|
39
|
+
export interface SlVueTreeProps<T> extends MpTestIdProps {
|
|
39
40
|
modelValue?: NodeModel<T>[];
|
|
40
41
|
edgeSize?: number;
|
|
41
42
|
allowMultiselect?: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type RouteLocationRaw } from 'vue-router';
|
|
2
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
2
3
|
type Link = {
|
|
3
4
|
title: string;
|
|
4
5
|
to?: RouteLocationRaw;
|
|
@@ -16,7 +17,7 @@ export type NavigationItem = Link & {
|
|
|
16
17
|
icon?: string;
|
|
17
18
|
submenu?: NavigationLink[];
|
|
18
19
|
};
|
|
19
|
-
export interface TheNavigationProps {
|
|
20
|
+
export interface TheNavigationProps extends MpTestIdProps {
|
|
20
21
|
rail?: boolean;
|
|
21
22
|
/** Backwards compatibility alias for v-model */
|
|
22
23
|
isNavigationRail?: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
1
2
|
export interface NotificationItem {
|
|
2
3
|
/** Unique identifier for the notification */
|
|
3
4
|
id: string | number;
|
|
@@ -16,7 +17,7 @@ export interface NotificationItem {
|
|
|
16
17
|
/** Progress value from 0 to 100 - required when showProgress is true */
|
|
17
18
|
progress?: number;
|
|
18
19
|
}
|
|
19
|
-
export interface TheNotificationDrawerProps {
|
|
20
|
+
export interface TheNotificationDrawerProps extends MpTestIdProps {
|
|
20
21
|
/** Title of the notification drawer */
|
|
21
22
|
title?: string;
|
|
22
23
|
/** Array of notification items to display. Each item should have id, message, and optional properties for styling and actions.*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
1
2
|
export interface DeepLink {
|
|
2
3
|
label: string;
|
|
3
4
|
disabled?: boolean;
|
|
@@ -31,7 +32,7 @@ export interface StatusUpdatedChecklistItem {
|
|
|
31
32
|
deepLinks: DeepLink[];
|
|
32
33
|
status: "not_started" | "in_progress" | "completed";
|
|
33
34
|
}
|
|
34
|
-
export interface Props {
|
|
35
|
+
export interface Props extends MpTestIdProps {
|
|
35
36
|
checklists: ChecklistSection[];
|
|
36
37
|
checkListsStatus: Record<string, "not_started" | "in_progress" | "completed">;
|
|
37
38
|
uniqueKey: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RouteLocationRaw } from "vue-router";
|
|
2
|
-
|
|
2
|
+
import type { MpTestIdProps } from "./MpTestIdProps";
|
|
3
|
+
export interface UnifiedNavigationProps extends MpTestIdProps {
|
|
3
4
|
collapsed?: boolean;
|
|
4
5
|
navBlocks: [UnifiedNavigationItem[]];
|
|
5
6
|
accountId: string;
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/router.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MpTestIdProps } from './MpTestIdProps';
|
|
1
2
|
/**
|
|
2
3
|
* Custom route meta type definitions
|
|
3
4
|
*/
|
|
@@ -17,7 +18,7 @@ export interface BreadcrumbItem {
|
|
|
17
18
|
exact?: boolean;
|
|
18
19
|
href?: string;
|
|
19
20
|
}
|
|
20
|
-
export interface AppBreadcrumbProps {
|
|
21
|
+
export interface AppBreadcrumbProps extends MpTestIdProps {
|
|
21
22
|
breadcrumbClass?: string;
|
|
22
23
|
/** Any vuetify breadcrumbs props will be passed to v-breadcrumbs via v-bind */
|
|
23
24
|
breadcrumbProps?: any;
|
package/dist/vuetify.d.ts
CHANGED