zen-wdg 2.1.0 → 2.1.2

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.
@@ -0,0 +1,100 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ title: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ };
6
+ bound: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ bounded: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ flat: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ iconLeft: {
19
+ type: BooleanConstructor;
20
+ required: false;
21
+ default: boolean;
22
+ };
23
+ iconRight: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ icon: {
28
+ type: StringConstructor;
29
+ };
30
+ size: {
31
+ type: StringConstructor;
32
+ };
33
+ iconSize: {
34
+ type: StringConstructor;
35
+ };
36
+ wFull: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ noBg: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ color: StringConstructor;
45
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
+ title: {
47
+ type: StringConstructor;
48
+ required: false;
49
+ };
50
+ bound: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ bounded: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ flat: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ iconLeft: {
63
+ type: BooleanConstructor;
64
+ required: false;
65
+ default: boolean;
66
+ };
67
+ iconRight: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ icon: {
72
+ type: StringConstructor;
73
+ };
74
+ size: {
75
+ type: StringConstructor;
76
+ };
77
+ iconSize: {
78
+ type: StringConstructor;
79
+ };
80
+ wFull: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ noBg: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ color: StringConstructor;
89
+ }>> & Readonly<{}>, {
90
+ bound: boolean;
91
+ bounded: boolean;
92
+ flat: boolean;
93
+ iconLeft: boolean;
94
+ iconRight: boolean;
95
+ wFull: boolean;
96
+ noBg: boolean;
97
+ }, {}, {
98
+ Icon: any;
99
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
+ export default _default;
@@ -0,0 +1,44 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ placeholder: StringConstructor;
3
+ modelValue: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ round: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ full: {
12
+ type: BooleanConstructor;
13
+ };
14
+ rounded: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }>, {}, {}, {}, {
19
+ onInput(event: any): void;
20
+ onEnter(): void;
21
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ placeholder: StringConstructor;
23
+ modelValue: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ round: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ full: {
32
+ type: BooleanConstructor;
33
+ };
34
+ rounded: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ }>> & Readonly<{}>, {
39
+ modelValue: string;
40
+ round: boolean;
41
+ full: boolean;
42
+ rounded: boolean;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
+ export default _default;
@@ -0,0 +1,23 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ searchTarget: {
3
+ type: StringConstructor;
4
+ require: boolean;
5
+ default: string;
6
+ };
7
+ }>, {}, {
8
+ text: string;
9
+ }, {}, {
10
+ search(): void;
11
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ searchTarget: {
13
+ type: StringConstructor;
14
+ require: boolean;
15
+ default: string;
16
+ };
17
+ }>> & Readonly<{}>, {
18
+ searchTarget: string;
19
+ }, {}, {
20
+ Input: any;
21
+ Button: any;
22
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-wdg",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Minimal widget library for Gridstack-based newtab extensions",
5
5
  "main": "dist/zen-wdg.umd.js",
6
6
  "module": "dist/zen-wdg.es.js",
package/src/index.js CHANGED
@@ -1,13 +1,20 @@
1
1
  import { defineCustomElement } from 'vue'
2
2
  import ZClockWidget from './widgets/z-clock-widget.vue'
3
+ import ZSearchWidget from './widgets/z-search-widget.vue'
3
4
 
4
5
  // Crear el custom element
5
6
  const ZClockElement = defineCustomElement(ZClockWidget)
7
+ const ZSearchElement = defineCustomElement(ZSearchWidget)
6
8
 
7
9
  // Registrar custom element (evitar doble registro)
8
10
  if (!customElements.get('z-clock-widget')) {
9
11
  customElements.define('z-clock-widget', ZClockElement)
10
12
  }
11
13
 
14
+ // Registrar custom element (evitar doble registro)
15
+ if (!customElements.get('z-search-widget')) {
16
+ customElements.define('z-search-widget', ZSearchElement)
17
+ }
18
+
12
19
  // Exportar el componente para uso tradicional Vue
13
20
  export { ZClockWidget }