@knime/kds-components 13.4.0 → 13.6.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/CHANGELOG.md +25 -0
- package/dist/{KdsIcon-DWTHABhA.js → KdsIcon-C6QibTIl.js} +1 -4
- package/dist/{KdsIcon-DWTHABhA.js.map → KdsIcon-C6QibTIl.js.map} +1 -1
- package/dist/index.css +325 -49
- package/dist/index.js +1032 -510
- package/dist/index.js.map +1 -1
- package/dist/src/components/forms/Dropzone/KdsDropzone.vue.d.ts +95 -0
- package/dist/src/components/forms/Dropzone/KdsDropzone.vue.d.ts.map +1 -0
- package/dist/src/components/forms/Dropzone/index.d.ts +3 -0
- package/dist/src/components/forms/Dropzone/index.d.ts.map +1 -0
- package/dist/src/components/forms/Dropzone/types.d.ts +54 -0
- package/dist/src/components/forms/Dropzone/types.d.ts.map +1 -0
- package/dist/src/components/forms/FileSelector/KdsFileSelector.vue.d.ts +2 -3
- package/dist/src/components/forms/FileSelector/KdsFileSelector.vue.d.ts.map +1 -1
- package/dist/src/components/forms/FileSelector/types.d.ts +3 -5
- package/dist/src/components/forms/FileSelector/types.d.ts.map +1 -1
- package/dist/src/components/forms/_helper/BaseFormFieldWrapper.vue.d.ts +4 -0
- package/dist/src/components/forms/_helper/BaseFormFieldWrapper.vue.d.ts.map +1 -1
- package/dist/src/components/forms/_helper/KdsSubText.vue.d.ts +13 -1
- package/dist/src/components/forms/_helper/KdsSubText.vue.d.ts.map +1 -1
- package/dist/src/components/forms/_helper/useFileValidation.d.ts +49 -0
- package/dist/src/components/forms/_helper/useFileValidation.d.ts.map +1 -0
- package/dist/src/components/forms/index.d.ts +2 -0
- package/dist/src/components/forms/index.d.ts.map +1 -1
- package/dist/src/layouts/explorer/FileExplorer/FileExplorerRenameModal.vue.d.ts.map +1 -1
- package/dist/src/layouts/panels/Collapsable/KdsCollapsable.vue.d.ts +87 -0
- package/dist/src/layouts/panels/Collapsable/KdsCollapsable.vue.d.ts.map +1 -0
- package/dist/src/layouts/panels/Collapsable/enums.d.ts +13 -0
- package/dist/src/layouts/panels/Collapsable/enums.d.ts.map +1 -0
- package/dist/src/layouts/panels/Collapsable/index.d.ts +4 -0
- package/dist/src/layouts/panels/Collapsable/index.d.ts.map +1 -0
- package/dist/src/layouts/panels/Collapsable/types.d.ts +69 -0
- package/dist/src/layouts/panels/Collapsable/types.d.ts.map +1 -0
- package/dist/src/layouts/panels/index.d.ts +2 -0
- package/dist/src/layouts/panels/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/speed-class-light-B2zxgRSl.js +0 -21
- package/dist/speed-class-light-B2zxgRSl.js.map +0 -1
- package/dist/speed-class-performant-DeJT7y4C.js +0 -21
- package/dist/speed-class-performant-DeJT7y4C.js.map +0 -1
- package/dist/speed-class-standard-OVM3_p1U.js +0 -21
- package/dist/speed-class-standard-OVM3_p1U.js.map +0 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { KdsFormFieldExpose } from '../types';
|
|
2
|
+
import { KdsDropzoneRejectedFile } from './types';
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: File[];
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<({
|
|
7
|
+
description?: string;
|
|
8
|
+
} & {
|
|
9
|
+
label: string;
|
|
10
|
+
ariaLabel?: never;
|
|
11
|
+
} & {
|
|
12
|
+
id?: string;
|
|
13
|
+
} & {
|
|
14
|
+
error?: boolean | undefined;
|
|
15
|
+
subText?: string | undefined;
|
|
16
|
+
validating?: boolean | undefined;
|
|
17
|
+
preserveSubTextSpace?: boolean | undefined;
|
|
18
|
+
} & {
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
accept?: string;
|
|
21
|
+
maxSizeBytes?: number;
|
|
22
|
+
selectLabel?: string;
|
|
23
|
+
dropText?: string;
|
|
24
|
+
removeLabel?: string;
|
|
25
|
+
} & __VLS_ModelProps) | ({
|
|
26
|
+
description?: string;
|
|
27
|
+
} & {
|
|
28
|
+
label?: never;
|
|
29
|
+
ariaLabel: string;
|
|
30
|
+
} & {
|
|
31
|
+
id?: string;
|
|
32
|
+
} & {
|
|
33
|
+
error?: boolean | undefined;
|
|
34
|
+
subText?: string | undefined;
|
|
35
|
+
validating?: boolean | undefined;
|
|
36
|
+
preserveSubTextSpace?: boolean | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
disabled?: boolean;
|
|
39
|
+
accept?: string;
|
|
40
|
+
maxSizeBytes?: number;
|
|
41
|
+
selectLabel?: string;
|
|
42
|
+
dropText?: string;
|
|
43
|
+
removeLabel?: string;
|
|
44
|
+
} & __VLS_ModelProps), KdsFormFieldExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
"update:modelValue": (value: File[]) => any;
|
|
46
|
+
"validation-error": (payload: {
|
|
47
|
+
files: KdsDropzoneRejectedFile[];
|
|
48
|
+
}) => any;
|
|
49
|
+
}, string, import('vue').PublicProps, Readonly<({
|
|
50
|
+
description?: string;
|
|
51
|
+
} & {
|
|
52
|
+
label: string;
|
|
53
|
+
ariaLabel?: never;
|
|
54
|
+
} & {
|
|
55
|
+
id?: string;
|
|
56
|
+
} & {
|
|
57
|
+
error?: boolean | undefined;
|
|
58
|
+
subText?: string | undefined;
|
|
59
|
+
validating?: boolean | undefined;
|
|
60
|
+
preserveSubTextSpace?: boolean | undefined;
|
|
61
|
+
} & {
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
accept?: string;
|
|
64
|
+
maxSizeBytes?: number;
|
|
65
|
+
selectLabel?: string;
|
|
66
|
+
dropText?: string;
|
|
67
|
+
removeLabel?: string;
|
|
68
|
+
} & __VLS_ModelProps) | ({
|
|
69
|
+
description?: string;
|
|
70
|
+
} & {
|
|
71
|
+
label?: never;
|
|
72
|
+
ariaLabel: string;
|
|
73
|
+
} & {
|
|
74
|
+
id?: string;
|
|
75
|
+
} & {
|
|
76
|
+
error?: boolean | undefined;
|
|
77
|
+
subText?: string | undefined;
|
|
78
|
+
validating?: boolean | undefined;
|
|
79
|
+
preserveSubTextSpace?: boolean | undefined;
|
|
80
|
+
} & {
|
|
81
|
+
disabled?: boolean;
|
|
82
|
+
accept?: string;
|
|
83
|
+
maxSizeBytes?: number;
|
|
84
|
+
selectLabel?: string;
|
|
85
|
+
dropText?: string;
|
|
86
|
+
removeLabel?: string;
|
|
87
|
+
} & __VLS_ModelProps)> & Readonly<{
|
|
88
|
+
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
89
|
+
"onValidation-error"?: ((payload: {
|
|
90
|
+
files: KdsDropzoneRejectedFile[];
|
|
91
|
+
}) => any) | undefined;
|
|
92
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
93
|
+
declare const _default: typeof __VLS_export;
|
|
94
|
+
export default _default;
|
|
95
|
+
//# sourceMappingURL=KdsDropzone.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsDropzone.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Dropzone/KdsDropzone.vue"],"names":[],"mappings":"AAihBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,KAAK,EAGV,uBAAuB,EACxB,MAAM,SAAS,CAAC;AA2OjB,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;CACnB,CAAC;AAgTF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Dropzone/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { FileValidationReason } from '../_helper/useFileValidation';
|
|
2
|
+
import { KdsFormFieldProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Reason why a file picked or dropped into the dropzone was not added.
|
|
5
|
+
*/
|
|
6
|
+
export type KdsDropzoneValidationReason = FileValidationReason | "duplicate";
|
|
7
|
+
export type KdsDropzoneRejectedFile = {
|
|
8
|
+
file: File;
|
|
9
|
+
reason: KdsDropzoneValidationReason;
|
|
10
|
+
};
|
|
11
|
+
export type KdsDropzoneEmits = {
|
|
12
|
+
/**
|
|
13
|
+
* Fired once per pick or drop, lists files that were rejected with the reason.
|
|
14
|
+
*/
|
|
15
|
+
"validation-error": [payload: {
|
|
16
|
+
files: KdsDropzoneRejectedFile[];
|
|
17
|
+
}];
|
|
18
|
+
};
|
|
19
|
+
export type KdsDropzoneProps = KdsFormFieldProps & {
|
|
20
|
+
/**
|
|
21
|
+
* Whether the dropzone is disabled and non-interactive.
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* File types the user can pick or drop, passed to the underlying
|
|
26
|
+
* `<input type="file">`. Accepts MIME types (`image/*`) or extensions
|
|
27
|
+
* (`.csv,.xlsx`). The value is also used to derive the requirements hint and
|
|
28
|
+
* to validate the selected files in js.
|
|
29
|
+
*/
|
|
30
|
+
accept?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Maximum file size, in bytes. Files larger than this are rejected and the
|
|
33
|
+
* limit is included in the requirements hint.
|
|
34
|
+
*/
|
|
35
|
+
maxSizeBytes?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Text for the button that opens the file dialog.
|
|
38
|
+
* @default "Select files"
|
|
39
|
+
*/
|
|
40
|
+
selectLabel?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Prompt shown in the empty dropzone, next to the file icon.
|
|
43
|
+
* @default "Select files or drop here"
|
|
44
|
+
*/
|
|
45
|
+
dropText?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Accessible label prefix for the per-file remove (trash) button. The file
|
|
48
|
+
* name is appended so each button has a distinct accessible name, e.g.
|
|
49
|
+
* `"Remove file: report.csv"`.
|
|
50
|
+
* @default "Remove file"
|
|
51
|
+
*/
|
|
52
|
+
removeLabel?: string;
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Dropzone/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,oBAAoB,GAAG,WAAW,CAAC;AAE7E,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,2BAA2B,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,kBAAkB,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,uBAAuB,EAAE,CAAA;KAAE,CAAC,CAAC;CACrE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG;IACjD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { KdsFormFieldExpose } from '../types';
|
|
2
|
-
import { KdsFileSelectorRejectedFile } from './types';
|
|
3
2
|
type __VLS_ModelProps = {
|
|
4
3
|
modelValue?: File[];
|
|
5
4
|
};
|
|
@@ -50,7 +49,7 @@ declare const __VLS_export: import('vue').DefineComponent<({
|
|
|
50
49
|
} & __VLS_ModelProps), KdsFormFieldExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
50
|
"update:modelValue": (value: File[]) => any;
|
|
52
51
|
"validation-error": (payload: {
|
|
53
|
-
files: KdsFileSelectorRejectedFile[];
|
|
52
|
+
files: import('./types').KdsFileSelectorRejectedFile[];
|
|
54
53
|
}) => any;
|
|
55
54
|
}, string, import('vue').PublicProps, Readonly<({
|
|
56
55
|
description?: string;
|
|
@@ -99,7 +98,7 @@ declare const __VLS_export: import('vue').DefineComponent<({
|
|
|
99
98
|
} & __VLS_ModelProps)> & Readonly<{
|
|
100
99
|
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
101
100
|
"onValidation-error"?: ((payload: {
|
|
102
|
-
files: KdsFileSelectorRejectedFile[];
|
|
101
|
+
files: import('./types').KdsFileSelectorRejectedFile[];
|
|
103
102
|
}) => any) | undefined;
|
|
104
103
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
105
104
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsFileSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/FileSelector/KdsFileSelector.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsFileSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/FileSelector/KdsFileSelector.vue"],"names":[],"mappings":"AA0MA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAkGnD,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;CACnB,CAAC;AAqLF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import { FileValidationReason, RejectedFile } from '../_helper/useFileValidation';
|
|
1
2
|
import { KdsFormFieldProps } from '../types';
|
|
2
|
-
export type KdsFileSelectorValidationReason =
|
|
3
|
-
export type KdsFileSelectorRejectedFile =
|
|
4
|
-
file: File;
|
|
5
|
-
reason: KdsFileSelectorValidationReason;
|
|
6
|
-
};
|
|
3
|
+
export type KdsFileSelectorValidationReason = FileValidationReason;
|
|
4
|
+
export type KdsFileSelectorRejectedFile = RejectedFile;
|
|
7
5
|
export type KdsFileSelectorEmits = {
|
|
8
6
|
/**
|
|
9
7
|
* Fired once per pick when the picked files fail validation. The whole
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/FileSelector/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,MAAM,+BAA+B,GAAG,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/FileSelector/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,YAAY,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAAC;AAEnE,MAAM,MAAM,2BAA2B,GAAG,YAAY,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;OAIG;IACH,kBAAkB,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,2BAA2B,EAAE,CAAA;KAAE,CAAC,CAAC;CACzE,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG;IACrD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -29,6 +29,10 @@ type __VLS_Slots = {
|
|
|
29
29
|
ariaLabel: string | undefined;
|
|
30
30
|
ariaInvalid: boolean | undefined;
|
|
31
31
|
}): unknown;
|
|
32
|
+
/**
|
|
33
|
+
* Trailing content after subtext.
|
|
34
|
+
*/
|
|
35
|
+
"sub-text-trailing"?(): unknown;
|
|
32
36
|
};
|
|
33
37
|
declare const __VLS_base: import('vue').DefineComponent<KdsFormFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsFormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseFormFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/BaseFormFieldWrapper.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseFormFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/BaseFormFieldWrapper.vue"],"names":[],"mappings":"AAuGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CAGtB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,GAAG,SAAS,CAAC,CAAC;AAY5C,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;QACnC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;QACpC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;QAC9B,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;KAClC,GAAG,OAAO,CAAC;IACZ;;OAEG;IACH,mBAAmB,CAAC,IAAI,OAAO,CAAC;CACjC,CAAC;AAiGF,QAAA,MAAM,UAAU,8SAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { KdsSubTextProps } from '../types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
/**
|
|
4
|
+
* Trailing content after subtext.
|
|
5
|
+
*/
|
|
6
|
+
trailing?(): unknown;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<KdsSubTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsSubTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
10
|
declare const _default: typeof __VLS_export;
|
|
4
11
|
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
5
17
|
//# sourceMappingURL=KdsSubText.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsSubText.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/KdsSubText.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsSubText.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/KdsSubText.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAYhD,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,QAAQ,CAAC,IAAI,OAAO,CAAC;CACtB,CAAC;AA4FF,QAAA,MAAM,UAAU,0SAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
export type FileValidationReason = "type" | "size";
|
|
3
|
+
export type RejectedFile = {
|
|
4
|
+
file: File;
|
|
5
|
+
reason: FileValidationReason;
|
|
6
|
+
};
|
|
7
|
+
type UseFileValidationOptions = {
|
|
8
|
+
/**
|
|
9
|
+
* File types the user may pick, in the `<input type="file">` `accept` format
|
|
10
|
+
* (MIME types like `image/*` or extensions like `.csv,.xlsx`). Drives both the
|
|
11
|
+
* requirements hint and type validation.
|
|
12
|
+
*/
|
|
13
|
+
accept?: MaybeRefOrGetter<string | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Maximum file size in bytes. Larger files fail validation with reason `size`.
|
|
16
|
+
*/
|
|
17
|
+
maxSizeBytes?: MaybeRefOrGetter<number | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Error message for a file whose type is not in `accept`.
|
|
20
|
+
*/
|
|
21
|
+
invalidTypeMessage?: MaybeRefOrGetter<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Error message for a file exceeding `maxSizeBytes`. When omitted, a default
|
|
24
|
+
* is synthesized from `maxSizeBytes`.
|
|
25
|
+
*/
|
|
26
|
+
invalidSizeMessage?: MaybeRefOrGetter<string | undefined>;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Turns a single `accept` entry (e.g. `.csv` or `image/*`) into a short human
|
|
30
|
+
* label (`"csv"`, `"image"`) for the requirements hint, or `null` when it has
|
|
31
|
+
* no meaningful label.
|
|
32
|
+
*/
|
|
33
|
+
export declare const deriveFileTypeLabel: (entry: string) => string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Shared file-validation logic for file-picking form fields.
|
|
36
|
+
* Derives the requirements hint from `accept`/`maxSizeBytes` and
|
|
37
|
+
* validates picked or dropped files against the same two rules.
|
|
38
|
+
*/
|
|
39
|
+
export declare const useFileValidation: (options?: UseFileValidationOptions) => {
|
|
40
|
+
fileTypeLabels: import('vue').ComputedRef<string[]>;
|
|
41
|
+
requirementsText: import('vue').ComputedRef<string>;
|
|
42
|
+
validate: (file: File) => FileValidationReason | null;
|
|
43
|
+
validateAll: (files: File[]) => {
|
|
44
|
+
rejected: RejectedFile[];
|
|
45
|
+
message: string | null;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=useFileValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFileValidation.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/useFileValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAqB,MAAM,KAAK,CAAC;AAI/D,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnD,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;CAC9B,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3D,CAAC;AAIF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,KAAG,MAAM,GAAG,IAY5D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,UAAS,wBAA6B;;;qBA8D9C,IAAI,KAAG,oBAAoB,GAAG,IAAI;yBAsBjD,IAAI,EAAE,KACZ;QAAE,QAAQ,EAAE,YAAY,EAAE,CAAC;QAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;CAaxD,CAAC"}
|
|
@@ -25,6 +25,8 @@ export * from './inputs';
|
|
|
25
25
|
export type * from './inputs';
|
|
26
26
|
export * from './FileSelector';
|
|
27
27
|
export type * from './FileSelector';
|
|
28
|
+
export * from './Dropzone';
|
|
29
|
+
export type * from './Dropzone';
|
|
28
30
|
export * from './selects';
|
|
29
31
|
export type * from './selects';
|
|
30
32
|
export * from './_helper/InfoPopover';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D;;;;;GAKG;AACH,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGjE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C;;;;;GAKG;AACH,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC;AAEpC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC;AAEpC,cAAc,WAAW,CAAC;AAC1B,mBAAmB,WAAW,CAAC;AAE/B,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAE3C,cAAc,2BAA2B,CAAC;AAC1C,mBAAmB,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D;;;;;GAKG;AACH,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGjE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C;;;;;GAKG;AACH,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC;AAEpC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC;AAEpC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,WAAW,CAAC;AAC1B,mBAAmB,WAAW,CAAC;AAE/B,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAE3C,cAAc,2BAA2B,CAAC;AAC1C,mBAAmB,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileExplorerRenameModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/explorer/FileExplorer/FileExplorerRenameModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FileExplorerRenameModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/explorer/FileExplorer/FileExplorerRenameModal.vue"],"names":[],"mappings":"AAsGA,OAAO,KAAK,EAEV,4BAA4B,EAE7B,MAAM,SAAS,CAAC;AA6LjB,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
type __VLS_Slots = {
|
|
2
|
+
/**
|
|
3
|
+
* Overrides the leading header content. In the default `header` toggle mode
|
|
4
|
+
* it renders inside the header `<button>`, so clicks here also toggle the
|
|
5
|
+
* row; it should hold only phrasing, non-interactive content. In `chevron`
|
|
6
|
+
* toggle mode it may hold interactive content such as links.
|
|
7
|
+
*/
|
|
8
|
+
leading?(): unknown;
|
|
9
|
+
/**
|
|
10
|
+
* Trailing header content, e.g. detail info or add-ons such as a badge. In
|
|
11
|
+
* the default `header` toggle mode it renders inside the header `<button>`,
|
|
12
|
+
* so clicks here also toggle the row; it should hold only phrasing,
|
|
13
|
+
* non-interactive content. In `chevron` toggle mode it may hold interactive
|
|
14
|
+
* content.
|
|
15
|
+
*/
|
|
16
|
+
trailing?(): unknown;
|
|
17
|
+
/**
|
|
18
|
+
* Content revealed when the collapsable is expanded.
|
|
19
|
+
*/
|
|
20
|
+
default(): unknown;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_ModelProps = {
|
|
23
|
+
/** Whether the collapsable is expanded. */
|
|
24
|
+
modelValue?: boolean;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_base: import('vue').DefineComponent<({
|
|
27
|
+
size?: import('./types').KdsCollapsableSize;
|
|
28
|
+
topBorder?: boolean;
|
|
29
|
+
bottomBorder?: boolean;
|
|
30
|
+
description?: string;
|
|
31
|
+
subText?: string;
|
|
32
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
33
|
+
expandable?: boolean;
|
|
34
|
+
toggle?: import('./types').KdsCollapsableToggle;
|
|
35
|
+
} & {
|
|
36
|
+
headline: string;
|
|
37
|
+
ariaLabel?: never;
|
|
38
|
+
} & __VLS_ModelProps) | ({
|
|
39
|
+
size?: import('./types').KdsCollapsableSize;
|
|
40
|
+
topBorder?: boolean;
|
|
41
|
+
bottomBorder?: boolean;
|
|
42
|
+
description?: string;
|
|
43
|
+
subText?: string;
|
|
44
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
45
|
+
expandable?: boolean;
|
|
46
|
+
toggle?: import('./types').KdsCollapsableToggle;
|
|
47
|
+
} & {
|
|
48
|
+
headline?: never;
|
|
49
|
+
ariaLabel: string;
|
|
50
|
+
} & __VLS_ModelProps), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
+
"update:modelValue": (value: boolean) => any;
|
|
52
|
+
}, string, import('vue').PublicProps, Readonly<({
|
|
53
|
+
size?: import('./types').KdsCollapsableSize;
|
|
54
|
+
topBorder?: boolean;
|
|
55
|
+
bottomBorder?: boolean;
|
|
56
|
+
description?: string;
|
|
57
|
+
subText?: string;
|
|
58
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
59
|
+
expandable?: boolean;
|
|
60
|
+
toggle?: import('./types').KdsCollapsableToggle;
|
|
61
|
+
} & {
|
|
62
|
+
headline: string;
|
|
63
|
+
ariaLabel?: never;
|
|
64
|
+
} & __VLS_ModelProps) | ({
|
|
65
|
+
size?: import('./types').KdsCollapsableSize;
|
|
66
|
+
topBorder?: boolean;
|
|
67
|
+
bottomBorder?: boolean;
|
|
68
|
+
description?: string;
|
|
69
|
+
subText?: string;
|
|
70
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
71
|
+
expandable?: boolean;
|
|
72
|
+
toggle?: import('./types').KdsCollapsableToggle;
|
|
73
|
+
} & {
|
|
74
|
+
headline?: never;
|
|
75
|
+
ariaLabel: string;
|
|
76
|
+
} & __VLS_ModelProps)> & Readonly<{
|
|
77
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
78
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
79
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
80
|
+
declare const _default: typeof __VLS_export;
|
|
81
|
+
export default _default;
|
|
82
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=KdsCollapsable.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsCollapsable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/Collapsable/KdsCollapsable.vue"],"names":[],"mappings":"AAwSA,KAAK,WAAW,GAAG;IACjB;;;;;OAKG;IACH,OAAO,CAAC,IAAI,OAAO,CAAC;IACpB;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,IAAI,OAAO,CAAC;CACpB,CAAC;AAOF,KAAK,gBAAgB,GAAG;IACxB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA4MF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const kdsCollapsableSize: {
|
|
2
|
+
readonly LARGE: "large";
|
|
3
|
+
readonly SMALL: "small";
|
|
4
|
+
};
|
|
5
|
+
export declare const kdsCollapsableSizes: ("small" | "large")[];
|
|
6
|
+
export declare const kdsCollapsableToggle: {
|
|
7
|
+
/** The whole header toggles the content. */
|
|
8
|
+
readonly HEADER: "header";
|
|
9
|
+
/** Only a chevron button toggles the content; the rest of the header does not. */
|
|
10
|
+
readonly CHEVRON: "chevron";
|
|
11
|
+
};
|
|
12
|
+
export declare const kdsCollapsableToggles: ("header" | "chevron")[];
|
|
13
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/Collapsable/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,uBAAoC,CAAC;AAErE,eAAO,MAAM,oBAAoB;IAC/B,4CAA4C;;IAE5C,kFAAkF;;CAE1E,CAAC;AAEX,eAAO,MAAM,qBAAqB,0BAAsC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/Collapsable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjE,mBAAmB,SAAS,CAAC;AAE7B,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { KdsIconName } from '../../../components/accessories/Icon/types';
|
|
2
|
+
import { kdsCollapsableSize, kdsCollapsableToggle } from './enums';
|
|
3
|
+
export type KdsCollapsableSize = (typeof kdsCollapsableSize)[keyof typeof kdsCollapsableSize];
|
|
4
|
+
export type KdsCollapsableToggle = (typeof kdsCollapsableToggle)[keyof typeof kdsCollapsableToggle];
|
|
5
|
+
type KdsCollapsableCommonProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Visual size of the collapsable.
|
|
8
|
+
*
|
|
9
|
+
* `large` stacks a styled headline, description and subtext and wraps.
|
|
10
|
+
* `small` is intended for compact, inline use cases and keeps its header
|
|
11
|
+
* content on a single line, truncating overflow.
|
|
12
|
+
*/
|
|
13
|
+
size?: KdsCollapsableSize;
|
|
14
|
+
/**
|
|
15
|
+
* Renders a divider above the header.
|
|
16
|
+
*/
|
|
17
|
+
topBorder?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Renders a divider below the component.
|
|
20
|
+
*/
|
|
21
|
+
bottomBorder?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Secondary text shown below the headline. Intended for `large` size.
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Tertiary subtext shown below the description. Intended for `large` size.
|
|
28
|
+
*/
|
|
29
|
+
subText?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Icon shown before the headline.
|
|
32
|
+
*/
|
|
33
|
+
leadingIcon?: KdsIconName;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the row can be expanded. When `false`, the chevron is hidden and
|
|
36
|
+
* the header renders as a static, non-interactive row with nothing to
|
|
37
|
+
* expand.
|
|
38
|
+
*/
|
|
39
|
+
expandable?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Which control toggles the disclosure.
|
|
42
|
+
*
|
|
43
|
+
* `header` (default) makes the whole header a toggle button — use it when
|
|
44
|
+
* the header has no interactive content. `chevron` moves the toggle to a
|
|
45
|
+
* dedicated chevron button, leaving the rest of the header free for
|
|
46
|
+
* interactive content such as links.
|
|
47
|
+
*/
|
|
48
|
+
toggle?: KdsCollapsableToggle;
|
|
49
|
+
};
|
|
50
|
+
type WithHeadline = {
|
|
51
|
+
/**
|
|
52
|
+
* Headline shown on the leading side. Rendered as a bold title in `large`
|
|
53
|
+
* and as body text in `small`. Also names the toggle for assistive
|
|
54
|
+
* technology.
|
|
55
|
+
*/
|
|
56
|
+
headline: string;
|
|
57
|
+
ariaLabel?: never;
|
|
58
|
+
};
|
|
59
|
+
type WithoutHeadline = {
|
|
60
|
+
headline?: never;
|
|
61
|
+
/**
|
|
62
|
+
* Accessible name of the toggle, used as is in both toggle modes. Required
|
|
63
|
+
* when no `headline` is present.
|
|
64
|
+
*/
|
|
65
|
+
ariaLabel: string;
|
|
66
|
+
};
|
|
67
|
+
export type KdsCollapsableProps = KdsCollapsableCommonProps & (WithHeadline | WithoutHeadline);
|
|
68
|
+
export {};
|
|
69
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/Collapsable/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAE9E,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEnE,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,MAAM,oBAAoB,GAC9B,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAEnE,KAAK,yBAAyB,GAAG;IAC/B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,GACzD,CAAC,YAAY,GAAG,eAAe,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/panels/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/panels/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.6.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"vue": "~3.5.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@knime/kds-styles": "^13.
|
|
39
|
-
"@knime/utils": "^2.0
|
|
38
|
+
"@knime/kds-styles": "^13.6.0",
|
|
39
|
+
"@knime/utils": "^2.1.0",
|
|
40
40
|
"consola": "^3.4.2",
|
|
41
41
|
"motion": "^12.42.2",
|
|
42
42
|
"temporal-polyfill": "^1.0.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@knime/kds-code-editor": "^13.
|
|
46
|
-
"@knime/kds-table": "^13.
|
|
45
|
+
"@knime/kds-code-editor": "^13.6.0",
|
|
46
|
+
"@knime/kds-table": "^13.6.0",
|
|
47
47
|
"@storybook/vue3-vite": "^10.6.2",
|
|
48
48
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
49
49
|
"@vue/test-utils": "^2.4.11",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
2
|
-
//#region ../styles/dist/img/icons/speed-class-light.svg
|
|
3
|
-
var _hoisted_1 = {
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
fill: "none",
|
|
6
|
-
stroke: "currentColor",
|
|
7
|
-
"stroke-linecap": "round",
|
|
8
|
-
"stroke-linejoin": "round",
|
|
9
|
-
viewBox: "0 0 12 12"
|
|
10
|
-
};
|
|
11
|
-
function render(_ctx, _cache) {
|
|
12
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
13
|
-
d: "M1.5 7.25a4.5 4.5 0 0 1 9 0m-5.396.296-1.052-.7-.526-.35m3.536 1.638a1.062 1.062 0 1 1-2.124 0 1.062 1.062 0 0 1 2.124 0",
|
|
14
|
-
"vector-effect": "non-scaling-stroke"
|
|
15
|
-
}, null, -1)])]);
|
|
16
|
-
}
|
|
17
|
-
var speed_class_light_default = { render };
|
|
18
|
-
//#endregion
|
|
19
|
-
export { speed_class_light_default as default, render };
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=speed-class-light-B2zxgRSl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"speed-class-light-B2zxgRSl.js","names":["_openBlock","_createElementBlock","_createElementVNode"],"sources":["../../styles/dist/img/icons/speed-class-light.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M1.5 7.25a4.5 4.5 0 0 1 9 0m-5.396.296-1.052-.7-.526-.35m3.536 1.638a1.062 1.062 0 1 1-2.124 0 1.062 1.062 0 0 1 2.124 0\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"mappings":";;AAEA,IAAM,aAAa;CACjB,OAAO;CACP,MAAM;CACN,QAAQ;CACR,kBAAkB;CAClB,mBAAmB;CACnB,SAAS;AACX;AAEA,SAAgB,OAAO,MAAM,QAAQ;CACnC,OAAQA,UAAW,GAAGC,mBAAoB,OAAO,YAAY,CAAC,GAAI,OAAO,OAAO,OAAO,KAAK,CAC1FC,mBAAoB,QAAQ;EAC1B,GAAG;EACH,iBAAiB;CACnB,GAAG,MAAM,EAAE,CACb,EAAG,CAAC;AACN;AACA,IAAA,4BAAe,EAAU,OAAO"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
2
|
-
//#region ../styles/dist/img/icons/speed-class-performant.svg
|
|
3
|
-
var _hoisted_1 = {
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
fill: "none",
|
|
6
|
-
stroke: "currentColor",
|
|
7
|
-
"stroke-linecap": "round",
|
|
8
|
-
"stroke-linejoin": "round",
|
|
9
|
-
viewBox: "0 0 12 12"
|
|
10
|
-
};
|
|
11
|
-
function render(_ctx, _cache) {
|
|
12
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
13
|
-
d: "m6.884 7.546 1.052-.7.526-.35M1.5 7.25a4.5 4.5 0 1 1 9 0m-3.438.884a1.062 1.062 0 1 1-2.124 0 1.062 1.062 0 0 1 2.124 0",
|
|
14
|
-
"vector-effect": "non-scaling-stroke"
|
|
15
|
-
}, null, -1)])]);
|
|
16
|
-
}
|
|
17
|
-
var speed_class_performant_default = { render };
|
|
18
|
-
//#endregion
|
|
19
|
-
export { speed_class_performant_default as default, render };
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=speed-class-performant-DeJT7y4C.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"speed-class-performant-DeJT7y4C.js","names":["_openBlock","_createElementBlock","_createElementVNode"],"sources":["../../styles/dist/img/icons/speed-class-performant.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"m6.884 7.546 1.052-.7.526-.35M1.5 7.25a4.5 4.5 0 1 1 9 0m-3.438.884a1.062 1.062 0 1 1-2.124 0 1.062 1.062 0 0 1 2.124 0\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"mappings":";;AAEA,IAAM,aAAa;CACjB,OAAO;CACP,MAAM;CACN,QAAQ;CACR,kBAAkB;CAClB,mBAAmB;CACnB,SAAS;AACX;AAEA,SAAgB,OAAO,MAAM,QAAQ;CACnC,OAAQA,UAAW,GAAGC,mBAAoB,OAAO,YAAY,CAAC,GAAI,OAAO,OAAO,OAAO,KAAK,CAC1FC,mBAAoB,QAAQ;EAC1B,GAAG;EACH,iBAAiB;CACnB,GAAG,MAAM,EAAE,CACb,EAAG,CAAC;AACN;AACA,IAAA,iCAAe,EAAU,OAAO"}
|