yahee-components 0.0.18

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.
Files changed (45) hide show
  1. package/es/_virtual/_commonjsHelpers.js +8 -0
  2. package/es/_virtual/lodash.js +4 -0
  3. package/es/comprehensive-search/comprehensive-search.vue.js +234 -0
  4. package/es/comprehensive-search/comprehensive-search.vue2.js +4 -0
  5. package/es/comprehensive-search/index.js +7 -0
  6. package/es/comprehensive-search/style/index.css +24 -0
  7. package/es/copy/copy.vue.js +57 -0
  8. package/es/copy/copy.vue2.js +4 -0
  9. package/es/copy/index.js +7 -0
  10. package/es/copy/style/index.css +10 -0
  11. package/es/hooks/useClipboard.js +28 -0
  12. package/es/index.js +12 -0
  13. package/es/input/index.js +7 -0
  14. package/es/input/input.vue.js +40 -0
  15. package/es/input/input.vue2.js +4 -0
  16. package/es/input/style/index.css +3 -0
  17. package/es/installs.js +7 -0
  18. package/es/node_modules/element-plus/es/locale/lang/zh-cn.js +181 -0
  19. package/es/node_modules/lodash/lodash.js +3677 -0
  20. package/es/style.css +39 -0
  21. package/es/utils/install.js +13 -0
  22. package/global.d.ts +10 -0
  23. package/lib/_virtual/_commonjsHelpers.js +1 -0
  24. package/lib/_virtual/lodash.js +1 -0
  25. package/lib/comprehensive-search/comprehensive-search.vue.js +1 -0
  26. package/lib/comprehensive-search/comprehensive-search.vue2.js +1 -0
  27. package/lib/comprehensive-search/index.js +1 -0
  28. package/lib/comprehensive-search/style/index.css +24 -0
  29. package/lib/copy/copy.vue.js +1 -0
  30. package/lib/copy/copy.vue2.js +1 -0
  31. package/lib/copy/index.js +1 -0
  32. package/lib/copy/style/index.css +10 -0
  33. package/lib/hooks/useClipboard.js +1 -0
  34. package/lib/index.js +1 -0
  35. package/lib/input/index.js +1 -0
  36. package/lib/input/input.vue.js +1 -0
  37. package/lib/input/input.vue2.js +1 -0
  38. package/lib/input/style/index.css +3 -0
  39. package/lib/installs.js +1 -0
  40. package/lib/node_modules/element-plus/es/locale/lang/zh-cn.js +1 -0
  41. package/lib/node_modules/lodash/lodash.js +27 -0
  42. package/lib/style.css +39 -0
  43. package/lib/utils/install.js +1 -0
  44. package/package.json +38 -0
  45. package/types/index.d.ts +204 -0
