@myparcel-dev/pdk-admin-preset-default 2.1.0 → 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/dist/components/DefaultBadge.vue.d.ts +17 -0
- package/dist/components/DefaultBox.vue.d.ts +42 -0
- package/dist/components/DefaultButton.vue.d.ts +42 -0
- package/dist/components/DefaultButtonGroup.vue.d.ts +17 -0
- package/dist/components/DefaultCheckboxGroup.vue.d.ts +21 -0
- package/dist/components/DefaultCheckboxInput.vue.d.ts +21 -0
- package/dist/components/DefaultCodeEditor.vue.d.ts +16 -0
- package/dist/components/DefaultCol.vue.d.ts +17 -0
- package/dist/components/DefaultCurrencyInput.vue.d.ts +16 -0
- package/dist/components/DefaultDropOffInput.vue.d.ts +16 -0
- package/dist/components/DefaultDropdownButton.vue.d.ts +19 -0
- package/dist/components/DefaultFormGroup.vue.d.ts +19 -0
- package/dist/components/DefaultHeading.vue.d.ts +35 -0
- package/dist/components/DefaultIcon.vue.d.ts +12 -0
- package/dist/components/DefaultImage.vue.d.ts +12 -0
- package/dist/components/DefaultLink.vue.d.ts +39 -0
- package/dist/components/DefaultLoader.vue.d.ts +28 -0
- package/dist/components/DefaultModal.vue.d.ts +38 -0
- package/dist/components/DefaultMultiDateInput.vue.d.ts +17 -0
- package/dist/components/DefaultMultiSelectInput.vue.d.ts +21 -0
- package/dist/components/DefaultNotification.vue.d.ts +12 -0
- package/dist/components/DefaultNumberInput.vue.d.ts +3 -0
- package/dist/components/DefaultRadioGroup.vue.d.ts +21 -0
- package/dist/components/DefaultRadioInput.vue.d.ts +16 -0
- package/dist/components/DefaultRow.vue.d.ts +17 -0
- package/dist/components/DefaultSelectInput.vue.d.ts +21 -0
- package/dist/components/DefaultSettingsDivider.vue.d.ts +12 -0
- package/dist/components/DefaultShippingMethodsInput.vue.d.ts +17 -0
- package/dist/components/DefaultTabNavButton.vue.d.ts +26 -0
- package/dist/components/DefaultTable.vue.d.ts +19 -0
- package/dist/components/DefaultTableCol.vue.d.ts +35 -0
- package/dist/components/DefaultTableRow.vue.d.ts +35 -0
- package/dist/components/DefaultTextArea.vue.d.ts +16 -0
- package/dist/components/DefaultTextInput.vue.d.ts +16 -0
- package/dist/components/DefaultTimeInput.vue.d.ts +16 -0
- package/dist/components/DefaultToggleInput.vue.d.ts +16 -0
- package/dist/components/DefaultTriStateInput.vue.d.ts +16 -0
- package/dist/components/index.d.ts +37 -0
- package/dist/index.d.ts +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type BadgeSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = BadgeSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
|
4
|
+
[x: string]: unknown;
|
|
5
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
6
|
+
[x: string]: unknown;
|
|
7
|
+
}>>>>, {
|
|
8
|
+
readonly [x: number]: string;
|
|
9
|
+
} | {}, {}>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type BoxProps, type BoxSlots, Size } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = BoxSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BoxProps>, {
|
|
4
|
+
loading: boolean;
|
|
5
|
+
size: Size;
|
|
6
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
clickHeader: () => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BoxProps>, {
|
|
9
|
+
loading: boolean;
|
|
10
|
+
size: Size;
|
|
11
|
+
}>>> & {
|
|
12
|
+
onClickHeader?: (() => any) | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
loading: boolean;
|
|
15
|
+
size: Size;
|
|
16
|
+
}, {}>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_TypePropsToOption<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} : {
|
|
41
|
+
[K in keyof T as K]: T[K];
|
|
42
|
+
}) & {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type ButtonProps, type ButtonSlots, Size } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = ButtonSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
|
4
|
+
label: string;
|
|
5
|
+
size: Size;
|
|
6
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
click: () => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
|
9
|
+
label: string;
|
|
10
|
+
size: Size;
|
|
11
|
+
}>>> & {
|
|
12
|
+
onClick?: (() => any) | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
label: string;
|
|
15
|
+
size: Size;
|
|
16
|
+
}, {}>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_TypePropsToOption<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} : {
|
|
41
|
+
[K in keyof T as K]: T[K];
|
|
42
|
+
}) & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ButtonGroupSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = ButtonGroupSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
|
4
|
+
[x: string]: unknown;
|
|
5
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
6
|
+
[x: string]: unknown;
|
|
7
|
+
}>>>>, {
|
|
8
|
+
readonly [x: number]: string;
|
|
9
|
+
} | {}, {}>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type CheckboxGroupEmits, type CheckboxGroupModelValue, type CheckboxGroupProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: <T extends CheckboxGroupModelValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<CheckboxGroupProps<T> & {
|
|
4
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
5
|
+
}> & (typeof globalThis extends {
|
|
6
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
7
|
+
} ? P : {});
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: CheckboxGroupEmits<T>;
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
18
|
+
[K in keyof T]: T[K];
|
|
19
|
+
} : {
|
|
20
|
+
[K in keyof T as K]: T[K];
|
|
21
|
+
}) & {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type CheckboxInputEmits, type CheckboxInputModelValue, type CheckboxInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: <T extends CheckboxInputModelValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<CheckboxInputProps<T> & {
|
|
4
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
5
|
+
}> & (typeof globalThis extends {
|
|
6
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
7
|
+
} ? P : {});
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: CheckboxInputEmits<T>;
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
18
|
+
[K in keyof T]: T[K];
|
|
19
|
+
} : {
|
|
20
|
+
[K in keyof T as K]: T[K];
|
|
21
|
+
}) & {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type CodeEditorProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<CodeEditorProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: string) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<CodeEditorProps>>> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ColSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = ColSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
|
4
|
+
[x: string]: unknown;
|
|
5
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
6
|
+
[x: string]: unknown;
|
|
7
|
+
}>>>>, {
|
|
8
|
+
readonly [x: number]: string;
|
|
9
|
+
} | {}, {}>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type CurrencyInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<CurrencyInputProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: number) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<CurrencyInputProps>>> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type DropOffInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<DropOffInputProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: import("@myparcel-dev/pdk-common").Settings.ModelDropOffPossibilities) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DropOffInputProps>>> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: import("@myparcel-dev/pdk-common").Settings.ModelDropOffPossibilities) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type DropdownButtonProps, type DropdownButtonSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = DropdownButtonSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_TypePropsToOption<DropdownButtonProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DropdownButtonProps>>>, {}, {}>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_TypePropsToOption<T> = {
|
|
8
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
10
|
+
} : {
|
|
11
|
+
type: import('vue').PropType<T[K]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type FormGroupProps, type FormGroupSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = FormGroupSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_TypePropsToOption<FormGroupProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<FormGroupProps>>>, {}, {}>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_TypePropsToOption<T> = {
|
|
8
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
10
|
+
} : {
|
|
11
|
+
type: import('vue').PropType<T[K]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type HeadingProps, type HeadingSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = HeadingSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<HeadingProps>, {
|
|
4
|
+
level: number;
|
|
5
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<HeadingProps>, {
|
|
6
|
+
level: number;
|
|
7
|
+
}>>>, {
|
|
8
|
+
level: number | string;
|
|
9
|
+
}, {}>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_TypePropsToOption<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type IconProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<IconProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IconProps>>>, {}, {}>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_TypePropsToOption<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ImageProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<ImageProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ImageProps>>>, {}, {}>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_TypePropsToOption<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type LinkProps, type LinkSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = LinkSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LinkProps>, {
|
|
4
|
+
href: string;
|
|
5
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
click: (event: MouseEvent) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LinkProps>, {
|
|
8
|
+
href: string;
|
|
9
|
+
}>>> & {
|
|
10
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
href: string;
|
|
13
|
+
}, {}>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
}> : P[K];
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} : {
|
|
38
|
+
[K in keyof T as K]: T[K];
|
|
39
|
+
}) & {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type LoaderProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LoaderProps>, {
|
|
3
|
+
tag: string;
|
|
4
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LoaderProps>, {
|
|
5
|
+
tag: string;
|
|
6
|
+
}>>>, {
|
|
7
|
+
tag: string;
|
|
8
|
+
}, {}>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} : {
|
|
27
|
+
[K in keyof T as K]: T[K];
|
|
28
|
+
}) & {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ModalProps, type ModalSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = ModalSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ModalProps>, {
|
|
4
|
+
actions: () => never[];
|
|
5
|
+
title: string;
|
|
6
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ModalProps>, {
|
|
7
|
+
actions: () => never[];
|
|
8
|
+
title: string;
|
|
9
|
+
}>>>, {
|
|
10
|
+
title: string;
|
|
11
|
+
actions: import("@myparcel-dev/pdk-admin").ActionDefinition[];
|
|
12
|
+
}, {}>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} : {
|
|
37
|
+
[K in keyof T as K]: T[K];
|
|
38
|
+
}) & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
|
+
import { type MultiDateInputProps } from '@myparcel-dev/pdk-admin';
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<MultiDateInputProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (value: Date[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MultiDateInputProps>>> & {
|
|
6
|
+
"onUpdate:modelValue"?: ((value: Date[]) => any) | undefined;
|
|
7
|
+
}, {}, {}>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type MultiSelectInputEmits, type MultiSelectInputModelValue, type MultiSelectInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: <T extends MultiSelectInputModelValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<MultiSelectInputProps<T> & {
|
|
4
|
+
"onUpdate:modelValue"?: ((value: import("@myparcel-dev/pdk-admin").ArrayItem<T>) => any) | undefined;
|
|
5
|
+
}> & (typeof globalThis extends {
|
|
6
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
7
|
+
} ? P : {});
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: MultiSelectInputEmits<T>;
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
18
|
+
[K in keyof T]: T[K];
|
|
19
|
+
} : {
|
|
20
|
+
[K in keyof T as K]: T[K];
|
|
21
|
+
}) & {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type NotificationProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<NotificationProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<NotificationProps>>>, {}, {}>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_TypePropsToOption<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type RadioGroupEmits, type RadioGroupModelValue, type RadioGroupProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: <T extends RadioGroupModelValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<RadioGroupProps<T> & {
|
|
4
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
5
|
+
}> & (typeof globalThis extends {
|
|
6
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
7
|
+
} ? P : {});
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: RadioGroupEmits<T>;
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
18
|
+
[K in keyof T]: T[K];
|
|
19
|
+
} : {
|
|
20
|
+
[K in keyof T as K]: T[K];
|
|
21
|
+
}) & {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type RadioInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<RadioInputProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<RadioInputProps>>> & {
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type RowSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = RowSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
|
4
|
+
[x: string]: unknown;
|
|
5
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
6
|
+
[x: string]: unknown;
|
|
7
|
+
}>>>>, {
|
|
8
|
+
readonly [x: number]: string;
|
|
9
|
+
} | {}, {}>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type SelectInputEmits, type SelectInputModelValue, type SelectInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: <T extends SelectInputModelValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<SelectInputProps<T> & {
|
|
4
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
5
|
+
}> & (typeof globalThis extends {
|
|
6
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
7
|
+
} ? P : {});
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: SelectInputEmits<T>;
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
18
|
+
[K in keyof T]: T[K];
|
|
19
|
+
} : {
|
|
20
|
+
[K in keyof T as K]: T[K];
|
|
21
|
+
}) & {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type SettingsDividerProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<SettingsDividerProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<SettingsDividerProps>>>, {}, {}>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_TypePropsToOption<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ShippingMethodsInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Props = ShippingMethodsInputProps;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (value: import("@myparcel-dev/pdk-common").ShippingMethodTypeMap) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & {
|
|
6
|
+
"onUpdate:modelValue"?: ((value: import("@myparcel-dev/pdk-common").ShippingMethodTypeMap) => any) | undefined;
|
|
7
|
+
}, {}, {}>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type TabNavButtonProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_TypePropsToOption<TabNavButtonProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
click: () => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<TabNavButtonProps>>> & {
|
|
9
|
+
onClick?: (() => any) | undefined;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type TableProps, type TableSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = TableSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_TypePropsToOption<TableProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<TableProps>>>, {}, {}>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_TypePropsToOption<T> = {
|
|
8
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
10
|
+
} : {
|
|
11
|
+
type: import('vue').PropType<T[K]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type TableColProps, type TableColSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = TableColSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TableColProps>, {
|
|
4
|
+
component: string;
|
|
5
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TableColProps>, {
|
|
6
|
+
component: string;
|
|
7
|
+
}>>>, {
|
|
8
|
+
component: string;
|
|
9
|
+
}, {}>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_TypePropsToOption<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type TableRowProps, type TableRowSlots } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
type __VLS_Slots = TableRowSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TableRowProps>, {
|
|
4
|
+
component: string;
|
|
5
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TableRowProps>, {
|
|
6
|
+
component: string;
|
|
7
|
+
}>>>, {
|
|
8
|
+
component: string;
|
|
9
|
+
}, {}>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_TypePropsToOption<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TextAreaProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<TextAreaProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: string) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<TextAreaProps>>> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TextInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<TextInputProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: string) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<TextInputProps>>> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TimeInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<TimeInputProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: string) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<TimeInputProps>>> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ToggleInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<ToggleInputProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: import("@myparcel-dev/pdk-admin").ToggleInputModelValue) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ToggleInputProps>>> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: import("@myparcel-dev/pdk-admin").ToggleInputModelValue) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TriStateInputProps } from '@myparcel-dev/pdk-admin';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_TypePropsToOption<TriStateInputProps>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value: import("@myparcel-dev/pdk-common").TriState) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<TriStateInputProps>>> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: import("@myparcel-dev/pdk-common").TriState) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export { default as DefaultBadge } from './DefaultBadge.vue';
|
|
2
|
+
export { default as DefaultBox } from './DefaultBox.vue';
|
|
3
|
+
export { default as DefaultButton } from './DefaultButton.vue';
|
|
4
|
+
export { default as DefaultButtonGroup } from './DefaultButtonGroup.vue';
|
|
5
|
+
export { default as DefaultCheckboxGroup } from './DefaultCheckboxGroup.vue';
|
|
6
|
+
export { default as DefaultCheckboxInput } from './DefaultCheckboxInput.vue';
|
|
7
|
+
export { default as DefaultCodeEditor } from './DefaultCodeEditor.vue';
|
|
8
|
+
export { default as DefaultCol } from './DefaultCol.vue';
|
|
9
|
+
export { default as DefaultCurrencyInput } from './DefaultCurrencyInput.vue';
|
|
10
|
+
export { default as DefaultDropOffInput } from './DefaultDropOffInput.vue';
|
|
11
|
+
export { default as DefaultDropdownButton } from './DefaultDropdownButton.vue';
|
|
12
|
+
export { default as DefaultFormGroup } from './DefaultFormGroup.vue';
|
|
13
|
+
export { default as DefaultHeading } from './DefaultHeading.vue';
|
|
14
|
+
export { default as DefaultIcon } from './DefaultIcon.vue';
|
|
15
|
+
export { default as DefaultImage } from './DefaultImage.vue';
|
|
16
|
+
export { default as DefaultLink } from './DefaultLink.vue';
|
|
17
|
+
export { default as DefaultLoader } from './DefaultLoader.vue';
|
|
18
|
+
export { default as DefaultModal } from './DefaultModal.vue';
|
|
19
|
+
export { default as DefaultMultiDateInput } from './DefaultMultiDateInput.vue';
|
|
20
|
+
export { default as DefaultMultiSelectInput } from './DefaultMultiSelectInput.vue';
|
|
21
|
+
export { default as DefaultNotification } from './DefaultNotification.vue';
|
|
22
|
+
export { default as DefaultNumberInput } from './DefaultNumberInput.vue';
|
|
23
|
+
export { default as DefaultRadioGroup } from './DefaultRadioGroup.vue';
|
|
24
|
+
export { default as DefaultRadioInput } from './DefaultRadioInput.vue';
|
|
25
|
+
export { default as DefaultRow } from './DefaultRow.vue';
|
|
26
|
+
export { default as DefaultSelectInput } from './DefaultSelectInput.vue';
|
|
27
|
+
export { default as DefaultSettingsDivider } from './DefaultSettingsDivider.vue';
|
|
28
|
+
export { default as DefaultShippingMethodsInput } from './DefaultShippingMethodsInput.vue';
|
|
29
|
+
export { default as DefaultTabNavButton } from './DefaultTabNavButton.vue';
|
|
30
|
+
export { default as DefaultTable } from './DefaultTable.vue';
|
|
31
|
+
export { default as DefaultTableCol } from './DefaultTableCol.vue';
|
|
32
|
+
export { default as DefaultTableRow } from './DefaultTableRow.vue';
|
|
33
|
+
export { default as DefaultTextArea } from './DefaultTextArea.vue';
|
|
34
|
+
export { default as DefaultTextInput } from './DefaultTextInput.vue';
|
|
35
|
+
export { default as DefaultTimeInput } from './DefaultTimeInput.vue';
|
|
36
|
+
export { default as DefaultToggleInput } from './DefaultToggleInput.vue';
|
|
37
|
+
export { default as DefaultTriStateInput } from './DefaultTriStateInput.vue';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myparcel-dev/pdk-admin-preset-default",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/myparcelnl/js-pdk.git",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"typecheck": "run ws:vue:typecheck \"$(pwd)\""
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@myparcel-dev/pdk-admin": "^2.
|
|
30
|
+
"@myparcel-dev/pdk-admin": "^2.2.0",
|
|
31
31
|
"@myparcel-dev/ts-utils": "^1.15.0",
|
|
32
32
|
"@vuepic/vue-datepicker": "^11.0.2",
|
|
33
33
|
"@vueuse/core": "^10.0.0",
|
|
34
34
|
"vue": "3.5.40"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@myparcel-dev/pdk-admin-component-tests": "2.
|
|
37
|
+
"@myparcel-dev/pdk-admin-component-tests": "2.2.0",
|
|
38
38
|
"@myparcel-dev/pdk-build-vite": "1.0.0-alpha.0",
|
|
39
39
|
"typescript": "^5.2.2",
|
|
40
40
|
"vite": "^5.4.10",
|
|
41
41
|
"vitest": "^3.2.6",
|
|
42
|
-
"vue-tsc": "^
|
|
42
|
+
"vue-tsc": "^3.3.9"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=20"
|