@feedmepos/mf-hrm-portal 1.1.0-dev → 1.1.1-dev

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.
Files changed (96) hide show
  1. package/dist/AuditLogList-D62QRWN-.js +232 -0
  2. package/dist/{EmployeeList-tmUqs5a6.js → EmployeeList-CMUbRS7j.js} +156 -150
  3. package/dist/Main-BbZ-t-pu.js +85 -0
  4. package/dist/{main-DOtgCRZe.js → Main-un3v_g6p.js} +1500 -1532
  5. package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-DuwNwJDM.js → PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js} +2 -2
  6. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CZKBfM_R.js +3119 -0
  7. package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js +38 -0
  8. package/dist/{RoleList-C5xG7LHg.js → RoleList-mlTepnhN.js} +52 -50
  9. package/dist/RolePermissionList-tR-Kmlu7.js +285 -0
  10. package/dist/TeamMemberList-BkRQl6x8.js +948 -0
  11. package/dist/{TimesheetList-CZfo4Dua.js → TimesheetList-i5yaAzhB.js} +21 -21
  12. package/dist/api/audit-log/index.d.ts +10 -0
  13. package/dist/api/index.d.ts +1 -3
  14. package/dist/api/permission-assignment/index.d.ts +10 -0
  15. package/dist/api/permission-set/index.d.ts +8 -0
  16. package/dist/api/team/index.d.ts +2 -1
  17. package/dist/app-4LaGLcWC.js +2305 -0
  18. package/dist/app.js +1 -1
  19. package/dist/components/AppForm.vue.d.ts +3 -2
  20. package/dist/components/CheckboxInput.vue.d.ts +10 -4
  21. package/dist/components/CollapsibleWrapper.vue.d.ts +3 -2
  22. package/dist/components/form/SelectFilter.vue.d.ts +3 -2
  23. package/dist/components/layout/FormColumn.vue.d.ts +6 -3
  24. package/dist/components/layout/FormItem.vue.d.ts +2 -1
  25. package/dist/components/layout/FormSection.vue.d.ts +2 -1
  26. package/dist/components/layout/FullWrapper.vue.d.ts +6 -3
  27. package/dist/components/layout/PageLayout.vue.d.ts +2 -1
  28. package/dist/components/menu/BottomSheetMenu.vue.d.ts +2 -1
  29. package/dist/components/menu/BottomSheetMenuItem.vue.d.ts +6 -3
  30. package/dist/components/table/EmptyDataTemplate/index.vue.d.ts +6 -3
  31. package/dist/composables/useAppStore.d.ts +6 -6
  32. package/dist/composables/useDateRange.d.ts +1 -1
  33. package/dist/composables/useRestaurantMap.d.ts +4 -8
  34. package/dist/composables/useSheet.d.ts +1 -1
  35. package/dist/{employee-BQc7Wgpu.js → employee-BZTntAR0.js} +9 -9
  36. package/dist/helpers/permission-set.d.ts +32 -0
  37. package/dist/helpers/portal-user.d.ts +8 -0
  38. package/dist/helpers/rule.d.ts +4 -3
  39. package/dist/index-BsEM84j5.js +8440 -0
  40. package/dist/{empty-placeholder-ey8LJtN1.js → index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js} +43 -2
  41. package/dist/{lodash-DNzKT_gG.js → lodash-DYaYvsmp.js} +326 -343
  42. package/dist/router/shared.d.ts +3 -1
  43. package/dist/stores/employee.d.ts +4 -4
  44. package/dist/stores/permission-assignment.d.ts +277 -0
  45. package/dist/stores/permission-set.d.ts +250 -0
  46. package/dist/stores/role.d.ts +4 -4
  47. package/dist/stores/team.d.ts +288 -0
  48. package/dist/stores/timesheet.d.ts +19 -19
  49. package/dist/team-eo_yQh1g.js +26 -0
  50. package/dist/{timesheet-B4M1nCIm.js → timesheet-CfPIK52Q.js} +14 -15
  51. package/dist/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/types/audit-log.d.ts +18 -0
  53. package/dist/types/permission-assignment.d.ts +20 -0
  54. package/dist/types/permission-set.d.ts +20 -0
  55. package/dist/types/permission.d.ts +4 -3
  56. package/dist/types/team.d.ts +13 -3
  57. package/dist/useAppStore-D0F-tWJO.js +180 -0
  58. package/dist/useLoading-DpbOtToC.js +99 -0
  59. package/dist/useRestaurantMap-D5BNPLKh.js +107 -0
  60. package/dist/{useSearch-C25VELOk.js → useSearch-C6gRA62e.js} +8 -8
  61. package/dist/views/hr/employee/{components/EmployeeForm.vue.d.ts → EmployeeForm.vue.d.ts} +10 -7
  62. package/dist/views/hr/locales/index.d.ts +0 -214
  63. package/dist/views/team/components/BasePermission.vue.d.ts +76 -0
  64. package/dist/views/team/components/{TeamMemberConditionPermission.vue.d.ts → ConditionPermission.vue.d.ts} +14 -1
  65. package/dist/views/team/components/InheritPermissionTooltip.vue.d.ts +14 -0
  66. package/dist/views/team/components/PermissionWithTooltip.vue.d.ts +14 -0
  67. package/dist/views/team/components/PortalPermissionEditor.vue.d.ts +68 -28
  68. package/dist/views/team/components/{TeamMemberRolePermission.vue.d.ts → PosRolePermission.vue.d.ts} +14 -1
  69. package/dist/views/team/locales/index.d.ts +176 -4
  70. package/dist/views/team/{components → member}/AddMemberForm.vue.d.ts +1 -0
  71. package/dist/views/team/member/TeamMemberList.vue.d.ts +4 -0
  72. package/dist/views/team/member/TeamMemberMasterUser.vue.d.ts +55 -0
  73. package/dist/views/team/role/RolePermissionForm.vue.d.ts +19 -0
  74. package/dist/views/{hr/grant-user/GrantUserList.vue.d.ts → team/role/RolePermissionList.vue.d.ts} +0 -12
  75. package/package.json +14 -9
  76. package/dist/FormSection.vue_vue_type_script_setup_true_lang-BY9VGOoM.js +0 -71
  77. package/dist/HorizontalSplitter-B9DVYJIM.js +0 -12
  78. package/dist/Main-ebQsujY3.js +0 -600
  79. package/dist/TeamMemberList-09_3YTHe.js +0 -1509
  80. package/dist/api/grant-user/index.d.ts +0 -8
  81. package/dist/app-B4KDGOw1.js +0 -1432
  82. package/dist/index-CSG8t9Dl.js +0 -58
  83. package/dist/role-DGAu9X1X.js +0 -9728
  84. package/dist/rule-CSj0p2P3.js +0 -450
  85. package/dist/stores/grant-user.d.ts +0 -86
  86. package/dist/types/grant-user.d.ts +0 -17
  87. package/dist/useAppStore-CKmMR-gI.js +0 -93
  88. package/dist/useLoading-v4m-6mEy.js +0 -141
  89. package/dist/useRestaurantMap-e9fQJiLC.js +0 -39
  90. package/dist/views/hr/grant-user/components/GrantUserForm.vue.d.ts +0 -14
  91. package/dist/views/team/components/TeamMemberBasePermission.vue.d.ts +0 -36
  92. package/dist/views/team/components/TeamMemberMasterUser.vue.d.ts +0 -718
  93. /package/dist/views/hr/{grant-user/Main.vue.d.ts → Main.vue.d.ts} +0 -0
  94. /package/dist/views/hr/{main.vue.d.ts → audit-log/AuditLogList.vue.d.ts} +0 -0
  95. /package/dist/views/team/{TeamMemberList.vue.d.ts → Main.vue.d.ts} +0 -0
  96. /package/dist/views/team/{components → member}/MemberInfo.vue.d.ts +0 -0
