@synopackageland/ui 0.5.4 → 0.5.6
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 +91 -0
- package/dist/PageLayoutDemo.vue.d.ts +6 -0
- package/dist/UiDefectsDemo.vue.d.ts +3 -0
- package/dist/components/advanced-panel/AdvancePanelGrid.vue.d.ts +1 -0
- package/dist/components/app/app-sidebar/AppSidebar.vue.d.ts +4 -0
- package/dist/components/app/page-content/PageContent.vue.d.ts +22 -0
- package/dist/components/app/section-tabs/SectionTabs.vue.d.ts +1 -0
- package/dist/components/composite/about-dialog/AboutDialog.vue.d.ts +13 -0
- package/dist/components/composite/config-provider/ConfigProvider.vue.d.ts +2 -0
- package/dist/components/composite/data-table/DataTable.vue.d.ts +1 -1
- package/dist/components/composite/file-picker/FilePicker.vue.d.ts +8 -4
- package/dist/components/composite/form/Form.vue.d.ts +3 -0
- package/dist/components/composite/form/FormItem.vue.d.ts +8 -3
- package/dist/components/composite/form/context.d.ts +9 -1
- package/dist/components/composite/form/types.d.ts +1 -1
- package/dist/components/composite/form-actions/FormActions.vue.d.ts +20 -0
- package/dist/components/composite/key-value-row/KeyValueRow.vue.d.ts +20 -0
- package/dist/components/composite/repeat-rows/FieldCell.vue.d.ts +19 -0
- package/dist/components/composite/repeat-rows/RepeatRow.vue.d.ts +26 -0
- package/dist/components/composite/repeat-rows/RepeatRows.vue.d.ts +21 -0
- package/dist/components/composite/search-field/SearchField.vue.d.ts +2 -0
- package/dist/components/composite/settings-row/SettingsRow.vue.d.ts +4 -0
- package/dist/components/composite/wizard/Wizard.vue.d.ts +2 -0
- package/dist/components/composite/wizard/types.d.ts +1 -0
- package/dist/components/containers/card/Card.vue.d.ts +3 -0
- package/dist/components/containers/card-grid/CardGrid.vue.d.ts +27 -0
- package/dist/components/feedback/info-mask/InfoMask.vue.d.ts +1 -1
- package/dist/components/primitives/color-picker/ColorPicker.vue.d.ts +6 -0
- package/dist/components/primitives/combobox/Combobox.vue.d.ts +2 -2
- package/dist/components/primitives/date-picker/DatePicker.vue.d.ts +14 -3
- package/dist/components/primitives/input-steppers/InputSteppers.vue.d.ts +5 -0
- package/dist/components/primitives/link/Link.vue.d.ts +32 -0
- package/dist/components/primitives/multiple-select/MultipleSelect.vue.d.ts +2 -2
- package/dist/components/primitives/pagination/Pagination.vue.d.ts +3 -3
- package/dist/components/primitives/schedule-table/ScheduleTable.vue.d.ts +9 -0
- package/dist/components/primitives/segment-control/SegmentControl.vue.d.ts +2 -2
- package/dist/components/primitives/select/internal/ComboboxField.vue.d.ts +3 -2
- package/dist/components/primitives/select/internal/types.d.ts +1 -0
- package/dist/components/primitives/superbox-select/SuperboxSelect.vue.d.ts +2 -2
- package/dist/components/primitives/toast/ToastProvider.vue.d.ts +2 -0
- package/dist/components/primitives/toggle-button/ToggleButton.vue.d.ts +2 -2
- package/dist/components/primitives/toggle-button/ToggleButtonGroup.vue.d.ts +2 -2
- package/dist/components/primitives/typography/TypoHeader.vue.d.ts +2 -0
- package/dist/composables/elementWidth.d.ts +4 -0
- package/dist/composables/formControl.d.ts +21 -0
- package/dist/i18n/filePicker.d.ts +15 -0
- package/dist/i18n/locale.d.ts +6 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +10050 -9461
- package/dist/lib/fieldWidth.d.ts +4 -0
- package/dist/reka-runtime.json +1 -1
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { DateFormat, TimeFormat } from './dateTime';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
text?: Partial<{
|
|
4
|
+
placeholder: string;
|
|
5
|
+
previousMonth: string;
|
|
6
|
+
nextMonth: string;
|
|
7
|
+
addTime: string;
|
|
8
|
+
hour: string;
|
|
9
|
+
minute: string;
|
|
10
|
+
meridiem: string;
|
|
11
|
+
clear: string;
|
|
12
|
+
am: string;
|
|
13
|
+
pm: string;
|
|
14
|
+
}>;
|
|
3
15
|
/** `YYYY-MM-DD` for date mode, `YYYY-MM-DDTHH:mm:ss` for `showTime` mode. Local wall-clock, no timezone. */
|
|
4
16
|
modelValue?: string;
|
|
5
17
|
placeholder?: string;
|
|
@@ -29,24 +41,23 @@ type __VLS_Props = {
|
|
|
29
41
|
timeFormat?: TimeFormat;
|
|
30
42
|
};
|
|
31
43
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
+
change: (value: string | undefined) => any;
|
|
32
45
|
invalid: (payload: {
|
|
33
46
|
reason: "format" | "required";
|
|
34
47
|
text: string;
|
|
35
48
|
}) => any;
|
|
36
49
|
"update:modelValue": (value: string | undefined) => any;
|
|
37
|
-
change: (value: string | undefined) => any;
|
|
38
50
|
"select-date": (value: string) => any;
|
|
39
51
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
52
|
+
onChange?: ((value: string | undefined) => any) | undefined;
|
|
40
53
|
onInvalid?: ((payload: {
|
|
41
54
|
reason: "format" | "required";
|
|
42
55
|
text: string;
|
|
43
56
|
}) => any) | undefined;
|
|
44
57
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
45
|
-
onChange?: ((value: string | undefined) => any) | undefined;
|
|
46
58
|
"onSelect-date"?: ((value: string) => any) | undefined;
|
|
47
59
|
}>, {
|
|
48
60
|
disabled: boolean;
|
|
49
|
-
placeholder: string;
|
|
50
61
|
readonly: boolean;
|
|
51
62
|
editable: boolean;
|
|
52
63
|
clearable: boolean;
|
|
@@ -16,6 +16,11 @@ export type InputSteppersMenuItem = {
|
|
|
16
16
|
* reverts to the last valid value.
|
|
17
17
|
*/
|
|
18
18
|
type __VLS_Props = {
|
|
19
|
+
text?: Partial<{
|
|
20
|
+
increase: string;
|
|
21
|
+
decrease: string;
|
|
22
|
+
presets: string;
|
|
23
|
+
}>;
|
|
19
24
|
modelValue?: number;
|
|
20
25
|
/** Lower bound; defaults to Number.MIN_SAFE_INTEGER when omitted. */
|
|
21
26
|
min?: number | string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
href?: string;
|
|
3
|
+
download?: string | boolean;
|
|
4
|
+
external?: boolean;
|
|
5
|
+
target?: string;
|
|
6
|
+
rel?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
externalLabel?: string;
|
|
9
|
+
downloadLabel?: string;
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_1: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_1) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
click: (event: MouseEvent) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
external: boolean;
|
|
22
|
+
externalLabel: string;
|
|
23
|
+
downloadLabel: string;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -5,20 +5,20 @@ type __VLS_Props = Omit<SelectFieldProps, 'multiple' | 'modelValue' | 'defaultVa
|
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
select: (option: SelectOption) => any;
|
|
8
|
+
blur: (event: FocusEvent) => any;
|
|
8
9
|
invalid: (text: string) => any;
|
|
9
10
|
"update:modelValue": (value: string[]) => any;
|
|
10
11
|
focus: (event: FocusEvent) => any;
|
|
11
|
-
blur: (event: FocusEvent) => any;
|
|
12
12
|
"update:loading": (loading: boolean) => any;
|
|
13
13
|
create: (value: string) => any;
|
|
14
14
|
"open-dropdown": () => any;
|
|
15
15
|
"close-dropdown": () => any;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
17
|
onSelect?: ((option: SelectOption) => any) | undefined;
|
|
18
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
18
19
|
onInvalid?: ((text: string) => any) | undefined;
|
|
19
20
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
20
21
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
21
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
22
22
|
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
23
23
|
onCreate?: ((value: string) => any) | undefined;
|
|
24
24
|
"onOpen-dropdown"?: (() => any) | undefined;
|
|
@@ -64,19 +64,20 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
64
64
|
focusPrevious: () => void;
|
|
65
65
|
focusNext: () => void;
|
|
66
66
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
-
"update:modelValue": (page: number) => any;
|
|
68
67
|
change: (page: number) => any;
|
|
68
|
+
"update:modelValue": (page: number) => any;
|
|
69
69
|
refresh: () => any;
|
|
70
70
|
"update:pageSize": (pageSize: number) => any;
|
|
71
71
|
changePage: (payload: PaginationSwitch) => any;
|
|
72
72
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
73
|
-
"onUpdate:modelValue"?: ((page: number) => any) | undefined;
|
|
74
73
|
onChange?: ((page: number) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((page: number) => any) | undefined;
|
|
75
75
|
onRefresh?: (() => any) | undefined;
|
|
76
76
|
"onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
|
|
77
77
|
onChangePage?: ((payload: PaginationSwitch) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
79
|
modelValue: number;
|
|
80
|
+
labels: Partial<PaginationLabels>;
|
|
80
81
|
end: string | number;
|
|
81
82
|
mode: "normal" | "less";
|
|
82
83
|
start: string | number;
|
|
@@ -99,7 +100,6 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
99
100
|
maxPageButtons: number;
|
|
100
101
|
totalTextMode: PaginationTotalTextMode;
|
|
101
102
|
totalTextFormat: Partial<Record<PaginationTotalTextMode, string>>;
|
|
102
|
-
labels: Partial<PaginationLabels>;
|
|
103
103
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
104
104
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
105
105
|
declare const _default: typeof __VLS_export;
|
|
@@ -2,6 +2,14 @@ import { ScheduleOption, ScheduleSplitMinute } from './schedule';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
/** Digit string; length must be `168 * (60 / splitMinute)`. */
|
|
4
4
|
modelValue: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
dayLabels?: [string, string, string, string, string, string, string];
|
|
7
|
+
text?: Partial<{
|
|
8
|
+
selectAll: string;
|
|
9
|
+
selectHour: (hour: number) => string;
|
|
10
|
+
selectDay: (day: string) => string;
|
|
11
|
+
edit: (label: string) => string;
|
|
12
|
+
}>;
|
|
5
13
|
options?: ScheduleOption[];
|
|
6
14
|
splitMinute?: ScheduleSplitMinute;
|
|
7
15
|
optionsCountPerRow?: number;
|
|
@@ -48,6 +56,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
48
56
|
}) => any) | undefined;
|
|
49
57
|
"onEdit-option"?: ((option: ScheduleOption) => any) | undefined;
|
|
50
58
|
}>, {
|
|
59
|
+
disabled: boolean;
|
|
51
60
|
prefix: string;
|
|
52
61
|
options: ScheduleOption[];
|
|
53
62
|
defaultSelected: number;
|
|
@@ -13,11 +13,11 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
default?: (props: typeof __VLS_1) => any;
|
|
14
14
|
};
|
|
15
15
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (value: string) => any;
|
|
17
16
|
change: (value: string) => any;
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
19
|
onChange?: ((value: string) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
modelValue: string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { SelectFieldProps, SelectOption } from './types';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<SelectFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
3
|
select: (option: SelectOption) => any;
|
|
4
|
+
blur: (event: FocusEvent) => any;
|
|
4
5
|
invalid: (text: string) => any;
|
|
5
6
|
"update:modelValue": (value: string | string[]) => any;
|
|
6
7
|
focus: (event: FocusEvent) => any;
|
|
7
|
-
blur: (event: FocusEvent) => any;
|
|
8
8
|
"update:loading": (loading: boolean) => any;
|
|
9
9
|
create: (value: string) => any;
|
|
10
10
|
"open-dropdown": () => any;
|
|
11
11
|
"close-dropdown": () => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<SelectFieldProps> & Readonly<{
|
|
13
13
|
onSelect?: ((option: SelectOption) => any) | undefined;
|
|
14
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
14
15
|
onInvalid?: ((text: string) => any) | undefined;
|
|
15
16
|
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
16
17
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
17
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
18
18
|
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
19
19
|
onCreate?: ((value: string) => any) | undefined;
|
|
20
20
|
"onOpen-dropdown"?: (() => any) | undefined;
|
|
@@ -39,6 +39,7 @@ declare const __VLS_export: import('vue').DefineComponent<SelectFieldProps, {},
|
|
|
39
39
|
clearable: boolean;
|
|
40
40
|
createHintText: string;
|
|
41
41
|
displayLimit: number | false;
|
|
42
|
+
openLabel: string;
|
|
42
43
|
clearLabel: string;
|
|
43
44
|
removeTagLabel: (label: string) => string;
|
|
44
45
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,20 +5,20 @@ type __VLS_Props = Omit<SelectFieldProps, 'multiple' | 'modelValue' | 'defaultVa
|
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
select: (option: SelectOption) => any;
|
|
8
|
+
blur: (event: FocusEvent) => any;
|
|
8
9
|
invalid: (text: string) => any;
|
|
9
10
|
"update:modelValue": (value: string[]) => any;
|
|
10
11
|
focus: (event: FocusEvent) => any;
|
|
11
|
-
blur: (event: FocusEvent) => any;
|
|
12
12
|
"update:loading": (loading: boolean) => any;
|
|
13
13
|
create: (value: string) => any;
|
|
14
14
|
"open-dropdown": () => any;
|
|
15
15
|
"close-dropdown": () => any;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
17
|
onSelect?: ((option: SelectOption) => any) | undefined;
|
|
18
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
18
19
|
onInvalid?: ((text: string) => any) | undefined;
|
|
19
20
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
20
21
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
21
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
22
22
|
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
23
23
|
onCreate?: ((value: string) => any) | undefined;
|
|
24
24
|
"onOpen-dropdown"?: (() => any) | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ToastController } from './toast';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
closeLabel?: string;
|
|
3
4
|
duration?: number;
|
|
4
5
|
swipeDirection?: 'right' | 'left' | 'up' | 'down';
|
|
5
6
|
};
|
|
@@ -8,6 +9,7 @@ type __VLS_Slots = {} & {
|
|
|
8
9
|
default?: (props: typeof __VLS_8) => any;
|
|
9
10
|
};
|
|
10
11
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, ToastController, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
closeLabel: string;
|
|
11
13
|
duration: number;
|
|
12
14
|
swipeDirection: "right" | "left" | "up" | "down";
|
|
13
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -20,11 +20,11 @@ type __VLS_Slots = {} & {
|
|
|
20
20
|
default?: (props: typeof __VLS_22) => any;
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
"update:modelValue": (value: boolean) => any;
|
|
24
23
|
change: (value: boolean) => any;
|
|
24
|
+
"update:modelValue": (value: boolean) => any;
|
|
25
25
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
26
|
onChange?: ((value: boolean) => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
size: "sm" | "md" | "lg";
|
|
30
30
|
type: "text" | "icon" | "icon-text";
|
|
@@ -17,11 +17,11 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
default?: (props: typeof __VLS_10) => any;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
-
"update:modelValue": (value: string | string[]) => any;
|
|
21
20
|
change: (value: string | string[]) => any;
|
|
21
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
22
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
24
23
|
onChange?: ((value: string | string[]) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
label: string;
|
|
27
27
|
disabled: boolean;
|
|
@@ -10,6 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
href?: string;
|
|
11
11
|
/** Render the permalink anchor. */
|
|
12
12
|
anchor?: boolean;
|
|
13
|
+
anchorLabel?: string;
|
|
13
14
|
};
|
|
14
15
|
declare var __VLS_8: {};
|
|
15
16
|
type __VLS_Slots = {} & {
|
|
@@ -21,6 +22,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
21
22
|
href: string;
|
|
22
23
|
level: HeaderLevel;
|
|
23
24
|
baseUrl: string;
|
|
25
|
+
anchorLabel: string;
|
|
24
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
28
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ShallowRef } from 'vue';
|
|
2
|
+
/** Observe the component's container, including DSM window resizes that do not
|
|
3
|
+
* resize the document viewport. Zero is unknown (e.g. hidden tab or SSR). */
|
|
4
|
+
export declare function useElementWidth(element: Readonly<ShallowRef<HTMLElement | null>>): import('vue').Ref<number, number>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** One primary control per FormItem. Layout attrs stay on wrappers; all other
|
|
2
|
+
* attrs belong to the focusable control. Composite controls consume the field
|
|
3
|
+
* so their popup's internal inputs cannot steal its label or reuse its id. */
|
|
4
|
+
export declare function useFormControl(options: {
|
|
5
|
+
value: () => unknown;
|
|
6
|
+
disabled: () => boolean | undefined;
|
|
7
|
+
id?: () => string | undefined;
|
|
8
|
+
ariaLabel?: () => string | undefined;
|
|
9
|
+
ariaLabelledby?: () => string | undefined;
|
|
10
|
+
invalid?: () => boolean | undefined;
|
|
11
|
+
}): {
|
|
12
|
+
controlAttrs: () => Record<string, unknown> & {
|
|
13
|
+
id?: string;
|
|
14
|
+
"aria-label"?: string;
|
|
15
|
+
};
|
|
16
|
+
wrapperAttrs: () => {
|
|
17
|
+
class: import('vue').ClassValue;
|
|
18
|
+
style: import('vue').StyleValue;
|
|
19
|
+
};
|
|
20
|
+
changed: (value: unknown) => void;
|
|
21
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UiLocale } from './locale';
|
|
2
|
+
export type FilePickerText = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
chooseFiles: string;
|
|
6
|
+
chooseFolder: string;
|
|
7
|
+
maxSize: string;
|
|
8
|
+
maxFiles: string;
|
|
9
|
+
remove: string;
|
|
10
|
+
typeRejected: string;
|
|
11
|
+
sizeRejected: string;
|
|
12
|
+
countRejected: string;
|
|
13
|
+
duplicateRejected: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const filePickerText: Record<UiLocale, FilePickerText>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
export type UiLocale = 'en' | 'zh-TW' | 'zh-CN' | 'ja' | 'ko' | 'de' | 'fr' | 'es' | 'it';
|
|
3
|
+
export declare const UI_LOCALE_KEY: InjectionKey<ComputedRef<UiLocale>>;
|
|
4
|
+
export declare function useUiLocale(own: () => UiLocale | undefined): ComputedRef<UiLocale>;
|
|
5
|
+
/** Named placeholders let applications translate messages without concatenating English. */
|
|
6
|
+
export declare function formatUiText(template: string, values: Record<string, string | number>): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -90,6 +90,12 @@ export { default as SegmentControl } from './components/primitives/segment-contr
|
|
|
90
90
|
export { default as SegmentItem } from './components/primitives/segment-control/SegmentItem.vue';
|
|
91
91
|
export { default as SearchField } from './components/composite/search-field/SearchField.vue';
|
|
92
92
|
export { default as SettingsRow } from './components/composite/settings-row/SettingsRow.vue';
|
|
93
|
+
export { default as FormActions } from './components/composite/form-actions/FormActions.vue';
|
|
94
|
+
export { default as RepeatRows } from './components/composite/repeat-rows/RepeatRows.vue';
|
|
95
|
+
export { default as RepeatRow } from './components/composite/repeat-rows/RepeatRow.vue';
|
|
96
|
+
export { default as FieldCell } from './components/composite/repeat-rows/FieldCell.vue';
|
|
97
|
+
export { resolveFieldWidth } from './lib/fieldWidth';
|
|
98
|
+
export type { FieldWidth } from './lib/fieldWidth';
|
|
93
99
|
export { default as SettingsSection } from './components/composite/settings-section/SettingsSection.vue';
|
|
94
100
|
export { default as Footbar } from './components/composite/footbar/Footbar.vue';
|
|
95
101
|
export type { FootbarButton, FootbarButtonRegion, FootbarButtonSize, FootbarButtonVariant, } from './components/composite/footbar/types';
|
|
@@ -121,6 +127,7 @@ export { notificationControllerKey, useNotification, useNotifyManager } from './
|
|
|
121
127
|
export type { NotificationAction, NotificationActionConfig, NotificationController, NotificationDestroy, NotificationItem, NotificationOptions, NotificationTone, } from './components/feedback/notification/notification';
|
|
122
128
|
export { default as ValidationPopup } from './components/feedback/validation-popup/ValidationPopup.vue';
|
|
123
129
|
export { default as Card } from './components/containers/card/Card.vue';
|
|
130
|
+
export { default as CardGrid } from './components/containers/card-grid/CardGrid.vue';
|
|
124
131
|
export { default as HighlightBox } from './components/containers/highlight-box/HighlightBox.vue';
|
|
125
132
|
export { default as Panel } from './components/containers/panel/Panel.vue';
|
|
126
133
|
export type { PanelFbar, PanelFbarConfig } from './components/containers/panel/Panel.vue';
|
|
@@ -151,6 +158,7 @@ export type { AppSidebarGroup, AppSidebarItem } from './components/app/app-sideb
|
|
|
151
158
|
export { default as AppToolbar } from './components/app/app-toolbar/AppToolbar.vue';
|
|
152
159
|
export { default as AppActionBar } from './components/app/app-action-bar/AppActionBar.vue';
|
|
153
160
|
export { default as PageHeader } from './components/app/page-header/PageHeader.vue';
|
|
161
|
+
export { default as PageContent } from './components/app/page-content/PageContent.vue';
|
|
154
162
|
export { default as SectionTabs } from './components/app/section-tabs/SectionTabs.vue';
|
|
155
163
|
export type { SectionTab } from './components/app/section-tabs/SectionTabs.vue';
|
|
156
164
|
export { default as ConfigProvider } from './components/composite/config-provider/ConfigProvider.vue';
|
|
@@ -177,3 +185,8 @@ export type { AffixFix, AffixPlacement } from './components/primitives/affix/aff
|
|
|
177
185
|
export { default as OverflowToolbar } from './components/composite/overflow-toolbar/OverflowToolbar.vue';
|
|
178
186
|
export { computeOverflowFit, ITEM_GAP } from './components/composite/overflow-toolbar/overflow';
|
|
179
187
|
export type { OverflowToolbarItem, OverflowToolbarMenuEntry, OverflowToolbarMoreMenu, OverflowToolbarMoreState, OverflowToolbarMoreText, } from './components/composite/overflow-toolbar/types';
|
|
188
|
+
export type { UiLocale } from './i18n/locale';
|
|
189
|
+
export { filePickerText } from './i18n/filePicker';
|
|
190
|
+
export type { FilePickerText } from './i18n/filePicker';
|
|
191
|
+
export { default as Link } from './components/primitives/link/Link.vue';
|
|
192
|
+
export { default as KeyValueRow } from './components/composite/key-value-row/KeyValueRow.vue';
|