Przeglądaj źródła

chore: update graphify and add drafts inline-edit plan.

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu 2 miesięcy temu
rodzic
commit
e93edc77f4

+ 389 - 0
docs/superpowers/plans/2026-08-06-oa-drafts-inline-edit-dialog.md

@@ -0,0 +1,389 @@
+# OA 草稿箱就地弹窗编辑 Implementation Plan
+
+> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
+
+**Goal:** 草稿箱内用与「发起审批」相同的弹窗完成草稿回显、保存与提交,不再跳转到发起页。
+
+**Architecture:** 从 `start/index.vue` 抽出 `OaStartFormDialog.vue`(表单 + Kit + 流程预览 + 保存/提交);发起页与草稿箱共用。草稿箱 `openForDraft(draftId)` 回显;列表快捷提交失败时打开同一弹窗。
+
+**Tech Stack:** Vue 3 + Element Plus + form-create;既有 `@/api/oaApproval` 草稿 API(无后端改动)。
+
+**Spec:** `docs/superpowers/specs/2026-08-06-oa-drafts-inline-edit-dialog-design.md`
+
+---
+
+## File map
+
+| 文件 | 职责 |
+|------|------|
+| `web-admin/src/components/oa-approval/OaStartFormDialog.vue` | **新建**:发起/编辑草稿共用弹窗(从 start 抽出) |
+| `web-admin/src/views/oa-approval/start/index.vue` | 保留模板卡片列表;弹窗改为挂载共用组件;深链仍打开弹窗 |
+| `web-admin/src/views/oa-approval/drafts/index.vue` | 去掉跳转;挂载共用组件;编辑/提交失败走弹窗 |
+
+后端与 `oaApproval.ts` API:**不改**。
+
+---
+
+## Public API(`OaStartFormDialog`)
+
+组件通过 `defineExpose` 暴露:
+
+```ts
+/** 选模板后新建发起(清空草稿态) */
+function openForApp(appRow: { id: string; appName?: string; [k: string]: any }): Promise<void>
+
+/**
+ * 打开并回显草稿。
+ * @param draftId 草稿 id
+ * @param templatesOptional 发起页可传当前模板列表,用于补全 app 行;草稿箱可省略
+ */
+function openForDraft(
+  draftId: string,
+  templatesOptional?: Array<{ id: string; appName?: string }>
+): Promise<void>
+
+/**
+ * 复制旧实例表单后打开(仅发起页深链 copyFromInstanceId 使用)。
+ * 内部先 openForApp,再预填 formData。
+ */
+function openForAppWithCopy(
+  appRow: { id: string; appName?: string; [k: string]: any },
+  copyFromInstanceId: string
+): Promise<void>
+```
+
+Events:
+
+```ts
+// 保存草稿成功(create 或 update)后关闭前触发,便于父页刷新列表
+emit('saved')
+// 提交成功;payload 为后端返回的实例(至少含 id)
+emit('submitted', instance: { id?: string; [k: string]: any })
+// 弹窗关闭(取消或保存/提交后)
+emit('closed')
+```
+
+Props:无必填 props(可见性由组件内部 `dlgVisible` 控制)。
+
+弹窗模板须与现 `start/index.vue` 中 `el-dialog` 块一致(`dialog-form-layout`、`protocol-dialog-mask`、form-create、`OaFlowPreview`、底栏取消/保存草稿/提交)。
+
+---
+
+### Task 1: 抽出 `OaStartFormDialog.vue`
+
+**Files:**
+- Create: `web-admin/src/components/oa-approval/OaStartFormDialog.vue`
+- Reference (move from): `web-admin/src/views/oa-approval/start/index.vue`(dialog 模板 + 相关 script,约 L87–142 与 L214–714 中弹窗相关部分)
+
+- [x] **Step 1: 新建组件骨架**
+
+创建文件:含 `<el-dialog>` 模板(从 start 原样搬入)、`<script setup>`、`defineOptions({ name: 'OaStartFormDialog' })`。
+
+将 start 中下列状态与函数迁入组件(保持行为不变):
+
+- 状态:`dlgVisible`、`detailLoading`、`picked`、`formData`、`formRule`、`formOption`、`fapi`、`submitting`、`savingDraft`、`editingDraftId`、`needInitiatorSelect`、`initiatorSelectByNode`、`userOptions`、`flowSteps`、`flowResolved`、`flowPendingMessage`、`previewLoading`、Kit sync 相关局部变量、`confirmationDateManualFields`
+- 函数:`flowNeedsInitiatorSelect`、`loadUsers`、`loadFlowPreview`、`scheduleFlowPreview`、`onPick`(内部供 `openForApp` 调用)、`closeDialog`、`openDraft`(改名为 `openForDraft` 并增加 `templatesOptional` 参数)、`saveDraft`、`submit`、Kit sync / `restoreConfirmationDateAuto`、`formData` 的 `watch`
+
+`openForApp` 实现:
+
+```ts
+async function openForApp(appRow: any) {
+  await onPick(appRow)
+}
+```
+
+`openForDraft` 实现要点(相对现 `openDraft`):
+
+```ts
+async function openForDraft(draftId: string, templatesOptional?: any[]) {
+  const detail = await fetchOaInstanceDraftDetail(draftId)
+  const appId = String(detail?.appId || '').trim()
+  if (!appId) {
+    ElMessage.error('草稿缺少审批模板')
+    return
+  }
+  const list = templatesOptional || []
+  let row = list.find((t: any) => t.id === appId)
+  if (!row) {
+    row = { id: appId, appName: detail?.appName || '发起审批' }
+  }
+  await onPick(row)
+  editingDraftId.value = draftId
+  // … 与现 openDraft 相同的 formData / initiatorSelect / loadFlowPreview 回填
+}
+```
+
+`saveDraft` / `submit` 成功路径:
+
+```ts
+// saveDraft finally 成功后:
+emit('saved')
+closeDialog()
+emit('closed')
+
+// submit 成功后:
+emit('submitted', data)
+closeDialog()
+emit('closed')
+// 注意:跳转实例详情由父页处理(start 与 drafts 都可 router.push),组件内不要写死 drafts 以外的路由假设;
+// 为兼容现网,组件内可保留 refreshOaMenuBadges;跳转由父监听 submitted 完成。
+```
+
+**推荐:** 组件内 **不** `router.push` 详情;由父页 `@submitted` 跳转(start / drafts 行为一致)。`refreshOaMenuBadges` 可在组件成功路径调用,或父页 `saved`/`submitted` 里调用——选一种并两端统一,建议父页统一刷新 badge + 列表。
+
+- [x] **Step 2: `defineExpose` + emits**
+
+```ts
+const emit = defineEmits<{
+  saved: []
+  submitted: [instance: any]
+  closed: []
+}>()
+
+defineExpose({ openForApp, openForDraft, openForAppWithCopy })
+```
+
+`openForAppWithCopy`:`await openForApp(appRow)` 后按现 start `onMounted` 中 `qCopyFrom` 逻辑预填 `formData`。
+
+- [x] **Step 3: 迁入样式**
+
+仅迁与弹窗相关的 `.oa-start__tip`(及确认日期 relink 若有);卡片列表样式留在 start。
+
+- [x] **Step 4: 静态检查**
+
+Run: `cd web-admin && pnpm exec vue-tsc --noEmit 2>&1 | head -80`  
+(若项目过慢可用 `pnpm lint` 仅针对改动文件;至少保证新组件无未解析 import。)
+
+- [x] **Step 5: Commit** — `0dcc05dc`
+
+---
+
+### Task 2: 发起页改用共用弹窗
+
+**Files:**
+- Modify: `web-admin/src/views/oa-approval/start/index.vue`
+
+- [x] **Step 1: 替换模板中的 `el-dialog`**
+
+删除原 `el-dialog` 整块,改为:
+
+```vue
+<OaStartFormDialog
+  ref="startDialogRef"
+  @saved="onDialogSaved"
+  @submitted="onDialogSubmitted"
+/>
+```
+
+- [ ] **Step 2: 精简 script**
+
+保留:模板列表、分组、搜索、`displayGroups`、`onPick` 改为调用 dialog、`onMounted` 深链。
+
+删除已迁入 dialog 的状态与函数。
+
+```ts
+import OaStartFormDialog from '@/components/oa-approval/OaStartFormDialog.vue'
+import { refreshOaMenuBadges } from '@/utils/oa-menu-badge'
+
+const startDialogRef = ref<InstanceType<typeof OaStartFormDialog> | null>(null)
+
+async function onPick(row: any) {
+  await startDialogRef.value?.openForApp(row)
+}
+
+function onDialogSaved() {
+  void refreshOaMenuBadges()
+}
+
+function onDialogSubmitted(data: any) {
+  void refreshOaMenuBadges()
+  if (data?.id) {
+    router.push({ path: `/system-manage/oa-approval/instances/${data.id}` })
+  }
+}
+
+onMounted(async () => {
+  loading.value = true
+  try {
+    const [tpl, groupsRes] = await Promise.all([fetchOaTemplates(), fetchOaGroupList()])
+    templates.value = tpl?.list || []
+    groupOptions.value = groupsRes?.list || []
+    const qDraftId = String(route.query.draftId || '').trim()
+    const qAppId = String(route.query.appId || '').trim()
+    const qCopyFrom = String(route.query.copyFromInstanceId || '').trim()
+    if (qDraftId) {
+      try {
+        await startDialogRef.value?.openForDraft(qDraftId, templates.value)
+      } catch {
+        ElMessage.error('无法打开草稿')
+      }
+    } else if (qAppId) {
+      const row = templates.value.find((t: any) => t.id === qAppId)
+      if (row) {
+        if (qCopyFrom) {
+          await startDialogRef.value?.openForAppWithCopy(row, qCopyFrom)
+        } else {
+          await startDialogRef.value?.openForApp(row)
+        }
+      }
+    }
+  } finally {
+    loading.value = false
+  }
+})
+```
+
+- [ ] **Step 3: 手工冒烟(发起页)**
+
+1. 打开 `/#/system-manage/oa-approval/start`,选模板 → 弹窗与改造前一致。  
+2. 暂存草稿 → 关闭 → 草稿箱可见。  
+3. 深链带 `draftId` 仍能打开回显(兼容)。
+
+- [ ] **Step 4: Commit**
+
+```bash
+git add web-admin/src/views/oa-approval/start/index.vue
+git commit -m "$(cat <<'EOF'
+refactor(web-admin): wire start page to OaStartFormDialog.
+
+EOF
+)"
+```
+
+---
+
+### Task 3: 草稿箱就地编辑 / 提交
+
+**Files:**
+- Modify: `web-admin/src/views/oa-approval/drafts/index.vue`
+
+- [ ] **Step 1: 模板挂载弹窗**
+
+在 `</section>` 后、`</div>` 前增加:
+
+```vue
+<OaStartFormDialog
+  ref="draftDialogRef"
+  @saved="onDraftDialogSaved"
+  @submitted="onDraftDialogSubmitted"
+/>
+```
+
+- [ ] **Step 2: 改 script**
+
+```ts
+import OaStartFormDialog from '@/components/oa-approval/OaStartFormDialog.vue'
+
+const draftDialogRef = ref<InstanceType<typeof OaStartFormDialog> | null>(null)
+
+async function openEdit(row: any) {
+  if (!row?.id) return
+  try {
+    await draftDialogRef.value?.openForDraft(row.id)
+  } catch {
+    ElMessage.error('无法打开草稿')
+  }
+}
+
+function onDraftDialogSaved() {
+  void loadList()
+  void refreshOaMenuBadges()
+}
+
+function onDraftDialogSubmitted(data: any) {
+  void loadList()
+  void refreshOaMenuBadges()
+  if (data?.id) {
+    router.push({ path: `/system-manage/oa-approval/instances/${data.id}` })
+  }
+}
+
+async function handleSubmit(row: any) {
+  if (!row?.id) return
+  try {
+    await ElMessageBox.confirm('确认提交该草稿并发起审批吗?', '提交审批', {
+      type: 'warning',
+      confirmButtonText: '提交',
+      cancelButtonText: '取消'
+    })
+  } catch {
+    return
+  }
+  submittingId.value = row.id
+  try {
+    const data: any = await fetchSubmitOaInstanceDraft(row.id)
+    await loadList()
+    void refreshOaMenuBadges()
+    if (data?.id) {
+      router.push({ path: `/system-manage/oa-approval/instances/${data.id}` })
+    }
+  } catch {
+    // 快捷提交失败:打开同一弹窗回显,不跳发起页
+    await openEdit(row)
+  } finally {
+    submittingId.value = ''
+  }
+}
+```
+
+删除 `openEdit` 中的 `router.push` 到 start。若不再需要仅因跳转而引入的依赖则清理;`useRouter` 仍用于提交成功跳详情。
+
+补充:`import { ElMessage } from 'element-plus'`(若打开失败提示需要;项目若 auto-import 则勿重复)。
+
+- [ ] **Step 3: 手工验收(对照 spec §7)**
+
+1. 草稿箱「编辑」:URL 仍为 drafts;弹窗回显。  
+2. 弹窗「保存草稿」:列表刷新,不跳转。  
+3. 弹窗「提交」:草稿消失;可进详情。  
+4. 列表「提交审批」失败:打开弹窗而非跳 start。  
+5. 发起页选模板发起仍正常。
+
+- [ ] **Step 4: Commit**
+
+```bash
+git add web-admin/src/views/oa-approval/drafts/index.vue
+git commit -m "$(cat <<'EOF'
+feat(web-admin): edit and submit OA drafts in-place via shared dialog.
+
+EOF
+)"
+```
+
+- [ ] **Step 5: 更新知识图谱**
+
+```bash
+./scripts/update-graph.sh frontend
+```
+
+若有图谱文件变更一并 commit:`chore: update graphify after OaStartFormDialog.`
+
+---
+
+## Spec coverage check
+
+| Spec 要求 | Task |
+|-----------|------|
+| 编辑不跳转、弹窗回显 | Task 3 |
+| 弹窗与发起审批一致(共用组件) | Task 1–2 |
+| 保存刷新列表 | Task 3 `@saved` |
+| 提交跳详情 | Task 3 `@submitted` |
+| 快捷提交失败开弹窗 | Task 3 `handleSubmit` catch |
+| 发起页行为等价 + 深链 | Task 2 |
+| 无后端改动 | 全计划遵守 |
+
+## Placeholder scan
+
+无 TBD/TODO;API 与文件路径已写死。
+
+---
+
+## Execution handoff
+
+Plan complete and saved to `docs/superpowers/plans/2026-08-06-oa-drafts-inline-edit-dialog.md`.
+
+**Two execution options:**
+
+1. **Subagent-Driven (recommended)** — 每任务派生子代理,任务间复查  
+2. **Inline Execution** — 本会话按 executing-plans 连续执行并设检查点  
+
+Which approach?