@@ -15,6 +15,7 @@ export declare const i18nMessages: {
15
15
  phoneNumber: string;
16
16
  restaurant: string;
17
17
  permission: string;
18
+ assignedRoles: string;
18
19
  };
19
20
  };
20
21
  labels: {
@@ -70,9 +71,12 @@ export declare const i18nMessages: {
70
71
  search: string;
71
72
  general: string;
72
73
  stock: string;
74
+ hrm: string;
75
+ crm: string;
73
76
  includedFuture: string;
74
77
  includedNewRole: string;
75
78
  roles: string;
79
+ inherited: string;
76
80
  };
77
81
  masterUser: {
78
82
  title: string;
@@ -84,9 +88,47 @@ export declare const i18nMessages: {
84
88
  role: string;
85
89
  nameEmptyError: string;
86
90
  };
87
- role: {
91
+ posRole: {
88
92
  placeholder: string;
89
93
  };
94
+ permissionSet: {
95
+ title: string;
96
+ selectPlaceholder: string;
97
+ };
98
+ };
99
+ };
100
+ role: {
101
+ title: string;
102
+ createButtonLabel: string;
103
+ search: {
104
+ placeholder: string;
105
+ };
106
+ noData: {
107
+ title: string;
108
+ subtitle: string;
109
+ };
110
+ form: {
111
+ create: {
112
+ title: string;
113
+ confirmButtonLabel: string;
114
+ };
115
+ update: {
116
+ title: string;
117
+ confirmButtonLabel: string;
118
+ };
119
+ delete: {
120
+ title: string;
121
+ confirmationMessage: string;
122
+ successMessage: string;
123
+ };
124
+ name: string;
125
+ roleNamePlaceholder: string;
126
+ };
127
+ table: {
128
+ columns: {
129
+ name: string;
130
+ permissions: string;
131
+ };
90
132
  };
91
133
  };
92
134
  };
