From 07d73df3d817d01ce47f6c7b7a8d8514cd389295 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 13 三月 2025 10:19:44 +0800
Subject: [PATCH] release: @life-payment/core v0.0.3

---
 packages/components/src/views/PhoneBillRecharge/context.ts |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/packages/components/src/views/PhoneBillRecharge/context.ts b/packages/components/src/views/PhoneBillRecharge/context.ts
new file mode 100644
index 0000000..48d3ffa
--- /dev/null
+++ b/packages/components/src/views/PhoneBillRecharge/context.ts
@@ -0,0 +1,34 @@
+import type { InjectionKey, UnwrapNestedRefs, Ref } from 'vue';
+import { inject } from 'vue';
+import { UseStepperReturn } from 'senin-mini/hooks';
+
+type PhoneBillRechargeSteps = 'step1' | 'step2';
+
+export interface PhoneBillRechargeContext
+  extends UseStepperReturn<
+    PhoneBillRechargeSteps,
+    PhoneBillRechargeSteps[],
+    PhoneBillRechargeSteps
+  > {
+  //   form: UnwrapNestedRefs<{
+  //     ispCode: string;
+  //     phone: string;
+  //     parValue: number;
+  //     name: string;
+  //   }>;
+}
+
+export const PhoneBillRechargeContextKey: InjectionKey<PhoneBillRechargeContext> = Symbol(
+  'PhoneBillRechargeContextKey'
+);
+
+export function usePhoneBillRechargeContext() {
+  return inject(PhoneBillRechargeContextKey);
+}
+
+export type PhoneUserAccountExtraProperties = {
+  ispCode: string;
+  phone: string;
+  name: string;
+  remark: string;
+};

--
Gitblit v1.9.1