Plik diff jest za duży
+ 843 - 773
web-admin/graphify-out/.graphify_analysis.json


Plik diff jest za duży
+ 416 - 121
web-admin/graphify-out/.graphify_extract.json


+ 153 - 161
web-admin/graphify-out/GRAPH_REPORT.md

@@ -1,11 +1,11 @@
 # Graph Report - src  (2026-08-06)
 
 ## Corpus Check
-- Large corpus: 960 files · ~625,800 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
+- Large corpus: 961 files · ~626,054 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
 
 ## Summary
-- 3358 nodes · 4743 edges · 71 communities detected
-- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 1044 edges (avg confidence: 0.8)
+- 3368 nodes · 4772 edges · 69 communities detected
+- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 1061 edges (avg confidence: 0.8)
 - Token cost: 0 input · 0 output
 
 ## Community Hubs (Navigation)
@@ -50,134 +50,132 @@
 - [[_COMMUNITY_Community 38|Community 38]]
 - [[_COMMUNITY_Community 39|Community 39]]
 - [[_COMMUNITY_Community 40|Community 40]]
-- [[_COMMUNITY_Community 41|Community 41]]
 - [[_COMMUNITY_Community 42|Community 42]]
 - [[_COMMUNITY_Community 43|Community 43]]
 - [[_COMMUNITY_Community 44|Community 44]]
