@salesql/sql_components_vue3 2.0.0 → 2.1.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/README.md +37 -1
- package/dist/constants/events.d.ts +20 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +40 -6
- package/dist/index.es.js +2205 -618
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsAlert/DsAlert.vue.d.ts +15 -2
- package/dist/ui/DsAvatar/DsAvatar.types.d.ts +6 -0
- package/dist/ui/DsAvatar/DsAvatar.vue.d.ts +47 -2
- package/dist/ui/DsButton/DsButton.types.d.ts +3 -1
- package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
- package/dist/ui/DsCell/DsCell.types.d.ts +19 -0
- package/dist/ui/DsCell/DsCell.vue.d.ts +71 -0
- package/dist/ui/DsCell/index.d.ts +2 -0
- package/dist/ui/DsCheckbox/DsCheckbox.types.d.ts +2 -0
- package/dist/ui/DsCheckbox/DsCheckbox.vue.d.ts +10 -1
- package/dist/ui/DsContactValue/DsContactValue.types.d.ts +4 -0
- package/dist/ui/DsContactValue/DsContactValue.vue.d.ts +18 -0
- package/dist/ui/DsCustomTag/DsCustomTag.types.d.ts +9 -0
- package/dist/ui/DsCustomTag/DsCustomTag.vue.d.ts +29 -0
- package/dist/ui/DsCustomTag/index.d.ts +2 -0
- package/dist/ui/DsDataCard/DsDataCard.types.d.ts +2 -0
- package/dist/ui/DsDataCard/DsDataCard.vue.d.ts +58 -1
- package/dist/ui/DsEmptyState/DsEmptyState.types.d.ts +12 -0
- package/dist/ui/DsEmptyState/DsEmptyState.vue.d.ts +53 -0
- package/dist/ui/DsEmptyState/index.d.ts +2 -0
- package/dist/ui/DsInput/DsInput.vue.d.ts +36 -2
- package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.types.d.ts +20 -0
- package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.vue.d.ts +50 -0
- package/dist/ui/DsItemSelectorButton/index.d.ts +2 -0
- package/dist/ui/DsMenuItem/DsMenuItem.types.d.ts +6 -0
- package/dist/ui/DsMenuItem/DsMenuItem.vue.d.ts +42 -0
- package/dist/ui/DsMenuItem/index.d.ts +2 -0
- package/dist/ui/DsModal/DsModal.types.d.ts +10 -0
- package/dist/ui/DsModal/DsModal.vue.d.ts +39 -0
- package/dist/ui/DsNotification/DsNotification.types.d.ts +7 -0
- package/dist/ui/DsNotification/DsNotification.vue.d.ts +14 -3
- package/dist/ui/DsPaginator/DsPaginator.types.d.ts +12 -0
- package/dist/ui/DsPaginator/DsPaginator.vue.d.ts +101 -0
- package/dist/ui/DsPaginator/index.d.ts +2 -0
- package/dist/ui/DsPill/DsPill.types.d.ts +11 -0
- package/dist/ui/DsPill/DsPill.vue.d.ts +46 -0
- package/dist/ui/DsPill/index.d.ts +2 -0
- package/dist/ui/DsPillWithBorder/DsPillWithBorder.types.d.ts +2 -0
- package/dist/ui/DsPillWithBorder/DsPillWithBorder.vue.d.ts +18 -0
- package/dist/ui/DsPillWithBorder/index.d.ts +2 -0
- package/dist/ui/DsRadio/DsRadio.types.d.ts +7 -0
- package/dist/ui/DsRadio/DsRadio.vue.d.ts +55 -0
- package/dist/ui/DsRadio/index.d.ts +2 -0
- package/dist/ui/DsRow/DsRow.types.d.ts +6 -0
- package/dist/ui/DsRow/DsRow.vue.d.ts +37 -0
- package/dist/ui/DsRow/index.d.ts +2 -0
- package/dist/ui/DsSegmentedProgressBar/DsSegmentedProgressBar.types.d.ts +5 -0
- package/dist/ui/DsSegmentedProgressBar/DsSegmentedProgressBar.vue.d.ts +62 -0
- package/dist/ui/DsSegmentedProgressBar/index.d.ts +2 -0
- package/dist/ui/DsSelect/DsSelect.types.d.ts +33 -0
- package/dist/ui/DsSelect/DsSelect.vue.d.ts +126 -0
- package/dist/ui/DsSelect/index.d.ts +2 -0
- package/dist/ui/DsSpinner/DsSpinner.types.d.ts +6 -0
- package/dist/ui/DsSpinner/DsSpinner.vue.d.ts +4 -4
- package/dist/ui/DsSwitch/DsSwitch.types.d.ts +6 -0
- package/dist/ui/DsSwitch/DsSwitch.vue.d.ts +30 -0
- package/dist/ui/DsSwitch/index.d.ts +2 -0
- package/dist/ui/DsTable/DsTable.types.d.ts +11 -0
- package/dist/ui/DsTable/DsTable.vue.d.ts +103 -10
- package/dist/ui/DsTag/DsTag.vue.d.ts +6 -0
- package/dist/ui/DsTextarea/DsTextarea.types.d.ts +8 -0
- package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +14 -3
- package/dist/ui/DsTooltip/DsTooltip.types.d.ts +7 -0
- package/dist/ui/DsTooltip/DsTooltip.vue.d.ts +64 -0
- package/dist/ui/DsTooltip/index.d.ts +2 -0
- package/dist/ui/DsWizardStepper/DsWizardStepper.types.d.ts +13 -0
- package/dist/ui/DsWizardStepper/DsWizardStepper.vue.d.ts +58 -0
- package/dist/ui/DsWizardStepper/index.d.ts +2 -0
- package/llms-full.txt +1350 -0
- package/llms.txt +40 -0
- package/package.json +6 -3
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
icon: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
background: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
iconLabel: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
click: (...args: any[]) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
icon: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
background: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
iconLabel: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
background: string;
|
|
37
|
+
icon: string;
|
|
38
|
+
iconLabel: string;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_3) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
click: (...args: any[]) => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
10
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
disabled: BooleanConstructor;
|
|
7
|
+
label: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
name: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
value: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: boolean) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
disabled: BooleanConstructor;
|
|
26
|
+
label: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
name: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
value: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{
|
|
42
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
label: string;
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
name: string;
|
|
47
|
+
value: string;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
selected: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
clickable: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
click: (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
selected: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
clickable: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
}>> & Readonly<{
|
|
26
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
selected: boolean;
|
|
29
|
+
clickable: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { DsProgressSegment } from './DsSegmentedProgressBar.types';
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
legend?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
segments: {
|
|
9
|
+
type: PropType<DsProgressSegment[]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
total: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
height: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
label: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
showLegend: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
segments: {
|
|
30
|
+
type: PropType<DsProgressSegment[]>;
|
|
31
|
+
default: () => never[];
|
|
32
|
+
};
|
|
33
|
+
total: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
height: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
label: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
showLegend: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
label: string;
|
|
51
|
+
height: number;
|
|
52
|
+
segments: DsProgressSegment[];
|
|
53
|
+
total: number;
|
|
54
|
+
showLegend: boolean;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface DsSelectOption {
|
|
2
|
+
value: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
subLabel?: string;
|
|
5
|
+
/** Material Icons ligature name. */
|
|
6
|
+
icon?: string;
|
|
7
|
+
/** Icon color (any CSS color value) — mirrors the DS `option.color` pass-through. */
|
|
8
|
+
color?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Optional group name (optgroup-style). Consecutive options that share a
|
|
11
|
+
* `group` are wrapped in a real ARIA group (`role="group"` labelled by a
|
|
12
|
+
* non-selectable header, with a divider); options without a `group` render
|
|
13
|
+
* ungrouped. Grouping follows the order of `options` (like native
|
|
14
|
+
* `<optgroup>`) — the component does not re-sort. Keyboard navigation skips
|
|
15
|
+
* the headers (they are not selectable options).
|
|
16
|
+
*/
|
|
17
|
+
group?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const DS_SELECT_TYPES: {
|
|
20
|
+
readonly DEFAULT: "default";
|
|
21
|
+
readonly FILTER_SUMMARY: "filterSummary";
|
|
22
|
+
};
|
|
23
|
+
export type DsSelectType = (typeof DS_SELECT_TYPES)[keyof typeof DS_SELECT_TYPES];
|
|
24
|
+
export declare const DS_SELECT_WIDTHS: {
|
|
25
|
+
readonly AUTO: "auto";
|
|
26
|
+
readonly SMALL: "small";
|
|
27
|
+
readonly MEDIUM: "medium";
|
|
28
|
+
readonly LARGE: "large";
|
|
29
|
+
readonly FULL: "full";
|
|
30
|
+
};
|
|
31
|
+
export type DsSelectWidthName = (typeof DS_SELECT_WIDTHS)[keyof typeof DS_SELECT_WIDTHS];
|
|
32
|
+
export type DsSelectWidth = DsSelectWidthName | number | string;
|
|
33
|
+
export type DsSelectModelValue = string | number | (string | number)[] | null;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type DsSelectOption, type DsSelectType, type DsSelectWidth, type DsSelectModelValue } from './DsSelect.types';
|
|
3
|
+
declare var __VLS_1: {}, __VLS_11: {
|
|
4
|
+
option: DsSelectOption;
|
|
5
|
+
selected: boolean;
|
|
6
|
+
active: boolean;
|
|
7
|
+
}, __VLS_13: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
loading?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
option?: (props: typeof __VLS_11) => any;
|
|
12
|
+
} & {
|
|
13
|
+
empty?: (props: typeof __VLS_13) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
16
|
+
options: {
|
|
17
|
+
type: PropType<DsSelectOption[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
placeholder: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
multiple: BooleanConstructor;
|
|
25
|
+
selectType: {
|
|
26
|
+
type: PropType<DsSelectType>;
|
|
27
|
+
default: "default";
|
|
28
|
+
};
|
|
29
|
+
showCheckbox: BooleanConstructor;
|
|
30
|
+
width: {
|
|
31
|
+
type: PropType<DsSelectWidth>;
|
|
32
|
+
default: "auto";
|
|
33
|
+
};
|
|
34
|
+
disabled: BooleanConstructor;
|
|
35
|
+
filterable: BooleanConstructor;
|
|
36
|
+
remote: BooleanConstructor;
|
|
37
|
+
loading: BooleanConstructor;
|
|
38
|
+
searchLabel: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
searchPlaceholder: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
clearLabel: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
emptyText: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
modelValue: {
|
|
55
|
+
type: PropType<DsSelectModelValue>;
|
|
56
|
+
};
|
|
57
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
|
+
search: (...args: any[]) => void;
|
|
59
|
+
"update:modelValue": (value: DsSelectModelValue) => void;
|
|
60
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
+
options: {
|
|
62
|
+
type: PropType<DsSelectOption[]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
placeholder: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
multiple: BooleanConstructor;
|
|
70
|
+
selectType: {
|
|
71
|
+
type: PropType<DsSelectType>;
|
|
72
|
+
default: "default";
|
|
73
|
+
};
|
|
74
|
+
showCheckbox: BooleanConstructor;
|
|
75
|
+
width: {
|
|
76
|
+
type: PropType<DsSelectWidth>;
|
|
77
|
+
default: "auto";
|
|
78
|
+
};
|
|
79
|
+
disabled: BooleanConstructor;
|
|
80
|
+
filterable: BooleanConstructor;
|
|
81
|
+
remote: BooleanConstructor;
|
|
82
|
+
loading: BooleanConstructor;
|
|
83
|
+
searchLabel: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
searchPlaceholder: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
clearLabel: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
emptyText: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
modelValue: {
|
|
100
|
+
type: PropType<DsSelectModelValue>;
|
|
101
|
+
};
|
|
102
|
+
}>> & Readonly<{
|
|
103
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
"onUpdate:modelValue"?: ((value: DsSelectModelValue) => any) | undefined;
|
|
105
|
+
}>, {
|
|
106
|
+
width: DsSelectWidth;
|
|
107
|
+
disabled: boolean;
|
|
108
|
+
loading: boolean;
|
|
109
|
+
placeholder: string;
|
|
110
|
+
multiple: boolean;
|
|
111
|
+
selectType: DsSelectType;
|
|
112
|
+
showCheckbox: boolean;
|
|
113
|
+
filterable: boolean;
|
|
114
|
+
remote: boolean;
|
|
115
|
+
searchLabel: string;
|
|
116
|
+
searchPlaceholder: string;
|
|
117
|
+
clearLabel: string;
|
|
118
|
+
emptyText: string;
|
|
119
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
121
|
+
export default _default;
|
|
122
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
123
|
+
new (): {
|
|
124
|
+
$slots: S;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
@@ -4,3 +4,9 @@ export declare const DS_SPINNER_TONES: {
|
|
|
4
4
|
readonly ACCENT: "accent";
|
|
5
5
|
};
|
|
6
6
|
export type DsSpinnerTone = (typeof DS_SPINNER_TONES)[keyof typeof DS_SPINNER_TONES];
|
|
7
|
+
export declare const DS_SPINNER_SIZES: {
|
|
8
|
+
readonly SMALL: "small";
|
|
9
|
+
readonly MEDIUM: "medium";
|
|
10
|
+
readonly LARGE: "large";
|
|
11
|
+
};
|
|
12
|
+
export type DsSpinnerSize = (typeof DS_SPINNER_SIZES)[keyof typeof DS_SPINNER_SIZES];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import { type DsSpinnerTone } from './DsSpinner.types';
|
|
2
|
+
import { type DsSpinnerTone, type DsSpinnerSize } from './DsSpinner.types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
size: {
|
|
5
|
-
type:
|
|
5
|
+
type: PropType<number | DsSpinnerSize>;
|
|
6
6
|
default: number;
|
|
7
7
|
};
|
|
8
8
|
tone: {
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
};
|
|
16
16
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
size: {
|
|
18
|
-
type:
|
|
18
|
+
type: PropType<number | DsSpinnerSize>;
|
|
19
19
|
default: number;
|
|
20
20
|
};
|
|
21
21
|
tone: {
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
29
|
}>> & Readonly<{}>, {
|
|
30
|
-
size: number;
|
|
30
|
+
size: number | DsSpinnerSize;
|
|
31
31
|
tone: DsSpinnerTone;
|
|
32
32
|
label: string;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
disabled: BooleanConstructor;
|
|
3
|
+
loading: BooleanConstructor;
|
|
4
|
+
ariaLabel: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
disabled: BooleanConstructor;
|
|
15
|
+
loading: BooleanConstructor;
|
|
16
|
+
ariaLabel: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
ariaLabel: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
loading: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -4,11 +4,22 @@ export declare const DS_TABLE_ALIGN: {
|
|
|
4
4
|
readonly RIGHT: "right";
|
|
5
5
|
};
|
|
6
6
|
export type DsTableAlign = (typeof DS_TABLE_ALIGN)[keyof typeof DS_TABLE_ALIGN];
|
|
7
|
+
export declare const DS_TABLE_PIN: {
|
|
8
|
+
readonly LEFT: "left";
|
|
9
|
+
readonly RIGHT: "right";
|
|
10
|
+
};
|
|
11
|
+
export type DsTablePin = (typeof DS_TABLE_PIN)[keyof typeof DS_TABLE_PIN];
|
|
7
12
|
export interface DsTableColumn {
|
|
8
13
|
key: string;
|
|
9
14
|
label: string;
|
|
10
15
|
align?: DsTableAlign;
|
|
11
16
|
width?: string;
|
|
17
|
+
pinned?: DsTablePin;
|
|
18
|
+
}
|
|
19
|
+
export interface DsTableHeader {
|
|
20
|
+
label: string;
|
|
21
|
+
pinned?: DsTablePin;
|
|
22
|
+
width?: string;
|
|
12
23
|
}
|
|
13
24
|
export interface DsTableRow {
|
|
14
25
|
id: string | number;
|