Files
pangolin/client/lib/widgets/pangolin_icons.dart
T
wangjia d73b6da110 feat(routing): 分流规则子屏 UI(模式/内置/我的规则/添加/冲突提示)
- 新增 RoutingScreen(ConsumerWidget):代理模式段选(全局/智能/直连)→setMode、
  内置规则卡(国内直连开关 + LAN 强制锁定行)、我的规则 ReorderableListView
  (拖动排序→reorder、删除→removeRule)、添加规则弹层(类型 chip + 目标输入 +
  动作段选→addRule)、FINAL 兜底行。非智能分流模式「我的规则」区灰化+忽略提示。
- 冲突提示:①同 type+value 被更靠前规则遮蔽 →「已被上面规则覆盖」(纯本地计算);
  ②自定义 ip_cidr 规则落在私网/回环地址段 → 系统锁定提示(启发式,详见文件头注释
  ——真正的私有服务域名清单未经 API 下发给客户端,是已知缺口)。
- l10n 新增 9 个 key(routingTypeDomain/DomainKeyword/IpCidr/Geoip、
  routingRuleShadowed、routingModeNote、routingRuleValueHint、routingNoRules),
  经 design/i18n/strings.json 单源 + gen_l10n_dart.mjs 生成六语。
- 补生成 pangolin_icons.dart 的 plus 图标(design/prototype/icons.js 已有,
  codegen 之前未跑过)。
- 新增 widget 测试 test/widget/routing_screen_test.dart:模式段选/规则行/添加
  按钮可见、非智能模式灰化、重复规则遮蔽提示,共 3 例。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-28 08:51:40 +08:00

69 lines
3.0 KiB
Dart

// GENERATED by design/codegen/gen_flutter_icons.mjs —— 勿手改;图标真源=design/prototype/icons.js
// 重新生成:node design/codegen/gen_flutter_icons.mjs
import 'package:lucide_icons_flutter/lucide_icons.dart';
class PangolinIcons {
PangolinIcons._();
static const layoutDashboard = LucideIcons.layoutDashboard;
static const link = LucideIcons.link;
static const ticket = LucideIcons.ticket;
static const users = LucideIcons.users;
static const bell = LucideIcons.bell;
static const copy = LucideIcons.copy;
static const refreshCw = LucideIcons.refreshCw;
static const qrCode = LucideIcons.qrCode;
static const download = LucideIcons.download;
static const check = LucideIcons.check;
static const checkCircle = LucideIcons.checkCircle;
static const zap = LucideIcons.zap;
static const clock = LucideIcons.clock;
static const shieldCheck = LucideIcons.shieldCheck;
static const shield = LucideIcons.shield;
static const crown = LucideIcons.crown;
static const creditCard = LucideIcons.creditCard;
static const send = LucideIcons.send;
static const messageCircle = LucideIcons.messageCircle;
static const mail = LucideIcons.mail;
static const shoppingBag = LucideIcons.shoppingBag;
static const logOut = LucideIcons.logOut;
static const externalLink = LucideIcons.externalLink;
static const gift = LucideIcons.gift;
static const smartphone = LucideIcons.smartphone;
static const lock = LucideIcons.lock;
static const chevronRight = LucideIcons.chevronRight;
static const arrowDown = LucideIcons.arrowDown;
static const settings = LucideIcons.settings;
static const trash2 = LucideIcons.trash2;
static const monitor = LucideIcons.monitor;
static const key = LucideIcons.key;
static const sun = LucideIcons.sun;
static const moon = LucideIcons.moon;
static const alertTriangle = LucideIcons.alertTriangle;
static const x = LucideIcons.x;
static const power = LucideIcons.power;
static const plus = LucideIcons.plus;
static const loaderCircle = LucideIcons.loaderCircle;
static const globe = LucideIcons.globe;
static const user = LucideIcons.user;
static const search = LucideIcons.search;
static const chevronDown = LucideIcons.chevronDown;
static const arrowLeft = LucideIcons.arrowLeft;
static const arrowUp = LucideIcons.arrowUp;
static const arrowRight = LucideIcons.arrowRight;
static const compass = LucideIcons.compass;
static const chartNoAxesColumn = LucideIcons.chartNoAxesColumn;
static const home = LucideIcons.home;
static const mapPin = LucideIcons.mapPin;
static const laptop = LucideIcons.laptop;
static const monitorSmartphone = LucideIcons.monitorSmartphone;
static const playCircle = LucideIcons.playCircle;
static const wifi = LucideIcons.wifi;
static const eye = LucideIcons.eye;
static const eyeOff = LucideIcons.eyeOff;
static const moreVertical = LucideIcons.moreVertical;
static const pencil = LucideIcons.pencil;
static const terminal = LucideIcons.terminal;
static const menu = LucideIcons.menu;
}