-- [[_COMMUNITY_Community 46|Community 46]]
-- [[_COMMUNITY_Community 47|Community 47]]
-- [[_COMMUNITY_Community 48|Community 48]]
+- [[_COMMUNITY_Community 45|Community 45]]
+- [[_COMMUNITY_Community 49|Community 49]]
+- [[_COMMUNITY_Community 50|Community 50]]
 - [[_COMMUNITY_Community 52|Community 52]]
 - [[_COMMUNITY_Community 53|Community 53]]
+- [[_COMMUNITY_Community 54|Community 54]]
 - [[_COMMUNITY_Community 55|Community 55]]
 - [[_COMMUNITY_Community 56|Community 56]]
 - [[_COMMUNITY_Community 57|Community 57]]
 - [[_COMMUNITY_Community 58|Community 58]]
-- [[_COMMUNITY_Community 59|Community 59]]
 - [[_COMMUNITY_Community 60|Community 60]]
 - [[_COMMUNITY_Community 61|Community 61]]
-- [[_COMMUNITY_Community 62|Community 62]]
 - [[_COMMUNITY_Community 64|Community 64]]
-- [[_COMMUNITY_Community 65|Community 65]]
-- [[_COMMUNITY_Community 68|Community 68]]
-- [[_COMMUNITY_Community 74|Community 74]]
-- [[_COMMUNITY_Community 77|Community 77]]
+- [[_COMMUNITY_Community 66|Community 66]]
+- [[_COMMUNITY_Community 67|Community 67]]
+- [[_COMMUNITY_Community 72|Community 72]]
+- [[_COMMUNITY_Community 75|Community 75]]
+- [[_COMMUNITY_Community 76|Community 76]]
 - [[_COMMUNITY_Community 78|Community 78]]
+- [[_COMMUNITY_Community 79|Community 79]]
 - [[_COMMUNITY_Community 80|Community 80]]
-- [[_COMMUNITY_Community 81|Community 81]]
-- [[_COMMUNITY_Community 82|Community 82]]
-- [[_COMMUNITY_Community 87|Community 87]]
+- [[_COMMUNITY_Community 83|Community 83]]
+- [[_COMMUNITY_Community 95|Community 95]]
 - [[_COMMUNITY_Community 97|Community 97]]
-- [[_COMMUNITY_Community 99|Community 99]]
-- [[_COMMUNITY_Community 100|Community 100]]
+- [[_COMMUNITY_Community 98|Community 98]]
 
 ## God Nodes (most connected - your core abstractions)
 1. `get()` - 305 edges
-2. `push()` - 108 edges
-3. `emit()` - 29 edges
+2. `push()` - 110 edges
+3. `emit()` - 30 edges
 4. `WebSocketClient` - 26 edges
 5. `set()` - 21 edges
 6. `handleDynamicRoutes()` - 19 edges
 7. `parseProtocolStandardImportText()` - 17 edges
-8. `scopeQuery()` - 16 edges
-9. `MenuProcessor` - 16 edges
-10. `walkRules()` - 14 edges
+8. `onPick()` - 16 edges
+9. `scopeQuery()` - 16 edges
+10. `MenuProcessor` - 16 edges
 
 ## Surprising Connections (you probably didn't know these)
-- `handleBatchDelete()` --calls--> `withFullscreenLoading()`  [INFERRED]
-  views/basic-info/customer/index.vue → utils/fullscreen-loading.ts
 - `formatReceiveAccountLine()` --calls--> `push()`  [INFERRED]
   utils/oa-receive-account-value.ts → views/operations/storage-facility/index.vue
+- `dash()` --calls--> `formatDisplayOrDash()`  [INFERRED]
+  components/business/infusion-schedule-outbound-chain-view/index.vue → utils/datetime-display.ts
 - `dash()` --calls--> `formatDisplayOrDash()`  [INFERRED]
   components/business/clinical-schedule-payment-detail/index.vue → utils/datetime-display.ts
+- `findTreeSelectShortLabel()` --calls--> `walk()`  [INFERRED]
+  utils/tree-path.ts → views/system/role/index.vue
 - `fmtMoney()` --calls--> `formatMoneyDisplay()`  [INFERRED]
   components/business/clinical-schedule-payment-detail/index.vue → utils/money-format.ts
-- `defaultInstallmentRatios()` --calls--> `push()`  [INFERRED]
-  utils/protocol-payment-installment.ts → views/operations/storage-facility/index.vue
 
 ## Communities
 
 ### Community 0 - "Community 0"
-Cohesion: 0.0
-Nodes (186): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+178 more)
+Cohesion: 0.01
+Nodes (185): fetchAccessLogList(), fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters(), fetchCellProductPriceList(), fetchCellProductSpecList(), fetchCellProductTypeList(), fetchChannelAccount() (+177 more)
 
 ### Community 1 - "Community 1"
-Cohesion: 0.02
-Nodes (97): fetchUploadAttachment(), handleReportUpload(), handleReportUpload(), walk(), buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection() (+89 more)
+Cohesion: 0.03
+Nodes (90): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupDetail(), fetchPilotCheckupList(), markPilotCheckupChecked() (+82 more)
 
 ### Community 2 - "Community 2"
-Cohesion: 0.03
-Nodes (83): batchSavePilotCheckup(), deletePilotCheckupActualItem(), fetchCheckupInstitutionList(), fetchCheckupInstitutionPackageDetail(), fetchCheckupInstitutionPackages(), fetchPilotCheckupDetail(), fetchPilotCheckupList(), markPilotCheckupChecked() (+75 more)
+Cohesion: 0.02
+Nodes (74): fetchUpdatePostBoundRoles(), fetchUploadAttachment(), fetchOaInstanceDetail(), fetchOaTasks(), FireworkSystem, printRow(), handleReportUpload(), handleReportUpload() (+66 more)
 
 ### Community 3 - "Community 3"
 Cohesion: 0.03
