@3squared/forge-ui-3 0.1.4 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cypress/support/component.d.ts +1 -3
- package/dist/esm/forge-ui-3.mjs +747 -693
- package/dist/esm/style.css +1 -1
- package/dist/index.d.ts +26 -25
- package/dist/src/Bootstrap_PT.d.ts +2 -1
- package/dist/src/components/ForgeActionButton.vue.d.ts +4 -3
- package/dist/src/components/ForgeAlert.vue.d.ts +4 -3
- package/dist/src/components/ForgeCheckbox.vue.d.ts +6 -5
- package/dist/src/components/ForgeChips.vue.d.ts +6 -5
- package/dist/src/components/ForgeDatepicker.vue.d.ts +5 -4
- package/dist/src/components/ForgeForm.vue.d.ts +2 -2
- package/dist/src/components/ForgeFormField.vue.d.ts +4 -3
- package/dist/src/components/ForgeInlineEditor.vue.d.ts +20 -19
- package/dist/src/components/ForgeLink.vue.d.ts +38 -0
- package/dist/src/components/ForgeLoader.vue.d.ts +4 -3
- package/dist/src/components/ForgeModal.vue.d.ts +72 -71
- package/dist/src/components/ForgeMultiSelect.vue.d.ts +6 -5
- package/dist/src/components/ForgeMultiSelectPreview.vue.d.ts +5 -4
- package/dist/src/components/ForgeNavbar.vue.d.ts +5 -4
- package/dist/src/components/ForgePageHeader.vue.d.ts +1 -1
- package/dist/src/components/ForgeProgressBar.vue.d.ts +5 -4
- package/dist/src/components/ForgeRemainingCharacters.vue.d.ts +2 -2
- package/dist/src/components/ForgeStatWidget.vue.d.ts +4 -3
- package/dist/src/components/ForgeStepper.vue.d.ts +6 -5
- package/dist/src/components/ForgeTile.vue.d.ts +4 -3
- package/dist/src/components/file-uploader/ForgeFileUploader.vue.d.ts +23 -22
- package/dist/src/components/file-uploader/components/DragDropArea.vue.d.ts +12 -11
- package/dist/src/components/file-uploader/components/FileInfo.vue.d.ts +23 -22
- package/dist/src/components/file-uploader/components/MaxFileSize.vue.d.ts +1 -1
- package/dist/src/components/file-uploader/components/UploadButton.vue.d.ts +12 -11
- package/dist/src/components/file-uploader/components/UploadStatus.vue.d.ts +3 -2
- package/dist/src/components/file-uploader/utilities/utilities.d.ts +2 -1
- package/dist/src/components/table/ForgeFilterHeader.vue.d.ts +1 -1
- package/dist/src/components/table/ForgePaginationHeader.vue.d.ts +3 -3
- package/dist/src/components/table/ForgeTable.vue.d.ts +5 -4
- package/dist/src/types/forge-types.d.ts +4 -3
- package/dist/tests/component/link/link.cy.d.ts +1 -0
- package/package.json +16 -13
- package/src/styles/components/_link.scss +7 -0
- package/src/styles/main.scss +1 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Severity } from '../types/forge-types';
|
|
2
|
+
import { StepsProps } from 'primevue/steps';
|
|
3
|
+
|
|
3
4
|
export interface ForgeStepperProps extends /* vue-ignore */ StepsProps {
|
|
4
5
|
currentStep?: number;
|
|
5
6
|
severity?: Severity;
|
|
6
7
|
}
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeStepperProps>, {
|
|
8
9
|
severity: string;
|
|
9
10
|
currentStep: number;
|
|
10
|
-
}>, {}, unknown, {}, {}, import(
|
|
11
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
12
|
"update:currentStep": (...args: any[]) => void;
|
|
12
|
-
}, string, import(
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeStepperProps>, {
|
|
13
14
|
severity: string;
|
|
14
15
|
currentStep: number;
|
|
15
16
|
}>>> & {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { Severity, BarPosition } from
|
|
1
|
+
import { Severity, BarPosition } from '../types/forge-types';
|
|
2
|
+
|
|
2
3
|
export interface ForgeTileProps {
|
|
3
4
|
severity: Severity;
|
|
4
5
|
barPosition: BarPosition;
|
|
5
6
|
clickable: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeTileProps>, {
|
|
8
9
|
severity: string;
|
|
9
10
|
barPosition: string;
|
|
10
11
|
clickable: boolean;
|
|
11
|
-
}>, {}, unknown, {}, {}, import(
|
|
12
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeTileProps>, {
|
|
12
13
|
severity: string;
|
|
13
14
|
barPosition: string;
|
|
14
15
|
clickable: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { TypedSchema } from 'vee-validate';
|
|
2
|
+
import { ForgeFileStatus } from '../../types/forge-types';
|
|
3
|
+
|
|
3
4
|
export interface ForgeFileUploaderProps {
|
|
4
5
|
acceptedFileTypes: string[];
|
|
5
6
|
maxFileSize: number;
|
|
@@ -10,70 +11,70 @@ export interface ForgeFileUploaderProps {
|
|
|
10
11
|
editableFileName?: boolean;
|
|
11
12
|
autoUploadToBlob?: boolean;
|
|
12
13
|
}
|
|
13
|
-
declare const _default: import(
|
|
14
|
-
modelValue: import(
|
|
14
|
+
declare const _default: import('vue').DefineComponent<{
|
|
15
|
+
modelValue: import('vue').PropType<ForgeFileStatus[]>;
|
|
15
16
|
acceptedFileTypes: {
|
|
16
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<string[]>;
|
|
17
18
|
required: true;
|
|
18
19
|
};
|
|
19
20
|
maxFileSize: {
|
|
20
|
-
type: import(
|
|
21
|
+
type: import('vue').PropType<number>;
|
|
21
22
|
required: true;
|
|
22
23
|
};
|
|
23
24
|
getFileUrlAction: {
|
|
24
|
-
type: import(
|
|
25
|
+
type: import('vue').PropType<(fileName: string) => Promise<[string, string]>>;
|
|
25
26
|
required: true;
|
|
26
27
|
};
|
|
27
28
|
showDragDropArea: {
|
|
28
|
-
type: import(
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
29
30
|
default: boolean;
|
|
30
31
|
};
|
|
31
32
|
customFileNameRules: {
|
|
32
|
-
type: import(
|
|
33
|
+
type: import('vue').PropType<TypedSchema<any, any>>;
|
|
33
34
|
};
|
|
34
35
|
maxFileInput: {
|
|
35
|
-
type: import(
|
|
36
|
+
type: import('vue').PropType<number>;
|
|
36
37
|
default: number;
|
|
37
38
|
};
|
|
38
39
|
editableFileName: {
|
|
39
|
-
type: import(
|
|
40
|
+
type: import('vue').PropType<boolean>;
|
|
40
41
|
default: boolean;
|
|
41
42
|
};
|
|
42
43
|
autoUploadToBlob: {
|
|
43
|
-
type: import(
|
|
44
|
+
type: import('vue').PropType<boolean>;
|
|
44
45
|
default: boolean;
|
|
45
46
|
};
|
|
46
|
-
}, {}, unknown, {}, {}, import(
|
|
47
|
-
modelValue: import(
|
|
47
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
modelValue: import('vue').PropType<ForgeFileStatus[]>;
|
|
48
49
|
acceptedFileTypes: {
|
|
49
|
-
type: import(
|
|
50
|
+
type: import('vue').PropType<string[]>;
|
|
50
51
|
required: true;
|
|
51
52
|
};
|
|
52
53
|
maxFileSize: {
|
|
53
|
-
type: import(
|
|
54
|
+
type: import('vue').PropType<number>;
|
|
54
55
|
required: true;
|
|
55
56
|
};
|
|
56
57
|
getFileUrlAction: {
|
|
57
|
-
type: import(
|
|
58
|
+
type: import('vue').PropType<(fileName: string) => Promise<[string, string]>>;
|
|
58
59
|
required: true;
|
|
59
60
|
};
|
|
60
61
|
showDragDropArea: {
|
|
61
|
-
type: import(
|
|
62
|
+
type: import('vue').PropType<boolean>;
|
|
62
63
|
default: boolean;
|
|
63
64
|
};
|
|
64
65
|
customFileNameRules: {
|
|
65
|
-
type: import(
|
|
66
|
+
type: import('vue').PropType<TypedSchema<any, any>>;
|
|
66
67
|
};
|
|
67
68
|
maxFileInput: {
|
|
68
|
-
type: import(
|
|
69
|
+
type: import('vue').PropType<number>;
|
|
69
70
|
default: number;
|
|
70
71
|
};
|
|
71
72
|
editableFileName: {
|
|
72
|
-
type: import(
|
|
73
|
+
type: import('vue').PropType<boolean>;
|
|
73
74
|
default: boolean;
|
|
74
75
|
};
|
|
75
76
|
autoUploadToBlob: {
|
|
76
|
-
type: import(
|
|
77
|
+
type: import('vue').PropType<boolean>;
|
|
77
78
|
default: boolean;
|
|
78
79
|
};
|
|
79
80
|
}>>, {
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { ForgeFileStatus } from
|
|
2
|
-
|
|
1
|
+
import { ForgeFileStatus } from '../../../types/forge-types';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
3
4
|
modelValue: {
|
|
4
5
|
required: true;
|
|
5
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
6
7
|
};
|
|
7
8
|
maxFileInput: {
|
|
8
|
-
type: import(
|
|
9
|
+
type: import('vue').PropType<number>;
|
|
9
10
|
required: true;
|
|
10
11
|
};
|
|
11
12
|
maxFileSize: {
|
|
12
|
-
type: import(
|
|
13
|
+
type: import('vue').PropType<number>;
|
|
13
14
|
required: true;
|
|
14
15
|
};
|
|
15
16
|
acceptedFileTypes: {
|
|
16
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<string[]>;
|
|
17
18
|
required: true;
|
|
18
19
|
};
|
|
19
|
-
}, {}, unknown, {}, {}, import(
|
|
20
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
21
|
modelValue: {
|
|
21
22
|
required: true;
|
|
22
|
-
type: import(
|
|
23
|
+
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
23
24
|
};
|
|
24
25
|
maxFileInput: {
|
|
25
|
-
type: import(
|
|
26
|
+
type: import('vue').PropType<number>;
|
|
26
27
|
required: true;
|
|
27
28
|
};
|
|
28
29
|
maxFileSize: {
|
|
29
|
-
type: import(
|
|
30
|
+
type: import('vue').PropType<number>;
|
|
30
31
|
required: true;
|
|
31
32
|
};
|
|
32
33
|
acceptedFileTypes: {
|
|
33
|
-
type: import(
|
|
34
|
+
type: import('vue').PropType<string[]>;
|
|
34
35
|
required: true;
|
|
35
36
|
};
|
|
36
37
|
}>>, {}, {}>, {
|
|
@@ -1,76 +1,77 @@
|
|
|
1
|
+
import { TypedSchema } from 'vee-validate';
|
|
1
2
|
import { FileUploadStatus } from '../utilities/utilities';
|
|
2
|
-
|
|
3
|
-
declare const _default: import(
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
5
|
file: {
|
|
5
6
|
required: true;
|
|
6
|
-
type: import(
|
|
7
|
+
type: import('vue').PropType<File>;
|
|
7
8
|
};
|
|
8
9
|
blobFileName: {
|
|
9
10
|
required: true;
|
|
10
|
-
type: import(
|
|
11
|
+
type: import('vue').PropType<string>;
|
|
11
12
|
};
|
|
12
13
|
uploadStatus: {
|
|
13
14
|
required: true;
|
|
14
|
-
type: import(
|
|
15
|
+
type: import('vue').PropType<FileUploadStatus>;
|
|
15
16
|
};
|
|
16
17
|
editableFileName: {
|
|
17
|
-
type: import(
|
|
18
|
+
type: import('vue').PropType<boolean>;
|
|
18
19
|
required: true;
|
|
19
20
|
};
|
|
20
21
|
acceptedFileTypes: {
|
|
21
|
-
type: import(
|
|
22
|
+
type: import('vue').PropType<string>;
|
|
22
23
|
required: true;
|
|
23
24
|
};
|
|
24
25
|
maxFileSize: {
|
|
25
|
-
type: import(
|
|
26
|
+
type: import('vue').PropType<number>;
|
|
26
27
|
required: true;
|
|
27
28
|
};
|
|
28
29
|
getFileUrlAction: {
|
|
29
|
-
type: import(
|
|
30
|
+
type: import('vue').PropType<(fileName: string) => Promise<[string, string]>>;
|
|
30
31
|
required: true;
|
|
31
32
|
};
|
|
32
33
|
customFileNameRules: {
|
|
33
|
-
type: import(
|
|
34
|
+
type: import('vue').PropType<TypedSchema<any, any>>;
|
|
34
35
|
};
|
|
35
36
|
autoUploadToBlob: {
|
|
36
|
-
type: import(
|
|
37
|
+
type: import('vue').PropType<boolean>;
|
|
37
38
|
};
|
|
38
|
-
}, {}, unknown, {}, {}, import(
|
|
39
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
40
|
deleted: (...args: any[]) => void;
|
|
40
|
-
}, string, import(
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
42
|
file: {
|
|
42
43
|
required: true;
|
|
43
|
-
type: import(
|
|
44
|
+
type: import('vue').PropType<File>;
|
|
44
45
|
};
|
|
45
46
|
blobFileName: {
|
|
46
47
|
required: true;
|
|
47
|
-
type: import(
|
|
48
|
+
type: import('vue').PropType<string>;
|
|
48
49
|
};
|
|
49
50
|
uploadStatus: {
|
|
50
51
|
required: true;
|
|
51
|
-
type: import(
|
|
52
|
+
type: import('vue').PropType<FileUploadStatus>;
|
|
52
53
|
};
|
|
53
54
|
editableFileName: {
|
|
54
|
-
type: import(
|
|
55
|
+
type: import('vue').PropType<boolean>;
|
|
55
56
|
required: true;
|
|
56
57
|
};
|
|
57
58
|
acceptedFileTypes: {
|
|
58
|
-
type: import(
|
|
59
|
+
type: import('vue').PropType<string>;
|
|
59
60
|
required: true;
|
|
60
61
|
};
|
|
61
62
|
maxFileSize: {
|
|
62
|
-
type: import(
|
|
63
|
+
type: import('vue').PropType<number>;
|
|
63
64
|
required: true;
|
|
64
65
|
};
|
|
65
66
|
getFileUrlAction: {
|
|
66
|
-
type: import(
|
|
67
|
+
type: import('vue').PropType<(fileName: string) => Promise<[string, string]>>;
|
|
67
68
|
required: true;
|
|
68
69
|
};
|
|
69
70
|
customFileNameRules: {
|
|
70
|
-
type: import(
|
|
71
|
+
type: import('vue').PropType<TypedSchema<any, any>>;
|
|
71
72
|
};
|
|
72
73
|
autoUploadToBlob: {
|
|
73
|
-
type: import(
|
|
74
|
+
type: import('vue').PropType<boolean>;
|
|
74
75
|
};
|
|
75
76
|
}>> & {
|
|
76
77
|
onDeleted?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface MaxFileSizeProps {
|
|
2
2
|
maxFileSize: number;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import(
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<MaxFileSizeProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MaxFileSizeProps>>>, {}, {}>;
|
|
5
5
|
export default _default;
|
|
6
6
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
7
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { ForgeFileStatus } from
|
|
2
|
-
|
|
1
|
+
import { ForgeFileStatus } from '../../../types/forge-types';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
3
4
|
modelValue: {
|
|
4
5
|
required: true;
|
|
5
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
6
7
|
};
|
|
7
8
|
acceptedFileTypes: {
|
|
8
|
-
type: import(
|
|
9
|
+
type: import('vue').PropType<string[]>;
|
|
9
10
|
required: true;
|
|
10
11
|
};
|
|
11
12
|
maxFileInput: {
|
|
12
|
-
type: import(
|
|
13
|
+
type: import('vue').PropType<number>;
|
|
13
14
|
required: true;
|
|
14
15
|
};
|
|
15
16
|
showDragDropArea: {
|
|
16
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
17
18
|
required: true;
|
|
18
19
|
};
|
|
19
|
-
}, {}, unknown, {}, {}, import(
|
|
20
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
21
|
modelValue: {
|
|
21
22
|
required: true;
|
|
22
|
-
type: import(
|
|
23
|
+
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
23
24
|
};
|
|
24
25
|
acceptedFileTypes: {
|
|
25
|
-
type: import(
|
|
26
|
+
type: import('vue').PropType<string[]>;
|
|
26
27
|
required: true;
|
|
27
28
|
};
|
|
28
29
|
maxFileInput: {
|
|
29
|
-
type: import(
|
|
30
|
+
type: import('vue').PropType<number>;
|
|
30
31
|
required: true;
|
|
31
32
|
};
|
|
32
33
|
showDragDropArea: {
|
|
33
|
-
type: import(
|
|
34
|
+
type: import('vue').PropType<boolean>;
|
|
34
35
|
required: true;
|
|
35
36
|
};
|
|
36
37
|
}>>, {}, {}>, {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { FileUploadStatus } from
|
|
1
|
+
import { FileUploadStatus } from '../utilities/utilities';
|
|
2
|
+
|
|
2
3
|
interface UploadStatusProps {
|
|
3
4
|
fileSize: number;
|
|
4
5
|
maxFileSize: number;
|
|
5
6
|
bytesUploaded: number;
|
|
6
7
|
uploadStatus: FileUploadStatus;
|
|
7
8
|
}
|
|
8
|
-
declare const _default: import(
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<UploadStatusProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<UploadStatusProps>>>, {}, {}>;
|
|
9
10
|
export default _default;
|
|
10
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
12
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ForgeFileStatus } from
|
|
1
|
+
import { ForgeFileStatus } from '../../../types/forge-types';
|
|
2
|
+
|
|
2
3
|
export type FileUploadStatus = "Not Uploaded" | "Preparing" | "Uploading" | "Uploaded" | "Failed" | "Aborted" | "Duplicate" | "DeleteFileFailed" | "InvalidFileType" | "InvalidFileSize";
|
|
3
4
|
export declare function addFiles(filesToUpload: File[], files: ForgeFileStatus[], acceptedFileTypes: string[], maxFileSize: number): ForgeFileStatus[];
|
|
4
5
|
export declare function deleteFile(uploadStatus: FileUploadStatus, blobUploadUrl: string): Promise<void>;
|
|
@@ -2,7 +2,7 @@ export interface ForgeFilterHeaderProps {
|
|
|
2
2
|
dataType: string | undefined;
|
|
3
3
|
dropdownOptions?: any[];
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import(
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<ForgeFilterHeaderProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ForgeFilterHeaderProps>>>, {}, {}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
8
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -3,12 +3,12 @@ export interface ForgePaginationHeaderProps {
|
|
|
3
3
|
pageSizes?: Array<number>;
|
|
4
4
|
perPage?: number;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import(
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgePaginationHeaderProps>, {
|
|
7
7
|
pageSizes: () => number[];
|
|
8
8
|
perPage: number;
|
|
9
|
-
}>, {}, unknown, {}, {}, import(
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
"update:perPage": (...args: any[]) => void;
|
|
11
|
-
}, string, import(
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgePaginationHeaderProps>, {
|
|
12
12
|
pageSizes: () => number[];
|
|
13
13
|
perPage: number;
|
|
14
14
|
}>>> & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { DataTableProps, DataTableSlots } from
|
|
1
|
+
import { DataTableProps, DataTableSlots } from 'primevue/datatable';
|
|
2
|
+
|
|
2
3
|
export interface ForgeTableProps extends DataTableProps {
|
|
3
4
|
value: any[];
|
|
4
5
|
legacyPaginationFooter?: boolean;
|
|
@@ -6,15 +7,15 @@ export interface ForgeTableProps extends DataTableProps {
|
|
|
6
7
|
showClearButton?: boolean;
|
|
7
8
|
showExporterButton?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeTableProps>, {
|
|
10
11
|
legacyPaginationFooter: boolean;
|
|
11
12
|
paginator: boolean;
|
|
12
13
|
alwaysShowPaginator: boolean;
|
|
13
14
|
showClearButton: boolean;
|
|
14
15
|
showExporterButton: boolean;
|
|
15
|
-
}>, {}, unknown, {}, {}, import(
|
|
16
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
17
|
"update:filters": (...args: any[]) => void;
|
|
17
|
-
}, string, import(
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeTableProps>, {
|
|
18
19
|
legacyPaginationFooter: boolean;
|
|
19
20
|
paginator: boolean;
|
|
20
21
|
alwaysShowPaginator: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FilterMatchModeOptions, FilterOperatorOptions } from
|
|
3
|
-
import {
|
|
1
|
+
import { FileUploadStatus } from '../components/file-uploader/utilities/utilities';
|
|
2
|
+
import { FilterMatchModeOptions, FilterOperatorOptions } from 'primevue/api';
|
|
3
|
+
import { ColumnProps } from 'primevue/column';
|
|
4
|
+
|
|
4
5
|
export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | undefined;
|
|
5
6
|
export type Size = 'sm' | 'md' | 'lg' | undefined;
|
|
6
7
|
export type BarPosition = 'top' | 'left' | 'none';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3squared/forge-ui-3",
|
|
3
|
-
"repository": "https://github.com/3Squared/ForgeUI",
|
|
3
|
+
"repository": "https://github.com/3Squared/ForgeUI-3",
|
|
4
4
|
"description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
|
|
5
|
-
"version": "0.1
|
|
5
|
+
"version": "0.2.1",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test": "cypress run --component --headed --browser chrome && vitest run --coverage && node ./scripts/merge.js",
|
|
24
24
|
"test:component": "cypress open --component --browser chrome",
|
|
25
25
|
"test:unit": "vitest --ui --coverage",
|
|
26
|
-
"build": "
|
|
26
|
+
"build": "vite build",
|
|
27
27
|
"preview": "vite preview"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
@@ -41,21 +41,24 @@
|
|
|
41
41
|
"zod": "^3.22.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@cypress/code-coverage": "3.12.
|
|
44
|
+
"@cypress/code-coverage": "3.12.35",
|
|
45
45
|
"@vitejs/plugin-vue": "5.0.4",
|
|
46
|
-
"@vitest/coverage-v8": "1.
|
|
47
|
-
"@vitest/ui": "1.
|
|
48
|
-
"cypress": "13.7.
|
|
46
|
+
"@vitest/coverage-v8": "1.5.0",
|
|
47
|
+
"@vitest/ui": "1.5.0",
|
|
48
|
+
"cypress": "13.7.3",
|
|
49
49
|
"cypress-real-events": "1.12.0",
|
|
50
|
-
"sass": "1.
|
|
51
|
-
"typescript": "5.4.
|
|
50
|
+
"sass": "1.75.0",
|
|
51
|
+
"typescript": "5.4.5",
|
|
52
52
|
"unplugin-vue-components": "0.26.0",
|
|
53
|
-
"
|
|
53
|
+
"rollup-plugin-visualizer": "5.12.0",
|
|
54
|
+
"vite": "5.2.9",
|
|
54
55
|
"vite-bundle-visualizer": "1.1.0",
|
|
55
56
|
"vite-plugin-istanbul": "5.0.0",
|
|
56
|
-
"vitest": "1.
|
|
57
|
-
"
|
|
58
|
-
|
|
57
|
+
"vitest": "1.5.0",
|
|
58
|
+
"vite-plugin-dts": "3.8.3"
|
|
59
|
+
},
|
|
60
|
+
"optionalDependencies": {
|
|
61
|
+
"@rollup/rollup-linux-x64-gnu": "4.14.3"
|
|
59
62
|
},
|
|
60
63
|
"nyc": {
|
|
61
64
|
"all": true,
|
package/src/styles/main.scss
CHANGED