@appcorp/fusion-storybook 0.2.33 → 0.2.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base-modules/admission/context.d.ts +1 -1
- package/base-modules/attendance/context.d.ts +2 -1
- package/base-modules/campus/context.d.ts +2 -1
- package/base-modules/campus/page.js +1 -1
- package/base-modules/class/context.d.ts +2 -1
- package/base-modules/course/context.d.ts +2 -1
- package/base-modules/discount-code/context.d.ts +2 -1
- package/base-modules/enrollment/constants.d.ts +3 -0
- package/base-modules/enrollment/constants.js +3 -0
- package/base-modules/enrollment/context.d.ts +2 -1
- package/base-modules/enrollment/context.js +1 -1
- package/base-modules/enrollment/more-actions.js +204 -26
- package/base-modules/expense/context.d.ts +2 -1
- package/base-modules/family/context.d.ts +1 -1
- package/base-modules/family-member/context.d.ts +1 -1
- package/base-modules/fee-structure/context.d.ts +2 -1
- package/base-modules/rbac/context.d.ts +2 -1
- package/base-modules/school/context.d.ts +5 -1
- package/base-modules/section/constants.d.ts +3 -0
- package/base-modules/section/constants.js +3 -0
- package/base-modules/section/context.d.ts +2 -1
- package/base-modules/section/context.js +2 -2
- package/base-modules/section/more-actions.js +202 -23
- package/base-modules/student-fee/context/shared.d.ts +1 -1
- package/base-modules/student-fee/context/use-student-fee-module.d.ts +1 -0
- package/base-modules/student-profile/context/module-base.d.ts +1 -1
- package/base-modules/student-profile/context/use-student-profile-module.d.ts +1 -0
- package/base-modules/subject/constants.d.ts +3 -0
- package/base-modules/subject/constants.js +3 -0
- package/base-modules/subject/context.d.ts +2 -1
- package/base-modules/subject/context.js +2 -2
- package/base-modules/subject/more-actions.js +202 -23
- package/base-modules/teacher/context.d.ts +2 -1
- package/base-modules/user/context/use-user-module.d.ts +1 -0
- package/base-modules/user/context.d.ts +1 -1
- package/base-modules/workspace/context.d.ts +4 -1
- package/base-modules/workspace-user/context.d.ts +1 -1
- package/package.json +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -122,7 +122,7 @@ export declare const WORKSPACE_ACTION_TYPES: {
|
|
|
122
122
|
disableSaveButton: boolean;
|
|
123
123
|
drawer: null;
|
|
124
124
|
errors: Record<string, string>;
|
|
125
|
-
}, useWorkspaceContext: () => import("@react-pakistan/util-functions/factory/generic-module-factory").
|
|
125
|
+
}, useWorkspaceContext: () => import("@react-pakistan/util-functions/factory/generic-module-factory").GenericModuleContextWithHandlers<{
|
|
126
126
|
agreedCurrency: string;
|
|
127
127
|
agreedPrice: number;
|
|
128
128
|
billingDate: null;
|
|
@@ -164,6 +164,9 @@ export declare const useWorkspaceModule: () => {
|
|
|
164
164
|
handleView: () => void;
|
|
165
165
|
plans: Plan[];
|
|
166
166
|
updateLoading: boolean;
|
|
167
|
+
handleSearch?: (query: string) => void;
|
|
168
|
+
handlePageChange?: (page: number) => void;
|
|
169
|
+
handlePageLimitChange?: (limit: number) => void;
|
|
167
170
|
state: {
|
|
168
171
|
agreedCurrency: string;
|
|
169
172
|
agreedPrice: number;
|
|
@@ -107,7 +107,7 @@ export declare const WORKSPACE_USER_ACTION_TYPES: {
|
|
|
107
107
|
workspaceId: string;
|
|
108
108
|
role: RoleBE | undefined;
|
|
109
109
|
workspace: WorkspaceBE | undefined;
|
|
110
|
-
}, useWorkspaceUserContext: () => import("@react-pakistan/util-functions/factory/generic-module-factory").
|
|
110
|
+
}, useWorkspaceUserContext: () => import("@react-pakistan/util-functions/factory/generic-module-factory").GenericModuleContextWithHandlers<{
|
|
111
111
|
items: WorkspaceUserBE[];
|
|
112
112
|
count: number;
|
|
113
113
|
currentPage: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appcorp/fusion-storybook",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.36",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build-storybook": "storybook build",
|
|
6
6
|
"build:next": "next build",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@radix-ui/react-slider": "^1.3.6",
|
|
60
60
|
"@radix-ui/react-slot": "^1.2.4",
|
|
61
61
|
"@radix-ui/react-toast": "^1.2.15",
|
|
62
|
-
"@react-pakistan/util-functions": "^1.25.
|
|
62
|
+
"@react-pakistan/util-functions": "^1.25.89",
|
|
63
63
|
"@storybook/addon-a11y": "^10.3.4",
|
|
64
64
|
"@storybook/addon-docs": "^10.3.4",
|
|
65
65
|
"@storybook/addon-onboarding": "^10.3.4",
|