-Nodes (82): formatNowDatetime(), formatTodayDate(), addPaymentDetail(), applyFqPaymentDefaults(), applyPaymentPresetForMode(), createEmptyTransport(), datetimeToYmd(), defaultInstallmentStartDateYmd() (+74 more)
+Nodes (79): fetchEthnicList(), formatNowDatetime(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList(), handleOpenForAdd(), if(), loadEthnicOptions() (+71 more)
 
 ### Community 4 - "Community 4"
 Cohesion: 0.03
-Nodes (63): useSettingsHandlers(), useSettingsPanel(), useSettingsState(), RoutePermissionValidator, useCeremony(), useTheme(), if(), branchTitle() (+55 more)
+Nodes (70): buildInboundBasicSection(), buildInboundCellStorageViewSections(), buildInboundResearchDonationViewSections(), buildReceptionSection(), buildTransportSection(), resolveInboundProtocolStatus(), buildBaseFields(), buildInboundBasicSection() (+62 more)
 
 ### Community 5 - "Community 5"
 Cohesion: 0.03
-Nodes (63): fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchUpdateCheckupInstitution(), fetchUpdateCheckupInstitutionInvoice(), fetchUpdateCheckupInstitutionProject() (+55 more)
+Nodes (41): fetchGetMenuList(), useSettingsHandlers(), useSettingsPanel(), useSettingsState(), ComponentLoader, IframeRouteManager, MenuProcessor, RouteRegistry (+33 more)
 
 ### Community 6 - "Community 6"
 Cohesion: 0.03
-Nodes (33): fetchGetMenuList(), ComponentLoader, IframeRouteManager, MenuProcessor, RouteRegistry, RouteTransformer, useAppMode(), useAuth() (+25 more)
+Nodes (60): fetchBatchDeleteOaReceiveAccounts(), fetchBatchMarkOaCcTasksRead(), fetchCreateOaReceiveAccount(), fetchDeleteOaReceiveAccount(), fetchMarkOaCcTaskRead(), fetchOaAppDraft(), fetchOaAppList(), fetchOaCcUnreadCount() (+52 more)
 
 ### Community 7 - "Community 7"
 Cohesion: 0.03
-Nodes (49): fetchBatchDeleteOaReceiveAccounts(), fetchBatchMarkOaCcTasksRead(), fetchCreateOaReceiveAccount(), fetchDeleteOaReceiveAccount(), fetchMarkOaCcTaskRead(), fetchOaAppDraft(), fetchOaCcUnreadCount(), fetchOaInstanceDetail() (+41 more)
+Nodes (68): fetchCellSampleTypeList(), fetchCheckupInstitutionInvoices(), fetchCheckupInstitutionProjects(), fetchCreateCellSampleType(), fetchCreateCheckupInstitution(), fetchCreateCheckupInstitutionInvoice(), fetchCreateCheckupInstitutionProject(), fetchDeleteCellSampleType() (+60 more)
 
 ### Community 8 - "Community 8"
 Cohesion: 0.03
-Nodes (54): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), fetchMineTasksForWorkOrders(), useInboundSiblingNavigation(), shouldApplyTriggerSourceFilter(), useQcWorkOrderTabPage() (+46 more)
+Nodes (48): handleBlur(), handleFocus(), handleInput(), fetchClinicalPaymentDetail(), fetchClinicalPayments(), fetchClinicalReceiptConfirmed(), fetchClinicalReceiptPending(), fetchClinicalRefundConfirmed() (+40 more)
 
 ### Community 9 - "Community 9"
-Cohesion: 0.04
-Nodes (48): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleDialogClose(), handleAdd(), handleBatchDelete() (+40 more)
+Cohesion: 0.03
+Nodes (54): RoutePermissionValidator, if(), nodeSummary(), createDefaultFlow(), createEndNode(), createNode(), ensureFlowRoot(), newId() (+46 more)
 
 ### Community 10 - "Community 10"
-Cohesion: 0.04
-Nodes (42): buildBaseFields(), buildFeeSection(), buildInboundBasicSection(), buildInboundCellStorageProductionViewSections(), buildInboundResearchDonationProductionViewSections(), buildOutboundBasicExperimentProductionViewSections(), buildOutboundClinicalProductionViewSections(), buildOutboundDetail() (+34 more)
+Cohesion: 0.03
+Nodes (52): buildTemporaryViewSections(), buildInsertedSiblingCard(), resolveShowProtocolPaymentAtGroup(), appendTaskResultSections(), batchTasksForPanelSlot(), buildConfiguredOnlySection(), for(), for() (+44 more)
 
 ### Community 11 - "Community 11"
-Cohesion: 0.04
-Nodes (43): fetchCellSampleTypeList(), fetchCreateCellSampleType(), fetchCreateMenu(), fetchDeleteCellSampleType(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateCellSampleType(), fetchUpdateMenu() (+35 more)
+Cohesion: 0.03
+Nodes (56): fetchMyProductionTasks(), fetchMyQcTaskList(), fetchQcTaskDetail(), fetchQcTaskList(), fetchMineTasksForWorkOrders(), useInboundSiblingNavigation(), shouldApplyTriggerSourceFilter(), useQcWorkOrderTabPage() (+48 more)
 
 ### Community 12 - "Community 12"
-Cohesion: 0.04
-Nodes (43): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments(), fetchPaymentDetailList() (+35 more)
+Cohesion: 0.03
+Nodes (58): fetchFullmoonTodoList(), fetchUpdateFullmoonTodoInsurance(), fetchCollectionProtocolAuditList(), fetchCollectionProtocolDetail(), fetchCollectionProtocolList(), fetchCreateProtocolInvoiceRequest(), fetchInvoiceEligiblePayments(), fetchPaymentDetailList() (+50 more)
 
 ### Community 13 - "Community 13"
-Cohesion: 0.05
-Nodes (48): fetchEthnicList(), applyDonationBundleToForm(), createEmptyTransport(), ensureEthnicOptionInList(), handleOpenForAdd(), if(), loadEthnicOptions(), normalizeSampleRow() (+40 more)
+Cohesion: 0.04
+Nodes (66): fetchDeptTree(), fetchUserList(), fetchOaFlowPreview(), fetchOaTemplateDetail(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handlePreviewAttachment() (+58 more)
 
 ### Community 14 - "Community 14"
-Cohesion: 0.05
-Nodes (49): fetchOaRelatedSummaries(), displayPeople(), personLines(), personTitle(), showNodeComment(), signBadge(), signBadgeText(), statusText() (+41 more)
+Cohesion: 0.03
+Nodes (22): fetchProductionWorkOrderQcInfo(), fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchUpdateQcMaterialBatch(), dash() (+14 more)
 
 ### Community 15 - "Community 15"
-Cohesion: 0.06
-Nodes (35): attachmentFullUrl(), dash(), handleAttachmentDownload(), handleAttachmentPreview(), buildPaymentFlowSteps(), dash(), formatAmount(), hasFinanceReceipt() (+27 more)
+Cohesion: 0.05
+Nodes (49): fetchOaRelatedSummaries(), displayPeople(), personLines(), personTitle(), showNodeComment(), signBadge(), signBadgeText(), statusText() (+41 more)
 
 ### Community 16 - "Community 16"
 Cohesion: 0.05
-Nodes (23): handleBlur(), handleFocus(), handleInput(), fetchClinicalReceiptConfirmed(), buildConfirmedParams(), buildPendingParams(), formatAmount(), handleConfirmedReset() (+15 more)
+Nodes (33): fetchCreateMenu(), fetchDeleteMenu(), fetchMenuTree(), fetchUpdateMenu(), fetchMarkQcMaterialUsageFullyUsed(), collectIds(), postorder(), preorder() (+25 more)
 
 ### Community 17 - "Community 17"
-Cohesion: 0.06
-Nodes (38): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), fetchClinicalRefundConfirmed(), buildConfirmedParams(), buildPendingParams() (+30 more)
+Cohesion: 0.07
+Nodes (38): fetchCreateCustomer(), fetchCustomerList(), fetchDeleteCustomer(), fetchUpdateCustomer(), updateInfusionScheduleStatus(), handleAdd(), handleDelete(), handleDropdownCommand() (+30 more)
 
 ### Community 18 - "Community 18"
 Cohesion: 0.04
@@ -185,11 +183,11 @@ Nodes (21): fetchAvailableMaterialBatches(), fetchMyProductionMaterialConsumptio
 
 ### Community 19 - "Community 19"
 Cohesion: 0.06
-Nodes (29): qcAttachmentFullUrl(), qcDownloadAttachment(), qcPreviewAttachment(), formatHandoverUserLabel(), formatNowDatetime(), fullFileUrl(), handleDownloadAttachment(), handlePreviewAttachment() (+21 more)
+Nodes (32): fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit(), fetchProductionTaskList() (+24 more)
 
 ### Community 20 - "Community 20"
-Cohesion: 0.06
-Nodes (21): fetchQcMaterialBatchDetail(), fetchQcMaterialBatchList(), fetchQcMaterialBatchOptions(), fetchQcMaterialList(), fetchQcMaterialOptions(), fetchUpdateQcMaterialBatch(), fetchMarkQcMaterialUsageFullyUsed(), financeAttachmentsToUrlString() (+13 more)
+Cohesion: 0.08
+Nodes (37): formatDatetimeToMinute(), handleChineseDatetimePaste(), parseChineseDatetimeText(), parseBirthOrder(), parseChineseNumeral(), addSampleHint(), earliestCollectTime(), isMaternalBloodEmpty() (+29 more)
 
 ### Community 21 - "Community 21"
 Cohesion: 0.1
@@ -200,255 +198,249 @@ Cohesion: 0.08
 Nodes (33): fetchRefreshToken(), toLogin(), base64ToBytes(), bytesToBase64(), decryptJson(), deriveKey(), encryptJson(), fromBase64Url() (+25 more)
 
 ### Community 23 - "Community 23"
-Cohesion: 0.06
-Nodes (11): dash(), fmtMoney(), auditorDisplay(), dash(), ensureUnitsInOptions(), expressName(), formatYm(), formatYmd() (+3 more)
+Cohesion: 0.09
+Nodes (8): getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager, validateStorageData()
 
 ### Community 24 - "Community 24"
-Cohesion: 0.07
-Nodes (24): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderQcInfo(), fetchProductionWorkOrderTabStepCounts() (+16 more)
+Cohesion: 0.08
+Nodes (20): createEmptySnapshots(), normalizeConfiguredReagents(), normalizeConsumables(), normalizeDataCollections(), normalizeReagents(), normalizeStepOutputs(), serializeAttachments(), serializeEquipmentIds() (+12 more)
 
 ### Community 25 - "Community 25"
 Cohesion: 0.08
-Nodes (32): fetchUserList(), fetchAddTaskStep(), fetchCopyTaskStep(), fetchDeleteTaskStep(), fetchDispatchProductionTaskSteps(), fetchForwardProductionTask(), fetchProductionTaskDetail(), fetchProductionTaskEditorInit() (+24 more)
+Nodes (18): fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), onUserSelectVisible(), remoteSearchUsers(), buildPayload(), ensureDefaultHandler(), initDialog() (+10 more)
 
 ### Community 26 - "Community 26"
 Cohesion: 0.07
