@open-feishu-card/adapter 0.1.0

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.
@@ -0,0 +1,288 @@
1
+ /**
2
+ * 飞书 emoji 短码(:KEY:)-> 雪碧图名映射 + 完整雪碧 CSS。
3
+ * 由 scripts/gen-emoji.mjs 从网页版飞书资源生成,请勿手改。
4
+ *
5
+ * 渲染机制:<i class="larkw-emoji__img--emoji-<name>"> 靠单张雪碧图 CDN + background-position
6
+ * 画出表情(与网页版飞书一致)。雪碧图走 CDN 不内联。详见 README 的「Emoji」一节。
7
+ *
8
+ * 共 270 个短码,291 个雪碧定位。
9
+ */
10
+ /** emoji 短码(大小写敏感,如 "Fire" / "OK")-> 雪碧图名(如 "fire" / "ok_v2") */
11
+ export const EMOJI_KEY_TO_NAME = {
12
+ "AINailedIt": "ai_nailed_it_zh_v2",
13
+ "ANGRY": "angry",
14
+ "APPLAUSE": "applaud_v2",
15
+ "ATTENTION": "attention",
16
+ "AWESOME": "awesome",
17
+ "AWESOMEN": "awesomen_v2",
18
+ "Alarm": "alarm",
19
+ "Ambitious": "bepatientandthinklongterm",
20
+ "BEAR": "bear",
21
+ "BEER": "beer",
22
+ "BETRAYED": "betrayed",
23
+ "BIGKISS": "bigkiss",
24
+ "BLACKFACE": "blackface",
25
+ "BLUBBER": "blubber",
26
+ "BLUSH": "grin",
27
+ "BOMB": "bomb",
28
+ "BULL": "bull",
29
+ "Basketball": "basketball",
30
+ "BeAtTheForefront": "beattheforefront_v1",
31
+ "BeamingFace": "beamingface_v1",
32
+ "BubbleTea": "bubbletea",
33
+ "CAKE": "cake_v2",
34
+ "CALF": "calf",
35
+ "CANDIEDHAWS": "candiedhaws",
36
+ "CHUCKLE": "chuckle",
37
+ "CLAP": "clap",
38
+ "CLEAVER": "cleaver_v3",
39
+ "COMFORT": "comfort",
40
+ "CRAZY": "crazy",
41
+ "CRY": "cry",
42
+ "CUCUMBER": "cucumber_v3",
43
+ "CheckMark": "checkmark",
44
+ "ClownFace": "clownface_v1",
45
+ "Coffee": "coffee_v2",
46
+ "ColdSweat": "coldsweat_v1",
47
+ "CrossMark": "crossmark",
48
+ "CustomerSuccess": "customersuccess_v2",
49
+ "DETERGENT": "detergent",
50
+ "DIZZY": "dizzy",
51
+ "DONE": "done",
52
+ "DONNOTGO": "donnotgo",
53
+ "DROOL": "drool",
54
+ "DROWSY": "drowsy",
55
+ "DULL": "dull",
56
+ "DULLSTARE": "dullstare",
57
+ "DarkApplaud": "darkapplaud_v2",
58
+ "DarkClick": "darkclick_v2",
59
+ "DarkFightOn": "darkfighton_v2",
60
+ "DarkFingerHeart": "darkfingerheart_v2",
61
+ "DarkFistBump": "darkfistbump_v2",
62
+ "DarkHighFive": "darkhighfive_v2",
63
+ "DarkOKHand": "darkokhand",
64
+ "DarkSalute": "darksalute_v2",
65
+ "DarkShake": "darkshake_v2",
66
+ "DarkThanks": "darkthanks_v2",
67
+ "DarkThumbsDown": "darkthumbsdown_v2",
68
+ "DarkThumbsup": "darkthumbsup_v2",
69
+ "DarkWavingHand": "darkwavinghand_v1",
70
+ "DarkYouAreTheBest": "darkyouarethebest_v1",
71
+ "Delighted": "delighted_v1",
72
+ "Drumstick": "drumstick",
73
+ "EATING": "eating",
74
+ "EMBARRASSED": "embarrassed",
75
+ "ENOUGH": "enough",
76
+ "ERROR": "errr",
77
+ "EYESCLOSED": "eyesclosed",
78
+ "EatingFood": "eatingfood_v2",
79
+ "FACEPALM": "facepalm",
80
+ "FINGERHEART": "fingerheart_v2",
81
+ "FIRECRACKER": "firecracker_v3",
82
+ "FIREWORKS": "fireworks_v2",
83
+ "FISTBUMP": "fistbump_v2",
84
+ "FOLLOWME": "followme",
85
+ "FORTUNE": "fortune",
86
+ "FROWN": "frown",
87
+ "Fire": "fire",
88
+ "FullMoonFace": "fullmoonface_v1",
89
+ "GIFT": "gift_v2",
90
+ "GLANCE": "glance",
91
+ "GOODJOB": "goodjob",
92
+ "GeneralBusinessTrip": "generalbusinesstrip_v2",
93
+ "GeneralDoNotDisturb": "generaldonotdisturb_v3",
94
+ "GeneralMoonRest": "generalmoonrest_v2",
95
+ "GeneralSun": "generalsun",
96
+ "GeneralTravellingCar": "generaltravellingcar",
97
+ "GeneralVacation": "onleavestatus",
98
+ "GeneralWorkFromHome": "generalworkfromhome",
99
+ "Get": "get_v3",
100
+ "GoGoGo": "gogogo_v4",
101
+ "HAMMER": "hammer_v1",
102
+ "HAUGHTY": "irritated_v2",
103
+ "HEADSET": "headset_v3",
104
+ "HEART": "heart",
105
+ "HEARTBROKEN": "heartbroken",
106
+ "HIGHFIVE": "highfive_v2",
107
+ "HUG": "hug",
108
+ "HUSKY": "husky",
109
+ "HappyDragon": "happydragon_v3",
110
+ "Hundred": "hundred",
111
+ "INNOCENTSMILE": "innocentsmile",
112
+ "JIAYI": "plusone",
113
+ "JOYFUL": "joyful",
114
+ "JubilantRabbit": "jubilantrabbit_v1",
115
+ "KISS": "kiss",
116
+ "LAUGH": "laugh",
117
+ "LGTM": "lgtm_v3",
118
+ "LIPS": "lips_v1",
119
+ "LOL": "lol",
120
+ "LOOKDOWN": "lookdown",
121
+ "LOVE": "love",
122
+ "LUCK": "luck",
123
+ "Lemon": "lemon_v2",
124
+ "LightApplaud": "lightapplaud_v2",
125
+ "LightClick": "lightclick_v2",
126
+ "LightFightOn": "lightfighton_v2",
127
+ "LightFingerHeart": "lightfingerheart_v2",
128
+ "LightFistBump": "lightfistbump_v2",
129
+ "LightHighFive": "lighthighfive_v2",
130
+ "LightOKHand": "lightokhand",
131
+ "LightSalute": "lightsalute_v2",
132
+ "LightShake": "lightshake_v2",
133
+ "LightThanks": "lightthanks_v2",
134
+ "LightThumbsDown": "lightthumbsdown_v2",
135
+ "LightThumbsup": "lightthumbsup_v2",
136
+ "LightWavingHand": "lightwavinghand_v1",
137
+ "LightYouAreTheBest": "lightyouarethebest_v1",
138
+ "Loudspeaker": "loudspeaker",
139
+ "MONEY": "money",
140
+ "MUSCLE": "fighton_v2",
141
+ "MeMeMe": "mememe",
142
+ "MediumApplaud": "mediumapplaud_v2",
143
+ "MediumClick": "mediumclick_v2",
144
+ "MediumDarkApplaud": "mediumdarkapplaud_v2",
145
+ "MediumDarkClick": "mediumdarkclick_v2",
146
+ "MediumDarkFightOn": "mediumdarkfighton_v2",
147
+ "MediumDarkFingerHeart": "mediumdarkfingerheart_v2",
148
+ "MediumDarkFistBump": "mediumdarkfistbump_v2",
149
+ "MediumDarkHighFive": "mediumdarkhighfive_v2",
150
+ "MediumDarkSalute": "mediumdarksalute_v2",
151
+ "MediumDarkShake": "mediumdarkshake_v2",
152
+ "MediumDarkThanks": "mediumdarkthanks_v2",
153
+ "MediumDarkThumbsDown": "mediumdarkthumbsdown_v2",
154
+ "MediumDarkThumbsup": "mediumdarkthumbsup_v2",
155
+ "MediumFightOn": "mediumfighton_v2",
156
+ "MediumFingerHeart": "mediumfingerheart_v2",
157
+ "MediumFistBump": "mediumfistbump_v2",
158
+ "MediumHighFive": "mediumhighfive_v2",
159
+ "MediumLightApplaud": "mediumlightapplaud_v2",
160
+ "MediumLightClick": "mediumlightclick_v2",
161
+ "MediumLightFightOn": "mediumlightfighton_v2",
162
+ "MediumLightFingerHeart": "mediumlightfingerheart_v2",
163
+ "MediumLightFistBump": "mediumlightfistbump_v2",
164
+ "MediumLightHighFive": "mediumlighthighfive_v2",
165
+ "MediumLightSalute": "mediumlightsalute_v2",
166
+ "MediumLightShake": "mediumlightshake_v2",
167
+ "MediumLightThanks": "mediumlightthanks_v2",
168
+ "MediumLightThumbsDown": "mediumlightthumbsdown_v2",
169
+ "MediumLightThumbsup": "mediumlightthumbsup_v2",
170
+ "MediumOKHand": "mediumokhand",
171
+ "MediumSalute": "mediumsalute_v2",
172
+ "MediumShake": "mediumshake_v2",
173
+ "MediumThanks": "mediumthanks_v2",
174
+ "MediumThumbsDown": "mediumthumbsdown_v2",
175
+ "MediumThumbsup": "mediumthumbsup_v2",
176
+ "MediumWavingHand": "mediumwavinghand_v1",
177
+ "MediumYouAreTheBest": "mediumyouarethebest_v1",
178
+ "MediumdarkOKHand": "mediumdarkokhand",
179
+ "MediumdarkWavingHand": "mediumdarkwavinghand_v1",
180
+ "MediumdarkYouAreTheBest": "mediumdarkyouarethebest_v1",
181
+ "MediumlightOKHand": "mediumlightokhand",
182
+ "MediumlightWavingHand": "mediumlightwavinghand_v1",
183
+ "MediumlightYouAreTheBest": "mediumlightyouarethebest_v1",
184
+ "MinusOne": "minusone_v3",
185
+ "MoonRabbit": "moonrabbit_v2",
186
+ "Mooncake": "mooncake_v2",
187
+ "Movie": "movie_v1",
188
+ "Music": "music_v2",
189
+ "NOSEPICK": "nosepick",
190
+ "No": "no_v3",
191
+ "OBSESSED": "hearts_v2",
192
+ "OK": "ok_v2",
193
+ "OKHand": "okhand",
194
+ "OKR": "okr",
195
+ "OnIt": "onit_v1",
196
+ "OneSecond": "onesecond",
197
+ "PARTY": "party",
198
+ "PETRIFIED": "petrified",
199
+ "POOP": "poop",
200
+ "PRAISE": "praise",
201
+ "PROUD": "proud",
202
+ "PUKE": "puke",
203
+ "Partying": "partying_v1",
204
+ "Pepper": "pepper",
205
+ "Pin": "pin",
206
+ "Pumpkin": "pumpkin_v1",
207
+ "PursueUltimate": "pursueultimate_v2",
208
+ "RAINBOWPUKE": "rainbowpuke_v2",
209
+ "REDPACKET": "redpacket",
210
+ "ROSE": "rose",
211
+ "Responsible": "bereliableandtakeownership",
212
+ "RoarForYou": "roarforyou",
213
+ "SALUTE": "salute_v2",
214
+ "SCOWL": "scowl",
215
+ "SHAKE": "shake_v2",
216
+ "SHHH": "shhh",
217
+ "SHOCKED": "shocked",
218
+ "SHOWOFF": "showoff",
219
+ "SHY": "shy",
220
+ "SICK": "sick",
221
+ "SILENT": "silent",
222
+ "SKULL": "skull",
223
+ "SLAP": "slap",
224
+ "SLEEP": "sleep",
225
+ "SLIGHT": "slight",
226
+ "SMART": "smart",
227
+ "SMILE": "smile",
228
+ "SMIRK": "smirk",
229
+ "SMOOCH": "smooch",
230
+ "SMUG": "smug",
231
+ "SOB": "sob",
232
+ "SPEECHLESS": "speechless",
233
+ "SPITBLOOD": "spitblood",
234
+ "STRIVE": "strive",
235
+ "SWEAT": "sweat",
236
+ "SaluteFace": "saluteface_v1",
237
+ "Shrug": "shrug_v1",
238
+ "SiSiASYouWish": "sisiasyouwish_v1",
239
+ "Sigh": "sigh",
240
+ "Snowman": "snowman",
241
+ "Soccer": "soccer",
242
+ "StatusBus": "statusbus",
243
+ "StatusEnjoyLife": "statusenjoylife",
244
+ "StatusInFlight": "statusinflight",
245
+ "StatusReading": "statusreading",
246
+ "Status_PrivateMessage": "status_privatemessage",
247
+ "StickyRiceBalls": "stickyriceballs",
248
+ "TEARS": "tears",
249
+ "TEASE": "tease",
250
+ "TERROR": "terror",
251
+ "THANKS": "thanks_v2",
252
+ "THINKING": "thinking",
253
+ "THUMBSUP": "thumbsup_v2",
254
+ "TOASTED": "toasted",
255
+ "TONGUE": "tongue",
256
+ "TRICK": "trick",
257
+ "TV": "tv_v1",
258
+ "ThanksFace": "thanksface_v1",
259
+ "ThanksHoldingBoard": "thanksholdingboard_v1",
260
+ "ThumbsDown": "thumbsdown_v2",
261
+ "Trophy": "trophy",
262
+ "Typing": "typing",
263
+ "UPPERLEFT": "click_v2",
264
+ "VRHeadset": "vrheadset_v1",
265
+ "WAIL": "wail",
266
+ "WAVE": "wave",
267
+ "WELLDONE": "welldone",
268
+ "WHAT": "what",
269
+ "WHIMPER": "whimper",
270
+ "WINK": "wink",
271
+ "WITTY": "witty",
272
+ "WOW": "wow",
273
+ "WRONGED": "wronged",
274
+ "WavingHand": "wavinghand_v1",
275
+ "XBLUSH": "blush",
276
+ "XmasHat": "xmashat",
277
+ "XmasTree": "xmastree",
278
+ "YAWN": "yawn",
279
+ "YEAH": "yeah",
280
+ "Yes": "yes_v2",
281
+ "YouAreTheBest": "youarethebest",
282
+ };
283
+ /**
284
+ * 完整 emoji 雪碧 CSS(含 CDN 背景图 + 每表情 background-position)。
285
+ * 浏览器端首次渲染 emoji 时注入 <style>;Node/SSR 端引入 open-feishu-card/emoji.css。
286
+ */
287
+ export const EMOJI_SPRITE_CSS = "[class*=\"larkw-emoji__img--emoji-\"]{background-image:url(https://sf1-scmcdn-cn.feishucdn.com/obj/feishu-static/ee/web-client-next/p/contents/messenger-modals/assets/img/30df9e9d35.png);background-size:18.59375em 18em;height:1em;display:inline-block}.larkw-emoji__img--emoji-2023_v4{background-position:-2.07292em -8em;width:1em}.larkw-emoji__img--emoji-2024_v1{background-position:-3.07292em -8em;width:1em}.larkw-emoji__img--emoji-2025_v1{background-position:-4.07292em -8em;width:1em}.larkw-emoji__img--emoji-2026_v1{background-position:-5.07292em -8em;width:1em}.larkw-emoji__img--emoji-ai_nailed_it_en_v3{background-position:0 0;width:3.96875em}.larkw-emoji__img--emoji-ai_nailed_it_zh_v2{background-position:-3.96875em -1em;width:3.41667em}.larkw-emoji__img--emoji-alarm{background-position:-6.07292em -8em;width:1em}.larkw-emoji__img--emoji-angry{background-position:-7.07292em -8em;width:1em}.larkw-emoji__img--emoji-applaud_v2{background-position:-8.07292em -8em;width:1em}.larkw-emoji__img--emoji-attention{background-position:-7.42708em -2em;width:1.08333em}.larkw-emoji__img--emoji-awesome{background-position:0 -9em;width:1em}.larkw-emoji__img--emoji-awesomen_v2{background-position:-1em -9em;width:1em}.larkw-emoji__img--emoji-balloon_v2{background-position:-2em -9em;width:1em}.larkw-emoji__img--emoji-basketball{background-position:-3em -9em;width:1em}.larkw-emoji__img--emoji-beamingface_v1{background-position:-4em -9em;width:1em}.larkw-emoji__img--emoji-bear{background-position:-5.66667em -4em;width:1.14583em}.larkw-emoji__img--emoji-beattheforefront_v1{background-position:-5em -9em;width:1em}.larkw-emoji__img--emoji-beer{background-position:-6em -9em;width:1em}.larkw-emoji__img--emoji-bepatientandthinklongterm{background-position:0 -3em;width:2.16667em}.larkw-emoji__img--emoji-bepatientandthinklongterm_en{background-position:0 -1em;width:3.9375em}.larkw-emoji__img--emoji-bereliableandtakeownership{background-position:-2.16667em -3em;width:2.16667em}.larkw-emoji__img--emoji-bereliableandtakeownership_en{background-position:0 -2em;width:3.84375em}.larkw-emoji__img--emoji-betrayed{background-position:-7em -9em;width:1em}.larkw-emoji__img--emoji-bigkiss{background-position:-8em -9em;width:1em}.larkw-emoji__img--emoji-blackface{background-position:-9em -9em;width:1em}.larkw-emoji__img--emoji-blubber{background-position:-10.59375em 0;width:1em}.larkw-emoji__img--emoji-blush{background-position:-10.59375em -1em;width:1em}.larkw-emoji__img--emoji-bomb{background-position:-10.59375em -2em;width:1em}.larkw-emoji__img--emoji-bubbletea{background-position:-10.59375em -3em;width:1em}.larkw-emoji__img--emoji-bull{background-position:-10.59375em -4em;width:1em}.larkw-emoji__img--emoji-cake_v2{background-position:-10.59375em -5em;width:1em}.larkw-emoji__img--emoji-calf{background-position:-10.59375em -6em;width:1em}.larkw-emoji__img--emoji-candiedhaws{background-position:-10.59375em -7em;width:1em}.larkw-emoji__img--emoji-checkmark{background-position:-10.59375em -8em;width:1em}.larkw-emoji__img--emoji-chuckle{background-position:-10.59375em -9em;width:1em}.larkw-emoji__img--emoji-clap{background-position:-8.52083em 0;width:1.0625em}.larkw-emoji__img--emoji-cleaver_v3{background-position:0 -10em;width:1em}.larkw-emoji__img--emoji-click_v2{background-position:-1em -10em;width:1em}.larkw-emoji__img--emoji-clownface_v1{background-position:-2em -10em;width:1em}.larkw-emoji__img--emoji-coffee_v2{background-position:-7.42708em -3em;width:1.08333em}.larkw-emoji__img--emoji-coldsweat_v1{background-position:-3em -10em;width:1em}.larkw-emoji__img--emoji-comfort{background-position:-4em -10em;width:1em}.larkw-emoji__img--emoji-crazy{background-position:-5em -10em;width:1em}.larkw-emoji__img--emoji-crossmark{background-position:-6em -10em;width:1em}.larkw-emoji__img--emoji-cry{background-position:-7em -10em;width:1em}.larkw-emoji__img--emoji-cucumber_v3{background-position:-8em -10em;width:1em}.larkw-emoji__img--emoji-customersuccess_en{background-position:-3.96875em 0;width:3.45833em}.larkw-emoji__img--emoji-customersuccess_v2{background-position:-4.33333em -3em;width:1.76042em}.larkw-emoji__img--emoji-darkapplaud_v2{background-position:-9em -10em;width:1em}.larkw-emoji__img--emoji-darkclick_v2{background-position:-10em -10em;width:1em}.larkw-emoji__img--emoji-darkfighton_v2{background-position:-11.59375em 0;width:1em}.larkw-emoji__img--emoji-darkfingerheart_v2{background-position:-11.59375em -1em;width:1em}.larkw-emoji__img--emoji-darkfistbump_v2{background-position:-11.59375em -2em;width:1em}.larkw-emoji__img--emoji-darkhighfive_v2{background-position:-11.59375em -3em;width:1em}.larkw-emoji__img--emoji-darkokhand{background-position:-11.59375em -4em;width:1em}.larkw-emoji__img--emoji-darksalute_v2{background-position:-11.59375em -5em;width:1em}.larkw-emoji__img--emoji-darkshake_v2{background-position:-11.59375em -6em;width:1em}.larkw-emoji__img--emoji-darkthanks_v2{background-position:-11.59375em -7em;width:1em}.larkw-emoji__img--emoji-darkthumbsdown_v2{background-position:-11.59375em -8em;width:1em}.larkw-emoji__img--emoji-darkthumbsup_v2{background-position:-11.59375em -9em;width:1em}.larkw-emoji__img--emoji-darkwavinghand_v1{background-position:-11.59375em -10em;width:1em}.larkw-emoji__img--emoji-darkyouarethebest_v1{background-position:0 -11em;width:1em}.larkw-emoji__img--emoji-delighted_v1{background-position:-1em -11em;width:1em}.larkw-emoji__img--emoji-detergent{background-position:-2em -11em;width:1em}.larkw-emoji__img--emoji-dizzy{background-position:-3em -11em;width:1em}.larkw-emoji__img--emoji-dollar{background-position:-9.58333em 0;width:1.01042em}.larkw-emoji__img--emoji-done{background-position:-4em -11em;width:1em}.larkw-emoji__img--emoji-donnotgo{background-position:-8.52083em -1em;width:1.0625em}.larkw-emoji__img--emoji-drool{background-position:-5em -11em;width:1em}.larkw-emoji__img--emoji-drowsy{background-position:-6em -11em;width:1em}.larkw-emoji__img--emoji-drumstick{background-position:-7em -11em;width:1em}.larkw-emoji__img--emoji-dull{background-position:-8em -11em;width:1em}.larkw-emoji__img--emoji-dullstare{background-position:-9em -11em;width:1em}.larkw-emoji__img--emoji-eating{background-position:-10em -11em;width:1em}.larkw-emoji__img--emoji-eatingfood_v2{background-position:-11em -11em;width:1em}.larkw-emoji__img--emoji-eighteen{background-position:-12.59375em 0;width:1em}.larkw-emoji__img--emoji-embarrassed{background-position:-12.59375em -1em;width:1em}.larkw-emoji__img--emoji-enough{background-position:-3.4375em -5em;width:1.125em}.larkw-emoji__img--emoji-errr{background-position:-12.59375em -2em;width:1em}.larkw-emoji__img--emoji-eyesclosed{background-position:-12.59375em -3em;width:1em}.larkw-emoji__img--emoji-facepalm{background-position:-12.59375em -4em;width:1em}.larkw-emoji__img--emoji-fighton_v2{background-position:-12.59375em -5em;width:1em}.larkw-emoji__img--emoji-fingerheart_v2{background-position:-12.59375em -6em;width:1em}.larkw-emoji__img--emoji-fire{background-position:-12.59375em -7em;width:1em}.larkw-emoji__img--emoji-firecracker_v3{background-position:-12.59375em -8em;width:1em}.larkw-emoji__img--emoji-fireworks_v2{background-position:-12.59375em -9em;width:1em}.larkw-emoji__img--emoji-fistbump_v2{background-position:-12.59375em -10em;width:1em}.larkw-emoji__img--emoji-followme{background-position:-7.42708em -4em;width:1.08333em}.larkw-emoji__img--emoji-fortune{background-position:-12.59375em -11em;width:1em}.larkw-emoji__img--emoji-frown{background-position:0 -12em;width:1em}.larkw-emoji__img--emoji-fullmoonface_v1{background-position:-1em -12em;width:1em}.larkw-emoji__img--emoji-generalbusinesstrip_v2{background-position:-3em -12em;width:1em}.larkw-emoji__img--emoji-generaldonotdisturb_v3{background-position:-4em -12em;width:1em}.larkw-emoji__img--emoji-generalinmeetingbusy_v2{background-position:-2em -12em;width:1em}.larkw-emoji__img--emoji-generalmoonrest_v2{background-position:-5em -12em;width:1em}.larkw-emoji__img--emoji-generalsun{background-position:-6em -12em;width:1em}.larkw-emoji__img--emoji-generaltravellingcar{background-position:-7em -12em;width:1em}.larkw-emoji__img--emoji-generalworkfromhome{background-position:-8em -12em;width:1em}.larkw-emoji__img--emoji-get_v3{background-position:-9em -12em;width:1em}.larkw-emoji__img--emoji-gift_v2{background-position:-10em -12em;width:1em}.larkw-emoji__img--emoji-glance{background-position:-11em -12em;width:1em}.larkw-emoji__img--emoji-gogogo_v4{background-position:-7.42708em 0;width:1.09375em}.larkw-emoji__img--emoji-gold{background-position:-12em -12em;width:1em}.larkw-emoji__img--emoji-goodjob{background-position:-13.59375em 0;width:1em}.larkw-emoji__img--emoji-gotit_v1{background-position:-6.09375em -3em;width:1.21875em}.larkw-emoji__img--emoji-grin{background-position:-13.59375em -1em;width:1em}.larkw-emoji__img--emoji-hammer_v1{background-position:-13.59375em -2em;width:1em}.larkw-emoji__img--emoji-happydragon_v3{background-position:-4.51042em -4em;width:1.15625em}.larkw-emoji__img--emoji-headset_v3{background-position:-3.35417em -6em;width:1.10417em}.larkw-emoji__img--emoji-heart{background-position:-13.59375em -3em;width:1em}.larkw-emoji__img--emoji-heartbroken{background-position:-13.59375em -4em;width:1em}.larkw-emoji__img--emoji-hearts_v2{background-position:-13.59375em -5em;width:1em}.larkw-emoji__img--emoji-highfive_v2{background-position:-13.59375em -6em;width:1em}.larkw-emoji__img--emoji-hug{background-position:-1.76042em -4em;width:1.375em}.larkw-emoji__img--emoji-hundred{background-position:-7.42708em -5em;width:1.08333em}.larkw-emoji__img--emoji-husky{background-position:-13.59375em -7em;width:1em}.larkw-emoji__img--emoji-innocentsmile{background-position:-13.59375em -8em;width:1em}.larkw-emoji__img--emoji-irritated_v2{background-position:-13.59375em -9em;width:1em}.larkw-emoji__img--emoji-joyful{background-position:-13.59375em -10em;width:1em}.larkw-emoji__img--emoji-jubilantrabbit_v1{background-position:0 -5em;width:1.14583em}.larkw-emoji__img--emoji-kiss{background-position:-13.59375em -11em;width:1em}.larkw-emoji__img--emoji-laugh{background-position:-13.59375em -12em;width:1em}.larkw-emoji__img--emoji-lemon_v2{background-position:0 -13em;width:1em}.larkw-emoji__img--emoji-lgtm_v3{background-position:-9.58333em -2.02083em;width:1.01042em}.larkw-emoji__img--emoji-lightapplaud_v2{background-position:-1em -13em;width:1em}.larkw-emoji__img--emoji-lightclick_v2{background-position:-2em -13em;width:1em}.larkw-emoji__img--emoji-lightfighton_v2{background-position:-3em -13em;width:1em}.larkw-emoji__img--emoji-lightfingerheart_v2{background-position:-4em -13em;width:1em}.larkw-emoji__img--emoji-lightfistbump_v2{background-position:-5em -13em;width:1em}.larkw-emoji__img--emoji-lighthighfive_v2{background-position:-6em -13em;width:1em}.larkw-emoji__img--emoji-lightokhand{background-position:-7em -13em;width:1em}.larkw-emoji__img--emoji-lightsalute_v2{background-position:-8em -13em;width:1em}.larkw-emoji__img--emoji-lightshake_v2{background-position:-9em -13em;width:1em}.larkw-emoji__img--emoji-lightthanks_v2{background-position:-10em -13em;width:1em}.larkw-emoji__img--emoji-lightthumbsdown_v2{background-position:-11em -13em;width:1em}.larkw-emoji__img--emoji-lightthumbsup_v2{background-position:-12em -13em;width:1em}.larkw-emoji__img--emoji-lightwavinghand_v1{background-position:-13em -13em;width:1em}.larkw-emoji__img--emoji-lightyouarethebest_v1{background-position:-14.59375em 0;width:1em}.larkw-emoji__img--emoji-lips_v1{background-position:-14.59375em -1em;width:1em}.larkw-emoji__img--emoji-lol{background-position:-4.5625em -5em;width:1.125em}.larkw-emoji__img--emoji-lookdown{background-position:-14.59375em -2em;width:1em}.larkw-emoji__img--emoji-loudspeaker{background-position:-14.59375em -3em;width:1em}.larkw-emoji__img--emoji-love{background-position:-14.59375em -4em;width:1em}.larkw-emoji__img--emoji-luck{background-position:-14.59375em -5em;width:1em}.larkw-emoji__img--emoji-mad{background-position:-9.58333em -1.01042em;width:1.01042em}.larkw-emoji__img--emoji-mediumapplaud_v2{background-position:-14.59375em -6em;width:1em}.larkw-emoji__img--emoji-mediumclick_v2{background-position:-14.59375em -7em;width:1em}.larkw-emoji__img--emoji-mediumdarkapplaud_v2{background-position:-14.59375em -8em;width:1em}.larkw-emoji__img--emoji-mediumdarkclick_v2{background-position:-14.59375em -9em;width:1em}.larkw-emoji__img--emoji-mediumdarkfighton_v2{background-position:-14.59375em -10em;width:1em}.larkw-emoji__img--emoji-mediumdarkfingerheart_v2{background-position:-14.59375em -11em;width:1em}.larkw-emoji__img--emoji-mediumdarkfistbump_v2{background-position:-14.59375em -12em;width:1em}.larkw-emoji__img--emoji-mediumdarkhighfive_v2{background-position:-14.59375em -13em;width:1em}.larkw-emoji__img--emoji-mediumdarkokhand{background-position:0 -14em;width:1em}.larkw-emoji__img--emoji-mediumdarksalute_v2{background-position:-1em -14em;width:1em}.larkw-emoji__img--emoji-mediumdarkshake_v2{background-position:-2em -14em;width:1em}.larkw-emoji__img--emoji-mediumdarkthanks_v2{background-position:-3em -14em;width:1em}.larkw-emoji__img--emoji-mediumdarkthumbsdown_v2{background-position:-4em -14em;width:1em}.larkw-emoji__img--emoji-mediumdarkthumbsup_v2{background-position:-5em -14em;width:1em}.larkw-emoji__img--emoji-mediumdarkwavinghand_v1{background-position:-6em -14em;width:1em}.larkw-emoji__img--emoji-mediumdarkyouarethebest_v1{background-position:-9.58333em -3.02083em;width:1.01042em}.larkw-emoji__img--emoji-mediumfighton_v2{background-position:-7em -14em;width:1em}.larkw-emoji__img--emoji-mediumfingerheart_v2{background-position:-8em -14em;width:1em}.larkw-emoji__img--emoji-mediumfistbump_v2{background-position:-9em -14em;width:1em}.larkw-emoji__img--emoji-mediumhighfive_v2{background-position:-10em -14em;width:1em}.larkw-emoji__img--emoji-mediumlightapplaud_v2{background-position:-11em -14em;width:1em}.larkw-emoji__img--emoji-mediumlightclick_v2{background-position:-12em -14em;width:1em}.larkw-emoji__img--emoji-mediumlightfighton_v2{background-position:-13em -14em;width:1em}.larkw-emoji__img--emoji-mediumlightfingerheart_v2{background-position:-14em -14em;width:1em}.larkw-emoji__img--emoji-mediumlightfistbump_v2{background-position:-15.59375em 0;width:1em}.larkw-emoji__img--emoji-mediumlighthighfive_v2{background-position:-15.59375em -1em;width:1em}.larkw-emoji__img--emoji-mediumlightokhand{background-position:-15.59375em -2em;width:1em}.larkw-emoji__img--emoji-mediumlightsalute_v2{background-position:-15.59375em -3em;width:1em}.larkw-emoji__img--emoji-mediumlightshake_v2{background-position:-15.59375em -4em;width:1em}.larkw-emoji__img--emoji-mediumlightthanks_v2{background-position:-15.59375em -5em;width:1em}.larkw-emoji__img--emoji-mediumlightthumbsdown_v2{background-position:-15.59375em -6em;width:1em}.larkw-emoji__img--emoji-mediumlightthumbsup_v2{background-position:-15.59375em -7em;width:1em}.larkw-emoji__img--emoji-mediumlightwavinghand_v1{background-position:-15.59375em -8em;width:1em}.larkw-emoji__img--emoji-mediumlightyouarethebest_v1{background-position:-9.58333em -4.02083em;width:1.01042em}.larkw-emoji__img--emoji-mediumokhand{background-position:-15.59375em -9em;width:1em}.larkw-emoji__img--emoji-mediumsalute_v2{background-position:-15.59375em -10em;width:1em}.larkw-emoji__img--emoji-mediumshake_v2{background-position:-15.59375em -11em;width:1em}.larkw-emoji__img--emoji-mediumthanks_v2{background-position:-15.59375em -12em;width:1em}.larkw-emoji__img--emoji-mediumthumbsdown_v2{background-position:-15.59375em -13em;width:1em}.larkw-emoji__img--emoji-mediumthumbsup_v2{background-position:-15.59375em -14em;width:1em}.larkw-emoji__img--emoji-mediumwavinghand_v1{background-position:0 -15em;width:1em}.larkw-emoji__img--emoji-mediumyouarethebest_v1{background-position:-1em -15em;width:1em}.larkw-emoji__img--emoji-mememe{background-position:-5.6875em -5em;width:1.125em}.larkw-emoji__img--emoji-minusone_v3{background-position:-2em -15em;width:1em}.larkw-emoji__img--emoji-money{background-position:-3em -15em;width:1em}.larkw-emoji__img--emoji-mooncake_v2{background-position:-9.58333em -5.02083em;width:1.01042em}.larkw-emoji__img--emoji-moonrabbit_v2{background-position:-4.45833em -6em;width:1.10417em}.larkw-emoji__img--emoji-movie_v1{background-position:-4em -15em;width:1em}.larkw-emoji__img--emoji-music_v2{background-position:-5em -15em;width:1em}.larkw-emoji__img--emoji-no_v3{background-position:-7.42708em -6em;width:1.08333em}.larkw-emoji__img--emoji-nosepick{background-position:-6em -15em;width:1em}.larkw-emoji__img--emoji-ok_v2{background-position:0 -7em;width:1.08333em}.larkw-emoji__img--emoji-okhand{background-position:-7em -15em;width:1em}.larkw-emoji__img--emoji-okr{background-position:-1.08333em -7em;width:1.08333em}.larkw-emoji__img--emoji-onesecond{background-position:0 -6em;width:1.125em}.larkw-emoji__img--emoji-onit_v1{background-position:-1.14583em -5em;width:1.14583em}.larkw-emoji__img--emoji-onleavestatus{background-position:-8em -15em;width:1em}.larkw-emoji__img--emoji-party{background-position:-9em -15em;width:1em}.larkw-emoji__img--emoji-partying_v1{background-position:-2.16667em -7em;width:1.08333em}.larkw-emoji__img--emoji-pepper{background-position:-10em -15em;width:1em}.larkw-emoji__img--emoji-petrified{background-position:-11em -15em;width:1em}.larkw-emoji__img--emoji-pin{background-position:-12em -15em;width:1em}.larkw-emoji__img--emoji-plusone{background-position:-13em -15em;width:1em}.larkw-emoji__img--emoji-poop{background-position:-14em -15em;width:1em}.larkw-emoji__img--emoji-praise{background-position:-5.41667em -7em;width:1.07292em}.larkw-emoji__img--emoji-proud{background-position:-15em -15em;width:1em}.larkw-emoji__img--emoji-puke{background-position:-16.59375em 0;width:1em}.larkw-emoji__img--emoji-pumpkin_v1{background-position:-8.52083em -5em;width:1.04167em}.larkw-emoji__img--emoji-pursueultimate_en{background-position:-3.96875em -2em;width:3.05208em}.larkw-emoji__img--emoji-pursueultimate_v2{background-position:0 -4em;width:1.76042em}.larkw-emoji__img--emoji-rainbowpuke_v2{background-position:-16.59375em -1em;width:1em}.larkw-emoji__img--emoji-redpacket{background-position:-16.59375em -2em;width:1em}.larkw-emoji__img--emoji-roarforyou{background-position:-3.13542em -4em;width:1.375em}.larkw-emoji__img--emoji-rose{background-position:-16.59375em -3em;width:1em}.larkw-emoji__img--emoji-salute_v2{background-position:-16.59375em -4em;width:1em}.larkw-emoji__img--emoji-saluteface_v1{background-position:-7.42708em -1em;width:1.09375em}.larkw-emoji__img--emoji-scowl{background-position:-16.59375em -5em;width:1em}.larkw-emoji__img--emoji-shake_v2{background-position:-16.59375em -6em;width:1em}.larkw-emoji__img--emoji-shhh{background-position:-16.59375em -7em;width:1em}.larkw-emoji__img--emoji-shocked{background-position:-1.125em -6em;width:1.11458em}.larkw-emoji__img--emoji-showoff{background-position:-16.59375em -8em;width:1em}.larkw-emoji__img--emoji-shrug_v1{background-position:-8.52083em -6em;width:1.04167em}.larkw-emoji__img--emoji-shy{background-position:-16.59375em -9em;width:1em}.larkw-emoji__img--emoji-sick{background-position:-16.59375em -10em;width:1em}.larkw-emoji__img--emoji-sigh{background-position:-16.59375em -11em;width:1em}.larkw-emoji__img--emoji-silent{background-position:-16.59375em -12em;width:1em}.larkw-emoji__img--emoji-sisiasyouwish_v1{background-position:-16.59375em -13em;width:1em}.larkw-emoji__img--emoji-skull{background-position:-16.59375em -14em;width:1em}.larkw-emoji__img--emoji-slap{background-position:-16.59375em -15em;width:1em}.larkw-emoji__img--emoji-sleep{background-position:0 -16em;width:1em}.larkw-emoji__img--emoji-slight{background-position:-1em -16em;width:1em}.larkw-emoji__img--emoji-smart{background-position:-2em -16em;width:1em}.larkw-emoji__img--emoji-smile{background-position:-3em -16em;width:1em}.larkw-emoji__img--emoji-smirk{background-position:-9.58333em -6.02083em;width:1.01042em}.larkw-emoji__img--emoji-smooch{background-position:-8.52083em -7em;width:1.04167em}.larkw-emoji__img--emoji-smug{background-position:-4em -16em;width:1em}.larkw-emoji__img--emoji-snowman{background-position:-5em -16em;width:1em}.larkw-emoji__img--emoji-sob{background-position:-6em -16em;width:1em}.larkw-emoji__img--emoji-soccer{background-position:-7em -16em;width:1em}.larkw-emoji__img--emoji-socool_v2{background-position:-8em -16em;width:1em}.larkw-emoji__img--emoji-speechless{background-position:-6.48958em -7em;width:1.07292em}.larkw-emoji__img--emoji-spitblood{background-position:-8.52083em -2em;width:1.0625em}.larkw-emoji__img--emoji-status_privatemessage{background-position:-9em -16em;width:1em}.larkw-emoji__img--emoji-statusbus{background-position:-10em -16em;width:1em}.larkw-emoji__img--emoji-statusenjoylife{background-position:-11em -16em;width:1em}.larkw-emoji__img--emoji-statusflashofinspiration{background-position:-12em -16em;width:1em}.larkw-emoji__img--emoji-statusinflight{background-position:-13em -16em;width:1em}.larkw-emoji__img--emoji-statusreading{background-position:-14em -16em;width:1em}.larkw-emoji__img--emoji-stickyriceballs{background-position:-5.5625em -6em;width:1.10417em}.larkw-emoji__img--emoji-strive{background-position:-15em -16em;width:1em}.larkw-emoji__img--emoji-sweat{background-position:0 -8em;width:1.04167em}.larkw-emoji__img--emoji-tears{background-position:-16em -16em;width:1em}.larkw-emoji__img--emoji-tease{background-position:-17.59375em 0;width:1em}.larkw-emoji__img--emoji-terror{background-position:-17.59375em -1em;width:1em}.larkw-emoji__img--emoji-thanks_v2{background-position:-17.59375em -2em;width:1em}.larkw-emoji__img--emoji-thanksface_v1{background-position:-17.59375em -3em;width:1em}.larkw-emoji__img--emoji-thanksholdingboard_v1{background-position:-2.23958em -6em;width:1.11458em}.larkw-emoji__img--emoji-thinking{background-position:-17.59375em -4em;width:1em}.larkw-emoji__img--emoji-thumbsdown_v2{background-position:-17.59375em -5em;width:1em}.larkw-emoji__img--emoji-thumbsup_v2{background-position:-17.59375em -6em;width:1em}.larkw-emoji__img--emoji-toasted{background-position:-17.59375em -7em;width:1em}.larkw-emoji__img--emoji-tongue{background-position:-17.59375em -8em;width:1em}.larkw-emoji__img--emoji-trick{background-position:-17.59375em -9em;width:1em}.larkw-emoji__img--emoji-trophy{background-position:-17.59375em -10em;width:1em}.larkw-emoji__img--emoji-tv_v1{background-position:-17.59375em -11em;width:1em}.larkw-emoji__img--emoji-twentytwentyone_v2{background-position:-17.59375em -12em;width:1em}.larkw-emoji__img--emoji-twentytwentytwo{background-position:-17.59375em -13em;width:1em}.larkw-emoji__img--emoji-typing{background-position:-17.59375em -14em;width:1em}.larkw-emoji__img--emoji-unknown{background-position:-17.59375em -15em;width:1em}.larkw-emoji__img--emoji-vrheadset_v1{background-position:-17.59375em -16em;width:1em}.larkw-emoji__img--emoji-wail{background-position:-2.29167em -5em;width:1.14583em}.larkw-emoji__img--emoji-wave{background-position:-1.04167em -8em;width:1.03125em}.larkw-emoji__img--emoji-wavinghand_v1{background-position:0 -17em;width:1em}.larkw-emoji__img--emoji-welldone{background-position:-1em -17em;width:1em}.larkw-emoji__img--emoji-what{background-position:-3.25em -7em;width:1.08333em}.larkw-emoji__img--emoji-whimper{background-position:-2em -17em;width:1em}.larkw-emoji__img--emoji-wink{background-position:-3em -17em;width:1em}.larkw-emoji__img--emoji-witty{background-position:-8.52083em -3em;width:1.0625em}.larkw-emoji__img--emoji-wow{background-position:-4em -17em;width:1em}.larkw-emoji__img--emoji-wronged{background-position:-5em -17em;width:1em}.larkw-emoji__img--emoji-xmashat{background-position:-6em -17em;width:1em}.larkw-emoji__img--emoji-xmastree{background-position:-7em -17em;width:1em}.larkw-emoji__img--emoji-yawn{background-position:-8em -17em;width:1em}.larkw-emoji__img--emoji-yeah{background-position:-8.52083em -4em;width:1.0625em}.larkw-emoji__img--emoji-yes_v2{background-position:-4.33333em -7em;width:1.08333em}.larkw-emoji__img--emoji-youarethebest{background-position:-9.58333em -7.02083em;width:1.01042em}";
288
+ //# sourceMappingURL=emoji-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emoji-data.js","sourceRoot":"","sources":["../src/emoji-data.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,iEAAiE;AACjE,MAAM,CAAC,MAAM,iBAAiB,GAA2B;IACvD,YAAY,EAAE,oBAAoB;IAClC,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,WAAW;IACxB,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,aAAa;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,MAAM;IACd,MAA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BAAuB;IAC7C,YAAY,EAAE,eAAe;IAC7B,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,QAAQ;IAClB,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,UAAU,EAAE,UAAU;IACtB,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,SAAS;IACpB,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,KAAK;IACZ,SAAS,EAAE,SAAS;IACpB,YAAY,EAAE,eAAe;IAC7B,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,UAAU;IACtB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,QAAQ;IACf,eAAe,EAAE,eAAe;CACjC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAC3B,ipvBAAipvB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @open-feishu-card/adapter
3
+ *
4
+ * 公开 DSL(JSON Schema 2.0)↔ 飞书内部 RAW JSON 的双向适配器。
5
+ * - dslToRaw: 公开 DSL → 渲染器认得的 RAW 形态
6
+ * - rawToDsl: RAW envelope → 公开 DSL,未知/私有组件自动降级 (Fallback)
7
+ */
8
+ export { dslToRaw } from './dsl-to-raw.js';
9
+ export { rawToDsl, degradeUnknown } from './raw-to-dsl.js';
10
+ export type { CardElement, ElementProperty, JsonCard } from './types.js';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @open-feishu-card/adapter
3
+ *
4
+ * 公开 DSL(JSON Schema 2.0)↔ 飞书内部 RAW JSON 的双向适配器。
5
+ * - dslToRaw: 公开 DSL → 渲染器认得的 RAW 形态
6
+ * - rawToDsl: RAW envelope → 公开 DSL,未知/私有组件自动降级 (Fallback)
7
+ */
8
+ export { dslToRaw } from './dsl-to-raw.js';
9
+ export { rawToDsl, degradeUnknown } from './raw-to-dsl.js';
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * DSL 的 markdown「内容字符串」→ RAW 的「子元素树」。
3
+ *
4
+ * 公开 DSL 里 markdown 是一段字符串(`{ tag:'markdown', content:'**x** `y`' }`),
5
+ * 而本渲染器的 markdown 组件(components.ts)渲染的是 `property.elements`——
6
+ * 一组 `{ tag, property }` 内联/块级子元素。本文件把字符串解析成那棵子元素树,
7
+ * 正是 feishu-raw-card-to-dsl 里 rebuildMarkdown 的**逆运算**。
8
+ *
9
+ * 目标不是「飞书能接收的合法结构」,而是「本渲染器认得、能画出来的结构」——
10
+ * 后者宽松得多,故这里只需覆盖飞书 markdown 的常用子集,手写一个小 tokenizer 即可,
11
+ * 保持零依赖。支持:
12
+ * 行内:加粗 ** **、斜体 * */ import type { CardElement } from './types.js';
13
+ /**
14
+ * 把一段(可能含软换行 \n)行内文本解析成子元素数组。
15
+ * 逐字符扫描,维护加粗/斜体/删除线/颜色状态;状态切换或遇到特殊构造时,
16
+ * 把累积的纯文本冲刷为一个 plain_text 段(对称于 rebuildMarkdown 的分段模型)。
17
+ */
18
+ export declare function parseInline(text: string): CardElement[];
19
+ /**
20
+ * markdown 字符串 → 子元素数组(块级 + 行内)。
21
+ * 逐行扫描识别块构造;连续的普通文本行合并为一段,用 br 承载软换行。
22
+ */
23
+ export declare function parseMarkdown(content: string | undefined | null): CardElement[];
24
+ //# sourceMappingURL=md-parse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"md-parse.d.ts","sourceRoot":"","sources":["../src/md-parse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;wBAWwB,CAMxB,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,YAAY,CAAC;AA+BzD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,EAAE,CAkIvD;AA2CD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,WAAW,EAAE,CAqG/E"}