yc-design-vue 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/es/Affix/index.vue.js +1 -1
- package/es/Anchor/Anchor.vue.js +2 -2
- package/es/Anchor/AnchorLink.vue.js +2 -2
- package/es/Anchor/hooks/useContext.d.ts +2 -2
- package/es/Anchor/hooks/useContext.js +3 -3
- package/es/AutoComplete/index.d.ts +24 -24
- package/es/AutoComplete/index.vue.d.ts +40 -40
- package/es/Avatar/Avatar.vue.js +3 -3
- package/es/Avatar/AvatarGroup.vue.js +2 -2
- package/es/Avatar/hooks/useContext.d.ts +1 -2
- package/es/Avatar/hooks/useContext.js +3 -3
- package/es/BackTop/index.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/es/Button/Button.vue.js +2 -2
- package/es/Button/ButtonGroup.vue.js +2 -2
- package/es/Button/hooks/useContext.d.ts +1 -2
- package/es/Button/hooks/useContext.js +3 -3
- package/es/Card/Card.vue.js +2 -2
- package/es/Card/CardMeta.vue.js +2 -2
- package/es/Card/hooks/useContext.d.ts +2 -2
- package/es/Card/hooks/useContext.js +3 -3
- package/es/Carousel/Carousel.vue.js +2 -2
- package/es/Carousel/CarouselArrow.vue.js +2 -2
- package/es/Carousel/CarouselIndicator.vue.js +2 -2
- package/es/Carousel/CarouselItem.vue.js +2 -2
- package/es/Carousel/hooks/useContext.d.ts +2 -2
- package/es/Carousel/hooks/useContext.js +3 -3
- package/es/Cascader/Cascader.vue.d.ts +18 -18
- package/es/Cascader/Cascader.vue.js +2 -2
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +2 -2
- package/es/Cascader/CascaderPanel.vue.js +2 -2
- package/es/Cascader/CascaderSearchPanel.vue.js +2 -2
- package/es/Cascader/hooks/useContext.d.ts +2 -2
- package/es/Cascader/hooks/useContext.js +3 -3
- package/es/Cascader/index.d.ts +21 -21
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Checkbox/CheckboxGroup.vue.js +2 -2
- package/es/Checkbox/hooks/useContext.d.ts +2 -2
- package/es/Checkbox/hooks/useContext.js +3 -3
- package/es/Collapse/Collapse.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Collapse/hooks/useContext.d.ts +1 -2
- package/es/Collapse/hooks/useContext.js +3 -3
- package/es/ColorPicker/ColorControl.vue.js +1 -1
- package/es/ColorPicker/ColorPalette.vue.js +1 -1
- package/es/ColorPicker/ColorPanel.vue.js +2 -2
- package/es/ColorPicker/ColorPicker.vue.js +2 -2
- package/es/ColorPicker/hooks/useContext.d.ts +2 -2
- package/es/ColorPicker/hooks/useContext.js +3 -3
- package/es/Comment/hooks/useContext.d.ts +1 -2
- package/es/Comment/hooks/useContext.js +3 -3
- package/es/Comment/index.vue.js +2 -2
- package/es/Descriptions/Descriptions.vue.js +2 -2
- package/es/Descriptions/ReuseItem.vue.js +2 -2
- package/es/Descriptions/ReuseTd.vue.js +2 -2
- package/es/Descriptions/hooks/useContext.d.ts +2 -2
- package/es/Descriptions/hooks/useContext.js +3 -3
- package/es/Dropdown/Doption.vue.js +2 -2
- package/es/Dropdown/Dropdown.vue.d.ts +2 -2
- package/es/Dropdown/Dropdown.vue.js +2 -2
- package/es/Dropdown/DropdownButton.vue.d.ts +2 -2
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Dropdown/hooks/useContext.d.ts +2 -2
- package/es/Dropdown/hooks/useContext.js +3 -3
- package/es/Dropdown/index.d.ts +10 -10
- package/es/Grid/Grid.vue.js +2 -2
- package/es/Grid/GridCol.vue.js +2 -2
- package/es/Grid/GridItem.vue.js +2 -2
- package/es/Grid/GridRow.vue.js +2 -2
- package/es/Grid/hooks/useContext.d.ts +1 -2
- package/es/Grid/hooks/useContext.js +3 -3
- package/es/Image/Image.vue.js +2 -2
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreviewGroup.vue.js +2 -2
- package/es/Image/hooks/useContext.d.ts +2 -2
- package/es/Image/hooks/useContext.js +3 -3
- package/es/Input/Input.vue.d.ts +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/Input/index.d.ts +5 -5
- package/es/InputNumber/InputNumber.vue.d.ts +14 -14
- package/es/InputNumber/index.d.ts +11 -11
- package/es/InputTag/index.d.ts +5 -5
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/InputTag/index.vue.js +1 -1
- package/es/Layout/LayoutSider.vue.js +2 -2
- package/es/Layout/hooks/useSiderContext.d.ts +1 -2
- package/es/Layout/hooks/useSiderContext.js +3 -3
- package/es/List/hooks/useScrollReach.js +1 -0
- package/es/Mention/index.d.ts +30 -30
- package/es/Mention/index.vue.d.ts +52 -52
- package/es/Menu/MenuItem.vue.js +1 -1
- package/es/Menu/hooks/useContext.d.ts +2 -2
- package/es/Menu/hooks/useContext.js +5 -5
- package/es/OverflowList/index.vue.js +2 -2
- package/es/Pagination/Pagination.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +2 -2
- package/es/Pagination/hooks/useContext.d.ts +2 -2
- package/es/Pagination/hooks/useContext.js +3 -3
- package/es/Popconfirm/index.d.ts +5 -5
- package/es/Popconfirm/index.vue.d.ts +2 -2
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Radio/RadioGroup.vue.js +2 -2
- package/es/Radio/hooks/useContext.d.ts +2 -2
- package/es/Radio/hooks/useContext.js +3 -3
- package/es/Scrollbar/Scrollbar.vue.js +2 -2
- package/es/Scrollbar/ScrollbarTrack.vue.js +2 -2
- package/es/Scrollbar/hooks/useContext.d.ts +2 -2
- package/es/Scrollbar/hooks/useContext.js +3 -3
- package/es/Select/Option.vue.js +2 -2
- package/es/Select/Select.vue.d.ts +16 -16
- package/es/Select/Select.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/SelectRealList.vue.js +2 -2
- package/es/Select/SelectView.vue.js +2 -2
- package/es/Select/SelectVirtualList.vue.js +3 -3
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useContext.js +3 -3
- package/es/Select/index.d.ts +16 -16
- package/es/Slider/Slider.vue.js +2 -2
- package/es/Slider/SliderBtn.vue.js +2 -2
- package/es/Slider/SliderInput.vue.js +2 -2
- package/es/Slider/SliderTicks.vue.js +2 -2
- package/es/Slider/hooks/useContext.d.ts +2 -2
- package/es/Slider/hooks/useContext.js +3 -3
- package/es/Spin/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +2 -2
- package/es/Steps/Steps.vue.js +2 -2
- package/es/Steps/hooks/useContext.d.ts +1 -2
- package/es/Steps/hooks/useContext.js +3 -3
- package/es/Switch/index.d.ts +5 -5
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Tabs/TabPane.vue.js +2 -2
- package/es/Tabs/Tabs.vue.js +2 -2
- package/es/Tabs/TabsNavInk.vue.js +2 -2
- package/es/Tabs/TabsTab.vue.js +2 -2
- package/es/Tabs/hooks/useContext.d.ts +2 -2
- package/es/Tabs/hooks/useContext.js +3 -3
- package/es/Textarea/hooks/useTextareaHeight.js +1 -1
- package/es/Textarea/index.d.ts +5 -5
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +4 -4
- package/es/TimePicker/TimePicker.vue.js +2 -2
- package/es/TimePicker/TimePickerPanel.vue.js +2 -2
- package/es/TimePicker/hooks/useContext.d.ts +2 -2
- package/es/TimePicker/hooks/useContext.js +3 -3
- package/es/TimePicker/index.d.ts +10 -10
- package/es/Timeline/Timeline.vue.js +2 -2
- package/es/Timeline/TimelineItem.vue.js +2 -2
- package/es/Timeline/hooks/useContext.d.ts +2 -2
- package/es/Timeline/hooks/useContext.js +3 -3
- package/es/Transfer/Transfer.vue.js +2 -2
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Transfer/hooks/useContext.d.ts +2 -2
- package/es/Transfer/hooks/useContext.js +3 -3
- package/es/Trigger/hooks/useContext.d.ts +2 -3
- package/es/Trigger/hooks/useContext.js +4 -4
- package/es/Trigger/hooks/useTriggerPosition.js +1 -1
- package/es/Trigger/hooks/useTriggerVisible.js +2 -2
- package/es/Typography/TypographyBase.vue.d.ts +12 -12
- package/es/Typography/TypographyBase.vue.js +3 -3
- package/es/Watermark/index.vue.js +1 -1
- package/es/_shared/icons/IconCopy.vue.js +19 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -19
- package/es/_shared/icons/IconEdit.vue.js +19 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -19
- package/es/_shared/icons/IconEyeClose.vue.js +1 -23
- package/es/_shared/icons/IconEyeClose.vue2.js +23 -1
- package/es/_shared/icons/IconEyeOpen.vue.js +1 -20
- package/es/_shared/icons/IconEyeOpen.vue2.js +20 -1
- package/es/_shared/icons/IconSeparator.vue.js +1 -19
- package/es/_shared/icons/IconSeparator.vue2.js +19 -1
- package/es/_shared/utils/is.d.ts +0 -15
- package/es/_shared/utils/vue-utils.d.ts +1 -0
- package/es/index.d.ts +5 -5
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +2 -2
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.d.ts +24 -24
- package/lib/AutoComplete/index.vue.d.ts +40 -40
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/hooks/useContext.d.ts +1 -2
- package/lib/Avatar/hooks/useContext.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/hooks/useContext.d.ts +1 -2
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Card/hooks/useContext.d.ts +2 -2
- package/lib/Card/hooks/useContext.js +1 -1
- package/lib/Carousel/hooks/useContext.d.ts +2 -2
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +18 -18
- package/lib/Cascader/hooks/useContext.d.ts +2 -2
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +21 -21
- package/lib/Checkbox/hooks/useContext.d.ts +2 -2
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/hooks/useContext.d.ts +1 -2
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/hooks/useContext.d.ts +1 -2
- package/lib/Comment/hooks/useContext.js +1 -1
- package/lib/Descriptions/hooks/useContext.d.ts +2 -2
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Dropdown/Dropdown.vue.d.ts +2 -2
- package/lib/Dropdown/DropdownButton.vue.d.ts +2 -2
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.d.ts +2 -2
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +10 -10
- package/lib/Grid/hooks/useContext.d.ts +1 -2
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/hooks/useContext.d.ts +2 -2
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Input/Input.vue.d.ts +2 -2
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/index.d.ts +5 -5
- package/lib/InputNumber/InputNumber.vue.d.ts +14 -14
- package/lib/InputNumber/index.d.ts +11 -11
- package/lib/InputTag/index.d.ts +5 -5
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.d.ts +1 -2
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/Mention/index.d.ts +30 -30
- package/lib/Mention/index.vue.d.ts +52 -52
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +2 -2
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +2 -2
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +5 -5
- package/lib/Popconfirm/index.vue.d.ts +2 -2
- package/lib/Radio/hooks/useContext.d.ts +2 -2
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Scrollbar/hooks/useContext.d.ts +2 -2
- package/lib/Scrollbar/hooks/useContext.js +1 -1
- package/lib/Select/Select.vue.d.ts +16 -16
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/index.d.ts +16 -16
- package/lib/Slider/hooks/useContext.d.ts +2 -2
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +1 -2
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.d.ts +5 -5
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.d.ts +5 -5
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +4 -4
- package/lib/TimePicker/hooks/useContext.d.ts +2 -2
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +10 -10
- package/lib/Timeline/hooks/useContext.d.ts +2 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +2 -2
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.d.ts +2 -3
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +12 -12
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/utils/is.d.ts +0 -15
- package/lib/_shared/utils/vue-utils.d.ts +1 -0
- package/lib/index.d.ts +5 -5
- package/package.json +1 -1
@@ -24,7 +24,7 @@ type TimePickerCell = {
|
|
24
24
|
label: string;
|
25
25
|
value: number;
|
26
26
|
};
|
27
|
-
|
27
|
+
export default function useTimePickerContext(): {
|
28
28
|
provide: (props: RecordType, emits: TimePickerEmits) => {
|
29
29
|
computedValue: import('vue').WritableComputedRef<TimePickerValue, TimePickerValue>;
|
30
30
|
computedVisible: import('vue').WritableComputedRef<boolean, boolean>;
|
@@ -40,4 +40,4 @@ declare const _default: () => {
|
|
40
40
|
};
|
41
41
|
inject: () => TimePickerContext;
|
42
42
|
};
|
43
|
-
export
|
43
|
+
export {};
|
@@ -3,7 +3,7 @@ import { useControlValue } from "../../_shared/utils/control.js";
|
|
3
3
|
import { isArray } from "../../_shared/utils/is.js";
|
4
4
|
import { useI18n } from "../../_shared/utils/locale.js";
|
5
5
|
const TIME_PICKER_CONTEXT_KEY = "time-picker-context";
|
6
|
-
|
6
|
+
function useTimePickerContext() {
|
7
7
|
const provide$1 = (props, emits) => {
|
8
8
|
const {
|
9
9
|
modelValue,
|
@@ -130,7 +130,7 @@ const useContext = () => {
|
|
130
130
|
provide: provide$1,
|
131
131
|
inject: inject$1
|
132
132
|
};
|
133
|
-
}
|
133
|
+
}
|
134
134
|
export {
|
135
|
-
|
135
|
+
useTimePickerContext as default
|
136
136
|
};
|
package/es/TimePicker/index.d.ts
CHANGED
@@ -5,17 +5,17 @@ export * from './type';
|
|
5
5
|
declare const TimePicker: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').TimePickerProps> & Readonly<{
|
7
7
|
onChange?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
|
8
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
9
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
10
8
|
onClear?: (() => any) | undefined;
|
11
9
|
onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
|
10
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
11
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
12
12
|
"onUpdate:modelValue"?: ((value: import('./type').TimePickerValue) => any) | undefined;
|
13
13
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
14
14
|
change: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
|
15
|
-
"update:popupVisible": (value: boolean) => any;
|
16
|
-
"popup-visible-change": (value: boolean) => any;
|
17
15
|
clear: () => any;
|
18
16
|
select: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
|
17
|
+
"update:popupVisible": (value: boolean) => any;
|
18
|
+
"popup-visible-change": (value: boolean) => any;
|
19
19
|
"update:modelValue": (value: import('./type').TimePickerValue) => any;
|
20
20
|
}, import('vue').PublicProps, {
|
21
21
|
size: import('..').Size;
|
@@ -95,10 +95,10 @@ declare const TimePicker: {
|
|
95
95
|
Defaults: {};
|
96
96
|
}, Readonly<import('./type').TimePickerProps> & Readonly<{
|
97
97
|
onChange?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
|
98
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
99
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
100
98
|
onClear?: (() => any) | undefined;
|
101
99
|
onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
|
100
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
101
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
102
102
|
"onUpdate:modelValue"?: ((value: import('./type').TimePickerValue) => any) | undefined;
|
103
103
|
}>, {}, {}, {}, {}, {
|
104
104
|
size: import('..').Size;
|
@@ -127,17 +127,17 @@ declare const TimePicker: {
|
|
127
127
|
__isSuspense?: never;
|
128
128
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').TimePickerProps> & Readonly<{
|
129
129
|
onChange?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
|
130
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
131
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
132
130
|
onClear?: (() => any) | undefined;
|
133
131
|
onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
|
132
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
133
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
134
134
|
"onUpdate:modelValue"?: ((value: import('./type').TimePickerValue) => any) | undefined;
|
135
135
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
136
136
|
change: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
|
137
|
-
"update:popupVisible": (value: boolean) => any;
|
138
|
-
"popup-visible-change": (value: boolean) => any;
|
139
137
|
clear: () => any;
|
140
138
|
select: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
|
139
|
+
"update:popupVisible": (value: boolean) => any;
|
140
|
+
"popup-visible-change": (value: boolean) => any;
|
141
141
|
"update:modelValue": (value: import('./type').TimePickerValue) => any;
|
142
142
|
}, string, {
|
143
143
|
size: import('..').Size;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createBlock, resolveDynamicComponent } from "vue";
|
2
|
-
import
|
2
|
+
import useTimelineContext from "./hooks/useContext.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
...{
|
5
5
|
name: "Timeline"
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
},
|
17
17
|
setup(__props) {
|
18
18
|
const props = __props;
|
19
|
-
const { direction, mode, timelineItems } =
|
19
|
+
const { direction, mode, timelineItems } = useTimelineContext().provide(props);
|
20
20
|
const getPoistion = (i) => {
|
21
21
|
if (mode.value != "alternate") {
|
22
22
|
return mode.value;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, useSlots, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import
|
2
|
+
import useTimelineContext from "./hooks/useContext.js";
|
3
3
|
const _hoisted_1 = { class: "yc-timeline-item-dot-wrapper" };
|
4
4
|
const _hoisted_2 = { class: "yc-timeline-item-dot-content" };
|
5
5
|
const _hoisted_3 = {
|
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
32
|
},
|
33
33
|
setup(__props) {
|
34
34
|
const $slots = useSlots();
|
35
|
-
const { direction, labelPosition, reverse } =
|
35
|
+
const { direction, labelPosition, reverse } = useTimelineContext().inject();
|
36
36
|
return (_ctx, _cache) => {
|
37
37
|
return openBlock(), createElementBlock("div", {
|
38
38
|
role: "listitem",
|
@@ -7,7 +7,7 @@ type TimelineContext = {
|
|
7
7
|
reverse: Ref<boolean>;
|
8
8
|
labelPosition: Ref<TimelineLabelPosition>;
|
9
9
|
};
|
10
|
-
|
10
|
+
export default function useTimelineContext(): {
|
11
11
|
provide: (props: RecordType) => {
|
12
12
|
direction: Ref<Direction, Direction>;
|
13
13
|
mode: import('vue').ComputedRef<TimelineMode>;
|
@@ -17,4 +17,4 @@ declare const _default: () => {
|
|
17
17
|
};
|
18
18
|
inject: () => TimelineContext;
|
19
19
|
};
|
20
|
-
export
|
20
|
+
export {};
|
@@ -4,7 +4,7 @@ import _sfc_main$1 from "../TimelineItem.vue.js";
|
|
4
4
|
/* empty css */
|
5
5
|
import _sfc_main from "../TimelineItemPending.vue.js";
|
6
6
|
const TIMELINE_CONTEXT_KEY = "timeline-context";
|
7
|
-
|
7
|
+
function useTimelineContext() {
|
8
8
|
const provide$1 = (props) => {
|
9
9
|
const {
|
10
10
|
direction,
|
@@ -57,7 +57,7 @@ const useContext = () => {
|
|
57
57
|
provide: provide$1,
|
58
58
|
inject: inject$1
|
59
59
|
};
|
60
|
-
}
|
60
|
+
}
|
61
61
|
export {
|
62
|
-
|
62
|
+
useTimelineContext as default
|
63
63
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, createVNode, createCommentVNode, createBlock, unref, withCtx, renderSlot } from "vue";
|
2
|
-
import
|
2
|
+
import useTransferContext from "./hooks/useContext.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
/* empty css */
|
5
5
|
/* empty css */
|
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
40
|
setup(__props, { emit: __emit }) {
|
41
41
|
const props = __props;
|
42
42
|
const emits = __emit;
|
43
|
-
const { computedValue, targetChecked, computedSelected, sourceChecked } =
|
43
|
+
const { computedValue, targetChecked, computedSelected, sourceChecked } = useTransferContext().provide(props, emits);
|
44
44
|
const handleAdd = () => {
|
45
45
|
const checked = [...sourceChecked.value];
|
46
46
|
computedValue.value = [...computedValue.value, ...sourceChecked.value];
|
@@ -7,7 +7,7 @@ import "../_shared/utils/dom.js";
|
|
7
7
|
import _sfc_main$4 from "../_shared/icons/IconClose.vue.js";
|
8
8
|
import _sfc_main$2 from "../_shared/icons/IconDelete.vue2.js";
|
9
9
|
import _sfc_main$3 from "../_shared/icons/IconSearch.vue2.js";
|
10
|
-
import
|
10
|
+
import useTransferContext from "./hooks/useContext.js";
|
11
11
|
import Checkbox from "../Checkbox/index.js";
|
12
12
|
import Scrollbar from "../Scrollbar/index.js";
|
13
13
|
import Input from "../Input/index.js";
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
53
|
slots,
|
54
54
|
title: _title,
|
55
55
|
emits
|
56
|
-
} =
|
56
|
+
} = useTransferContext().inject();
|
57
57
|
const keywords = ref("");
|
58
58
|
const curData = computed(() => {
|
59
59
|
const options = type.value == "source" ? sourceOptions.value : targetOptions.value;
|
@@ -20,7 +20,7 @@ type TransferContext = {
|
|
20
20
|
slots: Slots;
|
21
21
|
emits: TransferEmits;
|
22
22
|
};
|
23
|
-
|
23
|
+
export default function useTransferContext(): {
|
24
24
|
provide: (props: RecordType, emits: TransferEmits) => {
|
25
25
|
computedValue: import('vue').WritableComputedRef<TransferItemValue[], TransferItemValue[]>;
|
26
26
|
targetChecked: import('vue').ComputedRef<TransferItemValue[]>;
|
@@ -29,4 +29,4 @@ declare const _default: () => {
|
|
29
29
|
};
|
30
30
|
inject: () => TransferContext;
|
31
31
|
};
|
32
|
-
export
|
32
|
+
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { toRefs, useSlots, computed, provide, inject, ref } from "vue";
|
2
2
|
import { useControlValue } from "../../_shared/utils/control.js";
|
3
3
|
const TRANSFER_CONTEXT_KEY = "transfer-context";
|
4
|
-
|
4
|
+
function useTransferContext() {
|
5
5
|
const provide$1 = (props, emits) => {
|
6
6
|
const {
|
7
7
|
modelValue,
|
@@ -115,7 +115,7 @@ const useContext = () => {
|
|
115
115
|
provide: provide$1,
|
116
116
|
inject: inject$1
|
117
117
|
};
|
118
|
-
}
|
118
|
+
}
|
119
119
|
export {
|
120
|
-
|
120
|
+
useTransferContext as default
|
121
121
|
};
|
@@ -8,15 +8,14 @@ export type TriggerProps = Required<_TriggerProps>;
|
|
8
8
|
* groupIds 同一个submenu里面的groupId集合
|
9
9
|
* groupId 组件标识,用于标识元素是否处于一个嵌套中
|
10
10
|
*/
|
11
|
-
|
11
|
+
export default function useTriggerContext(params: {
|
12
12
|
trigger: TriggerType;
|
13
13
|
mouseEnterDelay: Ref<number>;
|
14
14
|
computedVisible: Ref<boolean>;
|
15
15
|
popupRef: Ref<HTMLDivElement | undefined>;
|
16
|
-
})
|
16
|
+
}): {
|
17
17
|
timeout: Ref<NodeJS.Timeout | undefined, NodeJS.Timeout | undefined>;
|
18
18
|
mouseEnterHandler: () => void;
|
19
19
|
clickOutsideHandler: (e: Event) => boolean;
|
20
20
|
mosueLeaveHandler: (e: MouseEvent) => boolean;
|
21
21
|
};
|
22
|
-
export default _default;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { inject, ref, provide, watch } from "vue";
|
2
2
|
import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
3
|
-
import { unrefElement } from "../../node_modules/@vueuse/core/index.js";
|
4
3
|
import { sleep } from "../../_shared/utils/dom.js";
|
4
|
+
import { unrefElement } from "../../node_modules/@vueuse/core/index.js";
|
5
5
|
const TRIGGER_CONTEXT_KEY = "trigger-context";
|
6
|
-
|
6
|
+
function useTriggerContext(params) {
|
7
7
|
const { trigger, popupRef, computedVisible, mouseEnterDelay } = params;
|
8
8
|
const {
|
9
9
|
depth: preDepth,
|
@@ -100,7 +100,7 @@ const useContext = (params) => {
|
|
100
100
|
clickOutsideHandler,
|
101
101
|
mosueLeaveHandler
|
102
102
|
};
|
103
|
-
}
|
103
|
+
}
|
104
104
|
export {
|
105
|
-
|
105
|
+
useTriggerContext as default
|
106
106
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { toRefs, ref, computed, watch } from "vue";
|
2
|
-
import { useElementSize, useElementBounding, unrefElement } from "../../node_modules/@vueuse/core/index.js";
|
3
2
|
import { valueToPx, sleep } from "../../_shared/utils/dom.js";
|
3
|
+
import { useElementSize, useElementBounding, unrefElement } from "../../node_modules/@vueuse/core/index.js";
|
4
4
|
const useTriggerPosition = (params) => {
|
5
5
|
const {
|
6
6
|
props,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { toRefs, ref, computed, watch, nextTick } from "vue";
|
2
|
+
import useTriggerContext from "./useContext.js";
|
2
3
|
import { unrefElement, onClickOutside, useEventListener } from "../../node_modules/@vueuse/core/index.js";
|
3
|
-
import useContext from "./useContext.js";
|
4
4
|
import { findFirstScrollableParent } from "../../_shared/utils/dom.js";
|
5
5
|
import { useControlValue } from "../../_shared/utils/control.js";
|
6
6
|
const useTriggerVisible = (params) => {
|
@@ -37,7 +37,7 @@ const useTriggerVisible = (params) => {
|
|
37
37
|
emits("popup-visible-change", val);
|
38
38
|
}
|
39
39
|
);
|
40
|
-
const { timeout, mosueLeaveHandler, mouseEnterHandler, clickOutsideHandler } =
|
40
|
+
const { timeout, mosueLeaveHandler, mouseEnterHandler, clickOutsideHandler } = useTriggerContext({
|
41
41
|
trigger: trigger.value,
|
42
42
|
mouseEnterDelay,
|
43
43
|
computedVisible,
|
@@ -27,10 +27,10 @@ declare function __VLS_template(): {
|
|
27
27
|
readonly invisibleButton?: boolean | undefined;
|
28
28
|
readonly showInput?: boolean | undefined;
|
29
29
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
30
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
31
30
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
32
31
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
33
32
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
33
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
34
34
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
35
35
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
36
36
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -51,14 +51,14 @@ declare function __VLS_template(): {
|
|
51
51
|
$root: import('vue').ComponentPublicInstance | null;
|
52
52
|
$parent: import('vue').ComponentPublicInstance | null;
|
53
53
|
$host: Element | null;
|
54
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
54
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
55
55
|
$el: HTMLDivElement;
|
56
56
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
57
57
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
58
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
59
58
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
60
59
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
61
60
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
61
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
62
62
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
63
63
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
64
64
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -70,10 +70,10 @@ declare function __VLS_template(): {
|
|
70
70
|
getInputRef(): HTMLInputElement;
|
71
71
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
72
72
|
change: (value: string, ev: Event) => any;
|
73
|
-
focus: (ev: FocusEvent) => any;
|
74
73
|
clear: (ev: MouseEvent) => any;
|
75
74
|
input: (value: string, ev: Event) => any;
|
76
75
|
blur: (ev: FocusEvent) => any;
|
76
|
+
focus: (ev: FocusEvent) => any;
|
77
77
|
keydown: (ev: KeyboardEvent) => any;
|
78
78
|
"update:modelValue": (value: string) => any;
|
79
79
|
"update:visibility": (value: boolean) => any;
|
@@ -139,16 +139,16 @@ declare function __VLS_template(): {
|
|
139
139
|
showInput: boolean;
|
140
140
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
141
141
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
142
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
143
142
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
144
143
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
145
144
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
145
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
146
146
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
147
147
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
148
148
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
149
149
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
150
150
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
151
|
-
}>, "
|
151
|
+
}>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
152
152
|
focus(): void;
|
153
153
|
blur(): void;
|
154
154
|
getInputRef(): HTMLInputElement;
|
@@ -215,10 +215,10 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
215
215
|
readonly invisibleButton?: boolean | undefined;
|
216
216
|
readonly showInput?: boolean | undefined;
|
217
217
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
218
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
219
218
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
220
219
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
221
220
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
221
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
222
222
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
223
223
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
224
224
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -239,14 +239,14 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
239
239
|
$root: import('vue').ComponentPublicInstance | null;
|
240
240
|
$parent: import('vue').ComponentPublicInstance | null;
|
241
241
|
$host: Element | null;
|
242
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
242
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
243
243
|
$el: HTMLDivElement;
|
244
244
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
245
245
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
246
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
247
246
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
248
247
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
249
248
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
249
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
250
250
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
251
251
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
252
252
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -258,10 +258,10 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
258
258
|
getInputRef(): HTMLInputElement;
|
259
259
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
260
260
|
change: (value: string, ev: Event) => any;
|
261
|
-
focus: (ev: FocusEvent) => any;
|
262
261
|
clear: (ev: MouseEvent) => any;
|
263
262
|
input: (value: string, ev: Event) => any;
|
264
263
|
blur: (ev: FocusEvent) => any;
|
264
|
+
focus: (ev: FocusEvent) => any;
|
265
265
|
keydown: (ev: KeyboardEvent) => any;
|
266
266
|
"update:modelValue": (value: string) => any;
|
267
267
|
"update:visibility": (value: boolean) => any;
|
@@ -327,16 +327,16 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
327
327
|
showInput: boolean;
|
328
328
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
329
329
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
330
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
331
330
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
332
331
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
333
332
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
333
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
334
334
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
335
335
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
336
336
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
337
337
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
338
338
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
339
|
-
}>, "
|
339
|
+
}>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
340
340
|
focus(): void;
|
341
341
|
blur(): void;
|
342
342
|
getInputRef(): HTMLInputElement;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, resolveDynamicComponent, normalizeClass, unref, withCtx, createElementBlock, createCommentVNode, isRef, renderSlot, createVNode, mergeProps, createElementVNode, createTextVNode, toDisplayString, h } from "vue";
|
2
|
-
import { useClipboard } from "../node_modules/@vueuse/core/index.js";
|
3
2
|
import { getDomText, sleep } from "../_shared/utils/dom.js";
|
4
3
|
import { useI18n } from "../_shared/utils/locale.js";
|
5
4
|
import { useControlValue } from "../_shared/utils/control.js";
|
5
|
+
import { useClipboard } from "../node_modules/@vueuse/core/index.js";
|
6
6
|
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
|
-
import _sfc_main$3 from "../_shared/icons/IconCopy.
|
10
|
-
import _sfc_main$1 from "../_shared/icons/IconEdit.
|
9
|
+
import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
|
10
|
+
import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
|
11
11
|
import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
|
12
12
|
import Input from "../Input/index.js";
|
13
13
|
import Tooltip from "../Tooltip/index.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, watch, onMounted, createElementBlock, openBlock, renderSlot } from "vue";
|
2
|
-
import { useMutationObserver } from "../node_modules/@vueuse/core/index.js";
|
3
2
|
import { isArray } from "../_shared/utils/is.js";
|
3
|
+
import { useMutationObserver } from "../node_modules/@vueuse/core/index.js";
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
5
|
...{
|
6
6
|
name: "Watermark"
|
@@ -1,4 +1,22 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import "../utils/dom.js";
|
3
|
+
/* empty css */
|
4
|
+
/* empty css */
|
5
|
+
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
+
/* empty css */
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
+
__name: "IconCopy",
|
9
|
+
setup(__props) {
|
10
|
+
return (_ctx, _cache) => {
|
11
|
+
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
+
createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
|
14
|
+
])]),
|
15
|
+
_: 1
|
16
|
+
}, 16);
|
17
|
+
};
|
18
|
+
}
|
19
|
+
});
|
2
20
|
export {
|
3
21
|
_sfc_main as default
|
4
22
|
};
|
@@ -1,22 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import "../utils/dom.js";
|
3
|
-
/* empty css */
|
4
|
-
/* empty css */
|
5
|
-
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
-
/* empty css */
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
-
__name: "IconCopy",
|
9
|
-
setup(__props) {
|
10
|
-
return (_ctx, _cache) => {
|
11
|
-
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
-
createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
|
14
|
-
])]),
|
15
|
-
_: 1
|
16
|
-
}, 16);
|
17
|
-
};
|
18
|
-
}
|
19
|
-
});
|
1
|
+
import _sfc_main from "./IconCopy.vue.js";
|
20
2
|
export {
|
21
3
|
_sfc_main as default
|
22
4
|
};
|
@@ -1,4 +1,22 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import "../utils/dom.js";
|
3
|
+
/* empty css */
|
4
|
+
/* empty css */
|
5
|
+
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
+
/* empty css */
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
+
__name: "IconEdit",
|
9
|
+
setup(__props) {
|
10
|
+
return (_ctx, _cache) => {
|
11
|
+
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
+
createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
|
14
|
+
])]),
|
15
|
+
_: 1
|
16
|
+
}, 16);
|
17
|
+
};
|
18
|
+
}
|
19
|
+
});
|
2
20
|
export {
|
3
21
|
_sfc_main as default
|
4
22
|
};
|
@@ -1,22 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import "../utils/dom.js";
|
3
|
-
/* empty css */
|
4
|
-
/* empty css */
|
5
|
-
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
-
/* empty css */
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
-
__name: "IconEdit",
|
9
|
-
setup(__props) {
|
10
|
-
return (_ctx, _cache) => {
|
11
|
-
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
-
createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
|
14
|
-
])]),
|
15
|
-
_: 1
|
16
|
-
}, 16);
|
17
|
-
};
|
18
|
-
}
|
19
|
-
});
|
1
|
+
import _sfc_main from "./IconEdit.vue.js";
|
20
2
|
export {
|
21
3
|
_sfc_main as default
|
22
4
|
};
|
@@ -1,26 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import "../utils/dom.js";
|
3
|
-
/* empty css */
|
4
|
-
/* empty css */
|
5
|
-
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
-
/* empty css */
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
-
__name: "IconEyeClose",
|
9
|
-
setup(__props) {
|
10
|
-
return (_ctx, _cache) => {
|
11
|
-
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
-
createElementVNode("path", {
|
14
|
-
d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z",
|
15
|
-
"clip-rule": "evenodd"
|
16
|
-
}, null, -1),
|
17
|
-
createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
|
18
|
-
])]),
|
19
|
-
_: 1
|
20
|
-
}, 16);
|
21
|
-
};
|
22
|
-
}
|
23
|
-
});
|
1
|
+
import _sfc_main from "./IconEyeClose.vue2.js";
|
24
2
|
export {
|
25
3
|
_sfc_main as default
|
26
4
|
};
|
@@ -1,4 +1,26 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import "../utils/dom.js";
|
3
|
+
/* empty css */
|
4
|
+
/* empty css */
|
5
|
+
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
+
/* empty css */
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
+
__name: "IconEyeClose",
|
9
|
+
setup(__props) {
|
10
|
+
return (_ctx, _cache) => {
|
11
|
+
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
+
createElementVNode("path", {
|
14
|
+
d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z",
|
15
|
+
"clip-rule": "evenodd"
|
16
|
+
}, null, -1),
|
17
|
+
createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
|
18
|
+
])]),
|
19
|
+
_: 1
|
20
|
+
}, 16);
|
21
|
+
};
|
22
|
+
}
|
23
|
+
});
|
2
24
|
export {
|
3
25
|
_sfc_main as default
|
4
26
|
};
|
@@ -1,23 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import "../utils/dom.js";
|
3
|
-
/* empty css */
|
4
|
-
/* empty css */
|
5
|
-
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
-
/* empty css */
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
-
__name: "IconEyeOpen",
|
9
|
-
setup(__props) {
|
10
|
-
return (_ctx, _cache) => {
|
11
|
-
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
-
createElementVNode("path", { d: "M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14" }, null, -1),
|
14
|
-
createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294" }, null, -1)
|
15
|
-
])]),
|
16
|
-
_: 1
|
17
|
-
}, 16);
|
18
|
-
};
|
19
|
-
}
|
20
|
-
});
|
1
|
+
import _sfc_main from "./IconEyeOpen.vue2.js";
|
21
2
|
export {
|
22
3
|
_sfc_main as default
|
23
4
|
};
|