-Nodes (20): fetchProductionReceptionBySampleCode(), fetchProductionReceptionSubmit(), fetchProductionReceptionUpdate(), onUserSelectVisible(), remoteSearchUsers(), buildPayload(), ensureDefaultHandler(), initDialog() (+12 more)
+Nodes (19): fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions(), fetchUpdateMaterialBatch(), fetchMaterialUsageList(), fetchMyMaterialUsageList() (+11 more)
 
 ### Community 27 - "Community 27"
 Cohesion: 0.09
-Nodes (8): getDefaultLanguage(), checkStorageCompatibility(), StorageConfig, getSystemStorage(), getSysVersion(), StorageKeyManager, StorageCompatibilityManager, validateStorageData()
+Nodes (22): fetchMineProductionWorkOrderTabStepCounts(), fetchMineProductionWorkOrderTabStepCountsDeduped(), fetchProductionWorkOrderCellProductOptions(), fetchProductionWorkOrderDetail(), fetchProductionWorkOrderList(), fetchProductionWorkOrderQcDispatchOptions(), fetchProductionWorkOrderTabStepCounts(), fetchProductionWorkOrderTabStepCountsDeduped() (+14 more)
 
 ### Community 28 - "Community 28"
-Cohesion: 0.08
-Nodes (20): createEmptySnapshots(), normalizeConfiguredReagents(), normalizeConsumables(), normalizeDataCollections(), normalizeReagents(), normalizeStepOutputs(), serializeAttachments(), serializeEquipmentIds() (+12 more)
+Cohesion: 0.11
+Nodes (25): completePilotApplication(), deletePilotApplication(), fetchPilotApplicationList(), startPilotApplication(), voidPilotApplication(), clearTableSelection(), handleBatchComplete(), handleBatchStart() (+17 more)
 
 ### Community 29 - "Community 29"
-Cohesion: 0.09
-Nodes (24): fetchOaAppList(), fetchOaGroupList(), fetchPublishOaApp(), loadData(), loadGroups(), resetForm(), onSuccess(), goBack() (+16 more)
-
-### Community 30 - "Community 30"
-Cohesion: 0.07
-Nodes (19): fetchDeleteMaterialBatch(), fetchMaterialBatchList(), fetchMaterialBatchOptions(), fetchMaterialList(), fetchMaterialOptions(), fetchUpdateMaterialBatch(), fetchMaterialUsageList(), fetchMyMaterialUsageList() (+11 more)
-
-### Community 31 - "Community 31"
-Cohesion: 0.1
-Nodes (26): fetchDeptTree(), formatDeptDisplay(), isDeptValueItem(), normalizeDeptModelValue(), applyOvertimeKitDefaults(), asRules(), hasOvertimeKit(), isEmptyPersonValue() (+18 more)
-
-### Community 32 - "Community 32"
 Cohesion: 0.12
 Nodes (20): fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchUpdateProfile(), fetchUploadProfileAvatar(), fetchUserInfo(), buildWebEncryptedLoginBody(), defaultAvatarPathByRole() (+12 more)
 
-### Community 33 - "Community 33"
+### Community 30 - "Community 30"
 Cohesion: 0.09
 Nodes (12): fetchMineQcWorkOrderTabUnfinishedCounts(), fetchOutboundQcDetail(), fetchQcWorkOrderDetail(), fetchQcWorkOrderList(), fetchQcWorkOrdersBySample(), fetchQcWorkOrderTabUnfinishedCounts(), reload(), reloadTabCounts() (+4 more)
 
-### Community 34 - "Community 34"
+### Community 31 - "Community 31"
 Cohesion: 0.1
 Nodes (12): fetchOutboundReleaseMaterial(), fetchOutboundReleaseReviewDetail(), fetchOutboundReleaseReviewList(), fetchReleaseReviewList(), handleReset(), handleSearch(), handleTabChange(), handleToggleSelect() (+4 more)
 
-### Community 35 - "Community 35"
+### Community 32 - "Community 32"
 Cohesion: 0.12
 Nodes (15): addCopyButton(), highlightCode(), insertLineNumbers(), isBlockProcessed(), markBlockAsProcessed(), processBlock(), setupHighlightDirective(), setupRippleDirective() (+7 more)
 
-### Community 36 - "Community 36"
+### Community 33 - "Community 33"
 Cohesion: 0.19
 Nodes (15): fetchAttachmentDownloadUrl(), attachmentFullUrl(), ensureUniqueZipEntryName(), fetchAttachmentBlob(), getAttachmentExtension(), resolveAttachmentFileName(), sanitizeZipPathSegment(), applyInboundLabStorageCodePrefix() (+7 more)
 