@@ -159,9 +201,12 @@ export declare const i18nMessages: {
159
201
  search: string;
160
202
  general: string;
161
203
  stock: string;
204
+ hrm: string;
205
+ crm: string;
162
206
  includedFuture: string;
163
207
  includedNewRole: string;
164
208
  roles: string;
209
+ inherited: string;
165
210
  };
166
211
  masterUser: {
167
212
  title: string;
@@ -173,9 +218,47 @@ export declare const i18nMessages: {
173
218
  role: string;
174
219
  nameEmptyError: string;
175
220
  };
176
- role: {
221
+ posRole: {
177
222
  placeholder: string;
178
223
  };
224
+ permissionSet: {
225
+ title: string;
226
+ selectPlaceholder: string;
227
+ };
228
+ };
229
+ };
230
+ role: {
231
+ title: string;
232
+ createButtonLabel: string;
233
+ search: {
234
+ placeholder: string;
235
+ };
236
+ noData: {
237
+ title: string;
238
+ subtitle: string;
239
+ };
240
+ form: {
241
+ create: {
242
+ title: string;
243
+ confirmButtonLabel: string;
244
+ };
245
+ update: {
246
+ title: string;
247
+ confirmButtonLabel: string;
248
+ };
249
+ delete: {
250
+ title: string;
251
+ confirmationMessage: string;
252
+ successMessage: string;
253
+ };
254
+ name: string;
255
+ roleNamePlaceholder: string;
256
+ };
257
+ table: {
258
+ columns: {
259
+ name: string;
260
+ permissions: string;
261
+ };
179
262
  };
180
263
  };
181
264
  };
@@ -248,9 +331,12 @@ export declare const i18nMessages: {
248
331
  search: string;
249
332
  general: string;
250
333
  stock: string;
334
+ hrm: string;
335
+ crm: string;
251
336
  includedFuture: string;
252
337
  includedNewRole: string;
253
338
  roles: string;
339
+ inherited: string;
254
340
  };
