主要功能: - 修改RequirementModal支持12个订单班选择 - 添加OrderClassIconMap图标映射组件 - Store中添加selectedOrderClass状态管理 - WorkflowPage支持传递orderClass参数 - web_result添加URL参数切换功能 - 创建order-class-handler.js动态处理页面主题 技术改进: - 创建软链接关联订单班数据目录 - 生成wenlu.json和food.json数据结构 - 删除重复的web_result目录 - 添加测试页面test-order-class.html 影响范围: - 展会策划系统现支持12个订单班 - 结果展示页面自动适配不同订单班主题 - 用户可选择不同行业生成对应方案 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
51 lines
1.5 KiB
JavaScript
51 lines
1.5 KiB
JavaScript
'use strict'
|
|
|
|
module.exports = keyman
|
|
keyman.displayName = 'keyman'
|
|
keyman.aliases = []
|
|
function keyman(Prism) {
|
|
Prism.languages.keyman = {
|
|
comment: {
|
|
pattern: /\bc .*/i,
|
|
greedy: true
|
|
},
|
|
string: {
|
|
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
greedy: true
|
|
},
|
|
'virtual-key': {
|
|
pattern:
|
|
/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,
|
|
greedy: true,
|
|
alias: 'function' // alias for styles
|
|
},
|
|
// https://help.keyman.com/developer/language/guide/headers
|
|
'header-keyword': {
|
|
pattern: /&\w+/,
|
|
alias: 'bold' // alias for styles
|
|
},
|
|
'header-statement': {
|
|
pattern:
|
|
/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,
|
|
alias: 'bold' // alias for styles
|
|
},
|
|
'rule-keyword': {
|
|
pattern:
|
|
/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,
|
|
alias: 'keyword'
|
|
},
|
|
'structural-keyword': {
|
|
pattern: /\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,
|
|
alias: 'keyword'
|
|
},
|
|
'compile-target': {
|
|
pattern: /\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,
|
|
alias: 'property'
|
|
},
|
|
// U+####, x###, d### characters and numbers
|
|
number: /\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,
|
|
operator: /[+>\\$]|\.\./,
|
|
punctuation: /[()=,]/
|
|
}
|
|
}
|