-### Community 37 - "Community 37"
-Cohesion: 0.13
-Nodes (8): chipTitle(), confirmPicker(), memberOptionLabel(), removeUser(), resolveUser(), signBadge(), signBadgeText(), updateSelect()
-
-### Community 38 - "Community 38"
+### Community 34 - "Community 34"
 Cohesion: 0.2
 Nodes (14): applyFlagToRule(), applySchema(), countRules(), getActiveRule(), getDesigner(), getSetupState(), onMessage(), readFlag() (+6 more)
 
-### Community 39 - "Community 39"
-Cohesion: 0.12
-Nodes (12): fetchApproveTask(), fetchBusinessAllTasks(), fetchCompletedTasks(), fetchDesignerData(), fetchInstanceDetail(), fetchMyInstances(), fetchPendingTasks(), fetchProcessDefList() (+4 more)
+### Community 35 - "Community 35"
+Cohesion: 0.16
+Nodes (14): fetchCreateEnvDetectItem(), fetchDeleteEnvDetectItem(), fetchEnvDetectItemDetail(), fetchEnvDetectItemList(), fetchEnvDetectItemsActive(), fetchUpdateEnvDetectItem(), handleAdd(), handleBatchDelete() (+6 more)
 
-### Community 40 - "Community 40"
+### Community 36 - "Community 36"
 Cohesion: 0.12
 Nodes (6): setupOaConfirmationKit(), ensureOaKitMenu(), setupOaLeaveKit(), setupOaOvertimeKit(), setupOaResignationKit(), setupOaTripKit()
 
-### Community 41 - "Community 41"
+### Community 37 - "Community 37"
+Cohesion: 0.12
+Nodes (6): attachmentFullUrl(), dash(), handleAttachmentDownload(), handleAttachmentPreview(), ensureOaUploadRuleProps(), resolveUploadResponseUrl()
+
+### Community 38 - "Community 38"
 Cohesion: 0.16
 Nodes (10): useTable(), useTableImpl(), getColumnChecks(), useTableColumns(), createErrorHandler(), createSmartDebounce(), defaultResponseAdapter(), extractPagination() (+2 more)
 
-### Community 42 - "Community 42"
+### Community 39 - "Community 39"
 Cohesion: 0.27
 Nodes (14): useChart(), useChartComponent(), useChartOps(), colourBlend(), getCssVar(), getDarkColor(), getLightColor(), handleElementThemeColor() (+6 more)
 
-### Community 43 - "Community 43"
-Cohesion: 0.22
-Nodes (11): calcLeaveHours(), overlapMinutesOnDay(), parseDt(), parseHm(), applyLeaveKitDurationsToFormData(), asRules(), findLeaveKitByStartOrEnd(), isLeaveDurationField() (+3 more)
-
-### Community 44 - "Community 44"
+### Community 40 - "Community 40"
 Cohesion: 0.19
 Nodes (6): fetchServiceOrderTxnList(), handleReset(), handleSearch(), handleTabChange(), loadData(), switchTab()
 
-### Community 46 - "Community 46"
+### Community 42 - "Community 42"
+Cohesion: 0.24
+Nodes (8): fullFileUrl(), handlePreviewAttachment(), isVideoFile(), normalizeDisplayValue(), resolveReviewCellType(), resolveReviewQuantity(), resolveReviewSpecText(), uniqueJoined()
+
+### Community 43 - "Community 43"
+Cohesion: 0.42
+Nodes (9): buildPaymentFlowSteps(), dash(), formatAmount(), hasFinanceReceipt(), hasFinanceRefund(), hasReceiptSubmit(), hasRefundSubmit(), receiptSubmitTime() (+1 more)
+
+### Community 44 - "Community 44"
 Cohesion: 0.31
 Nodes (4): isSlotAvailable(), resolveStorageSlotRangeFill(), slotFacilityNodeId(), sortBoxSlots()
 
-### Community 47 - "Community 47"
+### Community 45 - "Community 45"
 Cohesion: 0.25
 Nodes (2): handleTouchEnd(), setTransition()
 
-### Community 48 - "Community 48"
-Cohesion: 0.28
-Nodes (1): FireworkSystem
-
-### Community 52 - "Community 52"
+### Community 49 - "Community 49"
 Cohesion: 0.39
 Nodes (6): isIgnorableScriptError(), normalizeErrorMessage(), registerPromiseErrorHandler(), registerResourceErrorHandler(), scriptErrorHandler(), setupErrorHandle()
 
-### Community 53 - "Community 53"
+### Community 50 - "Community 50"
 Cohesion: 0.36
 Nodes (1): TableHeightCalculator
 
-### Community 55 - "Community 55"
+### Community 52 - "Community 52"
 Cohesion: 0.33
 Nodes (2): logApiCryptoBootInfo(), maskSecret()
 
-### Community 56 - "Community 56"
+### Community 53 - "Community 53"
 Cohesion: 0.67
 Nodes (6): fileNameHint(), fileUrlHint(), getOaUploadDisplayName(), isOaUploadImageFile(), isOaUploadVideoFile(), mimeHint()
 
-### Community 57 - "Community 57"
+### Community 54 - "Community 54"
 Cohesion: 0.38
 Nodes (4): handleFocus(), handleInput(), parseDecimalToNumber(), sanitizeDecimalInput()
 
-### Community 58 - "Community 58"
-Cohesion: 0.48
-Nodes (5): applyResignationKitDefaults(), asRules(), isEmpty(), listResignationKitBindings(), walk()
-
-### Community 59 - "Community 59"
+### Community 55 - "Community 55"
 Cohesion: 0.4
 Nodes (2): isUnfinishedQcWorkOrder(), resolveQcWorkOrderUnfinishedBadgeCount()
 
-### Community 60 - "Community 60"
+### Community 56 - "Community 56"
 Cohesion: 0.47
 Nodes (3): isPaymentDueWithinWarnWindow(), parsePaymentDueYmd(), startOfLocalDay()
 
-### Community 61 - "Community 61"
+### Community 57 - "Community 57"
 Cohesion: 0.5
 Nodes (2): formatProtocolDocDeleteConfirm(), formatProtocolDocSubject()
 
-### Community 62 - "Community 62"
+### Community 58 - "Community 58"
 Cohesion: 0.5
 Nodes (2): parseEquipmentIds(), syncEquipmentNamesFromOptions()
 
-### Community 64 - "Community 64"
+### Community 60 - "Community 60"
 Cohesion: 0.5
 Nodes (2): focusInput(), handleKeydown()
 
-### Community 65 - "Community 65"
+### Community 61 - "Community 61"
 Cohesion: 0.4
 Nodes (1): fetchQcMaterialAmountAuthUsers()
 
-### Community 68 - "Community 68"
+### Community 64 - "Community 64"
 Cohesion: 0.67
 Nodes (2): if(), logSidebarMenu()
 
-### Community 74 - "Community 74"
+### Community 66 - "Community 66"
+Cohesion: 0.5
+Nodes (1): fetchStorageEntrySmsList()
+
+### Community 67 - "Community 67"
+Cohesion: 0.5
+Nodes (1): fetchQcSmsList()
+
+### Community 72 - "Community 72"
 Cohesion: 1.0
 Nodes (2): getSettingDefaults(), resetToDefaults()
 
-### Community 77 - "Community 77"
+### Community 75 - "Community 75"
 Cohesion: 1.0
 Nodes (2): buildOvertimeKitChildren(), uniqueId()
 
-### Community 78 - "Community 78"
+### Community 76 - "Community 76"
 Cohesion: 1.0
 Nodes (2): buildLeaveKitChildren(), uniqueId()
 