255
341
  masterUser: {
256
342
  title: string;
@@ -262,9 +348,47 @@ export declare const i18nMessages: {
262
348
  role: string;
263
349
  nameEmptyError: string;
264
350
  };
265
- role: {
351
+ posRole: {
266
352
  placeholder: string;
267
353
  };
354
+ permissionSet: {
355
+ title: string;
356
+ selectPlaceholder: string;
357
+ };
358
+ };
359
+ };
360
+ role: {
361
+ title: string;
362
+ createButtonLabel: string;
363
+ search: {
364
+ placeholder: string;
365
+ };
366
+ noData: {
367
+ title: string;
368
+ subtitle: string;
369
+ };
370
+ form: {
371
+ create: {
372
+ title: string;
373
+ confirmButtonLabel: string;
374
+ };
375
+ update: {
376
+ title: string;
377
+ confirmButtonLabel: string;
378
+ };
379
+ delete: {
380
+ title: string;
381
+ confirmationMessage: string;
382
+ successMessage: string;
383
+ };
384
+ name: string;
385
+ roleNamePlaceholder: string;
386
+ };
387
+ table: {
388
+ columns: {
389
+ name: string;
390
+ permissions: string;
391
+ };
268
392
  };
269
393
  };
270
394
  };
@@ -337,9 +461,12 @@ export declare const i18nMessages: {
337
461
  search: string;
338
462
  general: string;
339
463
  stock: string;
464
+ hrm: string;
465
+ crm: string;
340
466
  includedFuture: string;
341
467
  includedNewRole: string;
342
468
  roles: string;
469
+ inherited: string;
343
470
  };
344
471
  masterUser: {
345
472
  title: string;
@@ -351,10 +478,55 @@ export declare const i18nMessages: {
351
478
  role: string;
352
479
  nameEmptyError: string;
353
480
  };
354
- role: {
481
+ posRole: {
482
+ placeholder: string;
483
+ };
484
+ permissionSet: {
485
+ title: string;
486
+ selectPlaceholder: string;
487
+ };
488
+ };
489
+ role: {
490
+ title: string;
491
+ createButtonLabel: string;
492
+ search: {
355
493
  placeholder: string;
356
494
  };
357
495
  };
358
496
  };
497
+ role: {
498
+ title: string;
499
+ createButtonLabel: string;
500
+ search: {
501
+ placeholder: string;
502
+ };
503
+ noData: {
504
+ title: string;
505
+ subtitle: string;
506
+ };
507
+ form: {
508
+ create: {
509
+ title: string;
510
+ confirmButtonLabel: string;
511
+ };
512
+ update: {
513
+ title: string;
514
+ confirmButtonLabel: string;
515
+ };
516
+ delete: {
517
+ title: string;
518
+ confirmationMessage: string;
519
+ successMessage: string;
520
+ };
521
+ name: string;
522
+ roleNamePlaceholder: string;
523
+ };
524
+ table: {
525
+ columns: {
526
+ name: string;
527
+ permissions: string;
528
+ };
529
+ };
530
+ };
359
531
  };
360
532
  };
@@ -8,6 +8,7 @@ export interface TeamDialogData {
8
8
  phoneNumber: string;
9
9
  email: string;
10
10
  permissions: RawRule[];
11
+ permissionSetIds: string[];
11
12
  posUser?: IFdtoPermissionPosUser;
12
13
  }
13
14
  declare function readFormData(): IFdtoCreatePortalUserReq;
