@builder.io/sdk-qwik 0.0.31 → 0.0.33
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/package.json +1 -1
- package/types/blocks/avatar/avatar.d.ts +267 -0
- package/types/blocks/avatar/avatar.model.d.ts +19 -0
- package/types/functions/get-block-bindings.d.ts +2 -0
- package/types/functions/get-block-styles.d.ts +1 -5
- package/lib/index.qwik.cjs +0 -2958
- package/lib/index.qwik.mjs +0 -2930
package/package.json
CHANGED
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
export declare const avatarService: any;
|
|
2
|
+
export declare const Avatar: import("@builder.io/qwik").Component<any>;
|
|
3
|
+
export default Avatar;
|
|
4
|
+
export declare const COMPONENT: {
|
|
5
|
+
"@type": string;
|
|
6
|
+
children: {
|
|
7
|
+
"@type": string;
|
|
8
|
+
bindings: {
|
|
9
|
+
when: {
|
|
10
|
+
code: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
children: ({
|
|
14
|
+
"@type": string;
|
|
15
|
+
bindings: {
|
|
16
|
+
class?: undefined;
|
|
17
|
+
title?: undefined;
|
|
18
|
+
};
|
|
19
|
+
children: never[];
|
|
20
|
+
meta: {};
|
|
21
|
+
name: string;
|
|
22
|
+
properties: {
|
|
23
|
+
_text: string;
|
|
24
|
+
};
|
|
25
|
+
scope: {};
|
|
26
|
+
} | {
|
|
27
|
+
"@type": string;
|
|
28
|
+
bindings: {
|
|
29
|
+
class: {
|
|
30
|
+
code: string;
|
|
31
|
+
};
|
|
32
|
+
title: {
|
|
33
|
+
code: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
children: ({
|
|
37
|
+
"@type": string;
|
|
38
|
+
bindings: {
|
|
39
|
+
when?: undefined;
|
|
40
|
+
};
|
|
41
|
+
children: never[];
|
|
42
|
+
meta: {};
|
|
43
|
+
name: string;
|
|
44
|
+
properties: {
|
|
45
|
+
_text: string;
|
|
46
|
+
};
|
|
47
|
+
scope: {};
|
|
48
|
+
} | {
|
|
49
|
+
"@type": string;
|
|
50
|
+
bindings: {
|
|
51
|
+
when: {
|
|
52
|
+
code: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
children: ({
|
|
56
|
+
"@type": string;
|
|
57
|
+
bindings: {
|
|
58
|
+
class?: undefined;
|
|
59
|
+
style?: undefined;
|
|
60
|
+
};
|
|
61
|
+
children: never[];
|
|
62
|
+
meta: {};
|
|
63
|
+
name: string;
|
|
64
|
+
properties: {
|
|
65
|
+
_text: string;
|
|
66
|
+
};
|
|
67
|
+
scope: {};
|
|
68
|
+
} | {
|
|
69
|
+
"@type": string;
|
|
70
|
+
bindings: {
|
|
71
|
+
class: {
|
|
72
|
+
code: string;
|
|
73
|
+
};
|
|
74
|
+
style: {
|
|
75
|
+
code: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
children: ({
|
|
79
|
+
"@type": string;
|
|
80
|
+
bindings: {
|
|
81
|
+
when?: undefined;
|
|
82
|
+
};
|
|
83
|
+
children: never[];
|
|
84
|
+
meta: {};
|
|
85
|
+
name: string;
|
|
86
|
+
properties: {
|
|
87
|
+
_text: string;
|
|
88
|
+
};
|
|
89
|
+
scope: {};
|
|
90
|
+
} | {
|
|
91
|
+
"@type": string;
|
|
92
|
+
bindings: {
|
|
93
|
+
when: {
|
|
94
|
+
code: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
children: ({
|
|
98
|
+
"@type": string;
|
|
99
|
+
bindings: {
|
|
100
|
+
alt?: undefined;
|
|
101
|
+
src?: undefined;
|
|
102
|
+
};
|
|
103
|
+
children: never[];
|
|
104
|
+
meta: {};
|
|
105
|
+
name: string;
|
|
106
|
+
properties: {
|
|
107
|
+
_text: string;
|
|
108
|
+
class?: undefined;
|
|
109
|
+
};
|
|
110
|
+
scope: {};
|
|
111
|
+
} | {
|
|
112
|
+
"@type": string;
|
|
113
|
+
bindings: {
|
|
114
|
+
alt: {
|
|
115
|
+
code: string;
|
|
116
|
+
};
|
|
117
|
+
src: {
|
|
118
|
+
code: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
children: never[];
|
|
122
|
+
meta: {};
|
|
123
|
+
name: string;
|
|
124
|
+
properties: {
|
|
125
|
+
class: string;
|
|
126
|
+
_text?: undefined;
|
|
127
|
+
};
|
|
128
|
+
scope: {};
|
|
129
|
+
})[];
|
|
130
|
+
meta: {};
|
|
131
|
+
name: string;
|
|
132
|
+
properties: {
|
|
133
|
+
_text?: undefined;
|
|
134
|
+
};
|
|
135
|
+
scope: {};
|
|
136
|
+
} | {
|
|
137
|
+
"@type": string;
|
|
138
|
+
bindings: {
|
|
139
|
+
when: {
|
|
140
|
+
code: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
children: ({
|
|
144
|
+
"@type": string;
|
|
145
|
+
bindings: {};
|
|
146
|
+
children: never[];
|
|
147
|
+
meta: {};
|
|
148
|
+
name: string;
|
|
149
|
+
properties: {
|
|
150
|
+
_text: string;
|
|
151
|
+
};
|
|
152
|
+
scope: {};
|
|
153
|
+
} | {
|
|
154
|
+
"@type": string;
|
|
155
|
+
bindings: {};
|
|
156
|
+
children: {
|
|
157
|
+
"@type": string;
|
|
158
|
+
bindings: {
|
|
159
|
+
_text: {
|
|
160
|
+
code: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
children: never[];
|
|
164
|
+
meta: {};
|
|
165
|
+
name: string;
|
|
166
|
+
properties: {};
|
|
167
|
+
scope: {};
|
|
168
|
+
}[];
|
|
169
|
+
meta: {};
|
|
170
|
+
name: string;
|
|
171
|
+
properties: {
|
|
172
|
+
_text?: undefined;
|
|
173
|
+
};
|
|
174
|
+
scope: {};
|
|
175
|
+
})[];
|
|
176
|
+
meta: {};
|
|
177
|
+
name: string;
|
|
178
|
+
properties: {
|
|
179
|
+
_text?: undefined;
|
|
180
|
+
};
|
|
181
|
+
scope: {};
|
|
182
|
+
})[];
|
|
183
|
+
meta: {};
|
|
184
|
+
name: string;
|
|
185
|
+
properties: {
|
|
186
|
+
_text?: undefined;
|
|
187
|
+
};
|
|
188
|
+
scope: {};
|
|
189
|
+
})[];
|
|
190
|
+
meta: {};
|
|
191
|
+
name: string;
|
|
192
|
+
properties: {
|
|
193
|
+
_text?: undefined;
|
|
194
|
+
};
|
|
195
|
+
scope: {};
|
|
196
|
+
})[];
|
|
197
|
+
meta: {};
|
|
198
|
+
name: string;
|
|
199
|
+
properties: {
|
|
200
|
+
_text?: undefined;
|
|
201
|
+
};
|
|
202
|
+
scope: {};
|
|
203
|
+
})[];
|
|
204
|
+
meta: {};
|
|
205
|
+
name: string;
|
|
206
|
+
properties: {};
|
|
207
|
+
scope: {};
|
|
208
|
+
}[];
|
|
209
|
+
context: {
|
|
210
|
+
get: {};
|
|
211
|
+
set: {};
|
|
212
|
+
};
|
|
213
|
+
exports: {
|
|
214
|
+
avatarService: {
|
|
215
|
+
code: string;
|
|
216
|
+
isFunction: boolean;
|
|
217
|
+
usedInLocal: boolean;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
hooks: {
|
|
221
|
+
onMount: {
|
|
222
|
+
code: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
imports: {
|
|
226
|
+
imports: {};
|
|
227
|
+
path: string;
|
|
228
|
+
}[];
|
|
229
|
+
inputs: never[];
|
|
230
|
+
meta: {
|
|
231
|
+
useMetadata: {
|
|
232
|
+
isAttachedToShadowDom: boolean;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
name: string;
|
|
236
|
+
propsTypeRef: string;
|
|
237
|
+
refs: {};
|
|
238
|
+
state: {
|
|
239
|
+
classes: {
|
|
240
|
+
code: {
|
|
241
|
+
base: string;
|
|
242
|
+
container: string;
|
|
243
|
+
};
|
|
244
|
+
type: string;
|
|
245
|
+
};
|
|
246
|
+
initials: {
|
|
247
|
+
code: null;
|
|
248
|
+
type: string;
|
|
249
|
+
};
|
|
250
|
+
loaded: {
|
|
251
|
+
code: boolean;
|
|
252
|
+
type: string;
|
|
253
|
+
};
|
|
254
|
+
source: {
|
|
255
|
+
code: null;
|
|
256
|
+
type: string;
|
|
257
|
+
};
|
|
258
|
+
styles: {
|
|
259
|
+
code: {
|
|
260
|
+
container: null;
|
|
261
|
+
};
|
|
262
|
+
type: string;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
subComponents: never[];
|
|
266
|
+
types: string[];
|
|
267
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseProps, BaseState, CSS, Dynamic, Variant } from '~/models';
|
|
2
|
+
export declare type AvatarProps = {
|
|
3
|
+
variant?: Dynamic<Variant>;
|
|
4
|
+
name?: string;
|
|
5
|
+
unavatar?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
} & BaseProps;
|
|
9
|
+
export declare type AvatarState = {
|
|
10
|
+
classes: {
|
|
11
|
+
base: string;
|
|
12
|
+
container: string;
|
|
13
|
+
};
|
|
14
|
+
styles: {
|
|
15
|
+
container: CSS;
|
|
16
|
+
};
|
|
17
|
+
initials: string;
|
|
18
|
+
source: string;
|
|
19
|
+
} & BaseState;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import type { BuilderContextInterface } from '../context/types.js';
|
|
2
1
|
import type { BuilderBlock } from '../types/builder-block.js';
|
|
3
|
-
export declare function getBlockStyles(
|
|
4
|
-
block: BuilderBlock;
|
|
5
|
-
context: BuilderContextInterface;
|
|
6
|
-
}): Partial<CSSStyleDeclaration>;
|
|
2
|
+
export declare function getBlockStyles(block: BuilderBlock): Partial<CSSStyleDeclaration>;
|