-### Community 80 - "Community 80"
+### Community 78 - "Community 78"
 Cohesion: 1.0
 Nodes (2): buildConfirmationKitChildren(), uniqueId()
 
-### Community 81 - "Community 81"
+### Community 79 - "Community 79"
 Cohesion: 1.0
 Nodes (2): buildResignationKitChildren(), uniqueId()
 
-### Community 82 - "Community 82"
+### Community 80 - "Community 80"
 Cohesion: 1.0
 Nodes (2): copyTextToClipboard(), copyTextWithFallback()
 
-### Community 87 - "Community 87"
+### Community 83 - "Community 83"
 Cohesion: 1.0
 Nodes (2): getSourceProtocolAttachment(), normalizeAttachmentFiles()
 
-### Community 97 - "Community 97"
+### Community 95 - "Community 95"
 Cohesion: 1.0
 Nodes (2): emptyTabCounts(), useProductionWorkOrderTabStepCounts()
 
-### Community 99 - "Community 99"
+### Community 97 - "Community 97"
 Cohesion: 1.0
 Nodes (2): initialProgress(), useQcWorkOrderAttachmentExport()
 
-### Community 100 - "Community 100"
+### Community 98 - "Community 98"
 Cohesion: 1.0
 Nodes (2): emptyTabCounts(), useQcWorkOrderTabUnfinishedCounts()
 
 ## Knowledge Gaps
 - **Thin community `Community 21`** (42 nodes): `WebSocketClient`, `.calculateReconnectDelay()`, `.clearAllTimers()`, `.clearConnectionTimers()`, `.clearTimer()`, `.close()`, `.closeCurrentSocketForReconnect()`, `.connect()`, `.connectionStatusText()`, `.constructor()`, `.destroyInstance()`, `.flushMessageQueue()`, `.getInstance()`, `.getReadyStateText()`, `.handleClose()`, `.handleConnectionTimeout()`, `.handleError()`, `.handleMessage()`, `.handleOpen()`, `.init()`, `.isWebSocketConnected()`, `.reconnect()`, `.resetHeartbeat()`, `.send()`, `.startHeartbeat()`, `.startPing()`, `TableCache`, `.cleanupExpired()`, `.clear()`, `.clearByTags()`, `.clearCurrentSearch()`, `.clearPagination()`, `.constructor()`, `.evictLRU()`, `.generateKey()`, `.generateTags()`, `.get()`, `.getStats()`, `.log()`, `.set()`, `index.ts`, `tableCache.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 47`** (9 nodes): `cleanupEventListeners()`, `handleTouchEnd()`, `handleTouchMove()`, `handleTouchStart()`, `handleWheelScroll()`, `if()`, `setTransition()`, `setupEventListeners()`, `index.vue`
+- **Thin community `Community 45`** (9 nodes): `cleanupEventListeners()`, `handleTouchEnd()`, `handleTouchMove()`, `handleTouchStart()`, `handleWheelScroll()`, `if()`, `setTransition()`, `setupEventListeners()`, `index.vue`
+  Too small to be a meaningful cluster - may be noise or needs more connections extracted.
+- **Thin community `Community 50`** (8 nodes): `TableHeightCalculator`, `.calculate()`, `.calculateOffset()`, `.calculatePaginationOffset()`, `.constructor()`, `.getHeaderHeight()`, `useTableHeight()`, `useTableHeight.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 48`** (9 nodes): `FireworkSystem`, `.constructor()`, `.createFirework()`, `.createParticle()`, `.getAvailableParticle()`, `.initializePool()`, `.preloadAllImages()`, `.preloadImage()`, `index.vue`
+- **Thin community `Community 52`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 53`** (8 nodes): `TableHeightCalculator`, `.calculate()`, `.calculateOffset()`, `.calculatePaginationOffset()`, `.constructor()`, `.getHeaderHeight()`, `useTableHeight()`, `useTableHeight.ts`
+- **Thin community `Community 55`** (6 nodes): `formatQcWorkOrderUnfinishedBadgeCount()`, `isUnfinishedQcWorkOrder()`, `qcWorkOrderUnfinishedBadgeTitle()`, `resolveQcWorkOrderUnfinishedBadgeCount()`, `sumQcWorkOrderGroupUnfinishedBadgeCount()`, `qc-work-order-unfinished-badge.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 55`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
+- **Thin community `Community 57`** (5 nodes): `formatProtocolDocBatchDeleteConfirm()`, `formatProtocolDocDeleteConfirm()`, `formatProtocolDocSubject()`, `getProtocolDocTypeLabel()`, `protocol-doc-label.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 59`** (6 nodes): `formatQcWorkOrderUnfinishedBadgeCount()`, `isUnfinishedQcWorkOrder()`, `qcWorkOrderUnfinishedBadgeTitle()`, `resolveQcWorkOrderUnfinishedBadgeCount()`, `sumQcWorkOrderGroupUnfinishedBadgeCount()`, `qc-work-order-unfinished-badge.ts`
+- **Thin community `Community 58`** (5 nodes): `equipmentOptionLabel()`, `joinEquipmentIds()`, `parseEquipmentIds()`, `syncEquipmentNamesFromOptions()`, `equipment-select.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 61`** (5 nodes): `formatProtocolDocBatchDeleteConfirm()`, `formatProtocolDocDeleteConfirm()`, `formatProtocolDocSubject()`, `getProtocolDocTypeLabel()`, `protocol-doc-label.ts`
+- **Thin community `Community 60`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 62`** (5 nodes): `equipmentOptionLabel()`, `joinEquipmentIds()`, `parseEquipmentIds()`, `syncEquipmentNamesFromOptions()`, `equipment-select.ts`
+- **Thin community `Community 61`** (5 nodes): `fetchBatchRevokeQcMaterialAmountAuth()`, `fetchGrantQcMaterialAmountAuth()`, `fetchQcMaterialAmountAuthUsers()`, `fetchRevokeQcMaterialAmountAuth()`, `qc-material-amount-auth.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 64`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
+- **Thin community `Community 64`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 65`** (5 nodes): `fetchBatchRevokeQcMaterialAmountAuth()`, `fetchGrantQcMaterialAmountAuth()`, `fetchQcMaterialAmountAuthUsers()`, `fetchRevokeQcMaterialAmountAuth()`, `qc-material-amount-auth.ts`
+- **Thin community `Community 66`** (4 nodes): `fetchGenerateStorageEntrySms()`, `fetchStorageEntrySmsList()`, `fetchToggleStorageEntrySmsNotified()`, `storage-entry-sms-notification.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 68`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
+- **Thin community `Community 67`** (4 nodes): `fetchGenerateQcSms()`, `fetchQcSmsList()`, `fetchToggleQcSmsNotified()`, `qc-sms-notification.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 74`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
+- **Thin community `Community 72`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 77`** (3 nodes): `buildOvertimeKitChildren()`, `oa-overtime-kit-rule.ts`, `uniqueId()`
+- **Thin community `Community 75`** (3 nodes): `buildOvertimeKitChildren()`, `oa-overtime-kit-rule.ts`, `uniqueId()`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 78`** (3 nodes): `buildLeaveKitChildren()`, `oa-leave-kit-rule.ts`, `uniqueId()`
+- **Thin community `Community 76`** (3 nodes): `buildLeaveKitChildren()`, `oa-leave-kit-rule.ts`, `uniqueId()`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 80`** (3 nodes): `buildConfirmationKitChildren()`, `oa-confirmation-kit-rule.ts`, `uniqueId()`
+- **Thin community `Community 78`** (3 nodes): `buildConfirmationKitChildren()`, `oa-confirmation-kit-rule.ts`, `uniqueId()`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 81`** (3 nodes): `buildResignationKitChildren()`, `oa-resignation-kit-rule.ts`, `uniqueId()`
+- **Thin community `Community 79`** (3 nodes): `buildResignationKitChildren()`, `oa-resignation-kit-rule.ts`, `uniqueId()`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 82`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
+- **Thin community `Community 80`** (3 nodes): `copyTextToClipboard()`, `copyTextWithFallback()`, `copy-text.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 87`** (3 nodes): `getSourceProtocolAttachment()`, `normalizeAttachmentFiles()`, `protocol-source-attachment.ts`
+- **Thin community `Community 83`** (3 nodes): `getSourceProtocolAttachment()`, `normalizeAttachmentFiles()`, `protocol-source-attachment.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 97`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
+- **Thin community `Community 95`** (3 nodes): `emptyTabCounts()`, `useProductionWorkOrderTabStepCounts()`, `useProductionWorkOrderTabStepCounts.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 99`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
+- **Thin community `Community 97`** (3 nodes): `initialProgress()`, `useQcWorkOrderAttachmentExport()`, `useQcWorkOrderAttachmentExport.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
-- **Thin community `Community 100`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
+- **Thin community `Community 98`** (3 nodes): `emptyTabCounts()`, `useQcWorkOrderTabUnfinishedCounts()`, `useQcWorkOrderTabUnfinishedCounts.ts`
   Too small to be a meaningful cluster - may be noise or needs more connections extracted.
 
 ## Suggested Questions
 _Questions this graph is uniquely positioned to answer:_
 
-- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 7`, `Community 8`, `Community 9`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 17`, `Community 18`, `Community 20`, `Community 24`, `Community 25`, `Community 26`, `Community 29`, `Community 30`, `Community 31`, `Community 32`, `Community 33`, `Community 34`, `Community 39`, `Community 44`, `Community 46`, `Community 65`?**
+- **Why does `push()` connect `Community 2` to `Community 0`, `Community 1`, `Community 3`, `Community 4`, `Community 6`, `Community 7`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 24`, `Community 27`, `Community 30`, `Community 33`?**
   _High betweenness centrality (0.272) - this node is a cross-community bridge._