@@ -0,0 +1,4 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ create: () => void;
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ export default _default;
@@ -0,0 +1,55 @@
1
+ import { type PropType } from 'vue';
2
+ import type { FdoRestaurant } from '@feedmepos/core/entity';
3
+ import type { CheckboxOption } from '@/components/CheckboxInput.vue';
4
+ import type { IFdtoPermissionPosUser } from '@/types/team';
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ modelValue: {
7
+ type: PropType<IFdtoPermissionPosUser>;
8
+ default: undefined;
9
+ };
10
+ fallbackName: {
11
+ type: StringConstructor;
12
+ required: true;
13
+ };
14
+ fallbackPasscode: {
15
+ type: StringConstructor;
16
+ default: undefined;
17
+ };
18
+ restaurants: {
19
+ type: PropType<FdoRestaurant[]>;
20
+ required: true;
21
+ };
22
+ roles: {
23
+ type: PropType<CheckboxOption[]>;
24
+ required: true;
25
+ };
26
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
27
+ "update:model-value": (user: IFdtoPermissionPosUser | undefined) => any;
28
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
+ modelValue: {
30
+ type: PropType<IFdtoPermissionPosUser>;
31
+ default: undefined;
32
+ };
33
+ fallbackName: {
34
+ type: StringConstructor;
35
+ required: true;
36
+ };
37
+ fallbackPasscode: {
38
+ type: StringConstructor;
39
+ default: undefined;
40
+ };
41
+ restaurants: {
42
+ type: PropType<FdoRestaurant[]>;
43
+ required: true;
44
+ };
45
+ roles: {
46
+ type: PropType<CheckboxOption[]>;
47
+ required: true;
48
+ };
49
+ }>> & Readonly<{
50
+ "onUpdate:model-value"?: ((user: IFdtoPermissionPosUser | undefined) => any) | undefined;
51
+ }>, {
52
+ modelValue: IFdtoPermissionPosUser;
53
+ fallbackPasscode: string;
54
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
55
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { type PropType } from 'vue';
2
+ import type { IFdtoPermissionSet } from '@/types/permission-set';
3
+ declare function trigger(): Promise<void>;
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ modelValue: {
6
+ type: PropType<IFdtoPermissionSet>;
7
+ default: () => {};
8
+ };
9
+ }>, {
10
+ trigger: typeof trigger;
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ modelValue: {
13
+ type: PropType<IFdtoPermissionSet>;
14
+ default: () => {};
15
+ };
16
+ }>> & Readonly<{}>, {
17
+ modelValue: IFdtoPermissionSet;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ export default _default;
@@ -1,17 +1,5 @@
1
1
  declare function create(): void;
2
2
  declare const _default: import("vue").DefineComponent<{}, {
3
3
  create: typeof create;
4
- filteredGrantUsers: import("vue").ComputedRef<{
5
- _id: string;
6
- passcode: string;
7
- name: string;
8
- restaurantId: string;
9
- roleId: string;
10
- status: "active" | "used" | "revoked";
11
- grantById: string;
12
- grantByName: string;
13
- createdAt: string;
14
- updatedAt: string;
15
- }[]>;
16
4
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
5
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-hrm-portal",
3
- "version": "1.1.0-dev",
3
+ "version": "1.1.1-dev",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@feedmepos/auth": "^1.1.14",
18
18
  "@feedmepos/core": "^2.14.36",
19
- "@feedmepos/mf-common": "^1.28.9",
19
+ "@feedmepos/mf-common": "^1.29.10",
20
20
  "@feedmepos/ui-library": "^1.7.0",
21
21
  "axios": "^1.7.7",
22
22
  "dayjs": "^1.11.10",
@@ -27,7 +27,8 @@
27
27
  "vue": "^3.5.16",
28
28
  "vue-router": "^4.3.2",
29
29
  "vue3-lottie": "^3.3.0",
30
- "xlsx": "^0.18.5"
30
+ "xlsx": "^0.18.5",
31
+ "@feedmepos/hrm-permission": "^0.0.1-dev"
31
32
  },
32
33
  "devDependencies": {
33
34
  "@casl/ability": "^3.4.0",
@@ -56,8 +57,11 @@
56
57
  "prettier": "^3.7.4",
57
58
  "sass-embedded": "^1.93.3",
58
59
  "tailwindcss": "^3.3.3",
59
- "typescript": "~5.2.0",
60
+ "typescript": "^5.9.3",
60
61
  "vite": "^5.2.0",
62
+ "vitest": "^1.2.0",
63
+ "@vitest/ui": "^1.2.0",
64
+ "jsdom": "^24.0.0",
61
65
  "vue-eslint-parser": "^10.2.0",
62
66
  "vue-i18n": "10.0.5",
63
67
  "vue-tsc": "^2.0.6"
@@ -67,13 +71,14 @@
67
71
  "build": "run-p type-check \"build-only {@}\" --",
68
72
  "build:mf": "vite build --mode fmmf",
69
73
  "build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
70
- "publish-npm": "pnpm build && npm config set registry https://npm.pkg.github.com/ && npm publish --access public --tag latest --no-git-checks",
71
- "publish-npm:beta": "pnpm build && npm config set registry https://npm.pkg.github.com/ && npm publish --access public --tag beta --no-git-checks",
72
- "publish-github": "pnpm build && npm config set registry https://npm.pkg.github.com/ && npm publish --tag latest --no-git-checks",
73
- "publish-github:beta": "pnpm build && npm config set registry https://npm.pkg.github.com/ && npm publish --tag beta --no-git-checks",
74
+ "publish-npm": "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks",
75
+ "publish-npm:beta": "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks",
76
+ "publish-github": "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks",
77
+ "publish-github:beta": "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks",
74
78
  "build-only": "pnpm build:mf && pnpm build:dts",
75
79
  "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
76
80
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
77
- "format": "prettier --write src/"
81
+ "format": "prettier --write src/",
82
+ "test": "vitest"
78
83
  }
79
84
  }
