@htmlbricks/hb-messages-send 0.60.19 → 0.60.20
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 +76 -4
- package/main.iife.js.map +1 -1
- package/manifest.json +87 -4
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +39 -0
- package/types/webcomponent.type.d.ts +9 -1
- package/types/webcomponent_events.type.d.json +8 -1
package/manifest.json
CHANGED
|
@@ -41,12 +41,19 @@
|
|
|
41
41
|
"id": {
|
|
42
42
|
"type": "string"
|
|
43
43
|
},
|
|
44
|
+
"tags": {
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"type": "array"
|
|
49
|
+
},
|
|
44
50
|
"text": {
|
|
45
51
|
"type": "string"
|
|
46
52
|
}
|
|
47
53
|
},
|
|
48
54
|
"required": [
|
|
49
|
-
"id"
|
|
55
|
+
"id",
|
|
56
|
+
"tags"
|
|
50
57
|
],
|
|
51
58
|
"type": "object"
|
|
52
59
|
}
|
|
@@ -65,12 +72,51 @@
|
|
|
65
72
|
"Component": {
|
|
66
73
|
"additionalProperties": false,
|
|
67
74
|
"properties": {
|
|
75
|
+
"expandable": {
|
|
76
|
+
"enum": [
|
|
77
|
+
"yes",
|
|
78
|
+
"no"
|
|
79
|
+
],
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
68
82
|
"id": {
|
|
69
83
|
"type": "string"
|
|
70
84
|
},
|
|
71
85
|
"style": {
|
|
72
86
|
"type": "string"
|
|
73
87
|
},
|
|
88
|
+
"tags": {
|
|
89
|
+
"items": {
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"properties": {
|
|
92
|
+
"color": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"icon": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"id": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"label": {
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
"type": {
|
|
105
|
+
"enum": [
|
|
106
|
+
"file",
|
|
107
|
+
"toggle"
|
|
108
|
+
],
|
|
109
|
+
"type": "string"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"id",
|
|
114
|
+
"type"
|
|
115
|
+
],
|
|
116
|
+
"type": "object"
|
|
117
|
+
},
|
|
118
|
+
"type": "array"
|
|
119
|
+
},
|
|
74
120
|
"text": {
|
|
75
121
|
"type": "string"
|
|
76
122
|
}
|
|
@@ -89,6 +135,20 @@
|
|
|
89
135
|
},
|
|
90
136
|
"sendMessage": {
|
|
91
137
|
"action": "sendMessageEvent"
|
|
138
|
+
},
|
|
139
|
+
"expandable": {
|
|
140
|
+
"options": [
|
|
141
|
+
"yes",
|
|
142
|
+
"no"
|
|
143
|
+
],
|
|
144
|
+
"control": {
|
|
145
|
+
"type": "select"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"tags": {
|
|
149
|
+
"control": {
|
|
150
|
+
"type": "object"
|
|
151
|
+
}
|
|
92
152
|
}
|
|
93
153
|
},
|
|
94
154
|
"styleSetup": {
|
|
@@ -116,13 +176,36 @@
|
|
|
116
176
|
{
|
|
117
177
|
"name": "withAMessage",
|
|
118
178
|
"data": {
|
|
119
|
-
"text": "This is a message from the \"message\" property"
|
|
179
|
+
"text": "This is a message from the \"message\" property",
|
|
180
|
+
"expandable": "yes",
|
|
181
|
+
"tags": [
|
|
182
|
+
{
|
|
183
|
+
"label": "File",
|
|
184
|
+
"icon": "file-earmark-check-fill",
|
|
185
|
+
"id": "file",
|
|
186
|
+
"type": "file"
|
|
187
|
+
}
|
|
188
|
+
]
|
|
120
189
|
}
|
|
121
190
|
},
|
|
122
191
|
{
|
|
123
192
|
"name": "withABigMessage",
|
|
124
193
|
"data": {
|
|
125
|
-
"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!"
|
|
194
|
+
"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
|
+
"tags": [
|
|
196
|
+
{
|
|
197
|
+
"label": "File",
|
|
198
|
+
"icon": "file-earmark-check-fill",
|
|
199
|
+
"id": "file",
|
|
200
|
+
"type": "file"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"label": "Think",
|
|
204
|
+
"icon": "lightbulb",
|
|
205
|
+
"id": "think",
|
|
206
|
+
"type": "toggle"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
126
209
|
}
|
|
127
210
|
}
|
|
128
211
|
],
|
|
@@ -144,5 +227,5 @@
|
|
|
144
227
|
"size": {},
|
|
145
228
|
"iifePath": "main.iife.js",
|
|
146
229
|
"repoName": "@htmlbricks/hb-messages-send",
|
|
147
|
-
"version": "0.60.
|
|
230
|
+
"version": "0.60.20"
|
|
148
231
|
}
|
package/package.json
CHANGED
|
@@ -5,12 +5,51 @@
|
|
|
5
5
|
"Component": {
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"properties": {
|
|
8
|
+
"expandable": {
|
|
9
|
+
"enum": [
|
|
10
|
+
"yes",
|
|
11
|
+
"no"
|
|
12
|
+
],
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
8
15
|
"id": {
|
|
9
16
|
"type": "string"
|
|
10
17
|
},
|
|
11
18
|
"style": {
|
|
12
19
|
"type": "string"
|
|
13
20
|
},
|
|
21
|
+
"tags": {
|
|
22
|
+
"items": {
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"properties": {
|
|
25
|
+
"color": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"icon": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"id": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"label": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"type": {
|
|
38
|
+
"enum": [
|
|
39
|
+
"file",
|
|
40
|
+
"toggle"
|
|
41
|
+
],
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"id",
|
|
47
|
+
"type"
|
|
48
|
+
],
|
|
49
|
+
"type": "object"
|
|
50
|
+
},
|
|
51
|
+
"type": "array"
|
|
52
|
+
},
|
|
14
53
|
"text": {
|
|
15
54
|
"type": "string"
|
|
16
55
|
}
|
|
@@ -2,8 +2,16 @@ export type Component = {
|
|
|
2
2
|
id?: string;
|
|
3
3
|
style?: string;
|
|
4
4
|
text?: string;
|
|
5
|
+
expandable?: "yes" | "no";
|
|
6
|
+
tags?: {
|
|
7
|
+
label?: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
id: string
|
|
10
|
+
type: "file" | "toggle"
|
|
11
|
+
color?: string;
|
|
12
|
+
}[]
|
|
5
13
|
};
|
|
6
14
|
|
|
7
15
|
export type Events = {
|
|
8
|
-
sendMessage: { text?: string; id: string; file?: File };
|
|
16
|
+
sendMessage: { text?: string; id: string; file?: File; tags: string[] };
|
|
9
17
|
};
|
|
@@ -39,12 +39,19 @@
|
|
|
39
39
|
"id": {
|
|
40
40
|
"type": "string"
|
|
41
41
|
},
|
|
42
|
+
"tags": {
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"type": "array"
|
|
47
|
+
},
|
|
42
48
|
"text": {
|
|
43
49
|
"type": "string"
|
|
44
50
|
}
|
|
45
51
|
},
|
|
46
52
|
"required": [
|
|
47
|
-
"id"
|
|
53
|
+
"id",
|
|
54
|
+
"tags"
|
|
48
55
|
],
|
|
49
56
|
"type": "object"
|
|
50
57
|
}
|