-- **Why does `push()` connect `Community 1` to `Community 0`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 7`, `Community 8`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 19`, `Community 21`, `Community 22`, `Community 23`, `Community 24`, `Community 25`, `Community 28`, `Community 29`, `Community 31`, `Community 33`, `Community 36`, `Community 37`, `Community 43`, `Community 48`, `Community 58`?**
-  _High betweenness centrality (0.260) - this node is a cross-community bridge._
-- **Why does `handleDynamicRoutes()` connect `Community 6` to `Community 32`, `Community 33`, `Community 4`, `Community 7`, `Community 14`, `Community 24`?**
-  _High betweenness centrality (0.037) - this node is a cross-community bridge._
+- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `Community 25`, `Community 26`, `Community 27`, `Community 28`, `Community 29`, `Community 30`, `Community 31`, `Community 35`, `Community 40`, `Community 44`, `Community 61`, `Community 66`, `Community 67`?**
+  _High betweenness centrality (0.261) - this node is a cross-community bridge._
+- **Why does `handleDynamicRoutes()` connect `Community 5` to `Community 6`, `Community 9`, `Community 15`, `Community 27`, `Community 29`, `Community 30`?**
+  _High betweenness centrality (0.038) - this node is a cross-community bridge._
 - **Are the 304 inferred relationships involving `get()` (e.g. with `resolveStorageSlotRangeFill()` and `buildNodeCodePathFromFlat()`) actually correct?**
   _`get()` has 304 INFERRED edges - model-reasoned connections that need verification._
-- **Are the 107 inferred relationships involving `push()` (e.g. with `refreshQcMenuBadges()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
-  _`push()` has 107 INFERRED edges - model-reasoned connections that need verification._
-- **Are the 28 inferred relationships involving `emit()` (e.g. with `handleSubmit()` and `handleDialogClose()`) actually correct?**
-  _`emit()` has 28 INFERRED edges - model-reasoned connections that need verification._
+- **Are the 109 inferred relationships involving `push()` (e.g. with `refreshQcMenuBadges()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
+  _`push()` has 109 INFERRED edges - model-reasoned connections that need verification._
+- **Are the 29 inferred relationships involving `emit()` (e.g. with `handleSubmit()` and `handleDialogClose()`) actually correct?**
+  _`emit()` has 29 INFERRED edges - model-reasoned connections that need verification._
 - **Are the 20 inferred relationships involving `set()` (e.g. with `buildNodeCodePathFromFlat()` and `collectLeafFacilityNodesInTreeOrder()`) actually correct?**
   _`set()` has 20 INFERRED edges - model-reasoned connections that need verification._

Plik diff jest za duży
+ 1 - 1
web-admin/graphify-out/graph.html


Plik diff jest za duży
+ 112 - 112
web-admin/graphify-out/graph.json


+ 7 - 6
web-admin/graphify-out/manifest.json

@@ -17,8 +17,8 @@
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/common/index.ts": 1781272556.3597305,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/directive/directive.d.ts": 1781272556.3601494,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/api/api.d.ts": 1781272556.3606477,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1785993055.1457329,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1785990506.8818417,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1785998258.740974,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1785997075.7526152,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/store/index.ts": 1781272556.364766,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/router/index.ts": 1782394569.8806834,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/composables/useAttachmentActions.ts": 1783921717.4015942,
@@ -201,7 +201,7 @@
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/http/error.ts": 1781272556.4091117,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/socket/index.ts": 1781272556.4146817,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/utils/router/sidebar-menu-filter.ts": 1781272556.4163456,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/oa-fc-host/App.vue": 1785986170.9651012,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/oa-fc-host/App.vue": 1785998462.859785,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/oa-fc-host/main.ts": 1785412925.2420397,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/core/tables/art-table/index.vue": 1782893852.037499,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/core/tables/art-table-header/index.vue": 1782893852.0053234,
@@ -335,12 +335,13 @@
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaResignationKit.vue": 1785405000.8028867,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaConfirmationKit.vue": 1785403411.176012,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaOwnerPersonSelect.vue": 1785401010.5990565,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaStartFormDialog.vue": 1785998284.1840684,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaDeptSelect.vue": 1785382264.265851,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaTripItinerary.vue": 1785489392.2403016,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaMoneyField.vue": 1785382264.3025115,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaFcUpload.vue": 1785145511.6912854,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaOwnerDeptSelect.vue": 1785401021.3290825,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaAppIconPicker.vue": 1785993059.6634495,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaAppIconPicker.vue": 1785996996.907459,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/OaTripKit.vue": 1785412919.2794502,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/flow-tree/FlowBranch.vue": 1785392944.1165543,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/oa-approval/flow-tree/ConditionRuleEditor.vue": 1785401148.1066115,
@@ -475,8 +476,8 @@
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/dict/index.vue": 1783326448.9326534,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/leave/index.vue": 1783326448.934463,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/oa-approval/receive-accounts/index.vue": 1785391037.6431305,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/oa-approval/drafts/index.vue": 1785990733.8887515,
-  "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/oa-approval/start/index.vue": 1785993371.6288002,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/oa-approval/drafts/index.vue": 1785999332.6019115,
+  "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/oa-approval/start/index.vue": 1785998815.7739394,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/oa-approval/form-designer-spike/index.vue": 1785145511.870818,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/oa-approval/done/index.vue": 1785145511.870267,
   "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/oa-approval/mine/index.vue": 1785145511.871705,

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików