yuyeon 0.2.3-rc.7 → 0.2.3-rc.9
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/yuyeon.js +2432 -2396
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/components/field-input/YFieldInput.mjs +3 -2
- package/lib/components/field-input/YFieldInput.mjs.map +1 -1
- package/lib/components/index.mjs +1 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/input/YInput.mjs +6 -2
- package/lib/components/input/YInput.mjs.map +1 -1
- package/lib/components/layer/YLayer.mjs +21 -17
- package/lib/components/layer/YLayer.mjs.map +1 -1
- package/lib/components/layer/base.mjs +2 -1
- package/lib/components/layer/base.mjs.map +1 -1
- package/lib/components/select/YSelect.mjs +20 -8
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/components/table/YDataTableBody.mjs +12 -3
- package/lib/components/table/YDataTableBody.mjs.map +1 -1
- package/lib/components/table/YDataTableRow.mjs +7 -2
- package/lib/components/table/YDataTableRow.mjs.map +1 -1
- package/lib/components/tooltip/YTooltip.mjs +4 -4
- package/lib/components/tooltip/YTooltip.mjs.map +1 -1
- package/lib/composables/layer-group.mjs +10 -4
- package/lib/composables/layer-group.mjs.map +1 -1
- package/lib/i18n/built-in.mjs +2 -2
- package/lib/i18n/built-in.mjs.map +1 -1
- package/lib/util/component/component.mjs +4 -0
- package/lib/util/component/component.mjs.map +1 -1
- package/package.json +120 -117
- package/types/components/checkbox/YCheckbox.d.ts +1 -1
- package/types/components/date-picker/YDateCalendar.d.ts +5 -5
- package/types/components/dialog/YDialog.d.ts +4937 -28
- package/types/components/draggable/YDraggable.d.ts +8 -8
- package/types/components/dropdown/YDropdown.d.ts +17 -11
- package/types/components/field-input/YFieldInput.d.ts +3 -3
- package/types/components/index.d.ts +1 -0
- package/types/components/input/YInput.d.ts +1 -1
- package/types/components/layer/YLayer.d.ts +1610 -11
- package/types/components/layer/active-stack.d.ts +1 -1
- package/types/components/layer/base.d.ts +9 -3
- package/types/components/menu/YMenu.d.ts +4916 -11
- package/types/components/pagination/YPagination.d.ts +3 -3
- package/types/components/panel/YDividePanel.d.ts +2 -2
- package/types/components/progress-bar/YProgressBar.d.ts +1 -1
- package/types/components/select/YSelect.d.ts +129 -98
- package/types/components/snackbar/YSnackbar.d.ts +11 -5
- package/types/components/tab/YTabs.d.ts +1 -1
- package/types/components/table/YDataTable.d.ts +6 -0
- package/types/components/table/YDataTableBody.d.ts +6 -0
- package/types/components/table/YDataTableRow.d.ts +6 -0
- package/types/components/table/YDataTableServer.d.ts +6 -0
- package/types/components/table/composibles/header.d.ts +38 -2
- package/types/components/table/composibles/measure.d.ts +6 -6
- package/types/components/table/composibles/pagination.d.ts +8 -8
- package/types/components/table/composibles/sorting.d.ts +3 -3
- package/types/components/textarea/YTextarea.d.ts +95 -5
- package/types/components/tooltip/YTooltip.d.ts +10 -6
- package/types/components/transitions/expand-transition.d.ts +5 -5
- package/types/components/transitions/index.d.ts +10 -10
- package/types/components/tree-view/YTreeView.d.ts +13 -13
- package/types/components/tree-view/YTreeViewNode.d.ts +4 -4
- package/types/composables/communication.d.ts +2 -2
- package/types/composables/coordinate/index.d.ts +1599 -6
- package/types/composables/defaults/index.d.ts +3 -3
- package/types/composables/focus.d.ts +1 -1
- package/types/composables/form.d.ts +17 -2
- package/types/composables/layer-group.d.ts +4 -2
- package/types/composables/progress.d.ts +1 -1
- package/types/composables/ref.d.ts +1 -1
- package/types/composables/resize-observer.d.ts +11 -1
- package/types/composables/theme/index.d.ts +7 -7
- package/types/composables/timing.d.ts +3 -3
- package/types/composables/validation.d.ts +3 -3
- package/types/mixins/di.d.ts +1 -1
- package/types/mixins/rebind-attrs.d.ts +1 -1
- package/types/shims.d.ts +2 -1
- package/types/util/anchor.d.ts +1 -1
|
@@ -2,7 +2,7 @@ import { PropType, Ref } from 'vue';
|
|
|
2
2
|
import { CandidateKey } from '../../types';
|
|
3
3
|
import { TreeviewFilterFn } from './types';
|
|
4
4
|
|
|
5
|
-
export declare const YTreeView: import('vue').DefineComponent<{
|
|
5
|
+
export declare const YTreeView: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
6
|
items: {
|
|
7
7
|
type: PropType<any[]>;
|
|
8
8
|
default: () => never[];
|
|
@@ -64,15 +64,15 @@ export declare const YTreeView: import('vue').DefineComponent<{
|
|
|
64
64
|
type: PropType<number>;
|
|
65
65
|
default: number;
|
|
66
66
|
};
|
|
67
|
-
}
|
|
68
|
-
nodes: Ref<Record<CandidateKey, any>>;
|
|
69
|
-
expandedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any
|
|
70
|
-
selectedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any
|
|
71
|
-
activeSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any
|
|
72
|
-
excludedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any
|
|
73
|
-
searchLoading: import('vue').ShallowRef<boolean>;
|
|
74
|
-
expandedCache: Ref<CandidateKey[]>;
|
|
75
|
-
},
|
|
67
|
+
}>, {
|
|
68
|
+
nodes: Ref<Record<CandidateKey, any>, Record<CandidateKey, any>>;
|
|
69
|
+
expandedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>, Set<CandidateKey> | (Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>)>;
|
|
70
|
+
selectedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>, Set<CandidateKey> | (Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>)>;
|
|
71
|
+
activeSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>, Set<CandidateKey> | (Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>)>;
|
|
72
|
+
excludedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>, Set<CandidateKey> | (Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>)>;
|
|
73
|
+
searchLoading: import('vue').ShallowRef<boolean, boolean>;
|
|
74
|
+
expandedCache: Ref<CandidateKey[], CandidateKey[]>;
|
|
75
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:expanded" | "update:active" | "update:selected")[], "update:expanded" | "update:active" | "update:selected", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
76
|
items: {
|
|
77
77
|
type: PropType<any[]>;
|
|
78
78
|
default: () => never[];
|
|
@@ -134,11 +134,11 @@ export declare const YTreeView: import('vue').DefineComponent<{
|
|
|
134
134
|
type: PropType<number>;
|
|
135
135
|
default: number;
|
|
136
136
|
};
|
|
137
|
-
}>> & {
|
|
137
|
+
}>> & Readonly<{
|
|
138
138
|
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
139
139
|
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
|
140
140
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
141
|
-
}
|
|
141
|
+
}>, {
|
|
142
142
|
returnItem: boolean;
|
|
143
143
|
active: CandidateKey[];
|
|
144
144
|
expanded: CandidateKey[];
|
|
@@ -156,5 +156,5 @@ export declare const YTreeView: import('vue').DefineComponent<{
|
|
|
156
156
|
activeStrategy: "independent" | "cascade";
|
|
157
157
|
selectStrategy: "independent" | "cascade";
|
|
158
158
|
searchDebounceWait: number;
|
|
159
|
-
}, {}>;
|
|
159
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
160
160
|
export type YTreeView = InstanceType<typeof YTreeView>;
|
|
@@ -158,9 +158,9 @@ export declare const YTreeViewNode: import('vue').DefineComponent<{
|
|
|
158
158
|
}, {
|
|
159
159
|
treeView: any;
|
|
160
160
|
myKey: import('vue').ComputedRef<any>;
|
|
161
|
-
expanded: import('vue').Ref<boolean>;
|
|
162
|
-
active: import('vue').Ref<boolean>;
|
|
163
|
-
selected: import('vue').Ref<boolean>;
|
|
164
|
-
immediate: import('vue').Ref<boolean>;
|
|
161
|
+
expanded: import('vue').Ref<boolean, boolean>;
|
|
162
|
+
active: import('vue').Ref<boolean, boolean>;
|
|
163
|
+
selected: import('vue').Ref<boolean, boolean>;
|
|
164
|
+
immediate: import('vue').Ref<boolean, boolean>;
|
|
165
165
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
166
166
|
export type YTreeNode = InstanceType<typeof YTreeViewNode>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
|
|
3
|
-
export declare function useModelDuplex(props: any, prop?: string, defaultValue?: any, getIn?: (value?: any) => any, setOut?: (value: any) => any): Ref<any> & {
|
|
3
|
+
export declare function useModelDuplex(props: any, prop?: string, defaultValue?: any, getIn?: (value?: any) => any, setOut?: (value: any) => any): Ref<any, any> & {
|
|
4
4
|
readonly rxValue: any;
|
|
5
5
|
};
|
|
6
|
-
export declare function useProvided<T>(props: any, prop: string, provided: Ref<T>): Ref<any> & {
|
|
6
|
+
export declare function useProvided<T>(props: any, prop: string, provided: Ref<T>): Ref<any, any> & {
|
|
7
7
|
readonly rxValue: any;
|
|
8
8
|
};
|