mgv-backoffice 1.18.0 → 1.19.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/README.md +10 -7
- package/dist/{src/components → components}/BaseActionButton.vue.d.ts +9 -13
- package/dist/{src/components → components}/BaseAlert.vue.d.ts +3 -2
- package/dist/components/BaseAppLayout.vue.d.ts +28 -0
- package/dist/{src/components → components}/BaseBadge.vue.d.ts +7 -11
- package/dist/{src/components → components}/BaseBreadcrumb.vue.d.ts +3 -2
- package/dist/{src/components → components}/BaseButton.vue.d.ts +9 -12
- package/dist/{src/components → components}/BaseCollapsibleSection.vue.d.ts +7 -11
- package/dist/{src/components → components}/BaseConfirmModal.vue.d.ts +9 -12
- package/dist/{src/components → components}/BaseCopyButton.vue.d.ts +2 -1
- package/dist/{src/components → components}/BaseEntityPickerModal.vue.d.ts +8 -16
- package/dist/{src/components → components}/BaseLine.vue.d.ts +2 -1
- package/dist/{src/components → components}/BaseLogo.vue.d.ts +2 -1
- package/dist/{src/components → components}/BaseModal.vue.d.ts +7 -11
- package/dist/{src/components → components}/BaseModalShell.vue.d.ts +19 -17
- package/dist/{src/components → components}/BaseNotFoundPage.vue.d.ts +3 -2
- package/dist/components/BasePageHeader.vue.d.ts +28 -0
- package/dist/{src/components → components}/BaseRow.vue.d.ts +8 -12
- package/dist/components/BaseSidebar.vue.d.ts +41 -0
- package/dist/{src/components → components}/BaseSpinner.vue.d.ts +2 -1
- package/dist/{src/components → components}/BaseTextInputModal.vue.d.ts +8 -16
- package/dist/{src/components → components}/BaseToast.vue.d.ts +2 -1
- package/dist/{src/components → components}/BaseToolbarButton.vue.d.ts +9 -13
- package/dist/components/ColoredSquares.vue.d.ts +23 -0
- package/dist/{src/components → components}/EarningsCard.vue.d.ts +3 -2
- package/dist/{src/components → components}/EuroAmount.vue.d.ts +2 -1
- package/dist/{src/components → components}/Pagination.vue.d.ts +3 -2
- package/dist/{src/components → components}/TrendArrow.vue.d.ts +2 -1
- package/dist/index.d.ts +54 -1
- package/dist/ui-lib.css +2 -2
- package/dist/ui-lib.js +11 -11
- package/dist/ui-lib.umd.cjs +1 -1
- package/package.json +14 -13
- package/dist/src/components/BaseAppLayout.vue.d.ts +0 -31
- package/dist/src/components/BasePageHeader.vue.d.ts +0 -31
- package/dist/src/components/BaseSidebar.vue.d.ts +0 -46
- package/dist/src/components/ColoredSquares.vue.d.ts +0 -27
- package/dist/src/index.d.ts +0 -54
- /package/dist/{src/composables → composables}/useDebounce.d.ts +0 -0
- /package/dist/{src/composables → composables}/useEscapeKey.d.ts +0 -0
- /package/dist/{src/composables → composables}/useMobileSidebar.d.ts +0 -0
- /package/dist/{src/composables → composables}/useTheme.d.ts +0 -0
- /package/dist/{src/composables → composables}/useThemeClasses.d.ts +0 -0
- /package/dist/{src/composables → composables}/useToast.d.ts +0 -0
- /package/dist/{src/enums → enums}/AlertEnum.d.ts +0 -0
- /package/dist/{src/enums → enums}/BaseBadgeEnum.d.ts +0 -0
- /package/dist/{src/enums → enums}/BaseButtonEnum.d.ts +0 -0
- /package/dist/{src/enums → enums}/BaseButtonSizeEnum.d.ts +0 -0
- /package/dist/{src/enums → enums}/BaseLogoEnum.d.ts +0 -0
- /package/dist/{src/enums → enums}/BaseModalEnum.d.ts +0 -0
- /package/dist/{src/enums → enums}/BaseToastEnum.d.ts +0 -0
- /package/dist/{src/enums → enums}/ColorsEnums.d.ts +0 -0
- /package/dist/{src/enums → enums}/LineEnum.d.ts +0 -0
- /package/dist/{src/enums → enums}/PositioningEnum.d.ts +0 -0
- /package/dist/{src/types → types}/entityPicker.d.ts +0 -0
- /package/dist/{src/types → types}/sidebar.d.ts +0 -0
- /package/dist/{src/utils → utils}/format.d.ts +0 -0
- /package/dist/{src/utils → utils}/httpColors.d.ts +0 -0
- /package/dist/{src/utils → utils}/pnl.d.ts +0 -0
- /package/dist/{src/utils → utils}/sanitizeHtml.d.ts +0 -0
- /package/dist/{src/utils → utils}/util.d.ts +0 -0
package/README.md
CHANGED
|
@@ -13,9 +13,12 @@ npm install mgv-backoffice
|
|
|
13
13
|
These must be installed in your project:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install vue@^3.
|
|
16
|
+
npm install vue@^3.5.0 vue-router@^5.0.0 @heroicons/vue@^2.0.0
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
> `vue-router` 5.x is required (peer range `^5.0.0`) — it's what the library is
|
|
20
|
+
> developed and tested against. Upgrade from Router 4 before installing this library.
|
|
21
|
+
|
|
19
22
|
### Import Styles
|
|
20
23
|
|
|
21
24
|
Include the library's stylesheet in your app entry point:
|
|
@@ -227,17 +230,17 @@ SVG brand logo component.
|
|
|
227
230
|
|
|
228
231
|
| Prop | Type | Default | Description |
|
|
229
232
|
| ------ | -------- | ---------------------- | ------------ |
|
|
230
|
-
| `size` | `String` | `
|
|
233
|
+
| `size` | `String` | `BaseLogoEnum.MEDIUM` | Logo size |
|
|
231
234
|
|
|
232
235
|
**Example:**
|
|
233
236
|
|
|
234
237
|
```vue
|
|
235
238
|
<template>
|
|
236
|
-
<BaseLogo :size="
|
|
239
|
+
<BaseLogo :size="BaseLogoEnum.LARGE" />
|
|
237
240
|
</template>
|
|
238
241
|
|
|
239
242
|
<script setup lang="ts">
|
|
240
|
-
import { BaseLogo,
|
|
243
|
+
import { BaseLogo, BaseLogoEnum } from 'mgv-backoffice'
|
|
241
244
|
</script>
|
|
242
245
|
```
|
|
243
246
|
|
|
@@ -552,7 +555,7 @@ import {
|
|
|
552
555
|
BaseBadgeEnum,
|
|
553
556
|
BaseButtonEnum,
|
|
554
557
|
BaseButtonSizeEnum,
|
|
555
|
-
|
|
558
|
+
BaseLogoEnum,
|
|
556
559
|
BaseModalEnum,
|
|
557
560
|
BaseToastEnum,
|
|
558
561
|
ColorsEnums,
|
|
@@ -565,9 +568,9 @@ import {
|
|
|
565
568
|
| -------------------- |---------------------------------------------------------------|
|
|
566
569
|
| `AlertEnum` | `WARNING`, `ERROR`, `SUCCESS`, `INFO` |
|
|
567
570
|
| `BaseBadgeEnum` | `WIN`, `LOSE` |
|
|
568
|
-
| `BaseButtonEnum` | `RED`, `BLUE`, `WHITE`, `DARK`, `GREEN`, `YELLOW`, `PURPLE`
|
|
571
|
+
| `BaseButtonEnum` | `RED`, `BLUE`, `WHITE`, `DARK`, `GREEN`, `EMERALD`, `YELLOW`, `PURPLE`, `SKY`, `GRAY`, `AMBER` |
|
|
569
572
|
| `BaseButtonSizeEnum` | `EXTRA_SMALL`, `SMALL`, `BASE`, `LARGE`, `EXTRA_LARGE` |
|
|
570
|
-
| `
|
|
573
|
+
| `BaseLogoEnum` | `SMALL`, `MEDIUM`, `LARGE` (`BaseLoginEnum` is a deprecated alias) |
|
|
571
574
|
| `BaseModalEnum` | `DELETE`, `SUCCESS` |
|
|
572
575
|
| `BaseToastEnum` | `SUCCESS`, `WARNING`, `ERROR` |
|
|
573
576
|
| `ColorsEnums` | `NONE`, `RED`, `YELLOW`, `BLACK`, `GRAY`, `GREEN`, `BLUE` |
|
|
@@ -8,18 +8,13 @@ type __VLS_Props = {
|
|
|
8
8
|
ariaLabel?: string;
|
|
9
9
|
type?: 'button' | 'submit' | 'reset';
|
|
10
10
|
};
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}): any;
|
|
17
|
-
};
|
|
18
|
-
refs: {};
|
|
19
|
-
rootEl: any;
|
|
11
|
+
declare var __VLS_1: {
|
|
12
|
+
iconClass: string;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
20
16
|
};
|
|
21
|
-
|
|
22
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
18
|
click: (event: MouseEvent) => any;
|
|
24
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
20
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -32,9 +27,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
32
27
|
fullWidth: boolean;
|
|
33
28
|
ariaLabel: string;
|
|
34
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
|
-
declare const
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
36
32
|
export default _default;
|
|
37
|
-
type
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
38
34
|
new (): {
|
|
39
35
|
$slots: S;
|
|
40
36
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AlertEnum } from '../enums/AlertEnum';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
title: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
required: false;
|
|
@@ -25,5 +25,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
25
25
|
}>> & Readonly<{}>, {
|
|
26
26
|
title: string;
|
|
27
27
|
color: AlertEnum;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
29
30
|
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Whether the sidebar should currently be rendered. Defaults to true.
|
|
4
|
+
* Set to false for routes that should occupy the full viewport (e.g.
|
|
5
|
+
* landing / marketing pages).
|
|
6
|
+
*/
|
|
7
|
+
showSidebar?: boolean;
|
|
8
|
+
/** Skip-link label. Defaults to "Skip to main content". */
|
|
9
|
+
skipLinkLabel?: string;
|
|
10
|
+
}
|
|
11
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
sidebar?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: typeof __VLS_3) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
showSidebar: boolean;
|
|
19
|
+
skipLinkLabel: string;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
4
|
};
|
|
9
|
-
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
6
|
color: {
|
|
12
7
|
type: StringConstructor;
|
|
13
8
|
required: false;
|
|
@@ -18,9 +13,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
18
13
|
required: false;
|
|
19
14
|
};
|
|
20
15
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
-
declare const
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
22
18
|
export default _default;
|
|
23
|
-
type
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
20
|
new (): {
|
|
25
21
|
$slots: S;
|
|
26
22
|
};
|
|
@@ -2,7 +2,7 @@ export interface BreadCrumb {
|
|
|
2
2
|
name: string;
|
|
3
3
|
url: string;
|
|
4
4
|
}
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
6
|
items: {
|
|
7
7
|
type: () => BreadCrumb[];
|
|
8
8
|
required: false;
|
|
@@ -27,5 +27,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
28
|
path: string;
|
|
29
29
|
items: BreadCrumb[];
|
|
30
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
31
32
|
export default _default;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { BaseButtonEnum } from '../enums/BaseButtonEnum';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_8: {}, __VLS_10: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_10) => any;
|
|
10
7
|
};
|
|
11
|
-
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
9
|
description: {
|
|
14
10
|
type: StringConstructor;
|
|
15
11
|
required: true;
|
|
@@ -119,9 +115,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
119
115
|
isDisable: boolean;
|
|
120
116
|
isLoading: boolean;
|
|
121
117
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
122
|
-
declare const
|
|
118
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
119
|
+
declare const _default: typeof __VLS_export;
|
|
123
120
|
export default _default;
|
|
124
|
-
type
|
|
121
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
125
122
|
new (): {
|
|
126
123
|
$slots: S;
|
|
127
124
|
};
|
|
@@ -12,23 +12,19 @@ interface Props {
|
|
|
12
12
|
*/
|
|
13
13
|
bodyClass?: string;
|
|
14
14
|
}
|
|
15
|
-
declare
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
default?(_: {}): any;
|
|
19
|
-
};
|
|
20
|
-
refs: {};
|
|
21
|
-
rootEl: any;
|
|
15
|
+
declare var __VLS_1: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_1) => any;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
20
|
toggle: () => any;
|
|
26
21
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
27
22
|
onToggle?: (() => any) | undefined;
|
|
28
23
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
-
declare const
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
30
26
|
export default _default;
|
|
31
|
-
type
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
28
|
new (): {
|
|
33
29
|
$slots: S;
|
|
34
30
|
};
|
|
@@ -7,17 +7,13 @@ interface Props {
|
|
|
7
7
|
variant?: 'danger' | 'warning';
|
|
8
8
|
submitting?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
refs: {};
|
|
17
|
-
rootEl: any;
|
|
10
|
+
declare var __VLS_16: {}, __VLS_18: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
message?: (props: typeof __VLS_16) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_18) => any;
|
|
18
15
|
};
|
|
19
|
-
|
|
20
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
17
|
cancel: () => any;
|
|
22
18
|
confirm: () => any;
|
|
23
19
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -30,9 +26,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
30
26
|
variant: "danger" | "warning";
|
|
31
27
|
submitting: boolean;
|
|
32
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
-
declare const
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
34
31
|
export default _default;
|
|
35
|
-
type
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
33
|
new (): {
|
|
37
34
|
$slots: S;
|
|
38
35
|
};
|
|
@@ -11,7 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
/** Icon size class. */
|
|
12
12
|
iconClass?: string;
|
|
13
13
|
};
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
15
|
error: (error: unknown) => any;
|
|
16
16
|
copied: () => any;
|
|
17
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -23,4 +23,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
23
23
|
resetMs: number;
|
|
24
24
|
iconClass: string;
|
|
25
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
@@ -19,18 +19,11 @@ interface Props {
|
|
|
19
19
|
submittingText?: string;
|
|
20
20
|
submitting?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
icon?(_: {}): any;
|
|
26
|
-
};
|
|
27
|
-
refs: {
|
|
28
|
-
searchInputRef: HTMLInputElement;
|
|
29
|
-
};
|
|
30
|
-
rootEl: any;
|
|
22
|
+
declare var __VLS_11: {};
|
|
23
|
+
type __VLS_Slots = {} & {
|
|
24
|
+
icon?: (props: typeof __VLS_11) => any;
|
|
31
25
|
};
|
|
32
|
-
|
|
33
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
27
|
cancel: () => any;
|
|
35
28
|
confirm: (itemId: string) => any;
|
|
36
29
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -46,12 +39,11 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
46
39
|
searchPlaceholder: string;
|
|
47
40
|
emptyMessage: string;
|
|
48
41
|
noMatchMessage: string;
|
|
49
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
|
+
declare const _default: typeof __VLS_export;
|
|
53
45
|
export default _default;
|
|
54
|
-
type
|
|
46
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
55
47
|
new (): {
|
|
56
48
|
$slots: S;
|
|
57
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LineEnum } from '../enums/LineEnum';
|
|
2
|
-
declare const
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
mode: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
required: false;
|
|
@@ -14,4 +14,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
}>> & Readonly<{}>, {
|
|
15
15
|
mode: string;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseLogoEnum } from '../enums/BaseLogoEnum';
|
|
2
|
-
declare const
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
size: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
required: false;
|
|
@@ -14,4 +14,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
}>> & Readonly<{}>, {
|
|
15
15
|
size: string;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { BaseModalEnum } from '../enums/BaseModalEnum';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_25: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_25) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
7
|
title: {
|
|
13
8
|
type: StringConstructor;
|
|
14
9
|
required: true;
|
|
@@ -56,9 +51,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
56
51
|
mode: string;
|
|
57
52
|
to: string;
|
|
58
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
-
declare const
|
|
54
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
55
|
+
declare const _default: typeof __VLS_export;
|
|
60
56
|
export default _default;
|
|
61
|
-
type
|
|
57
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
62
58
|
new (): {
|
|
63
59
|
$slots: S;
|
|
64
60
|
};
|
|
@@ -25,22 +25,23 @@ interface Props {
|
|
|
25
25
|
*/
|
|
26
26
|
subtitle?: string;
|
|
27
27
|
}
|
|
28
|
-
declare
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {};
|
|
29
|
+
type __VLS_Slots = {} & {
|
|
30
|
+
icon?: (props: typeof __VLS_7) => any;
|
|
31
|
+
} & {
|
|
32
|
+
'header-actions'?: (props: typeof __VLS_9) => any;
|
|
33
|
+
} & {
|
|
34
|
+
default?: (props: typeof __VLS_11) => any;
|
|
35
|
+
} & {
|
|
36
|
+
footer?: (props: typeof __VLS_13) => any;
|
|
37
|
+
} & {
|
|
38
|
+
icon?: (props: typeof __VLS_15) => any;
|
|
39
|
+
} & {
|
|
40
|
+
default?: (props: typeof __VLS_17) => any;
|
|
41
|
+
} & {
|
|
42
|
+
footer?: (props: typeof __VLS_19) => any;
|
|
41
43
|
};
|
|
42
|
-
|
|
43
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
45
|
cancel: () => any;
|
|
45
46
|
backdrop: () => any;
|
|
46
47
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -52,9 +53,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
52
53
|
manualClose: boolean;
|
|
53
54
|
scrollable: boolean;
|
|
54
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
55
|
-
declare const
|
|
56
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
56
58
|
export default _default;
|
|
57
|
-
type
|
|
59
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
58
60
|
new (): {
|
|
59
61
|
$slots: S;
|
|
60
62
|
};
|
|
@@ -8,10 +8,11 @@ interface Props {
|
|
|
8
8
|
/** Button label. Defaults to 'Go home'. */
|
|
9
9
|
homeLabel?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
12
|
code: string;
|
|
13
13
|
message: string;
|
|
14
14
|
homeRouteName: string;
|
|
15
15
|
homeLabel: string;
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type IconColor = 'emerald' | 'sky' | 'red' | 'amber';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
iconColor?: IconColor;
|
|
6
|
+
maxWidthClass?: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {
|
|
9
|
+
iconClass: string;
|
|
10
|
+
}, __VLS_3: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
13
|
+
} & {
|
|
14
|
+
actions?: (props: typeof __VLS_3) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
subtitle: string;
|
|
18
|
+
maxWidthClass: string;
|
|
19
|
+
iconColor: IconColor;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: HTMLDivElement;
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
4
|
};
|
|
9
|
-
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
6
|
bgColor: {
|
|
12
7
|
type: StringConstructor;
|
|
13
8
|
required: false;
|
|
@@ -21,10 +16,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
21
16
|
};
|
|
22
17
|
}>> & Readonly<{}>, {
|
|
23
18
|
bgColor: string;
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
25
|
-
declare const
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
26
22
|
export default _default;
|
|
27
|
-
type
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
24
|
new (): {
|
|
29
25
|
$slots: S;
|
|
30
26
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { NavSection } from '../types/sidebar';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Nav sections (groups of items). */
|
|
4
|
+
sections: NavSection[];
|
|
5
|
+
/** Route name to navigate to when the logo / home button is clicked. */
|
|
6
|
+
homeRouteName?: string;
|
|
7
|
+
/** Optional app name shown in the footer next to the version. */
|
|
8
|
+
appName?: string;
|
|
9
|
+
/** Optional version string shown in the footer. */
|
|
10
|
+
version?: string;
|
|
11
|
+
/** Whether to render the dark/light toggle in the footer. */
|
|
12
|
+
showThemeToggle?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare var __VLS_1: {
|
|
15
|
+
size: number;
|
|
16
|
+
}, __VLS_13: {
|
|
17
|
+
size: number;
|
|
18
|
+
}, __VLS_25: {}, __VLS_27: {};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
logo?: (props: typeof __VLS_1) => any;
|
|
21
|
+
} & {
|
|
22
|
+
logo?: (props: typeof __VLS_13) => any;
|
|
23
|
+
} & {
|
|
24
|
+
status?: (props: typeof __VLS_25) => any;
|
|
25
|
+
} & {
|
|
26
|
+
footer?: (props: typeof __VLS_27) => any;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
29
|
+
homeRouteName: string;
|
|
30
|
+
appName: string;
|
|
31
|
+
version: string;
|
|
32
|
+
showThemeToggle: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -4,8 +4,9 @@ type __VLS_Props = {
|
|
|
4
4
|
size?: SpinnerSize;
|
|
5
5
|
color?: SpinnerColor;
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
8
|
color: SpinnerColor;
|
|
9
9
|
size: SpinnerSize;
|
|
10
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
@@ -9,18 +9,11 @@ interface Props {
|
|
|
9
9
|
submittingText?: string;
|
|
10
10
|
submitting?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
icon?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
refs: {
|
|
18
|
-
nameInput: HTMLInputElement;
|
|
19
|
-
};
|
|
20
|
-
rootEl: any;
|
|
12
|
+
declare var __VLS_11: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
icon?: (props: typeof __VLS_11) => any;
|
|
21
15
|
};
|
|
22
|
-
|
|
23
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
17
|
cancel: () => any;
|
|
25
18
|
confirm: (value: string) => any;
|
|
26
19
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -34,12 +27,11 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
34
27
|
submitting: boolean;
|
|
35
28
|
initialValue: string;
|
|
36
29
|
inputLabel: string;
|
|
37
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
41
33
|
export default _default;
|
|
42
|
-
type
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
35
|
new (): {
|
|
44
36
|
$slots: S;
|
|
45
37
|
};
|