@openclaw/line 2026.7.2-beta.4 → 2026.7.2-beta.7

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.
Files changed (149) hide show
  1. package/README.md +1 -1
  2. package/dist/accounts-BqEVsDoB.js +103 -0
  3. package/dist/api.js +2 -2
  4. package/dist/{card-command-Ch0TwcDW.js → card-command-ty11OJNt.js} +1 -2
  5. package/dist/{channel-CNcv74n2.js → channel-D4i_K4fQ.js} +9 -9
  6. package/dist/channel-plugin-api.js +1 -1
  7. package/dist/channel.runtime-BdhK8Xw7.js +4 -0
  8. package/dist/contract-api.js +1 -1
  9. package/dist/flex-templates-iKJsyCq-.js +1339 -0
  10. package/dist/index.js +1 -1
  11. package/dist/{markdown-to-line-DWIdzBfy.js → markdown-to-line-DMDQTMhx.js} +27 -12
  12. package/dist/{monitor-BinAXvIY.js → monitor-DXEodYFJ.js} +63 -106
  13. package/dist/monitor.runtime-CZquR7jI.js +2 -0
  14. package/dist/{outbound.runtime-DRyoVa81.js → outbound.runtime-BS0IhU_M.js} +1 -1
  15. package/dist/{probe-BslD77tJ.js → probe-CM03wo6r.js} +7 -9
  16. package/dist/probe.runtime-D13ZtXsd.js +2 -0
  17. package/dist/{reply-payload-transform-d57WYHFm.js → reply-payload-transform-D5-dHB8b.js} +1 -1
  18. package/dist/runtime-api.js +9 -9
  19. package/dist/setup-api.js +1 -1
  20. package/dist/{setup-surface-Bili5gWy.js → setup-surface-DRQ7n0En.js} +93 -129
  21. package/package.json +4 -5
  22. package/dist/accounts-BUBOoW5Q.js +0 -169
  23. package/dist/basic-cards-Rb-Ow7LN.js +0 -307
  24. package/dist/channel.runtime-BBCZvRa_.js +0 -4
  25. package/dist/flex-templates-KiKaVYgi.js +0 -813
  26. package/dist/monitor.runtime-DKj4FHkA.js +0 -2
  27. package/dist/probe.runtime-CRhVGqwl.js +0 -2
  28. package/npm-shrinkwrap.json +0 -60
  29. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/LICENSE +0 -0
  30. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/README.md +0 -0
  31. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/assert/strict.d.ts +0 -0
  32. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/assert.d.ts +0 -0
  33. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/async_hooks.d.ts +0 -0
  34. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/buffer.buffer.d.ts +0 -0
  35. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/buffer.d.ts +0 -0
  36. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/child_process.d.ts +0 -0
  37. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/cluster.d.ts +0 -0
  38. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/compatibility/iterators.d.ts +0 -0
  39. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/console.d.ts +0 -0
  40. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/constants.d.ts +0 -0
  41. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/crypto.d.ts +0 -0
  42. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/dgram.d.ts +0 -0
  43. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/diagnostics_channel.d.ts +0 -0
  44. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/dns/promises.d.ts +0 -0
  45. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/dns.d.ts +0 -0
  46. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/domain.d.ts +0 -0
  47. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/events.d.ts +0 -0
  48. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/fs/promises.d.ts +0 -0
  49. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/fs.d.ts +0 -0
  50. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/globals.d.ts +0 -0
  51. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/globals.typedarray.d.ts +0 -0
  52. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/http.d.ts +0 -0
  53. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/http2.d.ts +0 -0
  54. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/https.d.ts +0 -0
  55. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/index.d.ts +0 -0
  56. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/inspector.d.ts +0 -0
  57. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/inspector.generated.d.ts +0 -0
  58. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/module.d.ts +0 -0
  59. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/net.d.ts +0 -0
  60. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/os.d.ts +0 -0
  61. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/package.json +0 -0
  62. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/path.d.ts +0 -0
  63. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/perf_hooks.d.ts +0 -0
  64. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/process.d.ts +0 -0
  65. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/punycode.d.ts +0 -0
  66. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/querystring.d.ts +0 -0
  67. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/readline/promises.d.ts +0 -0
  68. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/readline.d.ts +0 -0
  69. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/repl.d.ts +0 -0
  70. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/sea.d.ts +0 -0
  71. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/sqlite.d.ts +0 -0
  72. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/stream/consumers.d.ts +0 -0
  73. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/stream/promises.d.ts +0 -0
  74. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/stream/web.d.ts +0 -0
  75. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/stream.d.ts +0 -0
  76. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/string_decoder.d.ts +0 -0
  77. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/test.d.ts +0 -0
  78. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/timers/promises.d.ts +0 -0
  79. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/timers.d.ts +0 -0
  80. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/tls.d.ts +0 -0
  81. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/trace_events.d.ts +0 -0
  82. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/ts5.6/buffer.buffer.d.ts +0 -0
  83. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/ts5.6/compatibility/float16array.d.ts +0 -0
  84. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/ts5.6/globals.typedarray.d.ts +0 -0
  85. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/ts5.6/index.d.ts +0 -0
  86. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/ts5.7/compatibility/float16array.d.ts +0 -0
  87. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/ts5.7/index.d.ts +0 -0
  88. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/tty.d.ts +0 -0
  89. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/url.d.ts +0 -0
  90. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/util.d.ts +0 -0
  91. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/v8.d.ts +0 -0
  92. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/vm.d.ts +0 -0
  93. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/wasi.d.ts +0 -0
  94. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/web-globals/abortcontroller.d.ts +0 -0
  95. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/web-globals/crypto.d.ts +0 -0
  96. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/web-globals/domexception.d.ts +0 -0
  97. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/web-globals/events.d.ts +0 -0
  98. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/web-globals/fetch.d.ts +0 -0
  99. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/web-globals/navigator.d.ts +0 -0
  100. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/web-globals/storage.d.ts +0 -0
  101. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/web-globals/streams.d.ts +0 -0
  102. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/worker_threads.d.ts +0 -0
  103. /package/node_modules/{@types → @line/bot-sdk/node_modules/@types}/node/zlib.d.ts +0 -0
  104. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/LICENSE +0 -0
  105. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/README.md +0 -0
  106. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/agent.d.ts +0 -0
  107. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/api.d.ts +0 -0
  108. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/balanced-pool.d.ts +0 -0
  109. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/cache-interceptor.d.ts +0 -0
  110. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/cache.d.ts +0 -0
  111. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/client-stats.d.ts +0 -0
  112. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/client.d.ts +0 -0
  113. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/connector.d.ts +0 -0
  114. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/content-type.d.ts +0 -0
  115. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/cookies.d.ts +0 -0
  116. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/diagnostics-channel.d.ts +0 -0
  117. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/dispatcher.d.ts +0 -0
  118. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/env-http-proxy-agent.d.ts +0 -0
  119. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/errors.d.ts +0 -0
  120. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/eventsource.d.ts +0 -0
  121. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/fetch.d.ts +0 -0
  122. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/formdata.d.ts +0 -0
  123. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/global-dispatcher.d.ts +0 -0
  124. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/global-origin.d.ts +0 -0
  125. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/h2c-client.d.ts +0 -0
  126. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/handlers.d.ts +0 -0
  127. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/header.d.ts +0 -0
  128. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/index.d.ts +0 -0
  129. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/interceptors.d.ts +0 -0
  130. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/mock-agent.d.ts +0 -0
  131. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/mock-call-history.d.ts +0 -0
  132. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/mock-client.d.ts +0 -0
  133. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/mock-errors.d.ts +0 -0
  134. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/mock-interceptor.d.ts +0 -0
  135. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/mock-pool.d.ts +0 -0
  136. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/package.json +0 -0
  137. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/patch.d.ts +0 -0
  138. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/pool-stats.d.ts +0 -0
  139. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/pool.d.ts +0 -0
  140. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/proxy-agent.d.ts +0 -0
  141. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/readable.d.ts +0 -0
  142. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/retry-agent.d.ts +0 -0
  143. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/retry-handler.d.ts +0 -0
  144. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/round-robin-pool.d.ts +0 -0
  145. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/snapshot-agent.d.ts +0 -0
  146. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/util.d.ts +0 -0
  147. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/utility.d.ts +0 -0
  148. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/webidl.d.ts +0 -0
  149. /package/node_modules/{undici-types → @line/bot-sdk/node_modules/undici-types}/websocket.d.ts +0 -0
