@htmlbricks/hb-messages-send 0.60.20 → 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 +68 -56
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +17 -13
- package/types/webcomponent.type.d.ts +5 -3
- 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
|
}
|
|
@@ -73,11 +77,23 @@
|
|
|
73
77
|
"additionalProperties": false,
|
|
74
78
|
"properties": {
|
|
75
79
|
"expandable": {
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
80
|
+
"type": "boolean"
|
|
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"
|
|
79
95
|
],
|
|
80
|
-
"type": "
|
|
96
|
+
"type": "object"
|
|
81
97
|
},
|
|
82
98
|
"id": {
|
|
83
99
|
"type": "string"
|
|
@@ -100,18 +116,10 @@
|
|
|
100
116
|
},
|
|
101
117
|
"label": {
|
|
102
118
|
"type": "string"
|
|
103
|
-
},
|
|
104
|
-
"type": {
|
|
105
|
-
"enum": [
|
|
106
|
-
"file",
|
|
107
|
-
"toggle"
|
|
108
|
-
],
|
|
109
|
-
"type": "string"
|
|
110
119
|
}
|
|
111
120
|
},
|
|
112
121
|
"required": [
|
|
113
|
-
"id"
|
|
114
|
-
"type"
|
|
122
|
+
"id"
|
|
115
123
|
],
|
|
116
124
|
"type": "object"
|
|
117
125
|
},
|
|
@@ -137,18 +145,19 @@
|
|
|
137
145
|
"action": "sendMessageEvent"
|
|
138
146
|
},
|
|
139
147
|
"expandable": {
|
|
140
|
-
"options": [
|
|
141
|
-
"yes",
|
|
142
|
-
"no"
|
|
143
|
-
],
|
|
144
148
|
"control": {
|
|
145
|
-
"type": "
|
|
149
|
+
"type": "boolean"
|
|
146
150
|
}
|
|
147
151
|
},
|
|
148
152
|
"tags": {
|
|
149
153
|
"control": {
|
|
150
154
|
"type": "object"
|
|
151
155
|
}
|
|
156
|
+
},
|
|
157
|
+
"files": {
|
|
158
|
+
"control": {
|
|
159
|
+
"type": "object"
|
|
160
|
+
}
|
|
152
161
|
}
|
|
153
162
|
},
|
|
154
163
|
"styleSetup": {
|
|
@@ -177,15 +186,17 @@
|
|
|
177
186
|
"name": "withAMessage",
|
|
178
187
|
"data": {
|
|
179
188
|
"text": "This is a message from the \"message\" property",
|
|
180
|
-
"expandable":
|
|
189
|
+
"expandable": true,
|
|
181
190
|
"tags": [
|
|
182
191
|
{
|
|
183
|
-
"label": "
|
|
192
|
+
"label": "Test",
|
|
184
193
|
"icon": "file-earmark-check-fill",
|
|
185
|
-
"id": "
|
|
186
|
-
"type": "file"
|
|
194
|
+
"id": "test"
|
|
187
195
|
}
|
|
188
|
-
]
|
|
196
|
+
],
|
|
197
|
+
"files": {
|
|
198
|
+
"mode": "single"
|
|
199
|
+
}
|
|
189
200
|
}
|
|
190
201
|
},
|
|
191
202
|
{
|
|
@@ -194,18 +205,19 @@
|
|
|
194
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!",
|
|
195
206
|
"tags": [
|
|
196
207
|
{
|
|
197
|
-
"label": "
|
|
208
|
+
"label": "Test",
|
|
198
209
|
"icon": "file-earmark-check-fill",
|
|
199
|
-
"id": "
|
|
200
|
-
"type": "file"
|
|
210
|
+
"id": "test"
|
|
201
211
|
},
|
|
202
212
|
{
|
|
203
213
|
"label": "Think",
|
|
204
214
|
"icon": "lightbulb",
|
|
205
|
-
"id": "think"
|
|
206
|
-
"type": "toggle"
|
|
215
|
+
"id": "think"
|
|
207
216
|
}
|
|
208
|
-
]
|
|
217
|
+
],
|
|
218
|
+
"files": {
|
|
219
|
+
"mode": "multiple"
|
|
220
|
+
}
|
|
209
221
|
}
|
|
210
222
|
}
|
|
211
223
|
],
|
|
@@ -227,5 +239,5 @@
|
|
|
227
239
|
"size": {},
|
|
228
240
|
"iifePath": "main.iife.js",
|
|
229
241
|
"repoName": "@htmlbricks/hb-messages-send",
|
|
230
|
-
"version": "0.60.
|
|
242
|
+
"version": "0.60.22"
|
|
231
243
|
}
|
package/package.json
CHANGED
|
@@ -6,11 +6,23 @@
|
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"properties": {
|
|
8
8
|
"expandable": {
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
"type": "boolean"
|
|
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"
|
|
12
24
|
],
|
|
13
|
-
"type": "
|
|
25
|
+
"type": "object"
|
|
14
26
|
},
|
|
15
27
|
"id": {
|
|
16
28
|
"type": "string"
|
|
@@ -33,18 +45,10 @@
|
|
|
33
45
|
},
|
|
34
46
|
"label": {
|
|
35
47
|
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"type": {
|
|
38
|
-
"enum": [
|
|
39
|
-
"file",
|
|
40
|
-
"toggle"
|
|
41
|
-
],
|
|
42
|
-
"type": "string"
|
|
43
48
|
}
|
|
44
49
|
},
|
|
45
50
|
"required": [
|
|
46
|
-
"id"
|
|
47
|
-
"type"
|
|
51
|
+
"id"
|
|
48
52
|
],
|
|
49
53
|
"type": "object"
|
|
50
54
|
},
|
|
@@ -2,16 +2,18 @@ export type Component = {
|
|
|
2
2
|
id?: string;
|
|
3
3
|
style?: string;
|
|
4
4
|
text?: string;
|
|
5
|
-
expandable?:
|
|
5
|
+
expandable?: boolean;
|
|
6
6
|
tags?: {
|
|
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
|
}
|