@@ -1,71 +0,0 @@
1
- import { defineComponent as i, openBlock as s, createElementBlock as o, createElementVNode as l, toDisplayString as a, createCommentVNode as c, renderSlot as n, normalizeClass as d, createVNode as m, withCtx as f } from "vue";
2
- const p = { class: "space-y-8" }, y = { class: "flex items-center justify-between" }, h = { class: "space-y-8" }, u = { class: "fm-typo-en-body-lg-600" }, _ = {
3
- key: 0,
4
- class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
5
- }, w = /* @__PURE__ */ i({
6
- __name: "FormItem",
7
- props: {
8
- label: {},
9
- description: {}
10
- },
11
- setup(e) {
12
- return (t, r) => (s(), o("div", p, [
13
- l("div", y, [
14
- l("div", h, [
15
- l("p", u, a(e.label), 1),
16
- e.description ? (s(), o("p", _, a(e.description), 1)) : c("", !0)
17
- ]),
18
- n(t.$slots, "append")
19
- ]),
20
- n(t.$slots, "default")
21
- ]));
22
- }
23
- }), b = /* @__PURE__ */ i({
24
- __name: "FormColumn",
25
- props: {
26
- shrinkable: { type: Boolean }
27
- },
28
- setup(e) {
29
- return (t, r) => (s(), o("div", {
30
- class: d(["flex-1 flex flex-col space-y-24", { "min-h-0": e.shrinkable }])
31
- }, [
32
- n(t.$slots, "default")
33
- ], 2));
34
- }
35
- }), k = {
36
- key: 0,
37
- class: "flex flex-row justify-between items-center"
38
- }, $ = { class: "space-y-4" }, x = { class: "fm-typo-en-title-sm-600" }, v = {
39
- key: 0,
40
- class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
41
- }, B = /* @__PURE__ */ i({
42
- __name: "FormSection",
43
- props: {
44
- title: {},
45
- subTitle: {},
46
- shrinkable: { type: Boolean }
47
- },
48
- setup(e) {
49
- return (t, r) => (s(), o("div", {
50
- class: d(["flex flex-col space-y-16", { "min-h-0": e.shrinkable }])
51
- }, [
52
- e.title ? (s(), o("div", k, [
53
- l("div", $, [
54
- l("p", x, a(e.title), 1),
55
- e.subTitle ? (s(), o("p", v, a(e.subTitle), 1)) : c("", !0)
56
- ]),
57
- n(t.$slots, "append-title")
58
- ])) : c("", !0),
59
- m(b, { shrinkable: e.shrinkable }, {
60
- default: f(() => [
61
- n(t.$slots, "default")
62
- ]),
63
- _: 3
64
- }, 8, ["shrinkable"])
65
- ], 2));
66
- }
67
- });
68
- export {
69
- B as _,
70
- w as a
71
- };
@@ -1,12 +0,0 @@
1
- import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
- import { _ as l } from "./useSearch-C25VELOk.js";
3
- const n = {};
4
- function c(s, r) {
5
- return e(), o("div", null, [...r[0] || (r[0] = [
6
- t("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
7
- ])]);
8
- }
9
- const i = /* @__PURE__ */ l(n, [["render", c]]);
10
- export {
11
- i as H
12
- };