Files
prop-ai-hr/mobile/src/data/icons.ts
T
admin e4070c8b8c refactor(mobile): extract types, static data, utils, styles from App.vue
Pure moves only — zero behavior change, template untouched:
- types.ts (447), utils.ts (51), data/{auth,navigation,practice,mentor,
  home,supervisor,icons}.ts, styles/app.css (4690, still global non-scoped
  via <style src>)
- App.vue 9006 → 3559 lines; 98 moved declarations verbatim except
  export/import syntax
- Built CSS hash identical to pre-refactor (byte-equal styles); reactive
  state, computed, watchers, lifecycle and templates all stay in App.vue
- Component-level split deferred to phase two after 2026-07-10 Alpha
2026-07-08 21:07:45 +08:00

98 lines
3.2 KiB
TypeScript

import type { IconName } from '../types';
export const iconPaths: Record<IconName, Array<[string, Record<string, string | number>?]>> = {
bars: [
['rect', { x: 5, y: 14, width: 3, height: 5, rx: 1 }],
['rect', { x: 11, y: 10, width: 3, height: 9, rx: 1 }],
['rect', { x: 17, y: 5, width: 3, height: 14, rx: 1 }]
],
book: [
['path', { d: 'M4 6.5A3.5 3.5 0 0 1 7.5 3H20v16H7.5A3.5 3.5 0 0 0 4 22V6.5Z' }],
['path', { d: 'M4 19a3.5 3.5 0 0 1 3.5-3.5H20' }]
],
'book-search': [
['path', { d: 'M4 6.5A3.5 3.5 0 0 1 7.5 3H18v10' }],
['path', { d: 'M4 19a3.5 3.5 0 0 1 3.5-3.5H13' }],
['circle', { cx: 17, cy: 17, r: 3 }],
['path', { d: 'm19.5 19.5 2 2' }]
],
briefcase: [
['path', { d: 'M9 6V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1' }],
['rect', { x: 4, y: 6, width: 16, height: 13, rx: 2 }],
['path', { d: 'M4 11h16M10 11v2h4v-2' }]
],
bulb: [
['path', { d: 'M9 18h6M10 22h4M8 14a6 6 0 1 1 8 0c-.8.7-1.2 1.6-1.3 2.5H9.3C9.2 15.6 8.8 14.7 8 14Z' }]
],
'chevron-down': [['path', { d: 'm6 9 6 6 6-6' }]],
'chevron-right': [['path', { d: 'm9 5 7 7-7 7' }]],
clipboard: [
['rect', { x: 6, y: 5, width: 12, height: 16, rx: 2 }],
['path', { d: 'M9 5a3 3 0 0 1 6 0M9 11h6M9 15h6' }]
],
document: [
['path', { d: 'M7 3h7l4 4v14H7V3Z' }],
['path', { d: 'M14 3v5h5M10 12h5M10 16h5' }]
],
folder: [
['path', { d: 'M3 7h7l2 2h9v9.5A2.5 2.5 0 0 1 18.5 21h-13A2.5 2.5 0 0 1 3 18.5V7Z' }],
['path', { d: 'M3 9.5h18' }]
],
graduation: [
['path', { d: 'm3 8 9-4 9 4-9 4-9-4Z' }],
['path', { d: 'M7 10.5V15c2.5 2 7.5 2 10 0v-4.5M21 8v5' }]
],
headset: [
['path', { d: 'M4 14a8 8 0 0 1 16 0' }],
['rect', { x: 3, y: 13, width: 4, height: 7, rx: 2 }],
['rect', { x: 17, y: 13, width: 4, height: 7, rx: 2 }],
['path', { d: 'M19 20c0 2-2 3-5 3h-2M13 23v-2h3' }]
],
home: [
['path', { d: 'm3 11 9-8 9 8' }],
['path', { d: 'M5 10.5V21h5v-6h4v6h5V10.5' }]
],
'map-pin': [
['path', { d: 'M12 22s7-6.1 7-12a7 7 0 0 0-14 0c0 5.9 7 12 7 12Z' }],
['circle', { cx: 12, cy: 10, r: 2.5 }]
],
megaphone: [
['path', { d: 'M4 12h4l10-5v10L8 12H4Z' }],
['path', { d: 'M8 12v6a2 2 0 0 0 2 2h1' }]
],
mic: [
['rect', { x: 9, y: 3, width: 6, height: 11, rx: 3 }],
['path', { d: 'M5 11a7 7 0 0 0 14 0M12 18v4M8 22h8' }]
],
pen: [
['path', { d: 'M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16v4Z' }],
['path', { d: 'm13.5 6.5 4 4' }]
],
presentation: [
['rect', { x: 4, y: 4, width: 16, height: 12, rx: 2 }],
['path', { d: 'M8 21h8M12 16v5M9 11l2 2 4-5' }]
],
target: [
['circle', { cx: 12, cy: 12, r: 8 }],
['circle', { cx: 12, cy: 12, r: 3 }],
['path', { d: 'm16 8 4-4M20 4v4M20 4h-4' }]
],
upload: [
['path', { d: 'M12 16V4M7 9l5-5 5 5' }],
['path', { d: 'M5 16v4h14v-4' }]
],
user: [
['circle', { cx: 12, cy: 8, r: 4 }],
['path', { d: 'M4 21a8 8 0 0 1 16 0' }]
],
users: [
['circle', { cx: 9, cy: 8, r: 3 }],
['circle', { cx: 17, cy: 10, r: 3 }],
['path', { d: 'M3 21a6 6 0 0 1 12 0M13 21a5 5 0 0 1 8 0' }]
],
warning: [
['path', { d: 'M12 3 22 20H2L12 3Z' }],
['path', { d: 'M12 9v5M12 17h.01' }]
]
};