@baseplate-dev/plugin-auth 0.6.2 → 0.6.3
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/CHANGELOG.md +18 -0
- package/LICENSE +114 -123
- package/dist/auth/core/common.d.ts.map +1 -1
- package/dist/auth/core/common.js +1 -0
- package/dist/auth/core/common.js.map +1 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts +1 -3
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +1 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.js +10 -10
- package/dist/auth/core/components/role-editor-form/role-dialog.js.map +1 -1
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-log-out.ts +2 -4
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-session.ts +1 -2
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +37 -25
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +111 -75
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +37 -25
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +148 -100
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js +2 -2
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/{auth/login.tsx → login.tsx} +11 -13
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/{auth/register.tsx → register.tsx} +11 -13
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +74 -50
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +37 -25
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +37 -25
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +37 -25
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx +3 -6
- package/dist/better-auth/generators/react/react-better-auth/templates/src/services/auth-client.ts +0 -2
- package/dist/common/components/auth-config-tabs.d.ts.map +1 -1
- package/dist/common/components/auth-config-tabs.js +1 -1
- package/dist/common/components/auth-config-tabs.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +5 -3
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +39 -32
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +39 -32
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +2 -2
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +6 -6
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +9 -12
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +5 -3
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +39 -32
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +2 -2
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +6 -6
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +9 -12
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +37 -25
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +2 -7
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +6 -21
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +2 -7
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +8 -28
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +2 -2
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +3 -3
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +39 -32
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +234 -192
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +39 -32
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +351 -288
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +78 -64
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +39 -32
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +78 -64
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +39 -32
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-CIVhaGqo.js → __federation_expose_authCoreCommon-CnNoa4tF.js} +4 -3
- package/dist/web/assets/__federation_expose_authCoreCommon-CnNoa4tF.js.map +1 -0
- package/dist/web/assets/{__federation_expose_authCoreWeb-N-mh42Bs.js → __federation_expose_authCoreWeb-BL_U7yuj.js} +60 -65
- package/dist/web/assets/__federation_expose_authCoreWeb-BL_U7yuj.js.map +1 -0
- package/dist/web/assets/{__federation_expose_better-authCoreCommon-BIU3Fg7K.js → __federation_expose_better-authCoreCommon-D-mTcxYO.js} +3 -3
- package/dist/web/assets/{__federation_expose_better-authCoreCommon-BIU3Fg7K.js.map → __federation_expose_better-authCoreCommon-D-mTcxYO.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_better-authCoreWeb-CMhPrXPA.js → __federation_expose_better-authCoreWeb-CXHL-Ghf.js} +5 -5
- package/dist/web/assets/{__federation_expose_better-authCoreWeb-CMhPrXPA.js.map → __federation_expose_better-authCoreWeb-CXHL-Ghf.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-DvHe9w29.js → __federation_expose_local-authAdminCommon-LIsARRNU.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-DvHe9w29.js.map → __federation_expose_local-authAdminCommon-LIsARRNU.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-CLU9aEy9.js → __federation_expose_local-authAdminWeb-DyYUDLm9.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-CLU9aEy9.js.map → __federation_expose_local-authAdminWeb-DyYUDLm9.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-DbuvGG7o.js → __federation_expose_local-authCoreCommon-p_UbExc7.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-DbuvGG7o.js.map → __federation_expose_local-authCoreCommon-p_UbExc7.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-BY-mP3uS.js → __federation_expose_local-authCoreWeb-8TcUJFT6.js} +5 -5
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-BY-mP3uS.js.map → __federation_expose_local-authCoreWeb-8TcUJFT6.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-BJBCuZvU.js → __federation_expose_placeholder-authCoreCommon-CtZXaDUc.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-BJBCuZvU.js.map → __federation_expose_placeholder-authCoreCommon-CtZXaDUc.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-BaV-Ko2C.js → __federation_expose_placeholder-authCoreWeb-CZAKokTb.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-BaV-Ko2C.js.map → __federation_expose_placeholder-authCoreWeb-CZAKokTb.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-BLFDCY-V.js → __federation_fn_import-3DENgil8.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-BLFDCY-V.js.map → __federation_fn_import-3DENgil8.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-bRU6KpPk.js → web-B5bdbzFj.js} +8 -8
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B5bdbzFj.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-CQKLkNsU.js → project-builder-lib-DCA3vO4J.js} +319 -34
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DCA3vO4J.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-DhyoEUTy.js → ui-components-BvL7RO9S.js} +49747 -33379
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BvL7RO9S.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-9w-0yxVZ.js → utils-0-N5BG4T.js} +3 -2
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-0-N5BG4T.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-CbExBaoL.js → react-router-DSniiJ6U.js} +3 -200
- package/dist/web/assets/__federation_shared_@tanstack/react-router-DSniiJ6U.js.map +1 -0
- package/dist/web/assets/{get-auth-plugin-definition-BL50g0cJ.js → get-auth-plugin-definition-DHcbFujw.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-BL50g0cJ.js.map → get-auth-plugin-definition-DHcbFujw.js.map} +1 -1
- package/dist/web/assets/{index-B_A3cgiy.js → index-DQKNnI1w.js} +5 -5
- package/dist/web/assets/{index-B_A3cgiy.js.map → index-DQKNnI1w.js.map} +1 -1
- package/dist/web/assets/{index.esm-BraHxHLB.js → index.esm-Dpqxgpya.js} +2 -2
- package/dist/web/assets/{index.esm-BraHxHLB.js.map → index.esm-Dpqxgpya.js.map} +1 -1
- package/dist/web/assets/{model-utils-BfcjfzCn.js → model-utils-BFX3c3dn.js} +2 -2
- package/dist/web/assets/{model-utils-BfcjfzCn.js.map → model-utils-BFX3c3dn.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-DJzXScRp.js → plugin-definition-B86WQ7Ni.js} +2 -2
- package/dist/web/assets/{plugin-definition-DJzXScRp.js.map → plugin-definition-B86WQ7Ni.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-CXnKUJ1l.js → plugin-definition-CEQb6mWV.js} +2 -2
- package/dist/web/assets/{plugin-definition-CXnKUJ1l.js.map → plugin-definition-CEQb6mWV.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-Ckl5hjD1.js → plugin-definition-DrsKbcJc.js} +2 -2
- package/dist/web/assets/{plugin-definition-Ckl5hjD1.js.map → plugin-definition-DrsKbcJc.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-D26rR8AB.js → plugin-definition-KEpaSB6p.js} +2 -2
- package/dist/web/assets/{plugin-definition-D26rR8AB.js.map → plugin-definition-KEpaSB6p.js.map} +1 -1
- package/dist/web/assets/{react-CL9M_wyN.js → react-hu8Hx0R4.js} +2 -2
- package/dist/web/assets/{react-CL9M_wyN.js.map → react-hu8Hx0R4.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +10 -10
- package/dist/web/assets/{styles-tkrWV-ZE.js → styles-CpKtlIgU.js} +24 -14
- package/dist/web/assets/styles-CpKtlIgU.js.map +1 -0
- package/dist/web/assets/with-selector-DTXBONcE.js +201 -0
- package/dist/web/assets/with-selector-DTXBONcE.js.map +1 -0
- package/package.json +19 -22
- package/dist/web/assets/__federation_expose_authCoreCommon-CIVhaGqo.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-N-mh42Bs.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-bRU6KpPk.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CQKLkNsU.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DhyoEUTy.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-9w-0yxVZ.js.map +0 -1
- package/dist/web/assets/__federation_shared_@tanstack/react-router-CbExBaoL.js.map +0 -1
- package/dist/web/assets/styles-tkrWV-ZE.js.map +0 -1
|
@@ -17,15 +17,10 @@ export declare const mainGroup: {
|
|
|
17
17
|
};
|
|
18
18
|
}>>;
|
|
19
19
|
graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
20
|
+
'*': {};
|
|
20
21
|
graphql: {};
|
|
21
22
|
readFragment: {};
|
|
22
|
-
|
|
23
|
-
isTypeOnly: true;
|
|
24
|
-
};
|
|
25
|
-
ResultOf: {
|
|
26
|
-
isTypeOnly: true;
|
|
27
|
-
};
|
|
28
|
-
VariablesOf: {
|
|
23
|
+
FragmentType: {
|
|
29
24
|
isTypeOnly: true;
|
|
30
25
|
};
|
|
31
26
|
}>>;
|
|
@@ -39,6 +34,20 @@ export declare const mainGroup: {
|
|
|
39
34
|
Alert: {};
|
|
40
35
|
AlertDescription: {};
|
|
41
36
|
AlertTitle: {};
|
|
37
|
+
Autocomplete: {};
|
|
38
|
+
AutocompleteClear: {};
|
|
39
|
+
AutocompleteCollection: {};
|
|
40
|
+
AutocompleteContent: {};
|
|
41
|
+
AutocompleteEmpty: {};
|
|
42
|
+
AutocompleteGroup: {};
|
|
43
|
+
AutocompleteInput: {};
|
|
44
|
+
AutocompleteItem: {};
|
|
45
|
+
AutocompleteLabel: {};
|
|
46
|
+
AutocompleteList: {};
|
|
47
|
+
AutocompleteSeparator: {};
|
|
48
|
+
AutocompleteStatus: {};
|
|
49
|
+
AutocompleteTrigger: {};
|
|
50
|
+
AutocompleteValue: {};
|
|
42
51
|
Badge: {};
|
|
43
52
|
badgeVariants: {};
|
|
44
53
|
BadgeWithIcon: {};
|
|
@@ -67,18 +76,12 @@ export declare const mainGroup: {
|
|
|
67
76
|
CheckedInput: {};
|
|
68
77
|
CircularProgress: {};
|
|
69
78
|
cn: {};
|
|
79
|
+
Collapsible: {};
|
|
80
|
+
CollapsibleContent: {};
|
|
81
|
+
CollapsibleTrigger: {};
|
|
70
82
|
Combobox: {};
|
|
71
83
|
ComboboxField: {};
|
|
72
84
|
ComboboxFieldController: {};
|
|
73
|
-
Command: {};
|
|
74
|
-
CommandDialog: {};
|
|
75
|
-
CommandEmpty: {};
|
|
76
|
-
CommandGroup: {};
|
|
77
|
-
CommandInput: {};
|
|
78
|
-
CommandItem: {};
|
|
79
|
-
CommandList: {};
|
|
80
|
-
CommandSeparator: {};
|
|
81
|
-
CommandShortcut: {};
|
|
82
85
|
ConfirmDialog: {};
|
|
83
86
|
DatePickerField: {};
|
|
84
87
|
DatePickerFieldController: {};
|
|
@@ -115,37 +118,43 @@ export declare const mainGroup: {
|
|
|
115
118
|
EmptyDisplay: {};
|
|
116
119
|
ErrorableLoader: {};
|
|
117
120
|
ErrorDisplay: {};
|
|
118
|
-
|
|
119
|
-
|
|
121
|
+
Field: {};
|
|
122
|
+
FieldContent: {};
|
|
123
|
+
FieldDescription: {};
|
|
124
|
+
FieldError: {};
|
|
125
|
+
FieldGroup: {};
|
|
126
|
+
FieldLabel: {};
|
|
127
|
+
FieldLegend: {};
|
|
128
|
+
FieldSeparator: {};
|
|
129
|
+
FieldSet: {};
|
|
130
|
+
FieldTitle: {};
|
|
131
|
+
fieldVariants: {};
|
|
120
132
|
FormFieldProps: {
|
|
121
133
|
isTypeOnly: true;
|
|
122
134
|
};
|
|
123
|
-
FormItem: {};
|
|
124
|
-
FormLabel: {};
|
|
125
|
-
FormMessage: {};
|
|
126
135
|
IconElement: {
|
|
127
136
|
isTypeOnly: true;
|
|
128
137
|
};
|
|
129
138
|
Input: {};
|
|
130
139
|
InputField: {};
|
|
131
140
|
InputFieldController: {};
|
|
141
|
+
InputGroup: {};
|
|
142
|
+
InputGroupAddon: {};
|
|
143
|
+
InputGroupButton: {};
|
|
144
|
+
InputGroupInput: {};
|
|
145
|
+
InputGroupText: {};
|
|
146
|
+
InputGroupTextarea: {};
|
|
132
147
|
inputVariants: {};
|
|
133
148
|
Label: {};
|
|
134
149
|
LinkButton: {};
|
|
135
150
|
Loader: {};
|
|
136
151
|
mergeRefs: {};
|
|
137
152
|
Modal: {};
|
|
138
|
-
MultiCombobox: {};
|
|
139
|
-
MultiComboboxContent: {};
|
|
140
|
-
MultiComboboxEmpty: {};
|
|
141
153
|
MultiComboboxField: {};
|
|
142
154
|
MultiComboboxFieldController: {};
|
|
143
155
|
MultiComboboxFieldProps: {
|
|
144
156
|
isTypeOnly: true;
|
|
145
157
|
};
|
|
146
|
-
MultiComboboxGroup: {};
|
|
147
|
-
MultiComboboxInput: {};
|
|
148
|
-
MultiComboboxItem: {};
|
|
149
158
|
MultiSelectOptionProps: {
|
|
150
159
|
isTypeOnly: true;
|
|
151
160
|
};
|
|
@@ -168,16 +177,12 @@ export declare const mainGroup: {
|
|
|
168
177
|
ReactSelectInput: {};
|
|
169
178
|
ScrollArea: {};
|
|
170
179
|
Select: {};
|
|
171
|
-
selectCheckVariants: {};
|
|
172
|
-
selectContentVariants: {};
|
|
173
180
|
SelectField: {};
|
|
174
181
|
SelectFieldController: {};
|
|
175
182
|
SelectInput: {};
|
|
176
|
-
selectItemVariants: {};
|
|
177
183
|
SelectOptionProps: {
|
|
178
184
|
isTypeOnly: true;
|
|
179
185
|
};
|
|
180
|
-
selectTriggerVariants: {};
|
|
181
186
|
Separator: {};
|
|
182
187
|
Sheet: {};
|
|
183
188
|
SheetClose: {};
|
|
@@ -211,6 +216,8 @@ export declare const mainGroup: {
|
|
|
211
216
|
SidebarSeparator: {};
|
|
212
217
|
SidebarTrigger: {};
|
|
213
218
|
Skeleton: {};
|
|
219
|
+
Slider: {};
|
|
220
|
+
Spinner: {};
|
|
214
221
|
Switch: {};
|
|
215
222
|
SwitchField: {};
|
|
216
223
|
SwitchFieldController: {};
|
|
@@ -232,6 +239,7 @@ export declare const mainGroup: {
|
|
|
232
239
|
TooltipContent: {};
|
|
233
240
|
TooltipProvider: {};
|
|
234
241
|
TooltipTrigger: {};
|
|
242
|
+
useAutocompleteFilter: {};
|
|
235
243
|
useConfirmDialog: {};
|
|
236
244
|
UseConfirmDialogRequestOptions: {
|
|
237
245
|
isTypeOnly: true;
|
|
@@ -240,7 +248,6 @@ export declare const mainGroup: {
|
|
|
240
248
|
useControlledState: {};
|
|
241
249
|
useControllerMerged: {};
|
|
242
250
|
useIsMobile: {};
|
|
243
|
-
useMultiComboboxContext: {};
|
|
244
251
|
useSidebar: {};
|
|
245
252
|
}>>;
|
|
246
253
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -272,15 +279,10 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
272
279
|
};
|
|
273
280
|
}>>;
|
|
274
281
|
graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
282
|
+
'*': {};
|
|
275
283
|
graphql: {};
|
|
276
284
|
readFragment: {};
|
|
277
|
-
|
|
278
|
-
isTypeOnly: true;
|
|
279
|
-
};
|
|
280
|
-
ResultOf: {
|
|
281
|
-
isTypeOnly: true;
|
|
282
|
-
};
|
|
283
|
-
VariablesOf: {
|
|
285
|
+
FragmentType: {
|
|
284
286
|
isTypeOnly: true;
|
|
285
287
|
};
|
|
286
288
|
}>>;
|
|
@@ -294,6 +296,20 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
294
296
|
Alert: {};
|
|
295
297
|
AlertDescription: {};
|
|
296
298
|
AlertTitle: {};
|
|
299
|
+
Autocomplete: {};
|
|
300
|
+
AutocompleteClear: {};
|
|
301
|
+
AutocompleteCollection: {};
|
|
302
|
+
AutocompleteContent: {};
|
|
303
|
+
AutocompleteEmpty: {};
|
|
304
|
+
AutocompleteGroup: {};
|
|
305
|
+
AutocompleteInput: {};
|
|
306
|
+
AutocompleteItem: {};
|
|
307
|
+
AutocompleteLabel: {};
|
|
308
|
+
AutocompleteList: {};
|
|
309
|
+
AutocompleteSeparator: {};
|
|
310
|
+
AutocompleteStatus: {};
|
|
311
|
+
AutocompleteTrigger: {};
|
|
312
|
+
AutocompleteValue: {};
|
|
297
313
|
Badge: {};
|
|
298
314
|
badgeVariants: {};
|
|
299
315
|
BadgeWithIcon: {};
|
|
@@ -322,18 +338,12 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
322
338
|
CheckedInput: {};
|
|
323
339
|
CircularProgress: {};
|
|
324
340
|
cn: {};
|
|
341
|
+
Collapsible: {};
|
|
342
|
+
CollapsibleContent: {};
|
|
343
|
+
CollapsibleTrigger: {};
|
|
325
344
|
Combobox: {};
|
|
326
345
|
ComboboxField: {};
|
|
327
346
|
ComboboxFieldController: {};
|
|
328
|
-
Command: {};
|
|
329
|
-
CommandDialog: {};
|
|
330
|
-
CommandEmpty: {};
|
|
331
|
-
CommandGroup: {};
|
|
332
|
-
CommandInput: {};
|
|
333
|
-
CommandItem: {};
|
|
334
|
-
CommandList: {};
|
|
335
|
-
CommandSeparator: {};
|
|
336
|
-
CommandShortcut: {};
|
|
337
347
|
ConfirmDialog: {};
|
|
338
348
|
DatePickerField: {};
|
|
339
349
|
DatePickerFieldController: {};
|
|
@@ -370,37 +380,43 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
370
380
|
EmptyDisplay: {};
|
|
371
381
|
ErrorableLoader: {};
|
|
372
382
|
ErrorDisplay: {};
|
|
373
|
-
|
|
374
|
-
|
|
383
|
+
Field: {};
|
|
384
|
+
FieldContent: {};
|
|
385
|
+
FieldDescription: {};
|
|
386
|
+
FieldError: {};
|
|
387
|
+
FieldGroup: {};
|
|
388
|
+
FieldLabel: {};
|
|
389
|
+
FieldLegend: {};
|
|
390
|
+
FieldSeparator: {};
|
|
391
|
+
FieldSet: {};
|
|
392
|
+
FieldTitle: {};
|
|
393
|
+
fieldVariants: {};
|
|
375
394
|
FormFieldProps: {
|
|
376
395
|
isTypeOnly: true;
|
|
377
396
|
};
|
|
378
|
-
FormItem: {};
|
|
379
|
-
FormLabel: {};
|
|
380
|
-
FormMessage: {};
|
|
381
397
|
IconElement: {
|
|
382
398
|
isTypeOnly: true;
|
|
383
399
|
};
|
|
384
400
|
Input: {};
|
|
385
401
|
InputField: {};
|
|
386
402
|
InputFieldController: {};
|
|
403
|
+
InputGroup: {};
|
|
404
|
+
InputGroupAddon: {};
|
|
405
|
+
InputGroupButton: {};
|
|
406
|
+
InputGroupInput: {};
|
|
407
|
+
InputGroupText: {};
|
|
408
|
+
InputGroupTextarea: {};
|
|
387
409
|
inputVariants: {};
|
|
388
410
|
Label: {};
|
|
389
411
|
LinkButton: {};
|
|
390
412
|
Loader: {};
|
|
391
413
|
mergeRefs: {};
|
|
392
414
|
Modal: {};
|
|
393
|
-
MultiCombobox: {};
|
|
394
|
-
MultiComboboxContent: {};
|
|
395
|
-
MultiComboboxEmpty: {};
|
|
396
415
|
MultiComboboxField: {};
|
|
397
416
|
MultiComboboxFieldController: {};
|
|
398
417
|
MultiComboboxFieldProps: {
|
|
399
418
|
isTypeOnly: true;
|
|
400
419
|
};
|
|
401
|
-
MultiComboboxGroup: {};
|
|
402
|
-
MultiComboboxInput: {};
|
|
403
|
-
MultiComboboxItem: {};
|
|
404
420
|
MultiSelectOptionProps: {
|
|
405
421
|
isTypeOnly: true;
|
|
406
422
|
};
|
|
@@ -423,16 +439,12 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
423
439
|
ReactSelectInput: {};
|
|
424
440
|
ScrollArea: {};
|
|
425
441
|
Select: {};
|
|
426
|
-
selectCheckVariants: {};
|
|
427
|
-
selectContentVariants: {};
|
|
428
442
|
SelectField: {};
|
|
429
443
|
SelectFieldController: {};
|
|
430
444
|
SelectInput: {};
|
|
431
|
-
selectItemVariants: {};
|
|
432
445
|
SelectOptionProps: {
|
|
433
446
|
isTypeOnly: true;
|
|
434
447
|
};
|
|
435
|
-
selectTriggerVariants: {};
|
|
436
448
|
Separator: {};
|
|
437
449
|
Sheet: {};
|
|
438
450
|
SheetClose: {};
|
|
@@ -466,6 +478,8 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
466
478
|
SidebarSeparator: {};
|
|
467
479
|
SidebarTrigger: {};
|
|
468
480
|
Skeleton: {};
|
|
481
|
+
Slider: {};
|
|
482
|
+
Spinner: {};
|
|
469
483
|
Switch: {};
|
|
470
484
|
SwitchField: {};
|
|
471
485
|
SwitchFieldController: {};
|
|
@@ -487,6 +501,7 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
487
501
|
TooltipContent: {};
|
|
488
502
|
TooltipProvider: {};
|
|
489
503
|
TooltipTrigger: {};
|
|
504
|
+
useAutocompleteFilter: {};
|
|
490
505
|
useConfirmDialog: {};
|
|
491
506
|
UseConfirmDialogRequestOptions: {
|
|
492
507
|
isTypeOnly: true;
|
|
@@ -495,7 +510,6 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
495
510
|
useControlledState: {};
|
|
496
511
|
useControllerMerged: {};
|
|
497
512
|
useIsMobile: {};
|
|
498
|
-
useMultiComboboxContext: {};
|
|
499
513
|
useSidebar: {};
|
|
500
514
|
}>>;
|
|
501
515
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAgDA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAgDA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6C,CAAC;AAEpE,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgB,CAAC"}
|
|
@@ -30,15 +30,10 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
30
30
|
};
|
|
31
31
|
}>>;
|
|
32
32
|
graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
33
|
+
'*': {};
|
|
33
34
|
graphql: {};
|
|
34
35
|
readFragment: {};
|
|
35
|
-
|
|
36
|
-
isTypeOnly: true;
|
|
37
|
-
};
|
|
38
|
-
ResultOf: {
|
|
39
|
-
isTypeOnly: true;
|
|
40
|
-
};
|
|
41
|
-
VariablesOf: {
|
|
36
|
+
FragmentType: {
|
|
42
37
|
isTypeOnly: true;
|
|
43
38
|
};
|
|
44
39
|
}>>;
|
|
@@ -53,6 +48,20 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
53
48
|
Alert: {};
|
|
54
49
|
AlertDescription: {};
|
|
55
50
|
AlertTitle: {};
|
|
51
|
+
Autocomplete: {};
|
|
52
|
+
AutocompleteClear: {};
|
|
53
|
+
AutocompleteCollection: {};
|
|
54
|
+
AutocompleteContent: {};
|
|
55
|
+
AutocompleteEmpty: {};
|
|
56
|
+
AutocompleteGroup: {};
|
|
57
|
+
AutocompleteInput: {};
|
|
58
|
+
AutocompleteItem: {};
|
|
59
|
+
AutocompleteLabel: {};
|
|
60
|
+
AutocompleteList: {};
|
|
61
|
+
AutocompleteSeparator: {};
|
|
62
|
+
AutocompleteStatus: {};
|
|
63
|
+
AutocompleteTrigger: {};
|
|
64
|
+
AutocompleteValue: {};
|
|
56
65
|
Badge: {};
|
|
57
66
|
badgeVariants: {};
|
|
58
67
|
BadgeWithIcon: {};
|
|
@@ -81,18 +90,12 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
81
90
|
CheckedInput: {};
|
|
82
91
|
CircularProgress: {};
|
|
83
92
|
cn: {};
|
|
93
|
+
Collapsible: {};
|
|
94
|
+
CollapsibleContent: {};
|
|
95
|
+
CollapsibleTrigger: {};
|
|
84
96
|
Combobox: {};
|
|
85
97
|
ComboboxField: {};
|
|
86
98
|
ComboboxFieldController: {};
|
|
87
|
-
Command: {};
|
|
88
|
-
CommandDialog: {};
|
|
89
|
-
CommandEmpty: {};
|
|
90
|
-
CommandGroup: {};
|
|
91
|
-
CommandInput: {};
|
|
92
|
-
CommandItem: {};
|
|
93
|
-
CommandList: {};
|
|
94
|
-
CommandSeparator: {};
|
|
95
|
-
CommandShortcut: {};
|
|
96
99
|
ConfirmDialog: {};
|
|
97
100
|
DatePickerField: {};
|
|
98
101
|
DatePickerFieldController: {};
|
|
@@ -129,37 +132,43 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
129
132
|
EmptyDisplay: {};
|
|
130
133
|
ErrorableLoader: {};
|
|
131
134
|
ErrorDisplay: {};
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
Field: {};
|
|
136
|
+
FieldContent: {};
|
|
137
|
+
FieldDescription: {};
|
|
138
|
+
FieldError: {};
|
|
139
|
+
FieldGroup: {};
|
|
140
|
+
FieldLabel: {};
|
|
141
|
+
FieldLegend: {};
|
|
142
|
+
FieldSeparator: {};
|
|
143
|
+
FieldSet: {};
|
|
144
|
+
FieldTitle: {};
|
|
145
|
+
fieldVariants: {};
|
|
134
146
|
FormFieldProps: {
|
|
135
147
|
isTypeOnly: true;
|
|
136
148
|
};
|
|
137
|
-
FormItem: {};
|
|
138
|
-
FormLabel: {};
|
|
139
|
-
FormMessage: {};
|
|
140
149
|
IconElement: {
|
|
141
150
|
isTypeOnly: true;
|
|
142
151
|
};
|
|
143
152
|
Input: {};
|
|
144
153
|
InputField: {};
|
|
145
154
|
InputFieldController: {};
|
|
155
|
+
InputGroup: {};
|
|
156
|
+
InputGroupAddon: {};
|
|
157
|
+
InputGroupButton: {};
|
|
158
|
+
InputGroupInput: {};
|
|
159
|
+
InputGroupText: {};
|
|
160
|
+
InputGroupTextarea: {};
|
|
146
161
|
inputVariants: {};
|
|
147
162
|
Label: {};
|
|
148
163
|
LinkButton: {};
|
|
149
164
|
Loader: {};
|
|
150
165
|
mergeRefs: {};
|
|
151
166
|
Modal: {};
|
|
152
|
-
MultiCombobox: {};
|
|
153
|
-
MultiComboboxContent: {};
|
|
154
|
-
MultiComboboxEmpty: {};
|
|
155
167
|
MultiComboboxField: {};
|
|
156
168
|
MultiComboboxFieldController: {};
|
|
157
169
|
MultiComboboxFieldProps: {
|
|
158
170
|
isTypeOnly: true;
|
|
159
171
|
};
|
|
160
|
-
MultiComboboxGroup: {};
|
|
161
|
-
MultiComboboxInput: {};
|
|
162
|
-
MultiComboboxItem: {};
|
|
163
172
|
MultiSelectOptionProps: {
|
|
164
173
|
isTypeOnly: true;
|
|
165
174
|
};
|
|
@@ -182,16 +191,12 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
182
191
|
ReactSelectInput: {};
|
|
183
192
|
ScrollArea: {};
|
|
184
193
|
Select: {};
|
|
185
|
-
selectCheckVariants: {};
|
|
186
|
-
selectContentVariants: {};
|
|
187
194
|
SelectField: {};
|
|
188
195
|
SelectFieldController: {};
|
|
189
196
|
SelectInput: {};
|
|
190
|
-
selectItemVariants: {};
|
|
191
197
|
SelectOptionProps: {
|
|
192
198
|
isTypeOnly: true;
|
|
193
199
|
};
|
|
194
|
-
selectTriggerVariants: {};
|
|
195
200
|
Separator: {};
|
|
196
201
|
Sheet: {};
|
|
197
202
|
SheetClose: {};
|
|
@@ -225,6 +230,8 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
225
230
|
SidebarSeparator: {};
|
|
226
231
|
SidebarTrigger: {};
|
|
227
232
|
Skeleton: {};
|
|
233
|
+
Slider: {};
|
|
234
|
+
Spinner: {};
|
|
228
235
|
Switch: {};
|
|
229
236
|
SwitchField: {};
|
|
230
237
|
SwitchFieldController: {};
|
|
@@ -246,6 +253,7 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
246
253
|
TooltipContent: {};
|
|
247
254
|
TooltipProvider: {};
|
|
248
255
|
TooltipTrigger: {};
|
|
256
|
+
useAutocompleteFilter: {};
|
|
249
257
|
useConfirmDialog: {};
|
|
250
258
|
UseConfirmDialogRequestOptions: {
|
|
251
259
|
isTypeOnly: true;
|
|
@@ -254,7 +262,6 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
254
262
|
useControlledState: {};
|
|
255
263
|
useControllerMerged: {};
|
|
256
264
|
useIsMobile: {};
|
|
257
|
-
useMultiComboboxContext: {};
|
|
258
265
|
useSidebar: {};
|
|
259
266
|
}>>;
|
|
260
267
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-session.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/react-session/react-session.generator.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"react-session.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/react-session/react-session.generator.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0ChC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
2
|
-
import { a as createAuthPluginDefinitionSchema } from './plugin-definition-
|
|
1
|
+
import { importShared } from './__federation_fn_import-3DENgil8.js';
|
|
2
|
+
import { a as createAuthPluginDefinitionSchema } from './plugin-definition-B86WQ7Ni.js';
|
|
3
3
|
|
|
4
4
|
const {authConfigSpec,createPluginModule,pluginConfigSpec,PluginUtils} = await importShared('@baseplate-dev/project-builder-lib');
|
|
5
5
|
const common = createPluginModule({
|
|
@@ -10,6 +10,7 @@ const common = createPluginModule({
|
|
|
10
10
|
},
|
|
11
11
|
initialize: ({ authConfig, pluginConfig }, { pluginKey }) => {
|
|
12
12
|
pluginConfig.schemas.set(pluginKey, createAuthPluginDefinitionSchema);
|
|
13
|
+
authConfig.pluginKey.set(pluginKey);
|
|
13
14
|
authConfig.getAuthConfig.set((definition) => {
|
|
14
15
|
const pluginConfig2 = PluginUtils.configByKeyOrThrow(
|
|
15
16
|
definition,
|
|
@@ -26,4 +27,4 @@ const common = createPluginModule({
|
|
|
26
27
|
});
|
|
27
28
|
|
|
28
29
|
export { common as default };
|
|
29
|
-
//# sourceMappingURL=__federation_expose_authCoreCommon-
|
|
30
|
+
//# sourceMappingURL=__federation_expose_authCoreCommon-CnNoa4tF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"__federation_expose_authCoreCommon-CnNoa4tF.js","sources":["../../../src/auth/core/common.ts"],"sourcesContent":["import {\n authConfigSpec,\n createPluginModule,\n pluginConfigSpec,\n PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\n\nimport type { AuthPluginDefinition } from './schema/plugin-definition.js';\n\nimport { createAuthPluginDefinitionSchema } from './schema/plugin-definition.js';\n\nexport default createPluginModule({\n name: 'common',\n dependencies: {\n pluginConfig: pluginConfigSpec,\n authConfig: authConfigSpec,\n },\n initialize: ({ authConfig, pluginConfig }, { pluginKey }) => {\n pluginConfig.schemas.set(pluginKey, createAuthPluginDefinitionSchema);\n authConfig.pluginKey.set(pluginKey);\n authConfig.getAuthConfig.set((definition) => {\n const pluginConfig = PluginUtils.configByKeyOrThrow(\n definition,\n pluginKey,\n ) as AuthPluginDefinition;\n return {\n roles: pluginConfig.roles,\n modelNames: {\n user: pluginConfig.authFeatureRef,\n },\n };\n });\n },\n});\n"],"names":["pluginConfig"],"mappings":";;;AAAA,MAAA,CAAA,cAAA,CAAA,kBAAA,CAAA,gBAAA,CAAA,WAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AAWA,eAAe,kBAAA,CAAmB;AAAA,EAChC,IAAA,EAAM,QAAA;AAAA,EACN,YAAA,EAAc;AAAA,IACZ,YAAA,EAAc,gBAAA;AAAA,IACd,UAAA,EAAY;AAAA,GACd;AAAA,EACA,UAAA,EAAY,CAAC,EAAE,UAAA,EAAY,cAAa,EAAG,EAAE,WAAU,KAAM;AAC3D,IAAA,YAAA,CAAa,OAAA,CAAQ,GAAA,CAAI,SAAA,EAAW,gCAAgC,CAAA;AACpE,IAAA,UAAA,CAAW,SAAA,CAAU,IAAI,SAAS,CAAA;AAClC,IAAA,UAAA,CAAW,aAAA,CAAc,GAAA,CAAI,CAAC,UAAA,KAAe;AAC3C,MAAA,MAAMA,gBAAe,WAAA,CAAY,kBAAA;AAAA,QAC/B,UAAA;AAAA,QACA;AAAA,OACF;AACA,MAAA,OAAO;AAAA,QACL,OAAOA,aAAAA,CAAa,KAAA;AAAA,QACpB,UAAA,EAAY;AAAA,UACV,MAAMA,aAAAA,CAAa;AAAA;AACrB,OACF;AAAA,IACF,CAAC,CAAA;AAAA,EACH;AACF,CAAC,CAAA;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
1
|
+
import { importShared } from './__federation_fn_import-3DENgil8.js';
|
|
2
2
|
import { j as jsxRuntimeExports } from './jsx-runtime-XI9uIe3W.js';
|
|
3
|
-
import { a, A as AuthConfigTabs } from './styles-
|
|
4
|
-
import { c as createAuthRoleSchema, a as createAuthPluginDefinitionSchema, b as createDefaultAuthRoles } from './plugin-definition-
|
|
5
|
-
import { c as useFieldArray$1, a as useForm, d as useWatch } from './index.esm-
|
|
6
|
-
import { o as MdEdit, p as MdDeleteOutline, q as MdAdd } from './index-
|
|
3
|
+
import { a, A as AuthConfigTabs } from './styles-CpKtlIgU.js';
|
|
4
|
+
import { c as createAuthRoleSchema, a as createAuthPluginDefinitionSchema, b as createDefaultAuthRoles } from './plugin-definition-B86WQ7Ni.js';
|
|
5
|
+
import { c as useFieldArray$1, a as useForm, d as useWatch } from './index.esm-Dpqxgpya.js';
|
|
6
|
+
import { o as MdEdit, p as MdDeleteOutline, q as MdAdd } from './index-DQKNnI1w.js';
|
|
7
7
|
|
|
8
8
|
// src/rhf/useFieldArray.ts
|
|
9
9
|
const {useMemo: useMemo$1} = await importShared('react');
|
|
@@ -60,16 +60,14 @@ function useFieldArray(props) {
|
|
|
60
60
|
|
|
61
61
|
const {useDefinitionSchema: useDefinitionSchema$1} = await importShared('@baseplate-dev/project-builder-lib/web');
|
|
62
62
|
|
|
63
|
-
const {Button: Button$1,Dialog,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogTitle,
|
|
63
|
+
const {Button: Button$1,Dialog,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogTitle,InputFieldController} = await importShared('@baseplate-dev/ui-components');
|
|
64
64
|
const {useId} = await importShared('react');
|
|
65
65
|
function RoleDialog({
|
|
66
66
|
open,
|
|
67
67
|
onOpenChange,
|
|
68
68
|
role,
|
|
69
69
|
isNew = false,
|
|
70
|
-
onSave
|
|
71
|
-
asChild,
|
|
72
|
-
children
|
|
70
|
+
onSave
|
|
73
71
|
}) {
|
|
74
72
|
const authRoleSchema = useDefinitionSchema$1(createAuthRoleSchema);
|
|
75
73
|
const form = useForm({
|
|
@@ -82,62 +80,59 @@ function RoleDialog({
|
|
|
82
80
|
onOpenChange?.(false);
|
|
83
81
|
});
|
|
84
82
|
const formId = useId();
|
|
85
|
-
return /* @__PURE__ */ jsxRuntimeExports.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
{
|
|
90
|
-
|
|
91
|
-
onSubmit
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
isNew ? "Add" : "Update",
|
|
134
|
-
" Role"
|
|
135
|
-
] })
|
|
83
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DialogContent, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
84
|
+
"form",
|
|
85
|
+
{
|
|
86
|
+
id: formId,
|
|
87
|
+
onSubmit: (e) => {
|
|
88
|
+
e.stopPropagation();
|
|
89
|
+
return onSubmit(e);
|
|
90
|
+
},
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(DialogHeader, { children: [
|
|
93
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DialogTitle, { children: isNew ? "Add Role" : "Edit Role" }),
|
|
94
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DialogDescription, { children: isNew ? "Enter the details for the new role." : "Update the role details below." })
|
|
95
|
+
] }),
|
|
96
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "auth:space-y-4 auth:py-4", children: [
|
|
97
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
98
|
+
InputFieldController,
|
|
99
|
+
{
|
|
100
|
+
label: "Role Name",
|
|
101
|
+
name: "name",
|
|
102
|
+
control,
|
|
103
|
+
placeholder: "Enter role name"
|
|
104
|
+
}
|
|
105
|
+
),
|
|
106
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
107
|
+
InputFieldController,
|
|
108
|
+
{
|
|
109
|
+
label: "Description",
|
|
110
|
+
name: "comment",
|
|
111
|
+
control,
|
|
112
|
+
placeholder: "Describe this role's purpose"
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
] }),
|
|
116
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(DialogFooter, { children: [
|
|
117
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
118
|
+
Button$1,
|
|
119
|
+
{
|
|
120
|
+
type: "button",
|
|
121
|
+
variant: "outline",
|
|
122
|
+
onClick: () => {
|
|
123
|
+
onOpenChange?.(false);
|
|
124
|
+
},
|
|
125
|
+
children: "Cancel"
|
|
126
|
+
}
|
|
127
|
+
),
|
|
128
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Button$1, { form: formId, type: "submit", children: [
|
|
129
|
+
isNew ? "Add" : "Update",
|
|
130
|
+
" Role"
|
|
136
131
|
] })
|
|
137
|
-
]
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
132
|
+
] })
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
) }) });
|
|
141
136
|
}
|
|
142
137
|
|
|
143
138
|
const {authRoleEntityType} = await importShared('@baseplate-dev/project-builder-lib');
|
|
@@ -435,4 +430,4 @@ const web = createPluginModule({
|
|
|
435
430
|
});
|
|
436
431
|
|
|
437
432
|
export { web as default };
|
|
438
|
-
//# sourceMappingURL=__federation_expose_authCoreWeb-
|
|
433
|
+
//# sourceMappingURL=__federation_expose_authCoreWeb-BL_U7yuj.js.map
|