@@ -0,0 +1,204 @@
1
+ import { AllowedComponentProps } from 'vue';
2
+ import { App } from 'vue';
3
+ import { ComponentCustomProps } from 'vue';
4
+ import { ComponentOptionsBase } from 'vue';
5
+ import { ComponentOptionsMixin } from 'vue';
6
+ import { ComponentProvideOptions } from 'vue';
7
+ import { CreateComponentPublicInstanceWithMixins } from 'vue';
8
+ import { DefineComponent } from 'vue';
9
+ import { GlobalComponents } from 'vue';
10
+ import { GlobalDirectives } from 'vue';
11
+ import { Plugin as Plugin_2 } from 'vue';
12
+ import { PublicProps } from 'vue';
13
+ import { VNodeProps } from 'vue';
14
+
15
+ declare const __VLS_component: DefineComponent<CopyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CopyProps> & Readonly<{}>, {
16
+ message: string;
17
+ content: string;
18
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
+
20
+ declare function __VLS_template(): {
21
+ slots: {
22
+ default?(_: {}): any;
23
+ };
24
+ refs: {};
25
+ attrs: Partial<{}>;
26
+ };
27
+
28
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
+
30
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
35
+
36
+ /**
37
+ * 定义instance类型
38
+ */
39
+ export declare type ComprehensiveSearchInstance = InstanceType<typeof _default_3>;
40
+
41
+ /**
42
+ * 定义instance类型
43
+ */
44
+ export declare type CopyInstance = InstanceType<typeof _default_4>;
45
+
46
+ /**
47
+ * 定义props类型
48
+ */
49
+ export declare interface CopyProps {
50
+ content: string;
51
+ message?: string;
52
+ }
53
+
54
+ declare const _default: {
55
+ install: (app: App) => void;
56
+ };
57
+ export default _default;
58
+
59
+ declare const _default_2: DefineComponent<InputProps, {
60
+ focus: typeof focus_2;
61
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
62
+ "update:modelValue": (value: string) => any;
63
+ }, string, PublicProps, Readonly<InputProps> & Readonly<{
64
+ "onUpdate:modelValue"?: (value: string) => any;
65
+ }>, {
66
+ modelValue: string;
67
+ disabled: boolean;
68
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
69
+
70
+ declare const _default_3: DefineComponent<{
71
+ dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
72
+ confirmSearch?: () => void;
73
+ pasteFormat?: () => void;
74
+ isInSearchChange?: () => void;
75
+ defaultSearch?: string;
76
+ options?: SearchOptions[];
77
+ placeholderText?: string;
78
+ showPatchSearch?: boolean;
79
+ showPatchCheckbox?: boolean;
80
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
81
+ dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
82
+ confirmSearch?: () => void;
83
+ pasteFormat?: () => void;
84
+ isInSearchChange?: () => void;
85
+ defaultSearch?: string;
86
+ options?: SearchOptions[];
87
+ placeholderText?: string;
88
+ showPatchSearch?: boolean;
89
+ showPatchCheckbox?: boolean;
90
+ }> & Readonly<{}>, {
91
+ dealSearch: (selectedSearchType: string, searchQuery: string) => void;
92
+ pasteFormat: () => void;
93
+ confirmSearch: () => void;
94
+ isInSearchChange: () => void;
95
+ defaultSearch: string;
96
+ options: SearchOptions[];
97
+ placeholderText: string;
98
+ showPatchSearch: boolean;
99
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
100
+
101
+ declare const _default_4: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
102
+
103
+ declare function focus_2(): void;
104
+
105
+ /**
106
+ * 定义emit类型
107
+ */
108
+ export declare type InputEmits = {
109
+ 'update:modelValue': [value: string];
110
+ };
111
+
112
+ /**
113
+ * 定义instance类型
114
+ */
115
+ export declare type InputInstance = InstanceType<typeof _default_2>;
116
+
117
+ /**
118
+ * 定义props类型
119
+ */
120
+ export declare interface InputProps {
121
+ modelValue: string;
122
+ disabled?: boolean;
123
+ }
124
+
125
+ /**
126
+ * 综合搜索下拉选项
127
+ */
128
+ export declare type SearchOptions = {
129
+ value: string;
130
+ label: string;
131
+ };
132
+
133
+ declare type SFCWithInstall<T> = T & Plugin_2;
134
+
135
+ export declare const YaheeComprehensiveSearch: SFCWithInstall<DefineComponent<{
136
+ dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
137
+ confirmSearch?: () => void;
138
+ pasteFormat?: () => void;
139
+ isInSearchChange?: () => void;
140
+ defaultSearch?: string;
141
+ options?: SearchOptions[];
142
+ placeholderText?: string;
143
+ showPatchSearch?: boolean;
144
+ showPatchCheckbox?: boolean;
145
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
146
+ dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
147
+ confirmSearch?: () => void;
148
+ pasteFormat?: () => void;
149
+ isInSearchChange?: () => void;
150
+ defaultSearch?: string;
151
+ options?: SearchOptions[];
152
+ placeholderText?: string;
153
+ showPatchSearch?: boolean;
154
+ showPatchCheckbox?: boolean;
155
+ }> & Readonly<{}>, {
156
+ dealSearch: (selectedSearchType: string, searchQuery: string) => void;
157
+ pasteFormat: () => void;
158
+ confirmSearch: () => void;
159
+ isInSearchChange: () => void;
160
+ defaultSearch: string;
161
+ options: SearchOptions[];
162
+ placeholderText: string;
163
+ showPatchSearch: boolean;
164
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
165
+
166
+ export declare const YaheeCopy: SFCWithInstall<{
167
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< CopyProps> & Readonly<{}>, {
168
+ message: string;
169
+ content: string;
170
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
171
+ P: {};
172
+ B: {};
173
+ D: {};
174
+ C: {};
175
+ M: {};
176
+ Defaults: {};
177
+ }, Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, {
178
+ message: string;
179
+ content: string;
180
+ }>;
181
+ __isFragment?: never;
182
+ __isTeleport?: never;
183
+ __isSuspense?: never;
184
+ } & ComponentOptionsBase<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
185
+ message: string;
186
+ content: string;
187
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
188
+ $slots: {
189
+ default?(_: {}): any;
190
+ };
191
+ })> & Record<string, any>;
192
+
193
+ export declare const YaheeInput: SFCWithInstall<DefineComponent<InputProps, {
194
+ focus: () => void;
195
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
196
+ "update:modelValue": (value: string) => any;
197
+ }, string, PublicProps, Readonly< InputProps> & Readonly<{
198
+ "onUpdate:modelValue"?: (value: string) => any;
199
+ }>, {
200
+ modelValue: string;
201
+ disabled: boolean;
202
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
203
+
204
+ export { }