@satorijs/adapter-lark 3.11.3 → 3.11.4
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/lib/index.cjs +2 -0
- package/package.json +1 -1
- package/src/message.ts +2 -0
package/lib/index.cjs
CHANGED
|
@@ -993,6 +993,7 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
|
|
|
993
993
|
tag: "checker",
|
|
994
994
|
name: (attrs.argument ? "@@" : attrs.option ? `@${attrs.option}=` : "") + attrs.name,
|
|
995
995
|
checked: attrs.value,
|
|
996
|
+
disabled: attrs.disabled,
|
|
996
997
|
text: {
|
|
997
998
|
tag: "plain_text",
|
|
998
999
|
content: this.textContent
|
|
@@ -1165,6 +1166,7 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
|
|
|
1165
1166
|
const parent = this.elements;
|
|
1166
1167
|
parent.push({
|
|
1167
1168
|
tag: "interactive_container",
|
|
1169
|
+
disabled: attrs.disabled,
|
|
1168
1170
|
width: attrs.width,
|
|
1169
1171
|
height: attrs.height,
|
|
1170
1172
|
margin: attrs.margin,
|
package/package.json
CHANGED
package/src/message.ts
CHANGED
|
@@ -257,6 +257,7 @@ export class LarkMessageEncoder<C extends Context = Context> extends MessageEnco
|
|
|
257
257
|
tag: 'checker',
|
|
258
258
|
name: (attrs.argument ? '@@' : attrs.option ? `@${attrs.option}=` : '') + attrs.name,
|
|
259
259
|
checked: attrs.value,
|
|
260
|
+
disabled: attrs.disabled,
|
|
260
261
|
text: {
|
|
261
262
|
tag: 'plain_text',
|
|
262
263
|
content: this.textContent,
|
|
@@ -429,6 +430,7 @@ export class LarkMessageEncoder<C extends Context = Context> extends MessageEnco
|
|
|
429
430
|
const parent = this.elements
|
|
430
431
|
parent.push({
|
|
431
432
|
tag: 'interactive_container',
|
|
433
|
+
disabled: attrs.disabled,
|
|
432
434
|
width: attrs.width,
|
|
433
435
|
height: attrs.height,
|
|
434
436
|
margin: attrs.margin,
|