@@ -1,307 +0,0 @@
1
- import { d as attachFooterText } from "./flex-templates-KiKaVYgi.js";
2
- //#region extensions/line/src/flex-templates/basic-cards.ts
3
- /**
4
- * Create an info card with title, body, and optional footer
5
- *
6
- * Editorial design: Clean hierarchy with accent bar, generous spacing,
7
- * and subtle background zones for visual separation.
8
- */
9
- function createInfoCard(title, body, footer) {
10
- const bubble = {
11
- type: "bubble",
12
- size: "mega",
13
- body: {
14
- type: "box",
15
- layout: "vertical",
16
- contents: [{
17
- type: "box",
18
- layout: "horizontal",
19
- contents: [{
20
- type: "box",
21
- layout: "vertical",
22
- contents: [],
23
- width: "4px",
24
- backgroundColor: "#06C755",
25
- cornerRadius: "2px"
26
- }, {
27
- type: "text",
28
- text: title,
29
- weight: "bold",
30
- size: "xl",
31
- color: "#111111",
32
- wrap: true,
33
- flex: 1,
34
- margin: "lg"
35
- }]
36
- }, {
37
- type: "box",
38
- layout: "vertical",
39
- contents: [{
40
- type: "text",
41
- text: body,
42
- size: "md",
43
- color: "#444444",
44
- wrap: true,
45
- lineSpacing: "6px"
46
- }],
47
- margin: "xl",
48
- paddingAll: "lg",
49
- backgroundColor: "#F8F9FA",
50
- cornerRadius: "lg"
51
- }],
52
- paddingAll: "xl",
53
- backgroundColor: "#FFFFFF"
54
- }
55
- };
56
- if (footer) attachFooterText(bubble, footer);
57
- return bubble;
58
- }
59
- /**
60
- * Create a list card with title and multiple items
61
- *
62
- * Editorial design: Numbered/bulleted list with clear visual hierarchy,
63
- * accent dots for each item, and generous spacing.
64
- */
65
- function createListCard(title, items) {
66
- const itemContents = items.slice(0, 8).map((item, index) => {
67
- const itemContentsLocal = [{
68
- type: "text",
69
- text: item.title,
70
- size: "md",
71
- weight: "bold",
72
- color: "#1a1a1a",
73
- wrap: true
74
- }];
75
- if (item.subtitle) itemContentsLocal.push({
76
- type: "text",
77
- text: item.subtitle,
78
- size: "sm",
79
- color: "#888888",
80
- wrap: true,
81
- margin: "xs"
82
- });
83
- const itemBox = {
84
- type: "box",
85
- layout: "horizontal",
86
- contents: [{
87
- type: "box",
88
- layout: "vertical",
89
- contents: [{
90
- type: "box",
91
- layout: "vertical",
92
- contents: [],
93
- width: "8px",
94
- height: "8px",
95
- backgroundColor: index === 0 ? "#06C755" : "#DDDDDD",
96
- cornerRadius: "4px"
97
- }],
98
- width: "20px",
99
- alignItems: "center",
100
- paddingTop: "sm"
101
- }, {
102
- type: "box",
103
- layout: "vertical",
104
- contents: itemContentsLocal,
105
- flex: 1
106
- }],
107
- margin: index > 0 ? "lg" : void 0
108
- };
109
- if (item.action) itemBox.action = item.action;
110
- return itemBox;
111
- });
112
- return {
113
- type: "bubble",
114
- size: "mega",
115
- body: {
116
- type: "box",
117
- layout: "vertical",
118
- contents: [
119
- {
120
- type: "text",
121
- text: title,
122
- weight: "bold",
123
- size: "xl",
124
- color: "#111111",
125
- wrap: true
126
- },
127
- {
128
- type: "separator",
129
- margin: "lg",
130
- color: "#EEEEEE"
131
- },
132
- {
133
- type: "box",
134
- layout: "vertical",
135
- contents: itemContents,
136
- margin: "lg"
137
- }
138
- ],
139
- paddingAll: "xl",
140
- backgroundColor: "#FFFFFF"
141
- }
142
- };
143
- }
144
- /**
145
- * Create an image card with image, title, and optional body text
146
- */
147
- function createImageCard(imageUrl, title, body, options) {
148
- const bubble = {
149
- type: "bubble",
150
- hero: {
151
- type: "image",
152
- url: imageUrl,
153
- size: "full",
154
- aspectRatio: options?.aspectRatio ?? "20:13",
155
- aspectMode: options?.aspectMode ?? "cover",
156
- action: options?.action
157
- },
158
- body: {
159
- type: "box",
160
- layout: "vertical",
161
- contents: [{
162
- type: "text",
163
- text: title,
164
- weight: "bold",
165
- size: "xl",
166
- wrap: true
167
- }],
168
- paddingAll: "lg"
169
- }
170
- };
171
- if (body && bubble.body) bubble.body.contents.push({
172
- type: "text",
173
- text: body,
174
- size: "md",
175
- wrap: true,
176
- margin: "md",
177
- color: "#666666"
178
- });
179
- return bubble;
180
- }
181
- /**
182
- * Create an action card with title, body, and action buttons
183
- */
184
- function createActionCard(title, body, actions, options) {
185
- const bubble = {
186
- type: "bubble",
187
- body: {
188
- type: "box",
189
- layout: "vertical",
190
- contents: [{
191
- type: "text",
192
- text: title,
193
- weight: "bold",
194
- size: "xl",
195
- wrap: true
196
- }, {
197
- type: "text",
198
- text: body,
199
- size: "md",
200
- wrap: true,
201
- margin: "md",
202
- color: "#666666"
203
- }],
204
- paddingAll: "lg"
205
- },
206
- footer: {
207
- type: "box",
208
- layout: "vertical",
209
- contents: actions.slice(0, 4).map((action, index) => ({
210
- type: "button",
211
- action: action.action,
212
- style: index === 0 ? "primary" : "secondary",
213
- margin: index > 0 ? "sm" : void 0
214
- })),
215
- paddingAll: "md"
216
- }
217
- };
218
- if (options?.imageUrl) bubble.hero = {
219
- type: "image",
220
- url: options.imageUrl,
221
- size: "full",
222
- aspectRatio: options.aspectRatio ?? "20:13",
223
- aspectMode: "cover"
224
- };
225
- return bubble;
226
- }
227
- /**
228
- * Create a carousel container from multiple bubbles
229
- * LINE allows max 12 bubbles in a carousel
230
- */
231
- function createCarousel(bubbles) {
232
- return {
233
- type: "carousel",
234
- contents: bubbles.slice(0, 12)
235
- };
236
- }
237
- /**
238
- * Create a notification bubble (for alerts, status updates)
239
- *
240
- * Editorial design: Bold status indicator with accent color,
241
- * clear typography, optional icon for context.
242
- */
243
- function createNotificationBubble(text, options) {
244
- const typeColors = {
245
- info: {
246
- accent: "#3B82F6",
247
- bg: "#EFF6FF"
248
- },
249
- success: {
250
- accent: "#06C755",
251
- bg: "#F0FDF4"
252
- },
253
- warning: {
254
- accent: "#F59E0B",
255
- bg: "#FFFBEB"
256
- },
257
- error: {
258
- accent: "#EF4444",
259
- bg: "#FEF2F2"
260
- }
261
- }[options?.type ?? "info"];
262
- const contents = [];
263
- contents.push({
264
- type: "box",
265
- layout: "vertical",
266
- contents: [],
267
- width: "4px",
268
- backgroundColor: typeColors.accent,
269
- cornerRadius: "2px"
270
- });
271
- const textContents = [];
272
- if (options?.title) textContents.push({
273
- type: "text",
274
- text: options.title,
275
- size: "md",
276
- weight: "bold",
277
- color: "#111111",
278
- wrap: true
279
- });
280
- textContents.push({
281
- type: "text",
282
- text,
283
- size: options?.title ? "sm" : "md",
284
- color: options?.title ? "#666666" : "#333333",
285
- wrap: true,
286
- margin: options?.title ? "sm" : void 0
287
- });
288
- contents.push({
289
- type: "box",
290
- layout: "vertical",
291
- contents: textContents,
292
- flex: 1,
293
- paddingStart: "lg"
294
- });
295
- return {
296
- type: "bubble",
297
- body: {
298
- type: "box",
299
- layout: "horizontal",
300
- contents,
301
- paddingAll: "xl",
302
- backgroundColor: typeColors.bg
303
- }
304
- };
305
- }
306
- //#endregion
307
- export { createListCard as a, createInfoCard as i, createCarousel as n, createNotificationBubble as o, createImageCard as r, createActionCard as t };
@@ -1,4 +0,0 @@
1
- import { v as pushMessageLine } from "./markdown-to-line-DWIdzBfy.js";
2
- import { t as monitorLineProvider } from "./monitor-BinAXvIY.js";
3
- import { t as probeLineBot } from "./probe-BslD77tJ.js";
4
- export { monitorLineProvider, probeLineBot, pushMessageLine };