@sdata/web-vue 2.3.1 → 2.8.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/README.md +1 -1
- package/dist/sd.css +133 -187
- package/dist/sd.min.css +1 -1
- package/es/_hooks/use-responsive.d.ts +2 -2
- package/es/_hooks/use-theme-mode.d.ts +3 -0
- package/es/{calendar/hooks/use-calendar-theme.js → _hooks/use-theme-mode.js} +14 -10
- package/es/_utils/responsive-observe.d.ts +5 -4
- package/es/_utils/responsive-observe.js +2 -1
- package/es/alert/index.d.ts +3 -3
- package/es/anchor/index.d.ts +3 -3
- package/es/avatar/index.d.ts +20 -20
- package/es/border-beam/border-beam.js +5 -0
- package/es/border-beam/border-beam.vue.d.ts +52 -0
- package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +623 -0
- package/es/border-beam/index.d.ts +106 -0
- package/es/border-beam/index.js +10 -0
- package/es/border-beam/pulseDriver.d.ts +2 -0
- package/es/border-beam/pulseDriver.js +74 -0
- package/es/border-beam/style/css.js +2 -0
- package/es/border-beam/style/index.css +21 -0
- package/es/border-beam/style/index.d.ts +2 -0
- package/es/border-beam/style/index.js +2 -0
- package/es/border-beam/style/index.scss +12 -0
- package/es/border-beam/style/token.scss +12 -0
- package/es/border-beam/styles.d.ts +42 -0
- package/es/border-beam/styles.js +3545 -0
- package/es/border-beam/types.d.ts +27 -0
- package/es/button/index.d.ts +24 -24
- package/es/calendar/components/index.vue.d.ts +1 -1
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/calendar/index.d.ts +5 -5
- package/es/carousel/index.d.ts +3 -3
- package/es/checkbox/checkbox.d.ts +3 -3
- package/es/collapse/collapse-item.d.ts +5 -5
- package/es/collapse/index.d.ts +3 -3
- package/es/components.d.ts +1 -0
- package/es/config-provider/index.d.ts +21 -21
- package/es/date-picker/index.d.ts +14 -14
- package/es/date-picker/picker.vue.d.ts +2 -2
- package/es/date-picker/range-picker.vue.d.ts +2 -2
- package/es/descriptions/index.d.ts +24 -24
- package/es/drawer/index.d.ts +16 -15
- package/es/dropdown/index.d.ts +15 -15
- package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/form/index.d.ts +3 -3
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +10 -10
- package/es/icon/icon-menu/icon-menu.js +5 -0
- package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-menu/index.js +9 -0
- package/es/index.css +133 -187
- package/es/index.d.ts +4 -2
- package/es/index.js +3 -2
- package/es/index.scss +1 -0
- package/es/input/index.d.ts +7 -7
- package/es/json-form/index.d.ts +9 -9
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/json-form.vue.d.ts +3 -3
- package/es/layout/content.vue.d.ts +2 -2
- package/es/layout/content.vue_vue_type_script_setup_true_lang.js +8 -3
- package/es/layout/context.d.ts +12 -9
- package/es/layout/context.js +11 -3
- package/es/layout/footer.vue.d.ts +2 -2
- package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +8 -3
- package/es/layout/header.vue.d.ts +3 -30
- package/es/layout/header.vue_vue_type_script_setup_true_lang.js +9 -339
- package/es/layout/hooks/use-has-sider.d.ts +2 -0
- package/es/layout/hooks/use-has-sider.js +38 -0
- package/es/layout/index.d.ts +120 -371
- package/es/layout/index.js +2 -2
- package/es/layout/interface.d.ts +16 -46
- package/es/layout/layout.vue.d.ts +4 -2
- package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +38 -14
- package/es/layout/sider.vue.d.ts +68 -178
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +243 -363
- package/es/layout/style/index.css +128 -186
- package/es/layout/style/index.scss +146 -234
- package/es/layout/style/token.scss +46 -26
- package/es/link/index.d.ts +6 -6
- package/es/list/index.d.ts +18 -18
- package/es/menu/base-menu.vue.d.ts +1 -1
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +14 -14
- package/es/menu/item.d.ts +1 -1
- package/es/menu/menu.d.ts +12 -12
- package/es/menu/menu.js +3 -3
- package/es/modal/index.d.ts +15 -15
- package/es/popconfirm/index.d.ts +12 -12
- package/es/popover/index.d.ts +12 -12
- package/es/progress/index.d.ts +6 -6
- package/es/qr-code/index.d.ts +3 -3
- package/es/radio/radio.d.ts +3 -3
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +7 -7
- package/es/result/index.d.ts +3 -3
- package/es/scrollbar/style/index.css +1 -1
- package/es/scrollbar/style/index.scss +4 -1
- package/es/sd-vue.js +3 -1
- package/es/select/select.d.ts +17 -17
- package/es/slider/index.d.ts +3 -3
- package/es/split/split.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/steps/index.d.ts +6 -6
- package/es/tabs/index.d.ts +6 -6
- package/es/tag/index.d.ts +6 -6
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/theme-provider/index.d.ts +9 -9
- package/es/time-picker/index.d.ts +6 -6
- package/es/timeline/index.d.ts +3 -3
- package/es/timeline/timeline.d.ts +1 -1
- package/es/tooltip/index.d.ts +3 -3
- package/es/tour/index.d.ts +3 -3
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/tree/node-switcher.vue.d.ts +1 -1
- package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +23 -23
- package/json/vetur-attributes.json +27 -153
- package/json/vetur-tags.json +13 -43
- package/json/web-types.json +43 -293
- package/package.json +10 -10
- package/es/calendar/hooks/use-calendar-theme.d.ts +0 -4
- package/es/layout/utils.d.ts +0 -1
- package/es/layout/utils.js +0 -11
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type BorderBeamSize = 'sm' | 'md' | 'line' | 'pulse-outside' | 'pulse-inner';
|
|
2
|
+
export type BorderBeamTheme = 'dark' | 'light' | 'auto';
|
|
3
|
+
export type BorderBeamColorVariant = 'colorful' | 'mono' | 'ocean' | 'sunset';
|
|
4
|
+
export type BorderBeamFlowPreset = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
|
|
5
|
+
export interface BorderBeamFlowPoint {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
}
|
|
9
|
+
export type BorderBeamFlowCoordinate = BorderBeamFlowPreset | BorderBeamFlowPoint;
|
|
10
|
+
export interface BorderBeamExposed {
|
|
11
|
+
flowFrom: (coordinate?: BorderBeamFlowCoordinate) => void;
|
|
12
|
+
}
|
|
13
|
+
export interface SizeConfig {
|
|
14
|
+
borderRadius: number;
|
|
15
|
+
borderWidth: number;
|
|
16
|
+
width?: number;
|
|
17
|
+
height?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface ThemeColors {
|
|
20
|
+
strokeOpacity: number;
|
|
21
|
+
innerOpacity: number;
|
|
22
|
+
bloomOpacity: number;
|
|
23
|
+
innerShadow: string;
|
|
24
|
+
saturation: number;
|
|
25
|
+
brightness?: number;
|
|
26
|
+
hairlineOpacity?: number;
|
|
27
|
+
}
|
package/es/button/index.d.ts
CHANGED
|
@@ -5,16 +5,16 @@ import _Button from './button.vue';
|
|
|
5
5
|
declare const Button: {
|
|
6
6
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
type: {
|
|
8
|
-
type: import("vue").PropType<import("./constants").ButtonTypes>;
|
|
8
|
+
type: import("vue").PropType<import("./constants.ts").ButtonTypes>;
|
|
9
9
|
};
|
|
10
10
|
shape: {
|
|
11
|
-
type: import("vue").PropType<import("../_utils/constant").BorderShape>;
|
|
11
|
+
type: import("vue").PropType<import("../_utils/constant.ts").BorderShape>;
|
|
12
12
|
};
|
|
13
13
|
status: {
|
|
14
|
-
type: import("vue").PropType<import("
|
|
14
|
+
type: import("vue").PropType<import("../index.ts").Status>;
|
|
15
15
|
};
|
|
16
16
|
size: {
|
|
17
|
-
type: import("vue").PropType<import("
|
|
17
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
18
18
|
};
|
|
19
19
|
long: {
|
|
20
20
|
type: BooleanConstructor;
|
|
@@ -60,16 +60,16 @@ declare const Button: {
|
|
|
60
60
|
Defaults: {};
|
|
61
61
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
62
62
|
type: {
|
|
63
|
-
type: import("vue").PropType<import("./constants").ButtonTypes>;
|
|
63
|
+
type: import("vue").PropType<import("./constants.ts").ButtonTypes>;
|
|
64
64
|
};
|
|
65
65
|
shape: {
|
|
66
|
-
type: import("vue").PropType<import("../_utils/constant").BorderShape>;
|
|
66
|
+
type: import("vue").PropType<import("../_utils/constant.ts").BorderShape>;
|
|
67
67
|
};
|
|
68
68
|
status: {
|
|
69
|
-
type: import("vue").PropType<import("
|
|
69
|
+
type: import("vue").PropType<import("../index.ts").Status>;
|
|
70
70
|
};
|
|
71
71
|
size: {
|
|
72
|
-
type: import("vue").PropType<import("
|
|
72
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
73
73
|
};
|
|
74
74
|
long: {
|
|
75
75
|
type: BooleanConstructor;
|
|
@@ -110,16 +110,16 @@ declare const Button: {
|
|
|
110
110
|
__isSuspense?: never;
|
|
111
111
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
112
112
|
type: {
|
|
113
|
-
type: import("vue").PropType<import("./constants").ButtonTypes>;
|
|
113
|
+
type: import("vue").PropType<import("./constants.ts").ButtonTypes>;
|
|
114
114
|
};
|
|
115
115
|
shape: {
|
|
116
|
-
type: import("vue").PropType<import("../_utils/constant").BorderShape>;
|
|
116
|
+
type: import("vue").PropType<import("../_utils/constant.ts").BorderShape>;
|
|
117
117
|
};
|
|
118
118
|
status: {
|
|
119
|
-
type: import("vue").PropType<import("
|
|
119
|
+
type: import("vue").PropType<import("../index.ts").Status>;
|
|
120
120
|
};
|
|
121
121
|
size: {
|
|
122
|
-
type: import("vue").PropType<import("
|
|
122
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
123
123
|
};
|
|
124
124
|
long: {
|
|
125
125
|
type: BooleanConstructor;
|
|
@@ -174,16 +174,16 @@ declare const Button: {
|
|
|
174
174
|
Group: {
|
|
175
175
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
176
176
|
type: {
|
|
177
|
-
type: import("vue").PropType<import("./constants").ButtonTypes>;
|
|
177
|
+
type: import("vue").PropType<import("./constants.ts").ButtonTypes>;
|
|
178
178
|
};
|
|
179
179
|
status: {
|
|
180
|
-
type: import("vue").PropType<import("
|
|
180
|
+
type: import("vue").PropType<import("../index.ts").Status>;
|
|
181
181
|
};
|
|
182
182
|
shape: {
|
|
183
|
-
type: import("vue").PropType<import("../_utils/constant").BorderShape>;
|
|
183
|
+
type: import("vue").PropType<import("../_utils/constant.ts").BorderShape>;
|
|
184
184
|
};
|
|
185
185
|
size: {
|
|
186
|
-
type: import("vue").PropType<import("
|
|
186
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
187
187
|
};
|
|
188
188
|
disabled: {
|
|
189
189
|
type: BooleanConstructor;
|
|
@@ -199,16 +199,16 @@ declare const Button: {
|
|
|
199
199
|
Defaults: {};
|
|
200
200
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
201
201
|
type: {
|
|
202
|
-
type: import("vue").PropType<import("./constants").ButtonTypes>;
|
|
202
|
+
type: import("vue").PropType<import("./constants.ts").ButtonTypes>;
|
|
203
203
|
};
|
|
204
204
|
status: {
|
|
205
|
-
type: import("vue").PropType<import("
|
|
205
|
+
type: import("vue").PropType<import("../index.ts").Status>;
|
|
206
206
|
};
|
|
207
207
|
shape: {
|
|
208
|
-
type: import("vue").PropType<import("../_utils/constant").BorderShape>;
|
|
208
|
+
type: import("vue").PropType<import("../_utils/constant.ts").BorderShape>;
|
|
209
209
|
};
|
|
210
210
|
size: {
|
|
211
|
-
type: import("vue").PropType<import("
|
|
211
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
212
212
|
};
|
|
213
213
|
disabled: {
|
|
214
214
|
type: BooleanConstructor;
|
|
@@ -221,16 +221,16 @@ declare const Button: {
|
|
|
221
221
|
__isSuspense?: never;
|
|
222
222
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
223
223
|
type: {
|
|
224
|
-
type: import("vue").PropType<import("./constants").ButtonTypes>;
|
|
224
|
+
type: import("vue").PropType<import("./constants.ts").ButtonTypes>;
|
|
225
225
|
};
|
|
226
226
|
status: {
|
|
227
|
-
type: import("vue").PropType<import("
|
|
227
|
+
type: import("vue").PropType<import("../index.ts").Status>;
|
|
228
228
|
};
|
|
229
229
|
shape: {
|
|
230
|
-
type: import("vue").PropType<import("../_utils/constant").BorderShape>;
|
|
230
|
+
type: import("vue").PropType<import("../_utils/constant.ts").BorderShape>;
|
|
231
231
|
};
|
|
232
232
|
size: {
|
|
233
|
-
type: import("vue").PropType<import("
|
|
233
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
234
234
|
};
|
|
235
235
|
disabled: {
|
|
236
236
|
type: BooleanConstructor;
|
|
@@ -570,6 +570,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
570
570
|
sm: boolean;
|
|
571
571
|
xs: boolean;
|
|
572
572
|
datePicker: boolean;
|
|
573
|
+
theme: string | boolean;
|
|
573
574
|
editableEvents: boolean | Record<string, any>;
|
|
574
575
|
timeFrom: number;
|
|
575
576
|
timeTo: number;
|
|
@@ -596,7 +597,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
596
597
|
multidayEvents: boolean;
|
|
597
598
|
snapToInterval: number;
|
|
598
599
|
startWeekOnSunday: boolean;
|
|
599
|
-
theme: string | boolean;
|
|
600
600
|
timeFormat: string;
|
|
601
601
|
titleBar: boolean;
|
|
602
602
|
todayButton: boolean;
|
|
@@ -2,10 +2,10 @@ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.133.0/hel
|
|
|
2
2
|
import { getPrefixCls } from "../../_utils/global-config.js";
|
|
3
3
|
import { _asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
4
4
|
import Scrollbar from "../../scrollbar/index.js";
|
|
5
|
+
import { useThemeMode } from "../../_hooks/use-theme-mode.js";
|
|
5
6
|
import { calendarElInjectionKey, calendarInjectionKey } from "../context.js";
|
|
6
7
|
import { useCalendar } from "../core/index.js";
|
|
7
8
|
import { props } from "../core/props-definitions.js";
|
|
8
|
-
import { useCalendarTheme } from "../hooks/use-calendar-theme.js";
|
|
9
9
|
import body_default from "./body.js";
|
|
10
10
|
import header_default from "./header.js";
|
|
11
11
|
import headings_bar_default from "./headings-bar.js";
|
|
@@ -45,7 +45,8 @@ var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
45
45
|
prefixCls
|
|
46
46
|
});
|
|
47
47
|
const { config, view, dateUtils, touch: touchState } = calendar;
|
|
48
|
-
const
|
|
48
|
+
const themeMode = useThemeMode(calendarEl);
|
|
49
|
+
const isDark = computed(() => themeMode.value === "dark");
|
|
49
50
|
const syncCalendarPrefixedClasses = (rootEl) => {
|
|
50
51
|
if (!rootEl) return;
|
|
51
52
|
const matchCalendarPrefix = (cls) => {
|
package/es/calendar/index.d.ts
CHANGED
|
@@ -213,6 +213,7 @@ declare const Calendar: {
|
|
|
213
213
|
sm: boolean;
|
|
214
214
|
xs: boolean;
|
|
215
215
|
datePicker: boolean;
|
|
216
|
+
theme: string | boolean;
|
|
216
217
|
editableEvents: boolean | Record<string, any>;
|
|
217
218
|
timeFrom: number;
|
|
218
219
|
timeTo: number;
|
|
@@ -239,7 +240,6 @@ declare const Calendar: {
|
|
|
239
240
|
multidayEvents: boolean;
|
|
240
241
|
snapToInterval: number;
|
|
241
242
|
startWeekOnSunday: boolean;
|
|
242
|
-
theme: string | boolean;
|
|
243
243
|
timeFormat: string;
|
|
244
244
|
titleBar: boolean;
|
|
245
245
|
todayButton: boolean;
|
|
@@ -454,6 +454,7 @@ declare const Calendar: {
|
|
|
454
454
|
sm: boolean;
|
|
455
455
|
xs: boolean;
|
|
456
456
|
datePicker: boolean;
|
|
457
|
+
theme: string | boolean;
|
|
457
458
|
editableEvents: boolean | Record<string, any>;
|
|
458
459
|
timeFrom: number;
|
|
459
460
|
timeTo: number;
|
|
@@ -480,7 +481,6 @@ declare const Calendar: {
|
|
|
480
481
|
multidayEvents: boolean;
|
|
481
482
|
snapToInterval: number;
|
|
482
483
|
startWeekOnSunday: boolean;
|
|
483
|
-
theme: string | boolean;
|
|
484
484
|
timeFormat: string;
|
|
485
485
|
titleBar: boolean;
|
|
486
486
|
todayButton: boolean;
|
|
@@ -704,6 +704,7 @@ declare const Calendar: {
|
|
|
704
704
|
sm: boolean;
|
|
705
705
|
xs: boolean;
|
|
706
706
|
datePicker: boolean;
|
|
707
|
+
theme: string | boolean;
|
|
707
708
|
editableEvents: boolean | Record<string, any>;
|
|
708
709
|
timeFrom: number;
|
|
709
710
|
timeTo: number;
|
|
@@ -730,7 +731,6 @@ declare const Calendar: {
|
|
|
730
731
|
multidayEvents: boolean;
|
|
731
732
|
snapToInterval: number;
|
|
732
733
|
startWeekOnSunday: boolean;
|
|
733
|
-
theme: string | boolean;
|
|
734
734
|
timeFormat: string;
|
|
735
735
|
titleBar: boolean;
|
|
736
736
|
todayButton: boolean;
|
|
@@ -746,13 +746,13 @@ declare const Calendar: {
|
|
|
746
746
|
}) => any) | undefined;
|
|
747
747
|
} & {
|
|
748
748
|
diy?: (props: {
|
|
749
|
-
calendar: import("./context").CalendarState;
|
|
749
|
+
calendar: import("./context.ts").CalendarState;
|
|
750
750
|
}) => any;
|
|
751
751
|
} & {
|
|
752
752
|
header?: (props: {
|
|
753
753
|
view: Record<string, any>;
|
|
754
754
|
availableViews: any;
|
|
755
|
-
calendar: import("./context").CalendarState;
|
|
755
|
+
calendar: import("./context.ts").CalendarState;
|
|
756
756
|
}) => any;
|
|
757
757
|
} & {
|
|
758
758
|
'previous-button'?: (props: {}) => any;
|
package/es/carousel/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ declare const Carousel: {
|
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
direction: {
|
|
32
|
-
type: import("vue").PropType<import("
|
|
32
|
+
type: import("vue").PropType<import("../index.ts").Direction>;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
35
|
showArrow: {
|
|
@@ -107,7 +107,7 @@ declare const Carousel: {
|
|
|
107
107
|
default: string;
|
|
108
108
|
};
|
|
109
109
|
direction: {
|
|
110
|
-
type: import("vue").PropType<import("
|
|
110
|
+
type: import("vue").PropType<import("../index.ts").Direction>;
|
|
111
111
|
default: string;
|
|
112
112
|
};
|
|
113
113
|
showArrow: {
|
|
@@ -179,7 +179,7 @@ declare const Carousel: {
|
|
|
179
179
|
default: string;
|
|
180
180
|
};
|
|
181
181
|
direction: {
|
|
182
|
-
type: import("vue").PropType<import("
|
|
182
|
+
type: import("vue").PropType<import("../index.ts").Direction>;
|
|
183
183
|
default: string;
|
|
184
184
|
};
|
|
185
185
|
showArrow: {
|
|
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
67
|
type: StringConstructor;
|
|
68
68
|
};
|
|
69
69
|
size: {
|
|
70
|
-
type: PropType<import("../index.
|
|
70
|
+
type: PropType<import("../index.ts").Size>;
|
|
71
71
|
default: string;
|
|
72
72
|
};
|
|
73
73
|
disabled: {
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
93
93
|
type: StringConstructor;
|
|
94
94
|
};
|
|
95
95
|
size: {
|
|
96
|
-
type: PropType<import("../index.
|
|
96
|
+
type: PropType<import("../index.ts").Size>;
|
|
97
97
|
default: string;
|
|
98
98
|
};
|
|
99
99
|
disabled: {
|
|
@@ -114,7 +114,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
114
114
|
type: StringConstructor;
|
|
115
115
|
};
|
|
116
116
|
size: {
|
|
117
|
-
type: PropType<import("../index.
|
|
117
|
+
type: PropType<import("../index.ts").Size>;
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
120
|
disabled: {
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
37
37
|
type: StringConstructor;
|
|
38
38
|
};
|
|
39
39
|
size: {
|
|
40
|
-
type: import("vue").PropType<import("../index.
|
|
40
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
43
43
|
disabled: {
|
|
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
63
|
type: StringConstructor;
|
|
64
64
|
};
|
|
65
65
|
size: {
|
|
66
|
-
type: import("vue").PropType<import("../index.
|
|
66
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
69
|
disabled: {
|
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
84
|
type: StringConstructor;
|
|
85
85
|
};
|
|
86
86
|
size: {
|
|
87
|
-
type: import("vue").PropType<import("../index.
|
|
87
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
88
88
|
default: string;
|
|
89
89
|
};
|
|
90
90
|
disabled: {
|
|
@@ -126,7 +126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
126
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
127
|
click: (_ev: MouseEvent) => any;
|
|
128
128
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
129
|
-
install: (app: import("vue").App, options?: import("../_utils/types.
|
|
129
|
+
install: (app: import("vue").App, options?: import("../_utils/types.ts").SDIconOptions) => void;
|
|
130
130
|
};
|
|
131
131
|
IconCaretLeft: {
|
|
132
132
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../icon/icon-caret-left/icon-caret-left.vue").Props> & Readonly<{
|
|
@@ -151,7 +151,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
151
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
152
152
|
click: (_ev: MouseEvent) => any;
|
|
153
153
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
154
|
-
install: (app: import("vue").App, options?: import("../_utils/types.
|
|
154
|
+
install: (app: import("vue").App, options?: import("../_utils/types.ts").SDIconOptions) => void;
|
|
155
155
|
};
|
|
156
156
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
157
157
|
export default _default;
|
package/es/collapse/index.d.ts
CHANGED
|
@@ -184,7 +184,7 @@ declare const Collapse: {
|
|
|
184
184
|
type: StringConstructor;
|
|
185
185
|
};
|
|
186
186
|
size: {
|
|
187
|
-
type: import("vue").PropType<import("
|
|
187
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
188
188
|
default: string;
|
|
189
189
|
};
|
|
190
190
|
disabled: {
|
|
@@ -210,7 +210,7 @@ declare const Collapse: {
|
|
|
210
210
|
type: StringConstructor;
|
|
211
211
|
};
|
|
212
212
|
size: {
|
|
213
|
-
type: import("vue").PropType<import("
|
|
213
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
214
214
|
default: string;
|
|
215
215
|
};
|
|
216
216
|
disabled: {
|
|
@@ -231,7 +231,7 @@ declare const Collapse: {
|
|
|
231
231
|
type: StringConstructor;
|
|
232
232
|
};
|
|
233
233
|
size: {
|
|
234
|
-
type: import("vue").PropType<import("
|
|
234
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
235
235
|
default: string;
|
|
236
236
|
};
|
|
237
237
|
disabled: {
|
package/es/components.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ declare module 'vue' {
|
|
|
13
13
|
SdAvatar: SDVue['Avatar'];
|
|
14
14
|
SdAvatarGroup: SDVue['AvatarGroup'];
|
|
15
15
|
SdBackTop: SDVue['BackTop'];
|
|
16
|
+
SdBorderBeam: SDVue['BorderBeam'];
|
|
16
17
|
SdBadge: SDVue['Badge'];
|
|
17
18
|
SdBreadcrumb: SDVue['Breadcrumb'];
|
|
18
19
|
SdBreadcrumbItem: SDVue['BreadcrumbItem'];
|
|
@@ -8,10 +8,10 @@ declare const ConfigProvider: {
|
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
locale: {
|
|
11
|
-
type: import("vue").PropType<import("../locale/interface").SDLang>;
|
|
11
|
+
type: import("vue").PropType<import("../locale/interface.ts").SDLang>;
|
|
12
12
|
};
|
|
13
13
|
size: {
|
|
14
|
-
type: import("vue").PropType<import("
|
|
14
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
15
15
|
};
|
|
16
16
|
allowClear: {
|
|
17
17
|
type: BooleanConstructor;
|
|
@@ -26,7 +26,7 @@ declare const ConfigProvider: {
|
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
28
|
virtualListProps: {
|
|
29
|
-
type: import("vue").PropType<import("../_components/virtual-list/interface").VirtualListProps>;
|
|
29
|
+
type: import("vue").PropType<import("../_components/virtual-list/interface.ts").VirtualListProps>;
|
|
30
30
|
};
|
|
31
31
|
global: {
|
|
32
32
|
type: BooleanConstructor;
|
|
@@ -49,16 +49,16 @@ declare const ConfigProvider: {
|
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
51
|
datePicker: {
|
|
52
|
-
type: import("vue").PropType<import("./context").ConfigProviderDatePicker>;
|
|
52
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderDatePicker>;
|
|
53
53
|
};
|
|
54
54
|
modal: {
|
|
55
|
-
type: import("vue").PropType<import("./context").ConfigProviderModal>;
|
|
55
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderModal>;
|
|
56
56
|
};
|
|
57
57
|
drawer: {
|
|
58
|
-
type: import("vue").PropType<import("./context").ConfigProviderDrawer>;
|
|
58
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderDrawer>;
|
|
59
59
|
};
|
|
60
60
|
jsonForm: {
|
|
61
|
-
type: import("vue").PropType<import("./context").JsonFormProviderConfig>;
|
|
61
|
+
type: import("vue").PropType<import("./context.ts").JsonFormProviderConfig>;
|
|
62
62
|
};
|
|
63
63
|
theme: {
|
|
64
64
|
type: import("vue").PropType<import("./theme").SDThemeConfig>;
|
|
@@ -89,10 +89,10 @@ declare const ConfigProvider: {
|
|
|
89
89
|
default: string;
|
|
90
90
|
};
|
|
91
91
|
locale: {
|
|
92
|
-
type: import("vue").PropType<import("../locale/interface").SDLang>;
|
|
92
|
+
type: import("vue").PropType<import("../locale/interface.ts").SDLang>;
|
|
93
93
|
};
|
|
94
94
|
size: {
|
|
95
|
-
type: import("vue").PropType<import("
|
|
95
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
96
96
|
};
|
|
97
97
|
allowClear: {
|
|
98
98
|
type: BooleanConstructor;
|
|
@@ -107,7 +107,7 @@ declare const ConfigProvider: {
|
|
|
107
107
|
default: boolean;
|
|
108
108
|
};
|
|
109
109
|
virtualListProps: {
|
|
110
|
-
type: import("vue").PropType<import("../_components/virtual-list/interface").VirtualListProps>;
|
|
110
|
+
type: import("vue").PropType<import("../_components/virtual-list/interface.ts").VirtualListProps>;
|
|
111
111
|
};
|
|
112
112
|
global: {
|
|
113
113
|
type: BooleanConstructor;
|
|
@@ -130,16 +130,16 @@ declare const ConfigProvider: {
|
|
|
130
130
|
default: boolean;
|
|
131
131
|
};
|
|
132
132
|
datePicker: {
|
|
133
|
-
type: import("vue").PropType<import("./context").ConfigProviderDatePicker>;
|
|
133
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderDatePicker>;
|
|
134
134
|
};
|
|
135
135
|
modal: {
|
|
136
|
-
type: import("vue").PropType<import("./context").ConfigProviderModal>;
|
|
136
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderModal>;
|
|
137
137
|
};
|
|
138
138
|
drawer: {
|
|
139
|
-
type: import("vue").PropType<import("./context").ConfigProviderDrawer>;
|
|
139
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderDrawer>;
|
|
140
140
|
};
|
|
141
141
|
jsonForm: {
|
|
142
|
-
type: import("vue").PropType<import("./context").JsonFormProviderConfig>;
|
|
142
|
+
type: import("vue").PropType<import("./context.ts").JsonFormProviderConfig>;
|
|
143
143
|
};
|
|
144
144
|
theme: {
|
|
145
145
|
type: import("vue").PropType<import("./theme").SDThemeConfig>;
|
|
@@ -167,10 +167,10 @@ declare const ConfigProvider: {
|
|
|
167
167
|
default: string;
|
|
168
168
|
};
|
|
169
169
|
locale: {
|
|
170
|
-
type: import("vue").PropType<import("../locale/interface").SDLang>;
|
|
170
|
+
type: import("vue").PropType<import("../locale/interface.ts").SDLang>;
|
|
171
171
|
};
|
|
172
172
|
size: {
|
|
173
|
-
type: import("vue").PropType<import("
|
|
173
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
174
174
|
};
|
|
175
175
|
allowClear: {
|
|
176
176
|
type: BooleanConstructor;
|
|
@@ -185,7 +185,7 @@ declare const ConfigProvider: {
|
|
|
185
185
|
default: boolean;
|
|
186
186
|
};
|
|
187
187
|
virtualListProps: {
|
|
188
|
-
type: import("vue").PropType<import("../_components/virtual-list/interface").VirtualListProps>;
|
|
188
|
+
type: import("vue").PropType<import("../_components/virtual-list/interface.ts").VirtualListProps>;
|
|
189
189
|
};
|
|
190
190
|
global: {
|
|
191
191
|
type: BooleanConstructor;
|
|
@@ -208,16 +208,16 @@ declare const ConfigProvider: {
|
|
|
208
208
|
default: boolean;
|
|
209
209
|
};
|
|
210
210
|
datePicker: {
|
|
211
|
-
type: import("vue").PropType<import("./context").ConfigProviderDatePicker>;
|
|
211
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderDatePicker>;
|
|
212
212
|
};
|
|
213
213
|
modal: {
|
|
214
|
-
type: import("vue").PropType<import("./context").ConfigProviderModal>;
|
|
214
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderModal>;
|
|
215
215
|
};
|
|
216
216
|
drawer: {
|
|
217
|
-
type: import("vue").PropType<import("./context").ConfigProviderDrawer>;
|
|
217
|
+
type: import("vue").PropType<import("./context.ts").ConfigProviderDrawer>;
|
|
218
218
|
};
|
|
219
219
|
jsonForm: {
|
|
220
|
-
type: import("vue").PropType<import("./context").JsonFormProviderConfig>;
|
|
220
|
+
type: import("vue").PropType<import("./context.ts").JsonFormProviderConfig>;
|
|
221
221
|
};
|
|
222
222
|
theme: {
|
|
223
223
|
type: import("vue").PropType<import("./theme").SDThemeConfig>;
|
|
@@ -33,7 +33,7 @@ declare const DatePicker: {
|
|
|
33
33
|
type: BooleanConstructor;
|
|
34
34
|
};
|
|
35
35
|
timePickerProps: {
|
|
36
|
-
type: import("vue").PropType<Partial<import("../time-picker/interface").TimePickerProps>>;
|
|
36
|
+
type: import("vue").PropType<Partial<import("../time-picker/interface.ts").TimePickerProps>>;
|
|
37
37
|
};
|
|
38
38
|
disabled: {
|
|
39
39
|
type: BooleanConstructor;
|
|
@@ -78,7 +78,7 @@ declare const DatePicker: {
|
|
|
78
78
|
type: BooleanConstructor;
|
|
79
79
|
};
|
|
80
80
|
timePickerProps: {
|
|
81
|
-
type: import("vue").PropType<Partial<import("../time-picker/interface").TimePickerProps>>;
|
|
81
|
+
type: import("vue").PropType<Partial<import("../time-picker/interface.ts").TimePickerProps>>;
|
|
82
82
|
};
|
|
83
83
|
disabled: {
|
|
84
84
|
type: BooleanConstructor;
|
|
@@ -120,7 +120,7 @@ declare const DatePicker: {
|
|
|
120
120
|
type: BooleanConstructor;
|
|
121
121
|
};
|
|
122
122
|
timePickerProps: {
|
|
123
|
-
type: import("vue").PropType<Partial<import("../time-picker/interface").TimePickerProps>>;
|
|
123
|
+
type: import("vue").PropType<Partial<import("../time-picker/interface.ts").TimePickerProps>>;
|
|
124
124
|
};
|
|
125
125
|
disabled: {
|
|
126
126
|
type: BooleanConstructor;
|
|
@@ -304,7 +304,7 @@ declare const DatePicker: {
|
|
|
304
304
|
type: BooleanConstructor;
|
|
305
305
|
};
|
|
306
306
|
timePickerProps: {
|
|
307
|
-
type: import("vue").PropType<Partial<import("../time-picker/interface").TimePickerProps>>;
|
|
307
|
+
type: import("vue").PropType<Partial<import("../time-picker/interface.ts").TimePickerProps>>;
|
|
308
308
|
};
|
|
309
309
|
inputProps: {
|
|
310
310
|
type: import("vue").PropType<Record<string, any>[]>;
|
|
@@ -354,7 +354,7 @@ declare const DatePicker: {
|
|
|
354
354
|
type: BooleanConstructor;
|
|
355
355
|
};
|
|
356
356
|
size: {
|
|
357
|
-
type: import("vue").PropType<import("
|
|
357
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
358
358
|
};
|
|
359
359
|
shortcuts: {
|
|
360
360
|
type: import("vue").PropType<import("./interface").ShortcutType[]>;
|
|
@@ -376,7 +376,7 @@ declare const DatePicker: {
|
|
|
376
376
|
type: BooleanConstructor;
|
|
377
377
|
};
|
|
378
378
|
triggerProps: {
|
|
379
|
-
type: import("vue").PropType<import("
|
|
379
|
+
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
380
380
|
};
|
|
381
381
|
unmountOnClose: {
|
|
382
382
|
type: BooleanConstructor;
|
|
@@ -493,7 +493,7 @@ declare const DatePicker: {
|
|
|
493
493
|
type: BooleanConstructor;
|
|
494
494
|
};
|
|
495
495
|
timePickerProps: {
|
|
496
|
-
type: import("vue").PropType<Partial<import("../time-picker/interface").TimePickerProps>>;
|
|
496
|
+
type: import("vue").PropType<Partial<import("../time-picker/interface.ts").TimePickerProps>>;
|
|
497
497
|
};
|
|
498
498
|
inputProps: {
|
|
499
499
|
type: import("vue").PropType<Record<string, any>[]>;
|
|
@@ -543,7 +543,7 @@ declare const DatePicker: {
|
|
|
543
543
|
type: BooleanConstructor;
|
|
544
544
|
};
|
|
545
545
|
size: {
|
|
546
|
-
type: import("vue").PropType<import("
|
|
546
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
547
547
|
};
|
|
548
548
|
shortcuts: {
|
|
549
549
|
type: import("vue").PropType<import("./interface").ShortcutType[]>;
|
|
@@ -565,7 +565,7 @@ declare const DatePicker: {
|
|
|
565
565
|
type: BooleanConstructor;
|
|
566
566
|
};
|
|
567
567
|
triggerProps: {
|
|
568
|
-
type: import("vue").PropType<import("
|
|
568
|
+
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
569
569
|
};
|
|
570
570
|
unmountOnClose: {
|
|
571
571
|
type: BooleanConstructor;
|
|
@@ -668,7 +668,7 @@ declare const DatePicker: {
|
|
|
668
668
|
type: BooleanConstructor;
|
|
669
669
|
};
|
|
670
670
|
timePickerProps: {
|
|
671
|
-
type: import("vue").PropType<Partial<import("../time-picker/interface").TimePickerProps>>;
|
|
671
|
+
type: import("vue").PropType<Partial<import("../time-picker/interface.ts").TimePickerProps>>;
|
|
672
672
|
};
|
|
673
673
|
inputProps: {
|
|
674
674
|
type: import("vue").PropType<Record<string, any>[]>;
|
|
@@ -718,7 +718,7 @@ declare const DatePicker: {
|
|
|
718
718
|
type: BooleanConstructor;
|
|
719
719
|
};
|
|
720
720
|
size: {
|
|
721
|
-
type: import("vue").PropType<import("
|
|
721
|
+
type: import("vue").PropType<import("../index.ts").Size>;
|
|
722
722
|
};
|
|
723
723
|
shortcuts: {
|
|
724
724
|
type: import("vue").PropType<import("./interface").ShortcutType[]>;
|
|
@@ -740,7 +740,7 @@ declare const DatePicker: {
|
|
|
740
740
|
type: BooleanConstructor;
|
|
741
741
|
};
|
|
742
742
|
triggerProps: {
|
|
743
|
-
type: import("vue").PropType<import("
|
|
743
|
+
type: import("vue").PropType<import("../index.ts").TriggerProps>;
|
|
744
744
|
};
|
|
745
745
|
unmountOnClose: {
|
|
746
746
|
type: BooleanConstructor;
|
|
@@ -1296,7 +1296,7 @@ declare const DatePicker: {
|
|
|
1296
1296
|
position?: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | undefined;
|
|
1297
1297
|
disabled?: boolean | undefined;
|
|
1298
1298
|
unmountOnClose?: boolean | undefined;
|
|
1299
|
-
modelValue?: (import("
|
|
1299
|
+
modelValue?: (import("../index.ts").TimeValue | import("../index.ts").TimeValue[]) | undefined;
|
|
1300
1300
|
placeholder?: string | string[] | undefined;
|
|
1301
1301
|
allowClear?: boolean | undefined;
|
|
1302
1302
|
triggerProps?: Record<string, unknown> | undefined;
|
|
@@ -1939,7 +1939,7 @@ declare const DatePicker: {
|
|
|
1939
1939
|
position?: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | undefined;
|
|
1940
1940
|
disabled?: boolean | undefined;
|
|
1941
1941
|
unmountOnClose?: boolean | undefined;
|
|
1942
|
-
modelValue?: (import("
|
|
1942
|
+
modelValue?: (import("../index.ts").TimeValue | import("../index.ts").TimeValue[]) | undefined;
|
|
1943
1943
|
placeholder?: string | string[] | undefined;
|
|
1944
1944
|
allowClear?: boolean | undefined;
|
|
1945
1945
|
triggerProps?: Record<string, unknown> | undefined;
|