zxq-com 0.0.6 → 0.0.7

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.d.ts CHANGED
@@ -13,6 +13,14 @@ declare type __VLS_Props = {
13
13
  icon: string | Component;
14
14
  };
15
15
 
16
+ declare type __VLS_Props_2 = {
17
+ host?: string;
18
+ };
19
+
20
+ declare type __VLS_PublicProps = {
21
+ 'value'?: string;
22
+ };
23
+
16
24
  declare function __VLS_template(): {
17
25
  attrs: Partial<{}>;
18
26
  slots: {
@@ -31,7 +39,7 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
31
39
  };
32
40
 
33
41
  declare const _default: {
34
- install(app: App): void;
42
+ install(app: App, config?: ZxqConfig): void;
35
43
  };
36
44
  export default _default;
37
45
 
@@ -82,6 +90,25 @@ export declare const ZButton: __VLS_WithTemplateSlots<typeof __VLS_component, __
82
90
 
83
91
  export declare const ZIcon: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
84
92
 
93
+ export declare const ZIconInput: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
94
+ "update:value": (value: string) => any;
95
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
96
+ "onUpdate:value"?: ((value: string) => any) | undefined;
97
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
98
+
99
+ export declare const ZIconPicker: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
100
+ select: (args_0: string) => any;
101
+ }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
102
+ onSelect?: ((args_0: string) => any) | undefined;
103
+ }>, {
104
+ host: string;
105
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
106
+
85
107
  export declare function zwqWs(_app: any, config: WsConfig): void;
86
108
 
109
+ declare interface ZxqConfig {
110
+ ws?: WsConfig;
111
+ iconApi?: string;
112
+ }
113
+
87
114
  export { }
package/dist/zxq-com.css CHANGED
@@ -1,2 +1,2 @@
1
- .zxq-button{color:#fff;cursor:pointer;background-color:#409eff;border:none;border-radius:4px;padding:8px 16px;transition:opacity .2s}.zxq-button:hover{opacity:.8}
1
+ .zxq-button{color:#fff;cursor:pointer;background-color:#409eff;border:none;border-radius:4px;padding:8px 16px;transition:opacity .2s}.zxq-button:hover{opacity:.8}.z-icon-picker[data-v-a3252d8c]{--select-color:var(--v19703e6e);--select-bg-color:var(--primary-color-200)}.z-icon-picker .set[data-v-a3252d8c]{margin-right:10px}.z-icon-picker .set .item[data-v-a3252d8c]{cursor:pointer;border-radius:4px;padding:6px 10px}.z-icon-picker .set .item[data-v-a3252d8c]:hover{background:#f5f7fa}.z-icon-picker .set .item.selected[data-v-a3252d8c]{color:var(--select-color);background:var(--select-bg-color)}.z-icon-picker .category[data-v-a3252d8c]{flex:0 0 40px}.z-icon-picker .category .item[data-v-a3252d8c]{cursor:pointer;white-space:nowrap;margin:10px}.z-icon-picker .icon-list[data-v-a3252d8c]{flex-wrap:wrap;padding:10px 0;display:flex}.z-icon-picker .icon-list[data-v-a3252d8c]>*{cursor:pointer;border-radius:4px;align-items:center;padding:10px;transition:all .3s ease-in-out;display:flex}.z-icon-picker .icon-list[data-v-a3252d8c]>:hover{color:var(--select-color);background:var(--select-bg-color);transform:scale(1.2)}.z-icon-picker-dropdown{max-height:300px;overflow:auto}
2
2
  /*$vite$:1*/