@3squared/forge-ui-3 0.2.0 → 0.2.2
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/esm/forge-ui-3.mjs +219 -210
- package/dist/src/components/ForgeActionButton.vue.d.ts +1 -1
- package/dist/src/components/ForgeAlert.vue.d.ts +1 -1
- package/dist/src/components/ForgeCheckbox.vue.d.ts +2 -2
- package/dist/src/components/ForgeChips.vue.d.ts +1 -1
- package/dist/src/components/ForgeDatepicker.vue.d.ts +1 -1
- package/dist/src/components/ForgeForm.vue.d.ts +1 -1
- package/dist/src/components/ForgeFormField.vue.d.ts +1 -1
- package/dist/src/components/ForgeInlineEditor.vue.d.ts +17 -17
- package/dist/src/components/ForgeLink.vue.d.ts +1 -1
- package/dist/src/components/ForgeLoader.vue.d.ts +1 -1
- package/dist/src/components/ForgeModal.vue.d.ts +71 -72
- package/dist/src/components/ForgeMultiSelect.vue.d.ts +2 -2
- package/dist/src/components/ForgeMultiSelectPreview.vue.d.ts +2 -2
- package/dist/src/components/ForgeNavbar.vue.d.ts +1 -1
- package/dist/src/components/ForgePageHeader.vue.d.ts +1 -1
- package/dist/src/components/ForgeProgressBar.vue.d.ts +1 -1
- package/dist/src/components/ForgeRemainingCharacters.vue.d.ts +1 -1
- package/dist/src/components/ForgeStatWidget.vue.d.ts +1 -1
- package/dist/src/components/ForgeStepper.vue.d.ts +2 -2
- package/dist/src/components/ForgeTile.vue.d.ts +1 -1
- package/dist/src/components/file-uploader/ForgeFileUploader.vue.d.ts +19 -19
- package/dist/src/components/file-uploader/components/DragDropArea.vue.d.ts +9 -9
- package/dist/src/components/file-uploader/components/FileInfo.vue.d.ts +20 -20
- package/dist/src/components/file-uploader/components/MaxFileSize.vue.d.ts +1 -1
- package/dist/src/components/file-uploader/components/UploadButton.vue.d.ts +9 -9
- package/dist/src/components/file-uploader/components/UploadStatus.vue.d.ts +1 -1
- package/dist/src/components/table/ForgeFilterHeader.vue.d.ts +1 -1
- package/dist/src/components/table/ForgePaginationHeader.vue.d.ts +2 -2
- package/dist/src/components/table/ForgeTable.vue.d.ts +2 -2
- package/package.json +16 -13
|
@@ -12,69 +12,69 @@ export interface ForgeFileUploaderProps {
|
|
|
12
12
|
autoUploadToBlob?: boolean;
|
|
13
13
|
}
|
|
14
14
|
declare const _default: import('vue').DefineComponent<{
|
|
15
|
-
modelValue: import(
|
|
15
|
+
modelValue: import('vue').PropType<ForgeFileStatus[]>;
|
|
16
16
|
acceptedFileTypes: {
|
|
17
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<string[]>;
|
|
18
18
|
required: true;
|
|
19
19
|
};
|
|
20
20
|
maxFileSize: {
|
|
21
|
-
type: import(
|
|
21
|
+
type: import('vue').PropType<number>;
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
24
|
getFileUrlAction: {
|
|
25
|
-
type: import(
|
|
25
|
+
type: import('vue').PropType<(fileName: string) => Promise<[string, string]>>;
|
|
26
26
|
required: true;
|
|
27
27
|
};
|
|
28
28
|
showDragDropArea: {
|
|
29
|
-
type: import(
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
32
|
customFileNameRules: {
|
|
33
|
-
type: import(
|
|
33
|
+
type: import('vue').PropType<TypedSchema<any, any>>;
|
|
34
34
|
};
|
|
35
35
|
maxFileInput: {
|
|
36
|
-
type: import(
|
|
36
|
+
type: import('vue').PropType<number>;
|
|
37
37
|
default: number;
|
|
38
38
|
};
|
|
39
39
|
editableFileName: {
|
|
40
|
-
type: import(
|
|
40
|
+
type: import('vue').PropType<boolean>;
|
|
41
41
|
default: boolean;
|
|
42
42
|
};
|
|
43
43
|
autoUploadToBlob: {
|
|
44
|
-
type: import(
|
|
44
|
+
type: import('vue').PropType<boolean>;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
-
}, {}, unknown, {}, {}, import(
|
|
48
|
-
modelValue: import(
|
|
47
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
modelValue: import('vue').PropType<ForgeFileStatus[]>;
|
|
49
49
|
acceptedFileTypes: {
|
|
50
|
-
type: import(
|
|
50
|
+
type: import('vue').PropType<string[]>;
|
|
51
51
|
required: true;
|
|
52
52
|
};
|
|
53
53
|
maxFileSize: {
|
|
54
|
-
type: import(
|
|
54
|
+
type: import('vue').PropType<number>;
|
|
55
55
|
required: true;
|
|
56
56
|
};
|
|
57
57
|
getFileUrlAction: {
|
|
58
|
-
type: import(
|
|
58
|
+
type: import('vue').PropType<(fileName: string) => Promise<[string, string]>>;
|
|
59
59
|
required: true;
|
|
60
60
|
};
|
|
61
61
|
showDragDropArea: {
|
|
62
|
-
type: import(
|
|
62
|
+
type: import('vue').PropType<boolean>;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
65
|
customFileNameRules: {
|
|
66
|
-
type: import(
|
|
66
|
+
type: import('vue').PropType<TypedSchema<any, any>>;
|
|
67
67
|
};
|
|
68
68
|
maxFileInput: {
|
|
69
|
-
type: import(
|
|
69
|
+
type: import('vue').PropType<number>;
|
|
70
70
|
default: number;
|
|
71
71
|
};
|
|
72
72
|
editableFileName: {
|
|
73
|
-
type: import(
|
|
73
|
+
type: import('vue').PropType<boolean>;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
76
|
autoUploadToBlob: {
|
|
77
|
-
type: import(
|
|
77
|
+
type: import('vue').PropType<boolean>;
|
|
78
78
|
default: boolean;
|
|
79
79
|
};
|
|
80
80
|
}>>, {
|
|
@@ -3,35 +3,35 @@ import { ForgeFileStatus } from '../../../types/forge-types';
|
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
required: true;
|
|
6
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
7
7
|
};
|
|
8
8
|
maxFileInput: {
|
|
9
|
-
type: import(
|
|
9
|
+
type: import('vue').PropType<number>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
maxFileSize: {
|
|
13
|
-
type: import(
|
|
13
|
+
type: import('vue').PropType<number>;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
acceptedFileTypes: {
|
|
17
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<string[]>;
|
|
18
18
|
required: true;
|
|
19
19
|
};
|
|
20
|
-
}, {}, unknown, {}, {}, import(
|
|
20
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
modelValue: {
|
|
22
22
|
required: true;
|
|
23
|
-
type: import(
|
|
23
|
+
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
24
24
|
};
|
|
25
25
|
maxFileInput: {
|
|
26
|
-
type: import(
|
|
26
|
+
type: import('vue').PropType<number>;
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
29
|
maxFileSize: {
|
|
30
|
-
type: import(
|
|
30
|
+
type: import('vue').PropType<number>;
|
|
31
31
|
required: true;
|
|
32
32
|
};
|
|
33
33
|
acceptedFileTypes: {
|
|
34
|
-
type: import(
|
|
34
|
+
type: import('vue').PropType<string[]>;
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
37
|
}>>, {}, {}>, {
|
|
@@ -4,74 +4,74 @@ import { FileUploadStatus } from '../utilities/utilities';
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
file: {
|
|
6
6
|
required: true;
|
|
7
|
-
type: import(
|
|
7
|
+
type: import('vue').PropType<File>;
|
|
8
8
|
};
|
|
9
9
|
blobFileName: {
|
|
10
10
|
required: true;
|
|
11
|
-
type: import(
|
|
11
|
+
type: import('vue').PropType<string>;
|
|
12
12
|
};
|
|
13
13
|
uploadStatus: {
|
|
14
14
|
required: true;
|
|
15
|
-
type: import(
|
|
15
|
+
type: import('vue').PropType<FileUploadStatus>;
|
|
16
16
|
};
|
|
17
17
|
editableFileName: {
|
|
18
|
-
type: import(
|
|
18
|
+
type: import('vue').PropType<boolean>;
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
21
|
acceptedFileTypes: {
|
|
22
|
-
type: import(
|
|
22
|
+
type: import('vue').PropType<string>;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
maxFileSize: {
|
|
26
|
-
type: import(
|
|
26
|
+
type: import('vue').PropType<number>;
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
29
|
getFileUrlAction: {
|
|
30
|
-
type: import(
|
|
30
|
+
type: import('vue').PropType<(fileName: string) => Promise<[string, string]>>;
|
|
31
31
|
required: true;
|
|
32
32
|
};
|
|
33
33
|
customFileNameRules: {
|
|
34
|
-
type: import(
|
|
34
|
+
type: import('vue').PropType<TypedSchema<any, any>>;
|
|
35
35
|
};
|
|
36
36
|
autoUploadToBlob: {
|
|
37
|
-
type: import(
|
|
37
|
+
type: import('vue').PropType<boolean>;
|
|
38
38
|
};
|
|
39
|
-
}, {}, unknown, {}, {}, import(
|
|
39
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
40
|
deleted: (...args: any[]) => void;
|
|
41
|
-
}, string, import(
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
42
|
file: {
|
|
43
43
|
required: true;
|
|
44
|
-
type: import(
|
|
44
|
+
type: import('vue').PropType<File>;
|
|
45
45
|
};
|
|
46
46
|
blobFileName: {
|
|
47
47
|
required: true;
|
|
48
|
-
type: import(
|
|
48
|
+
type: import('vue').PropType<string>;
|
|
49
49
|
};
|
|
50
50
|
uploadStatus: {
|
|
51
51
|
required: true;
|
|
52
|
-
type: import(
|
|
52
|
+
type: import('vue').PropType<FileUploadStatus>;
|
|
53
53
|
};
|
|
54
54
|
editableFileName: {
|
|
55
|
-
type: import(
|
|
55
|
+
type: import('vue').PropType<boolean>;
|
|
56
56
|
required: true;
|
|
57
57
|
};
|
|
58
58
|
acceptedFileTypes: {
|
|
59
|
-
type: import(
|
|
59
|
+
type: import('vue').PropType<string>;
|
|
60
60
|
required: true;
|
|
61
61
|
};
|
|
62
62
|
maxFileSize: {
|
|
63
|
-
type: import(
|
|
63
|
+
type: import('vue').PropType<number>;
|
|
64
64
|
required: true;
|
|
65
65
|
};
|
|
66
66
|
getFileUrlAction: {
|
|
67
|
-
type: import(
|
|
67
|
+
type: import('vue').PropType<(fileName: string) => Promise<[string, string]>>;
|
|
68
68
|
required: true;
|
|
69
69
|
};
|
|
70
70
|
customFileNameRules: {
|
|
71
|
-
type: import(
|
|
71
|
+
type: import('vue').PropType<TypedSchema<any, any>>;
|
|
72
72
|
};
|
|
73
73
|
autoUploadToBlob: {
|
|
74
|
-
type: import(
|
|
74
|
+
type: import('vue').PropType<boolean>;
|
|
75
75
|
};
|
|
76
76
|
}>> & {
|
|
77
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('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<MaxFileSizeProps>, {}, unknown, {}, {}, 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> = {
|
|
@@ -3,35 +3,35 @@ import { ForgeFileStatus } from '../../../types/forge-types';
|
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
required: true;
|
|
6
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
7
7
|
};
|
|
8
8
|
acceptedFileTypes: {
|
|
9
|
-
type: import(
|
|
9
|
+
type: import('vue').PropType<string[]>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
maxFileInput: {
|
|
13
|
-
type: import(
|
|
13
|
+
type: import('vue').PropType<number>;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
showDragDropArea: {
|
|
17
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
18
|
required: true;
|
|
19
19
|
};
|
|
20
|
-
}, {}, unknown, {}, {}, import(
|
|
20
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
modelValue: {
|
|
22
22
|
required: true;
|
|
23
|
-
type: import(
|
|
23
|
+
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
24
24
|
};
|
|
25
25
|
acceptedFileTypes: {
|
|
26
|
-
type: import(
|
|
26
|
+
type: import('vue').PropType<string[]>;
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
29
|
maxFileInput: {
|
|
30
|
-
type: import(
|
|
30
|
+
type: import('vue').PropType<number>;
|
|
31
31
|
required: true;
|
|
32
32
|
};
|
|
33
33
|
showDragDropArea: {
|
|
34
|
-
type: import(
|
|
34
|
+
type: import('vue').PropType<boolean>;
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
37
|
}>>, {}, {}>, {
|
|
@@ -6,7 +6,7 @@ interface UploadStatusProps {
|
|
|
6
6
|
bytesUploaded: number;
|
|
7
7
|
uploadStatus: FileUploadStatus;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<UploadStatusProps>, {}, unknown, {}, {}, 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>>>, {}, {}>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
12
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -2,7 +2,7 @@ export interface ForgeFilterHeaderProps {
|
|
|
2
2
|
dataType: string | undefined;
|
|
3
3
|
dropdownOptions?: any[];
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<ForgeFilterHeaderProps>, {}, unknown, {}, {}, 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> = {
|
|
@@ -6,9 +6,9 @@ export interface ForgePaginationHeaderProps {
|
|
|
6
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
|
}>>> & {
|
|
@@ -13,9 +13,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
13
13
|
alwaysShowPaginator: boolean;
|
|
14
14
|
showClearButton: boolean;
|
|
15
15
|
showExporterButton: boolean;
|
|
16
|
-
}>, {}, unknown, {}, {}, import(
|
|
16
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
17
|
"update:filters": (...args: any[]) => void;
|
|
18
|
-
}, string, import(
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeTableProps>, {
|
|
19
19
|
legacyPaginationFooter: boolean;
|
|
20
20
|
paginator: boolean;
|
|
21
21
|
alwaysShowPaginator: boolean;
|
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.2.
|
|
5
|
+
"version": "0.2.2",
|
|
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.36",
|
|
45
45
|
"@vitejs/plugin-vue": "5.0.4",
|
|
46
|
-
"@vitest/coverage-v8": "1.
|
|
47
|
-
"@vitest/ui": "1.
|
|
48
|
-
"cypress": "13.
|
|
46
|
+
"@vitest/coverage-v8": "1.5.0",
|
|
47
|
+
"@vitest/ui": "1.5.0",
|
|
48
|
+
"cypress": "13.8.0",
|
|
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.10",
|
|
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.9.0"
|
|
59
|
+
},
|
|
60
|
+
"optionalDependencies": {
|
|
61
|
+
"@rollup/rollup-linux-x64-gnu": "4.16.3"
|
|
59
62
|
},
|
|
60
63
|
"nyc": {
|
|
61
64
|
"all": true,
|