@htmlbricks/hb-messages-send 0.60.21 → 0.60.22
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/main.iife.js +140 -42
- package/main.iife.js.map +1 -1
- package/manifest.json +66 -46
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +17 -9
- package/types/webcomponent.type.d.ts +4 -2
- package/types/webcomponent_events.type.d.json +30 -26
package/manifest.json
CHANGED
|
@@ -10,33 +10,36 @@
|
|
|
10
10
|
"sendMessage": {
|
|
11
11
|
"additionalProperties": false,
|
|
12
12
|
"properties": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"type":
|
|
13
|
+
"files": {
|
|
14
|
+
"items": {
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"properties": {
|
|
17
|
+
"lastModified": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"size": {
|
|
24
|
+
"type": "number"
|
|
25
|
+
},
|
|
26
|
+
"type": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"webkitRelativePath": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
27
32
|
},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
33
|
+
"required": [
|
|
34
|
+
"lastModified",
|
|
35
|
+
"name",
|
|
36
|
+
"size",
|
|
37
|
+
"type",
|
|
38
|
+
"webkitRelativePath"
|
|
39
|
+
],
|
|
40
|
+
"type": "object"
|
|
31
41
|
},
|
|
32
|
-
"
|
|
33
|
-
"lastModified",
|
|
34
|
-
"name",
|
|
35
|
-
"size",
|
|
36
|
-
"type",
|
|
37
|
-
"webkitRelativePath"
|
|
38
|
-
],
|
|
39
|
-
"type": "object"
|
|
42
|
+
"type": "array"
|
|
40
43
|
},
|
|
41
44
|
"id": {
|
|
42
45
|
"type": "string"
|
|
@@ -53,7 +56,8 @@
|
|
|
53
56
|
},
|
|
54
57
|
"required": [
|
|
55
58
|
"id",
|
|
56
|
-
"tags"
|
|
59
|
+
"tags",
|
|
60
|
+
"files"
|
|
57
61
|
],
|
|
58
62
|
"type": "object"
|
|
59
63
|
}
|
|
@@ -75,6 +79,22 @@
|
|
|
75
79
|
"expandable": {
|
|
76
80
|
"type": "boolean"
|
|
77
81
|
},
|
|
82
|
+
"files": {
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"properties": {
|
|
85
|
+
"mode": {
|
|
86
|
+
"enum": [
|
|
87
|
+
"single",
|
|
88
|
+
"multiple"
|
|
89
|
+
],
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"mode"
|
|
95
|
+
],
|
|
96
|
+
"type": "object"
|
|
97
|
+
},
|
|
78
98
|
"id": {
|
|
79
99
|
"type": "string"
|
|
80
100
|
},
|
|
@@ -96,18 +116,10 @@
|
|
|
96
116
|
},
|
|
97
117
|
"label": {
|
|
98
118
|
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"type": {
|
|
101
|
-
"enum": [
|
|
102
|
-
"file",
|
|
103
|
-
"toggle"
|
|
104
|
-
],
|
|
105
|
-
"type": "string"
|
|
106
119
|
}
|
|
107
120
|
},
|
|
108
121
|
"required": [
|
|
109
|
-
"id"
|
|
110
|
-
"type"
|
|
122
|
+
"id"
|
|
111
123
|
],
|
|
112
124
|
"type": "object"
|
|
113
125
|
},
|
|
@@ -141,6 +153,11 @@
|
|
|
141
153
|
"control": {
|
|
142
154
|
"type": "object"
|
|
143
155
|
}
|
|
156
|
+
},
|
|
157
|
+
"files": {
|
|
158
|
+
"control": {
|
|
159
|
+
"type": "object"
|
|
160
|
+
}
|
|
144
161
|
}
|
|
145
162
|
},
|
|
146
163
|
"styleSetup": {
|
|
@@ -172,12 +189,14 @@
|
|
|
172
189
|
"expandable": true,
|
|
173
190
|
"tags": [
|
|
174
191
|
{
|
|
175
|
-
"label": "
|
|
192
|
+
"label": "Test",
|
|
176
193
|
"icon": "file-earmark-check-fill",
|
|
177
|
-
"id": "
|
|
178
|
-
"type": "file"
|
|
194
|
+
"id": "test"
|
|
179
195
|
}
|
|
180
|
-
]
|
|
196
|
+
],
|
|
197
|
+
"files": {
|
|
198
|
+
"mode": "single"
|
|
199
|
+
}
|
|
181
200
|
}
|
|
182
201
|
},
|
|
183
202
|
{
|
|
@@ -186,18 +205,19 @@
|
|
|
186
205
|
"text": "Lorem ipsum dolor sit amet. Et nisi sapiente est nesciunt consequatur 33 omnis laboriosam in ratione suscipit qui minima repellat aut rerum voluptatem ut mollitia laboriosam. Nam ipsam alias in tempore fugiat in sint minus a quisquam ratione ut recusandae quisquam sit aperiam dolorem 33 voluptate consequatur. Et mollitia velit sit voluptatibus voluptate non autem repellendus sed magnam recusandae et galisum repellat. Et dolores provident ut dolor fuga sed eligendi amet. Ex quia saepe et quidem accusamus qui minus voluptatem in aliquid facere sed blanditiis quibusdam et minus Quis! Qui accusamus perspiciatis aut error minima est dolorem molestiae ut iste debitis rem dolores magni cum doloribus facilis et provident architecto. Qui accusamus dignissimos qui repellendus consequatur ut galisum iusto aut modi numquam. Ex architecto iure non rerum eius sit eius quasi et tempore eveniet ut consequuntur quae. Eos Quis voluptates est corporis cumque aut maiores alias eum quos voluptas sit quis totam quo alias cumque!",
|
|
187
206
|
"tags": [
|
|
188
207
|
{
|
|
189
|
-
"label": "
|
|
208
|
+
"label": "Test",
|
|
190
209
|
"icon": "file-earmark-check-fill",
|
|
191
|
-
"id": "
|
|
192
|
-
"type": "file"
|
|
210
|
+
"id": "test"
|
|
193
211
|
},
|
|
194
212
|
{
|
|
195
213
|
"label": "Think",
|
|
196
214
|
"icon": "lightbulb",
|
|
197
|
-
"id": "think"
|
|
198
|
-
"type": "toggle"
|
|
215
|
+
"id": "think"
|
|
199
216
|
}
|
|
200
|
-
]
|
|
217
|
+
],
|
|
218
|
+
"files": {
|
|
219
|
+
"mode": "multiple"
|
|
220
|
+
}
|
|
201
221
|
}
|
|
202
222
|
}
|
|
203
223
|
],
|
|
@@ -219,5 +239,5 @@
|
|
|
219
239
|
"size": {},
|
|
220
240
|
"iifePath": "main.iife.js",
|
|
221
241
|
"repoName": "@htmlbricks/hb-messages-send",
|
|
222
|
-
"version": "0.60.
|
|
242
|
+
"version": "0.60.22"
|
|
223
243
|
}
|
package/package.json
CHANGED
|
@@ -8,6 +8,22 @@
|
|
|
8
8
|
"expandable": {
|
|
9
9
|
"type": "boolean"
|
|
10
10
|
},
|
|
11
|
+
"files": {
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"properties": {
|
|
14
|
+
"mode": {
|
|
15
|
+
"enum": [
|
|
16
|
+
"single",
|
|
17
|
+
"multiple"
|
|
18
|
+
],
|
|
19
|
+
"type": "string"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"mode"
|
|
24
|
+
],
|
|
25
|
+
"type": "object"
|
|
26
|
+
},
|
|
11
27
|
"id": {
|
|
12
28
|
"type": "string"
|
|
13
29
|
},
|
|
@@ -29,18 +45,10 @@
|
|
|
29
45
|
},
|
|
30
46
|
"label": {
|
|
31
47
|
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"type": {
|
|
34
|
-
"enum": [
|
|
35
|
-
"file",
|
|
36
|
-
"toggle"
|
|
37
|
-
],
|
|
38
|
-
"type": "string"
|
|
39
48
|
}
|
|
40
49
|
},
|
|
41
50
|
"required": [
|
|
42
|
-
"id"
|
|
43
|
-
"type"
|
|
51
|
+
"id"
|
|
44
52
|
],
|
|
45
53
|
"type": "object"
|
|
46
54
|
},
|
|
@@ -7,11 +7,13 @@ export type Component = {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
icon?: string;
|
|
9
9
|
id: string
|
|
10
|
-
type: "file" | "toggle"
|
|
11
10
|
color?: string;
|
|
12
11
|
}[]
|
|
12
|
+
files?: {
|
|
13
|
+
mode: "single" | "multiple";
|
|
14
|
+
}
|
|
13
15
|
};
|
|
14
16
|
|
|
15
17
|
export type Events = {
|
|
16
|
-
sendMessage: { text?: string; id: string;
|
|
18
|
+
sendMessage: { text?: string; id: string; tags: string[]; files: File[] };
|
|
17
19
|
};
|
|
@@ -8,33 +8,36 @@
|
|
|
8
8
|
"sendMessage": {
|
|
9
9
|
"additionalProperties": false,
|
|
10
10
|
"properties": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"type":
|
|
11
|
+
"files": {
|
|
12
|
+
"items": {
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"properties": {
|
|
15
|
+
"lastModified": {
|
|
16
|
+
"type": "number"
|
|
17
|
+
},
|
|
18
|
+
"name": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"size": {
|
|
22
|
+
"type": "number"
|
|
23
|
+
},
|
|
24
|
+
"type": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"webkitRelativePath": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
25
30
|
},
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
31
|
+
"required": [
|
|
32
|
+
"lastModified",
|
|
33
|
+
"name",
|
|
34
|
+
"size",
|
|
35
|
+
"type",
|
|
36
|
+
"webkitRelativePath"
|
|
37
|
+
],
|
|
38
|
+
"type": "object"
|
|
29
39
|
},
|
|
30
|
-
"
|
|
31
|
-
"lastModified",
|
|
32
|
-
"name",
|
|
33
|
-
"size",
|
|
34
|
-
"type",
|
|
35
|
-
"webkitRelativePath"
|
|
36
|
-
],
|
|
37
|
-
"type": "object"
|
|
40
|
+
"type": "array"
|
|
38
41
|
},
|
|
39
42
|
"id": {
|
|
40
43
|
"type": "string"
|
|
@@ -51,7 +54,8 @@
|
|
|
51
54
|
},
|
|
52
55
|
"required": [
|
|
53
56
|
"id",
|
|
54
|
-
"tags"
|
|
57
|
+
"tags",
|
|
58
|
+
"files"
|
|
55
59
|
],
|
|
56
60
|
"type": "object"
|
|
57
61
|
}
|