@authup/client-web-kit 1.0.0-beta.45 → 1.0.0-beta.47

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 (119) hide show
  1. package/dist/components/entities/client/AClientForm.vue.d.ts +1 -1
  2. package/dist/components/entities/client/AClientForm.vue.d.ts.map +1 -1
  3. package/dist/components/entities/client/AClients.d.ts.map +1 -1
  4. package/dist/components/entities/client-scope/AClientScopes.d.ts.map +1 -1
  5. package/dist/components/entities/identity-provider/AIdentityProviderBasicFields.vue.d.ts +1 -1
  6. package/dist/components/entities/identity-provider/AIdentityProviderBasicFields.vue.d.ts.map +1 -1
  7. package/dist/components/entities/identity-provider/AIdentityProviderPicker.vue.d.ts.map +1 -1
  8. package/dist/components/entities/identity-provider/AIdentityProviders.d.ts.map +1 -1
  9. package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.vue.d.ts +1 -1
  10. package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.vue.d.ts.map +1 -1
  11. package/dist/components/entities/permission/APermissionForm.vue.d.ts +1 -1
  12. package/dist/components/entities/permission/APermissionForm.vue.d.ts.map +1 -1
  13. package/dist/components/entities/permission/APermissions.d.ts.map +1 -1
  14. package/dist/components/entities/policy/APolicies.d.ts.map +1 -1
  15. package/dist/components/entities/policy/APolicyDetailNav.vue.d.ts.map +1 -1
  16. package/dist/components/entities/policy/APolicyTypePicker.vue.d.ts.map +1 -1
  17. package/dist/components/entities/policy/date/ADatePolicyForm.vue.d.ts +1 -1
  18. package/dist/components/entities/policy/date/ADatePolicyForm.vue.d.ts.map +1 -1
  19. package/dist/components/entities/policy/time/ATimePolicyForm.vue.d.ts +1 -1
  20. package/dist/components/entities/policy/time/ATimePolicyForm.vue.d.ts.map +1 -1
  21. package/dist/components/entities/realm/ARealmForm.vue.d.ts +1 -1
  22. package/dist/components/entities/realm/ARealmForm.vue.d.ts.map +1 -1
  23. package/dist/components/entities/realm/ARealmGrid.vue.d.ts +67 -0
  24. package/dist/components/entities/realm/ARealmGrid.vue.d.ts.map +1 -0
  25. package/dist/components/entities/realm/ARealms.d.ts.map +1 -1
  26. package/dist/components/entities/realm/index.d.ts +1 -0
  27. package/dist/components/entities/realm/index.d.ts.map +1 -1
  28. package/dist/components/entities/robot/ARobotForm.vue.d.ts +1 -1
  29. package/dist/components/entities/robot/ARobotForm.vue.d.ts.map +1 -1
  30. package/dist/components/entities/robot/ARobots.d.ts.map +1 -1
  31. package/dist/components/entities/role/ARoleForm.vue.d.ts +1 -1
  32. package/dist/components/entities/role/ARoleForm.vue.d.ts.map +1 -1
  33. package/dist/components/entities/role/ARoles.d.ts.map +1 -1
  34. package/dist/components/entities/scope/AScopeForm.vue.d.ts +1 -1
  35. package/dist/components/entities/scope/AScopeForm.vue.d.ts.map +1 -1
  36. package/dist/components/entities/scope/AScopes.d.ts.map +1 -1
  37. package/dist/components/entities/user/AUserForm.vue.d.ts +1 -1
  38. package/dist/components/entities/user/AUserForm.vue.d.ts.map +1 -1
  39. package/dist/components/entities/user/AUsers.d.ts.map +1 -1
  40. package/dist/components/utility/AAuthBackLink.vue.d.ts +87 -0
  41. package/dist/components/utility/AAuthBackLink.vue.d.ts.map +1 -0
  42. package/dist/components/utility/AAuthGadgets.vue.d.ts +52 -0
  43. package/dist/components/utility/AAuthGadgets.vue.d.ts.map +1 -0
  44. package/dist/components/utility/AAuthShell.vue.d.ts +16 -0
  45. package/dist/components/utility/AAuthShell.vue.d.ts.map +1 -0
  46. package/dist/components/utility/AColorModeSwitcher.vue.d.ts +22 -0
  47. package/dist/components/utility/AColorModeSwitcher.vue.d.ts.map +1 -0
  48. package/dist/components/utility/ALanguageSwitcherDropdown.d.ts +35 -0
  49. package/dist/components/utility/ALanguageSwitcherDropdown.d.ts.map +1 -0
  50. package/dist/components/utility/ANameInput.vue.d.ts.map +1 -1
  51. package/dist/components/utility/ASecretInput.vue.d.ts.map +1 -1
  52. package/dist/components/utility/entity/AEntityDelete.d.ts.map +1 -1
  53. package/dist/components/utility/form-input-list/AFormInputList.vue.d.ts +1 -1
  54. package/dist/components/utility/form-input-list/AFormInputList.vue.d.ts.map +1 -1
  55. package/dist/components/utility/index.d.ts +5 -1
  56. package/dist/components/utility/index.d.ts.map +1 -1
  57. package/dist/components/utility/title/ATitle.d.ts.map +1 -1
  58. package/dist/components/workflows/authorize/Authorize.vue.d.ts +99 -3
  59. package/dist/components/workflows/authorize/Authorize.vue.d.ts.map +1 -1
  60. package/dist/components/workflows/authorize/AuthorizeForm.vue.d.ts +3 -1
  61. package/dist/components/workflows/authorize/AuthorizeForm.vue.d.ts.map +1 -1
  62. package/dist/components/workflows/authorize/AuthorizeScopes.vue.d.ts +1 -1
  63. package/dist/components/workflows/authorize/AuthorizeScopes.vue.d.ts.map +1 -1
  64. package/dist/components/workflows/index.d.ts +3 -1
  65. package/dist/components/workflows/index.d.ts.map +1 -1
  66. package/dist/components/workflows/{Login.vue.d.ts → login/LoginForm.vue.d.ts} +112 -30
  67. package/dist/components/workflows/login/LoginForm.vue.d.ts.map +1 -0
  68. package/dist/components/workflows/login/index.d.ts +6 -0
  69. package/dist/components/workflows/login/index.d.ts.map +1 -0
  70. package/dist/components/workflows/password/PasswordForgotForm.vue.d.ts +461 -0
  71. package/dist/components/workflows/password/PasswordForgotForm.vue.d.ts.map +1 -0
  72. package/dist/components/workflows/password/PasswordResetForm.vue.d.ts +386 -0
  73. package/dist/components/workflows/password/PasswordResetForm.vue.d.ts.map +1 -0
  74. package/dist/components/workflows/password/index.d.ts +3 -0
  75. package/dist/components/workflows/password/index.d.ts.map +1 -0
  76. package/dist/components/workflows/register/ActivateForm.vue.d.ts +376 -0
  77. package/dist/components/workflows/register/ActivateForm.vue.d.ts.map +1 -0
  78. package/dist/components/workflows/register/RegisterForm.vue.d.ts +837 -0
  79. package/dist/components/workflows/register/RegisterForm.vue.d.ts.map +1 -0
  80. package/dist/components/workflows/register/index.d.ts +3 -0
  81. package/dist/components/workflows/register/index.d.ts.map +1 -0
  82. package/dist/core/form/defaults.d.ts.map +1 -1
  83. package/dist/core/http-client/authentication-hook/install.d.ts.map +1 -1
  84. package/dist/core/http-client/authentication-hook/types.d.ts +2 -0
  85. package/dist/core/http-client/authentication-hook/types.d.ts.map +1 -1
  86. package/dist/core/http-client/install.d.ts.map +1 -1
  87. package/dist/core/http-client/singleton.d.ts +3 -3
  88. package/dist/core/http-client/singleton.d.ts.map +1 -1
  89. package/dist/core/http-client/types.d.ts +2 -0
  90. package/dist/core/http-client/types.d.ts.map +1 -1
  91. package/dist/core/index.d.ts +1 -0
  92. package/dist/core/index.d.ts.map +1 -1
  93. package/dist/core/oauth2/authorization-request.d.ts +29 -0
  94. package/dist/core/oauth2/authorization-request.d.ts.map +1 -0
  95. package/dist/core/oauth2/index.d.ts +3 -0
  96. package/dist/core/oauth2/index.d.ts.map +1 -0
  97. package/dist/core/oauth2/pkce.d.ts +8 -0
  98. package/dist/core/oauth2/pkce.d.ts.map +1 -0
  99. package/dist/core/store/create.d.ts +6 -1
  100. package/dist/core/store/create.d.ts.map +1 -1
  101. package/dist/core/store/install.d.ts.map +1 -1
  102. package/dist/core/store/types.d.ts +3 -0
  103. package/dist/core/store/types.d.ts.map +1 -1
  104. package/dist/core/translator/index.d.ts +1 -1
  105. package/dist/core/translator/index.d.ts.map +1 -1
  106. package/dist/core/translator/locale.d.ts +21 -0
  107. package/dist/core/translator/locale.d.ts.map +1 -0
  108. package/dist/index.mjs +1550 -815
  109. package/dist/index.mjs.map +1 -1
  110. package/dist/module.d.ts.map +1 -1
  111. package/dist/types.d.ts +8 -2
  112. package/dist/types.d.ts.map +1 -1
  113. package/package.json +22 -19
  114. package/dist/components/utility/LanguageSwitcherDropdown.d.ts +0 -17
  115. package/dist/components/utility/LanguageSwitcherDropdown.d.ts.map +0 -1
  116. package/dist/components/workflows/Login.vue.d.ts.map +0 -1
  117. package/dist/core/translator/constants.d.ts +0 -2
  118. package/dist/core/translator/constants.d.ts.map +0 -1
  119. package/dist/style.css +0 -48
package/dist/index.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  import { createValidup, getSeverity, useValidup } from "@validup/vue";
2
2
  import { Container, OptionalValue, ValidupError, defineIssueItem } from "validup";
3
3
  import { ClientValidator, EntityDefaultEventName, EntityType, IdentityProviderPreset, IdentityProviderProtocol, IdentityProviderValidator, PermissionValidator, PolicyValidator, REALM_MASTER_NAME, RealmValidator, RobotValidator, RoleValidator, ScopeValidator, UserValidator, buildEntityChannelName, buildUserFakeEmail, getIdentityProviderProtocolForPreset, isUserFakeEmail } from "@authup/core-kit";
4
- import { Fragment, Suspense, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, hasInjectionContext, inject as inject$1, isReactive, isRef, mergeProps, nextTick, normalizeClass, normalizeProps, onMounted, onUnmounted, openBlock, provide as provide$1, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, toRef, unref, useId, watch, withCtx, withModifiers } from "vue";
4
+ import { Fragment, Suspense, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, hasInjectionContext, inject as inject$1, isReactive, isRef, mergeProps, nextTick, normalizeClass, normalizeProps, onMounted, onUnmounted, openBlock, provide as provide$1, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, toRef, unref, useId, vModelText, watch, withCtx, withDirectives, withModifiers } from "vue";
5
5
  import { VCFormCheckbox, VCFormGroup, VCFormInput, VCFormSelect, VCFormSwitch, VCFormTextarea, useSubmitButton } from "@vuecs/forms";
6
6
  import { createValidator } from "@validup/zod";
7
7
  import { IFieldValidation, install as install$1, useTranslationsForComposable as useTranslationsForComposable$1, useTranslationsForField as useTranslationsForField$1 } from "@ilingo/validup-vue";
8
+ import { CATALOGS, LOCALES, TranslatorTranslationActionKey, TranslatorTranslationClientKey, TranslatorTranslationCommonKey, TranslatorTranslationEntityKey, TranslatorTranslationFieldKey, TranslatorTranslationNamespace, TranslatorTranslationVuecsKey, matchLocale } from "@authup/i18n";
8
9
  import { Client, ClientAuthenticationHook, ClientAuthenticationHookEventName, CookieName } from "@authup/core-http-kit";
9
10
  import { defineStore, storeToRefs as storeToRefs$1 } from "pinia";
10
11
  import { BuiltInPolicyType, PermissionEvaluator, PermissionMemoryProvider, PolicyData, PolicyEngine, TimePolicyInterval, isIntervalForDayOfMonth, isIntervalForDayOfWeek, isIntervalForDayOfYear } from "@authup/access";
@@ -12,21 +13,18 @@ import { OAuth2Error, deserializeOAuth2Scope, isOpenIDProviderMetadata } from "@
12
13
  import { useCookies } from "@vueuse/integrations/useCookies";
13
14
  import { extend } from "@vuecs/core";
14
15
  import { VCButton } from "@vuecs/button";
15
- import { CATALOGS, LOCALES } from "@authup/i18n";
16
16
  import { injectIlingo, injectLocale, install as install$2, useTranslation as useTranslation$1 } from "@ilingo/vue";
17
17
  import { MemoryStore } from "ilingo";
18
+ import { useLocaleManager } from "@vuecs/locale";
18
19
  import { createMerger, isObject, merge } from "smob";
19
20
  import { SortDirection } from "rapiq";
20
- import { ClientManager, EventNameSuffix, buildEventFullName } from "@authup/core-realtime-kit";
21
21
  import { DecisionStrategy, ValidatorGroup, base64URLEncode, extendObject, generateName, generateSecret, hasOwnProperty, isBCryptHash, isObject as isObject$1 } from "@authup/kit";
22
+ import { ClientManager, EventNameSuffix, buildEventFullName } from "@authup/core-realtime-kit";
22
23
  import { VCPagination } from "@vuecs/pagination";
23
24
  import { VCList, VCListBody, VCListEmpty, VCListItem, VCListLoading } from "@vuecs/list";
24
- export * from "@authup/i18n";
25
+ import { VCLink } from "@vuecs/link";
25
26
  //#region \0rolldown/runtime.js
26
27
  var __defProp = Object.defineProperty;
27
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
28
- var __getOwnPropNames = Object.getOwnPropertyNames;
29
- var __hasOwnProp = Object.prototype.hasOwnProperty;
30
28
  var __exportAll = (all, no_symbols) => {
31
29
  let target = {};
32
30
  for (var name in all) __defProp(target, name, {
@@ -36,17 +34,6 @@ var __exportAll = (all, no_symbols) => {
36
34
  if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
37
35
  return target;
38
36
  };
39
- var __copyProps = (to, from, except, desc) => {
40
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
41
- key = keys[i];
42
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
43
- get: ((k) => from[k]).bind(null, key),
44
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
45
- });
46
- }
47
- return to;
48
- };
49
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
50
37
  //#endregion
51
38
  //#region ../../node_modules/zod/v4/core/core.js
52
39
  var _a$1;
@@ -3104,8 +3091,8 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
3104
3091
  };
3105
3092
  //#endregion
3106
3093
  //#region src/components/utility/form-input-list/AFormInputListItem.vue
3107
- const _hoisted_1$37 = ["disabled"];
3108
- function _sfc_render$72(_ctx, _cache, $props, $setup, $data, $options) {
3094
+ const _hoisted_1$46 = ["disabled"];
3095
+ function _sfc_render$81(_ctx, _cache, $props, $setup, $data, $options) {
3109
3096
  const _component_VCIcon = resolveComponent("VCIcon");
3110
3097
  const _component_VCFormInput = resolveComponent("VCFormInput");
3111
3098
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
@@ -3122,7 +3109,7 @@ function _sfc_render$72(_ctx, _cache, $props, $setup, $data, $options) {
3122
3109
  type: "button",
3123
3110
  class: "btn btn-xs btn-warning",
3124
3111
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.handleDeleted && _ctx.handleDeleted(...args), ["prevent"]))
3125
- }, [createVNode(_component_VCIcon, { name: "fa6-solid:minus" })], 8, _hoisted_1$37)]),
3112
+ }, [createVNode(_component_VCIcon, { name: "fa6-solid:minus" })], 8, _hoisted_1$46)]),
3126
3113
  _: 1
3127
3114
  }, 8, [
3128
3115
  "modelValue",
@@ -3134,7 +3121,7 @@ function _sfc_render$72(_ctx, _cache, $props, $setup, $data, $options) {
3134
3121
  _: 1
3135
3122
  }, 8, ["field"]);
3136
3123
  }
3137
- var AFormInputListItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AFormInputListItem_vue_vue_type_script_lang_default, [["render", _sfc_render$72]]);
3124
+ var AFormInputListItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AFormInputListItem_vue_vue_type_script_lang_default, [["render", _sfc_render$81]]);
3138
3125
  //#endregion
3139
3126
  //#region src/core/inject.ts
3140
3127
  function inject(key, instance) {
@@ -3266,7 +3253,7 @@ function createPromiseShareWrapperFn(fn) {
3266
3253
  };
3267
3254
  }
3268
3255
  function createStore(context) {
3269
- const client = new Client({ baseURL: context.baseURL });
3256
+ const client = context.httpClient ?? new Client({ baseURL: context.baseURL });
3270
3257
  const cookiesRead = ref(false);
3271
3258
  const setCookiesRead = (value) => {
3272
3259
  cookiesRead.value = value;
@@ -3414,8 +3401,11 @@ function createStore(context) {
3414
3401
  await resolveUser();
3415
3402
  context.dispatcher.emit("loggedIn");
3416
3403
  };
3417
- const exchangeAuthorizationCode = async (code) => {
3418
- const response = await client.token.createWithAuthorizationCode({ code });
3404
+ const exchangeAuthorizationCode = async (code, params = {}) => {
3405
+ const response = await client.token.createWithAuthorizationCode({
3406
+ code,
3407
+ ...params
3408
+ });
3419
3409
  await cleanup();
3420
3410
  applyTokenGrantResponse(response);
3421
3411
  await resolveToken();
@@ -3483,6 +3473,7 @@ function installStore(app, options = {}) {
3483
3473
  provideStoreDispatcher(storeDispatcher, app);
3484
3474
  const storeFactory = defineStore(STORE_ID, () => createStore({
3485
3475
  baseURL: options.baseURL,
3476
+ httpClient: options.httpClient,
3486
3477
  dispatcher: storeDispatcher
3487
3478
  }));
3488
3479
  const store = storeFactory(options.pinia);
@@ -3583,7 +3574,7 @@ function installHTTPClientAuthenticationHook(app, options = {}) {
3583
3574
  baseURL: options.baseURL,
3584
3575
  tokenCreator: () => {
3585
3576
  if (!refreshToken.value) throw new Error("No refresh token available.");
3586
- return new Client({ baseURL: options.baseURL }).token.createWithRefreshToken({ refresh_token: refreshToken.value });
3577
+ return (options.httpClient ?? new Client({ baseURL: options.baseURL })).token.createWithRefreshToken({ refresh_token: refreshToken.value });
3587
3578
  },
3588
3579
  timer: !options.isServer
3589
3580
  });
@@ -3643,7 +3634,7 @@ function injectHTTPClient(app) {
3643
3634
  //#region src/core/http-client/install.ts
3644
3635
  function installHTTPClient(app, options = {}) {
3645
3636
  if (hasHTTPClient(app)) return;
3646
- const client = new Client({ baseURL: options.baseURL });
3637
+ const client = options.httpClient ?? new Client({ baseURL: options.baseURL });
3647
3638
  injectHTTPClientAuthenticationHook(app).attach(client);
3648
3639
  provideHTTPClient(client, app);
3649
3640
  }
@@ -3902,17 +3893,47 @@ function installTranslator(app, options = {}) {
3902
3893
  install$1(app);
3903
3894
  }
3904
3895
  //#endregion
3905
- //#region src/core/translator/index.ts
3906
- var translator_exports = /* @__PURE__ */ __exportAll({
3907
- injectTranslatorLocale: () => injectTranslatorLocale,
3908
- installTranslator: () => installTranslator,
3909
- useTranslation: () => useTranslation,
3910
- useTranslations: () => useTranslations,
3911
- useTranslationsForComposable: () => useTranslationsForComposable,
3912
- useTranslationsForField: () => useTranslationsForField,
3913
- useTranslationsForNamespace: () => useTranslationsForNamespace,
3914
- useTranslator: () => useTranslator
3915
- });
3896
+ //#region src/core/translator/locale.ts
3897
+ function tryUseLocaleManager() {
3898
+ try {
3899
+ return useLocaleManager();
3900
+ } catch {
3901
+ return;
3902
+ }
3903
+ }
3904
+ /**
3905
+ * Single control surface for the active UI locale. Prefers `@vuecs/locale`'s
3906
+ * manager (the source of truth — cookie persistence, `auto`/browser
3907
+ * resolution, `<html lang>` sync, `Config['locale']`), and falls back to the
3908
+ * ilingo locale ref when vuecs-locale is absent.
3909
+ */
3910
+ function useLocaleControl() {
3911
+ const manager = tryUseLocaleManager();
3912
+ const ilingo = injectLocale();
3913
+ return {
3914
+ code: computed(() => {
3915
+ return matchLocale(manager ? manager.resolved.value : ilingo.value) ?? ilingo.value;
3916
+ }),
3917
+ set: (input) => {
3918
+ if (manager) manager.set(input);
3919
+ else ilingo.value = input;
3920
+ }
3921
+ };
3922
+ }
3923
+ /**
3924
+ * One-way bridge that keeps the ilingo locale (driving authup's catalogs) in
3925
+ * sync with vuecs's resolved locale (the source of truth). No-op when
3926
+ * vuecs-locale is not installed — there ilingo is the source directly.
3927
+ */
3928
+ function syncTranslatorLocaleFromManager(app) {
3929
+ const manager = app.runWithContext(() => tryUseLocaleManager());
3930
+ if (!manager) return;
3931
+ const ilingo = app.runWithContext(() => injectLocale());
3932
+ watch(manager.resolved, (value) => {
3933
+ const mapped = matchLocale(value);
3934
+ if (mapped && mapped !== ilingo.value) ilingo.value = mapped;
3935
+ }, { immediate: true });
3936
+ }
3916
3937
  //#endregion
3917
3938
  //#region src/core/form/defaults.ts
3918
3939
  /**
@@ -3929,12 +3950,12 @@ var translator_exports = /* @__PURE__ */ __exportAll({
3929
3950
  function buildSubmitButtonDefaults() {
3930
3951
  return {
3931
3952
  createText: useTranslation({
3932
- namespace: translator_exports.TranslatorTranslationNamespace.ACTION,
3933
- key: translator_exports.TranslatorTranslationActionKey.CREATE
3953
+ namespace: TranslatorTranslationNamespace.ACTION,
3954
+ key: TranslatorTranslationActionKey.CREATE
3934
3955
  }),
3935
3956
  updateText: useTranslation({
3936
- namespace: translator_exports.TranslatorTranslationNamespace.ACTION,
3937
- key: translator_exports.TranslatorTranslationActionKey.UPDATE
3957
+ namespace: TranslatorTranslationNamespace.ACTION,
3958
+ key: TranslatorTranslationActionKey.UPDATE
3938
3959
  }),
3939
3960
  createIcon: "fa6-solid:plus",
3940
3961
  updateIcon: "fa6-solid:floppy-disk",
@@ -4002,6 +4023,64 @@ function wrapFnWithBusyState(busy, fn) {
4002
4023
  };
4003
4024
  }
4004
4025
  //#endregion
4026
+ //#region src/core/oauth2/pkce.ts
4027
+ function strFromBytes(bytes) {
4028
+ let str = "";
4029
+ for (const byte of bytes) str += String.fromCharCode(byte);
4030
+ return str;
4031
+ }
4032
+ function randomString(length = 64) {
4033
+ const bytes = new Uint8Array(length);
4034
+ crypto.getRandomValues(bytes);
4035
+ return base64URLEncode(strFromBytes(bytes));
4036
+ }
4037
+ function createState() {
4038
+ return randomString(32);
4039
+ }
4040
+ async function createPKCE() {
4041
+ const codeVerifier = randomString(64);
4042
+ const digest = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(codeVerifier));
4043
+ return {
4044
+ code_verifier: codeVerifier,
4045
+ code_challenge: base64URLEncode(strFromBytes(new Uint8Array(digest))),
4046
+ code_challenge_method: "S256"
4047
+ };
4048
+ }
4049
+ //#endregion
4050
+ //#region src/core/oauth2/authorization-request.ts
4051
+ const STORAGE_KEY = "authup.authorization-request";
4052
+ function saveAuthorizationRequest(request) {
4053
+ if (typeof sessionStorage === "undefined") return;
4054
+ sessionStorage.setItem(STORAGE_KEY, JSON.stringify(request));
4055
+ }
4056
+ function loadAuthorizationRequest() {
4057
+ if (typeof sessionStorage === "undefined") return;
4058
+ const raw = sessionStorage.getItem(STORAGE_KEY);
4059
+ if (!raw) return;
4060
+ try {
4061
+ return JSON.parse(raw);
4062
+ } catch {
4063
+ return;
4064
+ }
4065
+ }
4066
+ function clearAuthorizationRequest() {
4067
+ if (typeof sessionStorage === "undefined") return;
4068
+ sessionStorage.removeItem(STORAGE_KEY);
4069
+ }
4070
+ function buildAuthorizeURL(ctx) {
4071
+ const base = ctx.baseURL.replace(/\/+$/, "");
4072
+ const params = new URLSearchParams();
4073
+ params.set("response_type", "code");
4074
+ params.set("client_id", ctx.clientId);
4075
+ if (ctx.realmId) params.set("realm_id", ctx.realmId);
4076
+ params.set("scope", ctx.scope ?? "global openid");
4077
+ params.set("redirect_uri", ctx.redirectUri);
4078
+ params.set("state", ctx.state);
4079
+ params.set("code_challenge", ctx.codeChallenge);
4080
+ params.set("code_challenge_method", ctx.codeChallengeMethod);
4081
+ return `${base}/authorize?${params.toString()}`;
4082
+ }
4083
+ //#endregion
4005
4084
  //#region src/core/permission-check/module.ts
4006
4085
  function createPermissionCheckerReactiveFn(ctx = {}) {
4007
4086
  let store;
@@ -4160,67 +4239,6 @@ function extractValidupResultsFromChild(composable, name, keys) {
4160
4239
  return output;
4161
4240
  }
4162
4241
  //#endregion
4163
- //#region src/core/index.ts
4164
- var core_exports = /* @__PURE__ */ __exportAll({
4165
- HTTPClientSymbol: () => HTTPClientSymbol,
4166
- STORE_ID: () => STORE_ID,
4167
- SlotName: () => SlotName,
4168
- SocketClientSymbol: () => SocketClientSymbol,
4169
- StoreDispatcherEventName: () => StoreDispatcherEventName,
4170
- assignFormProperties: () => assignFormProperties,
4171
- buildFormCheckbox: () => buildFormCheckbox,
4172
- buildFormGroup: () => buildFormGroup,
4173
- buildFormInput: () => buildFormInput,
4174
- buildFormInputText: () => buildFormInputText,
4175
- buildFormSelect: () => buildFormSelect,
4176
- buildFormSubmit: () => buildFormSubmit,
4177
- buildFormSubmitWithTranslations: () => buildFormSubmitWithTranslations,
4178
- buildFormSwitch: () => buildFormSwitch,
4179
- buildFormTextarea: () => buildFormTextarea,
4180
- buildSubmitButtonDefaults: () => buildSubmitButtonDefaults,
4181
- createFormSubmitTranslations: () => createFormSubmitTranslations,
4182
- createPermissionCheckerReactiveFn: () => createPermissionCheckerReactiveFn,
4183
- createStore: () => createStore,
4184
- createStoreDispatcher: () => createStoreDispatcher,
4185
- extractValidupResultsFromChild: () => extractValidupResultsFromChild,
4186
- getSeverity: () => getSeverity,
4187
- hasHTTPClient: () => hasHTTPClient,
4188
- hasHTTPClientAuthenticationHook: () => hasHTTPClientAuthenticationHook,
4189
- hasNormalizedSlot: () => hasNormalizedSlot,
4190
- hasStoreFactory: () => hasStoreFactory,
4191
- inject: () => inject,
4192
- injectHTTPClient: () => injectHTTPClient,
4193
- injectHTTPClientAuthenticationHook: () => injectHTTPClientAuthenticationHook,
4194
- injectSocketManager: () => injectSocketManager,
4195
- injectStore: () => injectStore,
4196
- injectStoreDispatcher: () => injectStoreDispatcher,
4197
- injectStoreFactory: () => injectStoreFactory,
4198
- injectTranslatorLocale: () => injectTranslatorLocale,
4199
- installHTTPClient: () => installHTTPClient,
4200
- installHTTPClientAuthenticationHook: () => installHTTPClientAuthenticationHook,
4201
- installSocketManager: () => installSocketManager,
4202
- installStore: () => installStore,
4203
- installTranslator: () => installTranslator,
4204
- isQuerySortedDescByDate: () => isQuerySortedDescByDate,
4205
- isSocketManagerUsable: () => isSocketManagerUsable,
4206
- normalizeSlot: () => normalizeSlot,
4207
- provide: () => provide,
4208
- provideHTTPClient: () => provideHTTPClient,
4209
- provideHTTPClientAuthenticationHook: () => provideHTTPClientAuthenticationHook,
4210
- provideSocketManager: () => provideSocketManager,
4211
- provideStoreDispatcher: () => provideStoreDispatcher,
4212
- provideStoreFactory: () => provideStoreFactory,
4213
- storeToRefs: () => storeToRefs,
4214
- useTranslation: () => useTranslation,
4215
- useTranslations: () => useTranslations,
4216
- useTranslationsForComposable: () => useTranslationsForComposable,
4217
- useTranslationsForField: () => useTranslationsForField,
4218
- useTranslationsForNamespace: () => useTranslationsForNamespace,
4219
- useTranslator: () => useTranslator,
4220
- wrapFnWithBusyState: () => wrapFnWithBusyState
4221
- });
4222
- __reExport(core_exports, translator_exports);
4223
- //#endregion
4224
4242
  //#region src/components/utility/form-input-list/AFormInputList.vue?vue&type=script&lang.ts
4225
4243
  var AFormInputList_vue_vue_type_script_lang_default = defineComponent({
4226
4244
  components: { AFormInputListItem: AFormInputListItem_default },
@@ -4241,8 +4259,8 @@ var AFormInputList_vue_vue_type_script_lang_default = defineComponent({
4241
4259
  emits: ["changed"],
4242
4260
  setup(props, setup) {
4243
4261
  const translationsAction = useTranslations([{
4244
- namespace: core_exports.TranslatorTranslationNamespace.ACTION,
4245
- key: core_exports.TranslatorTranslationActionKey.ADD
4262
+ namespace: TranslatorTranslationNamespace.ACTION,
4263
+ key: TranslatorTranslationActionKey.ADD
4246
4264
  }]);
4247
4265
  let counter = 0;
4248
4266
  const items = ref([]);
@@ -4288,23 +4306,23 @@ var AFormInputList_vue_vue_type_script_lang_default = defineComponent({
4288
4306
  });
4289
4307
  //#endregion
4290
4308
  //#region src/components/utility/form-input-list/AFormInputList.vue
4291
- const _hoisted_1$36 = { class: "flex flex-col gap-2" };
4292
- const _hoisted_2$19 = { class: "flex flex-row" };
4293
- const _hoisted_3$15 = { class: "self-end" };
4294
- const _hoisted_4$13 = { class: "ms-auto" };
4295
- const _hoisted_5$12 = ["disabled"];
4296
- const _hoisted_6$10 = { class: "flex flex-col gap-1" };
4297
- function _sfc_render$71(_ctx, _cache, $props, $setup, $data, $options) {
4309
+ const _hoisted_1$45 = { class: "flex flex-col gap-2" };
4310
+ const _hoisted_2$25 = { class: "flex flex-row" };
4311
+ const _hoisted_3$21 = { class: "self-end" };
4312
+ const _hoisted_4$18 = { class: "ms-auto" };
4313
+ const _hoisted_5$13 = ["disabled"];
4314
+ const _hoisted_6$11 = { class: "flex flex-col gap-1" };
4315
+ function _sfc_render$80(_ctx, _cache, $props, $setup, $data, $options) {
4298
4316
  const _component_VCIcon = resolveComponent("VCIcon");
4299
4317
  const _component_AFormInputListItem = resolveComponent("AFormInputListItem");
4300
- return openBlock(), createElementBlock("div", _hoisted_1$36, [
4301
- createElementVNode("div", _hoisted_2$19, [createElementVNode("div", _hoisted_3$15, [renderSlot(_ctx.$slots, "label", {}, () => [_cache[1] || (_cache[1] = createTextVNode(" Names ", -1))])]), createElementVNode("div", _hoisted_4$13, [createElementVNode("button", {
4318
+ return openBlock(), createElementBlock("div", _hoisted_1$45, [
4319
+ createElementVNode("div", _hoisted_2$25, [createElementVNode("div", _hoisted_3$21, [renderSlot(_ctx.$slots, "label", {}, () => [_cache[1] || (_cache[1] = createTextVNode(" Names ", -1))])]), createElementVNode("div", _hoisted_4$18, [createElementVNode("button", {
4302
4320
  class: "btn btn-xs btn-primary",
4303
4321
  type: "button",
4304
4322
  disabled: !_ctx.canAdd,
4305
4323
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.add(), ["prevent"]))
4306
- }, [createVNode(_component_VCIcon, { name: "fa6-solid:plus" }), createTextVNode(" " + toDisplayString(_ctx.translationsAction.add), 1)], 8, _hoisted_5$12)])]),
4307
- createElementVNode("div", _hoisted_6$10, [_ctx.items.length === 0 ? renderSlot(_ctx.$slots, "noItems", { key: 0 }, () => [_cache[2] || (_cache[2] = createElementVNode("div", { class: "alert alert-sm alert-info" }, " The form list has no items yet ", -1))]) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
4324
+ }, [createVNode(_component_VCIcon, { name: "fa6-solid:plus" }), createTextVNode(" " + toDisplayString(_ctx.translationsAction.add), 1)], 8, _hoisted_5$13)])]),
4325
+ createElementVNode("div", _hoisted_6$11, [_ctx.items.length === 0 ? renderSlot(_ctx.$slots, "noItems", { key: 0 }, () => [_cache[2] || (_cache[2] = createElementVNode("div", { class: "alert alert-sm alert-info" }, " The form list has no items yet ", -1))]) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
4308
4326
  return renderSlot(_ctx.$slots, "default", {
4309
4327
  key: item.id,
4310
4328
  item,
@@ -4330,7 +4348,7 @@ function _sfc_render$71(_ctx, _cache, $props, $setup, $data, $options) {
4330
4348
  renderSlot(_ctx.$slots, "hint")
4331
4349
  ]);
4332
4350
  }
4333
- var AFormInputList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AFormInputList_vue_vue_type_script_lang_default, [["render", _sfc_render$71]]);
4351
+ var AFormInputList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AFormInputList_vue_vue_type_script_lang_default, [["render", _sfc_render$80]]);
4334
4352
  //#endregion
4335
4353
  //#region src/components/utility/pagination/module.ts
4336
4354
  function buildPagination(ctx) {
@@ -5096,8 +5114,8 @@ var AToggleButton_vue_vue_type_script_lang_default$1 = defineComponent({
5096
5114
  });
5097
5115
  //#endregion
5098
5116
  //#region src/components/utility/toggle-button/AToggleButton.vue
5099
- const _hoisted_1$35 = ["aria-label", "disabled"];
5100
- function _sfc_render$70(_ctx, _cache, $props, $setup, $data, $options) {
5117
+ const _hoisted_1$44 = ["aria-label", "disabled"];
5118
+ function _sfc_render$79(_ctx, _cache, $props, $setup, $data, $options) {
5101
5119
  const _component_VCIcon = resolveComponent("VCIcon");
5102
5120
  return openBlock(), createElementBlock("button", {
5103
5121
  type: "button",
@@ -5112,9 +5130,9 @@ function _sfc_render$70(_ctx, _cache, $props, $setup, $data, $options) {
5112
5130
  }, [createVNode(_component_VCIcon, {
5113
5131
  "aria-hidden": "true",
5114
5132
  name: _ctx.isBusy ? "fa6-solid:question" : _ctx.value ? "fa6-solid:minus" : "fa6-solid:plus"
5115
- }, null, 8, ["name"])], 10, _hoisted_1$35);
5133
+ }, null, 8, ["name"])], 10, _hoisted_1$44);
5116
5134
  }
5117
- var AToggleButton_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(AToggleButton_vue_vue_type_script_lang_default$1, [["render", _sfc_render$70]]);
5135
+ var AToggleButton_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(AToggleButton_vue_vue_type_script_lang_default$1, [["render", _sfc_render$79]]);
5118
5136
  //#endregion
5119
5137
  //#region src/components/utility/toggle-button/module.ts
5120
5138
  function renderToggleButton(options) {
@@ -5331,8 +5349,8 @@ const AEntityDelete = defineComponent({
5331
5349
  }
5332
5350
  });
5333
5351
  const translation = useTranslation({
5334
- namespace: core_exports.TranslatorTranslationNamespace.ACTION,
5335
- key: core_exports.TranslatorTranslationActionKey.DELETE
5352
+ namespace: TranslatorTranslationNamespace.ACTION,
5353
+ key: TranslatorTranslationActionKey.DELETE
5336
5354
  });
5337
5355
  const render = () => {
5338
5356
  let tag = "button";
@@ -5407,8 +5425,8 @@ const ATitle = defineComponent({
5407
5425
  slots: Object,
5408
5426
  setup(props, { slots }) {
5409
5427
  const translation = useTranslation({
5410
- namespace: core_exports.TranslatorTranslationNamespace.COMMON,
5411
- key: core_exports.TranslatorTranslationCommonKey.OVERVIEW
5428
+ namespace: TranslatorTranslationNamespace.COMMON,
5429
+ key: TranslatorTranslationCommonKey.OVERVIEW
5412
5430
  });
5413
5431
  return () => buildTitle({
5414
5432
  slots,
@@ -5419,26 +5437,23 @@ const ATitle = defineComponent({
5419
5437
  }
5420
5438
  });
5421
5439
  //#endregion
5422
- //#region src/components/utility/LanguageSwitcherDropdown.ts
5423
- const LanguageSwitcherDropdown = defineComponent({
5440
+ //#region src/components/utility/ALanguageSwitcherDropdown.ts
5441
+ const ALanguageSwitcherDropdown = defineComponent({
5424
5442
  props: { linkClassExtra: {
5425
5443
  type: String,
5426
5444
  default: void 0
5427
5445
  } },
5428
- async setup(props) {
5446
+ setup(props) {
5429
5447
  const opened = ref(false);
5430
- const locale = injectLocale();
5448
+ const { code, set } = useLocaleControl();
5431
5449
  const elements = computed(() => LOCALES.map((descriptor) => ({
5432
5450
  value: descriptor.code,
5433
5451
  label: descriptor.nativeName,
5434
- active: locale.value === descriptor.code
5452
+ active: code.value === descriptor.code
5435
5453
  })));
5436
- const activeCode = computed(() => {
5437
- const match = LOCALES.find((descriptor) => descriptor.code === locale.value);
5438
- return match ? match.code : locale.value;
5439
- });
5454
+ const activeCode = computed(() => code.value);
5440
5455
  const setLocale = (input) => {
5441
- locale.value = input;
5456
+ set(input);
5442
5457
  opened.value = false;
5443
5458
  };
5444
5459
  return () => h("div", { class: "dropdown" }, [h("button", {
@@ -5460,6 +5475,10 @@ const LanguageSwitcherDropdown = defineComponent({
5460
5475
  }, [element.label])))]);
5461
5476
  }
5462
5477
  });
5478
+ /**
5479
+ * @deprecated Import `ALanguageSwitcherDropdown` instead.
5480
+ */
5481
+ const LanguageSwitcherDropdown = ALanguageSwitcherDropdown;
5463
5482
  //#endregion
5464
5483
  //#region src/components/utility/AFormSubmit.ts
5465
5484
  const AFormSubmit = defineComponent({
@@ -5490,6 +5509,142 @@ const AFormSubmit = defineComponent({
5490
5509
  }
5491
5510
  });
5492
5511
  //#endregion
5512
+ //#region src/components/utility/AAuthShell.vue?vue&type=script&lang.ts
5513
+ var AAuthShell_vue_vue_type_script_lang_default = defineComponent({ props: { logo: {
5514
+ type: Boolean,
5515
+ default: true
5516
+ } } });
5517
+ //#endregion
5518
+ //#region src/components/utility/AAuthShell.vue
5519
+ const _hoisted_1$43 = { class: "a-auth-shell" };
5520
+ const _hoisted_2$24 = { class: "a-auth-shell-card" };
5521
+ const _hoisted_3$20 = {
5522
+ key: 0,
5523
+ class: "a-auth-shell-logo"
5524
+ };
5525
+ function _sfc_render$78(_ctx, _cache, $props, $setup, $data, $options) {
5526
+ return openBlock(), createElementBlock("div", _hoisted_1$43, [_cache[1] || (_cache[1] = createElementVNode("div", {
5527
+ class: "a-auth-shell-aurora",
5528
+ "aria-hidden": "true"
5529
+ }, null, -1)), createElementVNode("div", _hoisted_2$24, [_ctx.logo ? (openBlock(), createElementBlock("div", _hoisted_3$20, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
5530
+ viewBox: "0 0 100 100",
5531
+ width: "40",
5532
+ height: "40",
5533
+ "aria-hidden": "true"
5534
+ }, [
5535
+ createElementVNode("rect", {
5536
+ x: "8",
5537
+ y: "8",
5538
+ width: "84",
5539
+ height: "84",
5540
+ rx: "16",
5541
+ fill: "var(--authup-auth-logo-background, #34353a)"
5542
+ }),
5543
+ createElementVNode("circle", {
5544
+ cx: "50",
5545
+ cy: "42",
5546
+ r: "12",
5547
+ fill: "#fff"
5548
+ }),
5549
+ createElementVNode("path", {
5550
+ d: "M 41 44 L 59 44 L 55 68 L 45 68 Z",
5551
+ fill: "#fff"
5552
+ })
5553
+ ], -1)])])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")])]);
5554
+ }
5555
+ var AAuthShell_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AAuthShell_vue_vue_type_script_lang_default, [["render", _sfc_render$78]]);
5556
+ //#endregion
5557
+ //#region src/components/utility/AAuthBackLink.vue?vue&type=script&lang.ts
5558
+ var AAuthBackLink_vue_vue_type_script_lang_default = defineComponent({
5559
+ components: { VCLink },
5560
+ props: { link: { type: Object } },
5561
+ setup() {
5562
+ return { translations: useTranslations([{
5563
+ namespace: TranslatorTranslationNamespace.CLIENT,
5564
+ key: TranslatorTranslationClientKey.BACK_TO_LOGIN
5565
+ }]) };
5566
+ }
5567
+ });
5568
+ //#endregion
5569
+ //#region src/components/utility/AAuthBackLink.vue
5570
+ const _hoisted_1$42 = {
5571
+ key: 0,
5572
+ class: "text-center mt-3"
5573
+ };
5574
+ function _sfc_render$77(_ctx, _cache, $props, $setup, $data, $options) {
5575
+ const _component_VCIcon = resolveComponent("VCIcon");
5576
+ const _component_VCLink = resolveComponent("VCLink");
5577
+ return _ctx.link ? (openBlock(), createElementBlock("div", _hoisted_1$42, [createVNode(_component_VCLink, mergeProps(_ctx.link, { class: "a-auth-back-link" }), {
5578
+ default: withCtx(() => [createVNode(_component_VCIcon, { name: "fa6-solid:chevron-left" }), createTextVNode(" " + toDisplayString(_ctx.translations.backToLogin), 1)]),
5579
+ _: 1
5580
+ }, 16)])) : createCommentVNode("v-if", true);
5581
+ }
5582
+ var AAuthBackLink_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AAuthBackLink_vue_vue_type_script_lang_default, [["render", _sfc_render$77]]);
5583
+ //#endregion
5584
+ //#region src/components/utility/AColorModeSwitcher.vue?vue&type=script&lang.ts
5585
+ var AColorModeSwitcher_vue_vue_type_script_lang_default = defineComponent({
5586
+ props: { dark: {
5587
+ type: Boolean,
5588
+ default: false
5589
+ } },
5590
+ emits: ["update:dark"],
5591
+ setup(props, { emit }) {
5592
+ const translations = useTranslations([{
5593
+ namespace: TranslatorTranslationNamespace.COMMON,
5594
+ key: TranslatorTranslationCommonKey.SWITCH_TO_LIGHT_MODE
5595
+ }, {
5596
+ namespace: TranslatorTranslationNamespace.COMMON,
5597
+ key: TranslatorTranslationCommonKey.SWITCH_TO_DARK_MODE
5598
+ }]);
5599
+ const toggle = () => {
5600
+ emit("update:dark", !props.dark);
5601
+ };
5602
+ return {
5603
+ toggle,
5604
+ translations
5605
+ };
5606
+ }
5607
+ });
5608
+ //#endregion
5609
+ //#region src/components/utility/AColorModeSwitcher.vue
5610
+ const _hoisted_1$41 = ["aria-label", "aria-pressed"];
5611
+ function _sfc_render$76(_ctx, _cache, $props, $setup, $data, $options) {
5612
+ const _component_VCIcon = resolveComponent("VCIcon");
5613
+ return openBlock(), createElementBlock("button", {
5614
+ type: "button",
5615
+ "aria-label": _ctx.dark ? _ctx.translations.switchToLightMode : _ctx.translations.switchToDarkMode,
5616
+ "aria-pressed": _ctx.dark ? "true" : "false",
5617
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.toggle && _ctx.toggle(...args), ["prevent"]))
5618
+ }, [createVNode(_component_VCIcon, { name: _ctx.dark ? "fa6-solid:sun" : "fa6-solid:moon" }, null, 8, ["name"])], 8, _hoisted_1$41);
5619
+ }
5620
+ var AColorModeSwitcher_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AColorModeSwitcher_vue_vue_type_script_lang_default, [["render", _sfc_render$76]]);
5621
+ //#endregion
5622
+ //#region src/components/utility/AAuthGadgets.vue?vue&type=script&lang.ts
5623
+ var AAuthGadgets_vue_vue_type_script_lang_default = defineComponent({
5624
+ components: {
5625
+ AColorModeSwitcher: AColorModeSwitcher_default,
5626
+ ALanguageSwitcherDropdown
5627
+ },
5628
+ props: { dark: {
5629
+ type: Boolean,
5630
+ default: false
5631
+ } },
5632
+ emits: ["update:dark"]
5633
+ });
5634
+ //#endregion
5635
+ //#region src/components/utility/AAuthGadgets.vue
5636
+ const _hoisted_1$40 = { class: "a-auth-gadgets" };
5637
+ function _sfc_render$75(_ctx, _cache, $props, $setup, $data, $options) {
5638
+ const _component_AColorModeSwitcher = resolveComponent("AColorModeSwitcher");
5639
+ const _component_ALanguageSwitcherDropdown = resolveComponent("ALanguageSwitcherDropdown");
5640
+ return openBlock(), createElementBlock("div", _hoisted_1$40, [createVNode(_component_AColorModeSwitcher, {
5641
+ dark: _ctx.dark,
5642
+ class: "a-auth-gadget",
5643
+ "onUpdate:dark": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:dark", $event))
5644
+ }, null, 8, ["dark"]), createVNode(_component_ALanguageSwitcherDropdown, { "link-class-extra": "a-auth-gadget" })]);
5645
+ }
5646
+ var AAuthGadgets_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AAuthGadgets_vue_vue_type_script_lang_default, [["render", _sfc_render$75]]);
5647
+ //#endregion
5493
5648
  //#region src/components/utility/ANameInput.vue?vue&type=script&lang.ts
5494
5649
  /**
5495
5650
  * Name input with an attached "regenerate" button rendered inside the
@@ -5522,8 +5677,8 @@ var ANameInput_vue_vue_type_script_lang_default = defineComponent({
5522
5677
  emits: ["update:modelValue"],
5523
5678
  setup(props, { emit }) {
5524
5679
  const translationsDefault = useTranslations([{
5525
- namespace: core_exports.TranslatorTranslationNamespace.ACTION,
5526
- key: core_exports.TranslatorTranslationActionKey.GENERATE
5680
+ namespace: TranslatorTranslationNamespace.ACTION,
5681
+ key: TranslatorTranslationActionKey.GENERATE
5527
5682
  }]);
5528
5683
  const buttonLabel = computed(() => props.label ?? translationsDefault.generate);
5529
5684
  const onUpdate = (value) => {
@@ -5541,8 +5696,8 @@ var ANameInput_vue_vue_type_script_lang_default = defineComponent({
5541
5696
  });
5542
5697
  //#endregion
5543
5698
  //#region src/components/utility/ANameInput.vue
5544
- const _hoisted_1$34 = ["aria-label", "title"];
5545
- function _sfc_render$69(_ctx, _cache, $props, $setup, $data, $options) {
5699
+ const _hoisted_1$39 = ["aria-label", "title"];
5700
+ function _sfc_render$74(_ctx, _cache, $props, $setup, $data, $options) {
5546
5701
  const _component_VCIcon = resolveComponent("VCIcon");
5547
5702
  const _component_VCFormInput = resolveComponent("VCFormInput");
5548
5703
  return openBlock(), createBlock(_component_VCFormInput, {
@@ -5561,7 +5716,7 @@ function _sfc_render$69(_ctx, _cache, $props, $setup, $data, $options) {
5561
5716
  }, [createVNode(_component_VCIcon, {
5562
5717
  "aria-hidden": "true",
5563
5718
  name: "fa6-solid:arrows-rotate"
5564
- })], 10, _hoisted_1$34)]),
5719
+ })], 10, _hoisted_1$39)]),
5565
5720
  key: "0"
5566
5721
  } : void 0]), 1032, [
5567
5722
  "model-value",
@@ -5570,7 +5725,7 @@ function _sfc_render$69(_ctx, _cache, $props, $setup, $data, $options) {
5570
5725
  "onUpdate:modelValue"
5571
5726
  ]);
5572
5727
  }
5573
- var ANameInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ANameInput_vue_vue_type_script_lang_default, [["render", _sfc_render$69]]);
5728
+ var ANameInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ANameInput_vue_vue_type_script_lang_default, [["render", _sfc_render$74]]);
5574
5729
  //#endregion
5575
5730
  //#region src/components/utility/ASecretInput.vue?vue&type=script&lang.ts
5576
5731
  /**
@@ -5609,8 +5764,8 @@ var ASecretInput_vue_vue_type_script_lang_default = defineComponent({
5609
5764
  emits: ["update:modelValue"],
5610
5765
  setup(props, { emit }) {
5611
5766
  const translationsDefault = useTranslations([{
5612
- namespace: core_exports.TranslatorTranslationNamespace.ACTION,
5613
- key: core_exports.TranslatorTranslationActionKey.GENERATE
5767
+ namespace: TranslatorTranslationNamespace.ACTION,
5768
+ key: TranslatorTranslationActionKey.GENERATE
5614
5769
  }]);
5615
5770
  const buttonLabel = computed(() => props.label ?? translationsDefault.generate);
5616
5771
  const onUpdate = (value) => {
@@ -5628,8 +5783,8 @@ var ASecretInput_vue_vue_type_script_lang_default = defineComponent({
5628
5783
  });
5629
5784
  //#endregion
5630
5785
  //#region src/components/utility/ASecretInput.vue
5631
- const _hoisted_1$33 = ["aria-label", "title"];
5632
- function _sfc_render$68(_ctx, _cache, $props, $setup, $data, $options) {
5786
+ const _hoisted_1$38 = ["aria-label", "title"];
5787
+ function _sfc_render$73(_ctx, _cache, $props, $setup, $data, $options) {
5633
5788
  const _component_VCIcon = resolveComponent("VCIcon");
5634
5789
  const _component_VCFormInput = resolveComponent("VCFormInput");
5635
5790
  return openBlock(), createBlock(_component_VCFormInput, {
@@ -5648,7 +5803,7 @@ function _sfc_render$68(_ctx, _cache, $props, $setup, $data, $options) {
5648
5803
  }, [createVNode(_component_VCIcon, {
5649
5804
  "aria-hidden": "true",
5650
5805
  name: "fa6-solid:arrows-rotate"
5651
- })], 10, _hoisted_1$33)]),
5806
+ })], 10, _hoisted_1$38)]),
5652
5807
  key: "0"
5653
5808
  } : void 0]), 1032, [
5654
5809
  "model-value",
@@ -5657,7 +5812,7 @@ function _sfc_render$68(_ctx, _cache, $props, $setup, $data, $options) {
5657
5812
  "onUpdate:modelValue"
5658
5813
  ]);
5659
5814
  }
5660
- var ASecretInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ASecretInput_vue_vue_type_script_lang_default, [["render", _sfc_render$68]]);
5815
+ var ASecretInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ASecretInput_vue_vue_type_script_lang_default, [["render", _sfc_render$73]]);
5661
5816
  //#endregion
5662
5817
  //#region src/components/utility/AToggleButton.vue?vue&type=script&lang.ts
5663
5818
  /**
@@ -5699,13 +5854,13 @@ var AToggleButton_vue_vue_type_script_lang_default = defineComponent({
5699
5854
  });
5700
5855
  //#endregion
5701
5856
  //#region src/components/utility/AToggleButton.vue
5702
- const _hoisted_1$32 = [
5857
+ const _hoisted_1$37 = [
5703
5858
  "aria-label",
5704
5859
  "aria-busy",
5705
5860
  "aria-pressed",
5706
5861
  "disabled"
5707
5862
  ];
5708
- function _sfc_render$67(_ctx, _cache, $props, $setup, $data, $options) {
5863
+ function _sfc_render$72(_ctx, _cache, $props, $setup, $data, $options) {
5709
5864
  const _component_VCIcon = resolveComponent("VCIcon");
5710
5865
  return openBlock(), createElementBlock("button", {
5711
5866
  type: "button",
@@ -5722,9 +5877,9 @@ function _sfc_render$67(_ctx, _cache, $props, $setup, $data, $options) {
5722
5877
  }, [createVNode(_component_VCIcon, {
5723
5878
  "aria-hidden": "true",
5724
5879
  name: _ctx.isBusy ? "fa6-solid:question" : _ctx.value ? "fa6-solid:minus" : "fa6-solid:plus"
5725
- }, null, 8, ["name"])], 10, _hoisted_1$32);
5880
+ }, null, 8, ["name"])], 10, _hoisted_1$37);
5726
5881
  }
5727
- var AToggleButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AToggleButton_vue_vue_type_script_lang_default, [["render", _sfc_render$67]]);
5882
+ var AToggleButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AToggleButton_vue_vue_type_script_lang_default, [["render", _sfc_render$72]]);
5728
5883
  //#endregion
5729
5884
  //#region src/components/entities/client/AClient.ts
5730
5885
  const AClient = defineComponent({
@@ -5849,20 +6004,20 @@ var ARealmForm_vue_vue_type_script_lang_default = defineComponent({
5849
6004
  isMaster,
5850
6005
  translationsDefault: useTranslations([
5851
6006
  {
5852
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
5853
- key: core_exports.TranslatorTranslationFieldKey.NAME
6007
+ namespace: TranslatorTranslationNamespace.FIELD,
6008
+ key: TranslatorTranslationFieldKey.NAME
5854
6009
  },
5855
6010
  {
5856
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
5857
- key: core_exports.TranslatorTranslationFieldKey.DISPLAY_NAME
6011
+ namespace: TranslatorTranslationNamespace.FIELD,
6012
+ key: TranslatorTranslationFieldKey.DISPLAY_NAME
5858
6013
  },
5859
6014
  {
5860
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
5861
- key: core_exports.TranslatorTranslationFieldKey.DESCRIPTION
6015
+ namespace: TranslatorTranslationNamespace.FIELD,
6016
+ key: TranslatorTranslationFieldKey.DESCRIPTION
5862
6017
  },
5863
6018
  {
5864
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
5865
- key: core_exports.TranslatorTranslationEntityKey.REALM,
6019
+ namespace: TranslatorTranslationNamespace.ENTITY,
6020
+ key: TranslatorTranslationEntityKey.REALM,
5866
6021
  count: 1
5867
6022
  }
5868
6023
  ]),
@@ -5872,7 +6027,7 @@ var ARealmForm_vue_vue_type_script_lang_default = defineComponent({
5872
6027
  });
5873
6028
  //#endregion
5874
6029
  //#region src/components/entities/realm/ARealmForm.vue
5875
- function _sfc_render$66(_ctx, _cache, $props, $setup, $data, $options) {
6030
+ function _sfc_render$71(_ctx, _cache, $props, $setup, $data, $options) {
5876
6031
  const _component_ANameInput = resolveComponent("ANameInput");
5877
6032
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
5878
6033
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -5936,7 +6091,149 @@ function _sfc_render$66(_ctx, _cache, $props, $setup, $data, $options) {
5936
6091
  ])
5937
6092
  ], 32);
5938
6093
  }
5939
- var ARealmForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARealmForm_vue_vue_type_script_lang_default, [["render", _sfc_render$66]]);
6094
+ var ARealmForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARealmForm_vue_vue_type_script_lang_default, [["render", _sfc_render$71]]);
6095
+ //#endregion
6096
+ //#region src/components/entities/realm/ARealmGrid.vue?vue&type=script&lang.ts
6097
+ var ARealmGrid_vue_vue_type_script_lang_default = defineComponent({
6098
+ props: {
6099
+ autoSelectSingle: {
6100
+ type: Boolean,
6101
+ default: true
6102
+ },
6103
+ searchThreshold: {
6104
+ type: Number,
6105
+ default: 8
6106
+ }
6107
+ },
6108
+ emits: ["select"],
6109
+ setup(props, { emit }) {
6110
+ const client = injectHTTPClient();
6111
+ const translations = useTranslations([{
6112
+ namespace: TranslatorTranslationNamespace.COMMON,
6113
+ key: TranslatorTranslationCommonKey.SEARCH
6114
+ }, {
6115
+ namespace: TranslatorTranslationNamespace.COMMON,
6116
+ key: TranslatorTranslationCommonKey.NO_RESULTS
6117
+ }]);
6118
+ const items = ref([]);
6119
+ const busy = ref(false);
6120
+ const loaded = ref(false);
6121
+ const error = ref(null);
6122
+ const search = ref("");
6123
+ const redirecting = ref(false);
6124
+ const load = async () => {
6125
+ if (busy.value) return;
6126
+ busy.value = true;
6127
+ error.value = null;
6128
+ try {
6129
+ items.value = (await client.realm.getMany({
6130
+ sort: { name: "ASC" },
6131
+ pagination: { limit: 100 }
6132
+ })).data;
6133
+ if (props.autoSelectSingle && items.value.length === 1) {
6134
+ redirecting.value = true;
6135
+ emit("select", items.value[0]);
6136
+ }
6137
+ } catch (e) {
6138
+ error.value = e instanceof Error ? e.message : "The realms could not be loaded.";
6139
+ } finally {
6140
+ busy.value = false;
6141
+ loaded.value = true;
6142
+ }
6143
+ };
6144
+ onMounted(() => load());
6145
+ const showSearch = computed(() => items.value.length > props.searchThreshold);
6146
+ const filtered = computed(() => {
6147
+ const term = search.value.trim().toLowerCase();
6148
+ if (!term) return items.value;
6149
+ return items.value.filter((realm) => {
6150
+ return `${realm.display_name || ""} ${realm.name || ""}`.toLowerCase().includes(term);
6151
+ });
6152
+ });
6153
+ const labelFor = (realm) => realm.display_name || realm.name;
6154
+ const slugFor = (realm) => realm.display_name && realm.display_name !== realm.name ? realm.name : null;
6155
+ const handleSelect = (realm) => {
6156
+ emit("select", realm);
6157
+ };
6158
+ const reset = () => {
6159
+ redirecting.value = false;
6160
+ };
6161
+ return {
6162
+ items,
6163
+ busy,
6164
+ loaded,
6165
+ error,
6166
+ search,
6167
+ redirecting,
6168
+ showSearch,
6169
+ filtered,
6170
+ translations,
6171
+ labelFor,
6172
+ slugFor,
6173
+ handleSelect,
6174
+ reset
6175
+ };
6176
+ }
6177
+ });
6178
+ //#endregion
6179
+ //#region src/components/entities/realm/ARealmGrid.vue
6180
+ const _hoisted_1$36 = { class: "a-realm-select" };
6181
+ const _hoisted_2$23 = {
6182
+ key: 0,
6183
+ class: "alert alert-danger a-realm-select-alert"
6184
+ };
6185
+ const _hoisted_3$19 = {
6186
+ key: 1,
6187
+ class: "a-realm-grid",
6188
+ "aria-hidden": "true"
6189
+ };
6190
+ const _hoisted_4$17 = {
6191
+ key: 0,
6192
+ class: "a-realm-search"
6193
+ };
6194
+ const _hoisted_5$12 = ["placeholder"];
6195
+ const _hoisted_6$10 = {
6196
+ key: 1,
6197
+ class: "a-realm-empty"
6198
+ };
6199
+ const _hoisted_7$6 = {
6200
+ key: 2,
6201
+ class: "a-realm-grid"
6202
+ };
6203
+ const _hoisted_8$3 = ["onClick"];
6204
+ const _hoisted_9$1 = { class: "a-realm-grid-item-name" };
6205
+ const _hoisted_10$1 = {
6206
+ key: 0,
6207
+ class: "a-realm-grid-item-slug"
6208
+ };
6209
+ function _sfc_render$70(_ctx, _cache, $props, $setup, $data, $options) {
6210
+ const _component_VCIcon = resolveComponent("VCIcon");
6211
+ return openBlock(), createElementBlock("div", _hoisted_1$36, [_ctx.error ? (openBlock(), createElementBlock("div", _hoisted_2$23, toDisplayString(_ctx.error), 1)) : createCommentVNode("v-if", true), !_ctx.loaded || _ctx.busy || _ctx.redirecting ? (openBlock(), createElementBlock("div", _hoisted_3$19, [(openBlock(), createElementBlock(Fragment, null, renderList(6, (n) => {
6212
+ return createElementVNode("div", {
6213
+ key: n,
6214
+ class: "a-realm-grid-item a-realm-grid-item--skeleton"
6215
+ });
6216
+ }), 64))])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [_ctx.showSearch ? (openBlock(), createElementBlock("div", _hoisted_4$17, [createVNode(_component_VCIcon, {
6217
+ name: "fa6-solid:magnifying-glass",
6218
+ class: "a-realm-search-icon"
6219
+ }), withDirectives(createElementVNode("input", {
6220
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.search = $event),
6221
+ type: "text",
6222
+ class: "a-realm-search-input",
6223
+ placeholder: _ctx.translations.search
6224
+ }, null, 8, _hoisted_5$12), [[vModelText, _ctx.search]])])) : createCommentVNode("v-if", true), _ctx.filtered.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$10, [createVNode(_component_VCIcon, {
6225
+ name: "fa6-solid:folder-open",
6226
+ class: "a-realm-empty-icon"
6227
+ }), createElementVNode("span", null, toDisplayString(_ctx.translations.noResults), 1)])) : (openBlock(), createElementBlock("div", _hoisted_7$6, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.filtered, (realm) => {
6228
+ return openBlock(), createElementBlock("button", {
6229
+ key: realm.id,
6230
+ type: "button",
6231
+ class: "a-realm-grid-item",
6232
+ onClick: withModifiers(($event) => _ctx.handleSelect(realm), ["prevent"])
6233
+ }, [createElementVNode("span", _hoisted_9$1, toDisplayString(_ctx.labelFor(realm)), 1), _ctx.slugFor(realm) ? (openBlock(), createElementBlock("span", _hoisted_10$1, toDisplayString(_ctx.slugFor(realm)), 1)) : createCommentVNode("v-if", true)], 8, _hoisted_8$3);
6234
+ }), 128))]))], 64))]);
6235
+ }
6236
+ var ARealmGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARealmGrid_vue_vue_type_script_lang_default, [["render", _sfc_render$70]]);
5940
6237
  //#endregion
5941
6238
  //#region src/components/entities/realm/ARealms.ts
5942
6239
  const ARealms = defineComponent({
@@ -5950,13 +6247,13 @@ const ARealms = defineComponent({
5950
6247
  setup: ctx
5951
6248
  });
5952
6249
  const translationsName = useTranslation({
5953
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
5954
- key: core_exports.TranslatorTranslationEntityKey.REALM,
6250
+ namespace: TranslatorTranslationNamespace.ENTITY,
6251
+ key: TranslatorTranslationEntityKey.REALM,
5955
6252
  count: 2
5956
6253
  });
5957
6254
  const translation = useTranslation({
5958
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
5959
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
6255
+ namespace: TranslatorTranslationNamespace.VUECS,
6256
+ key: TranslatorTranslationVuecsKey.NO_MORE,
5960
6257
  data: { name: translationsName }
5961
6258
  });
5962
6259
  return () => render({ noMore: { content: translation.value } });
@@ -6059,39 +6356,39 @@ var AClientForm_vue_vue_type_script_lang_default = defineComponent({
6059
6356
  await manager.createOrUpdate(form);
6060
6357
  assignFormProperties(form, manager.data.value);
6061
6358
  };
6062
- const translationsClient = useTranslationsForNamespace(core_exports.TranslatorTranslationNamespace.CLIENT, [
6063
- { key: core_exports.TranslatorTranslationClientKey.NAME_HINT },
6064
- { key: core_exports.TranslatorTranslationClientKey.DESCRIPTION_HINT },
6065
- { key: core_exports.TranslatorTranslationClientKey.REDIRECT_URI_HINT },
6066
- { key: core_exports.TranslatorTranslationClientKey.IS_CONFIDENTIAL },
6067
- { key: core_exports.TranslatorTranslationClientKey.IS_ACTIVE },
6068
- { key: core_exports.TranslatorTranslationClientKey.HASH_SECRET }
6359
+ const translationsClient = useTranslationsForNamespace(TranslatorTranslationNamespace.CLIENT, [
6360
+ { key: TranslatorTranslationClientKey.NAME_HINT },
6361
+ { key: TranslatorTranslationClientKey.DESCRIPTION_HINT },
6362
+ { key: TranslatorTranslationClientKey.REDIRECT_URI_HINT },
6363
+ { key: TranslatorTranslationClientKey.IS_CONFIDENTIAL },
6364
+ { key: TranslatorTranslationClientKey.IS_ACTIVE },
6365
+ { key: TranslatorTranslationClientKey.HASH_SECRET }
6069
6366
  ]);
6070
6367
  const translationsDefault = useTranslations([
6071
6368
  {
6072
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6073
- key: core_exports.TranslatorTranslationFieldKey.NAME
6369
+ namespace: TranslatorTranslationNamespace.FIELD,
6370
+ key: TranslatorTranslationFieldKey.NAME
6074
6371
  },
6075
6372
  {
6076
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6077
- key: core_exports.TranslatorTranslationFieldKey.DISPLAY_NAME
6373
+ namespace: TranslatorTranslationNamespace.FIELD,
6374
+ key: TranslatorTranslationFieldKey.DISPLAY_NAME
6078
6375
  },
6079
6376
  {
6080
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6081
- key: core_exports.TranslatorTranslationFieldKey.DESCRIPTION
6377
+ namespace: TranslatorTranslationNamespace.FIELD,
6378
+ key: TranslatorTranslationFieldKey.DESCRIPTION
6082
6379
  },
6083
6380
  {
6084
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
6085
- key: core_exports.TranslatorTranslationEntityKey.REALM,
6381
+ namespace: TranslatorTranslationNamespace.ENTITY,
6382
+ key: TranslatorTranslationEntityKey.REALM,
6086
6383
  count: 1
6087
6384
  },
6088
6385
  {
6089
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6090
- key: core_exports.TranslatorTranslationFieldKey.REDIRECT_URIS
6386
+ namespace: TranslatorTranslationNamespace.FIELD,
6387
+ key: TranslatorTranslationFieldKey.REDIRECT_URIS
6091
6388
  },
6092
6389
  {
6093
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6094
- key: core_exports.TranslatorTranslationFieldKey.SECRET
6390
+ namespace: TranslatorTranslationNamespace.FIELD,
6391
+ key: TranslatorTranslationFieldKey.SECRET
6095
6392
  }
6096
6393
  ]);
6097
6394
  const redirectUris = computed(() => {
@@ -6114,18 +6411,18 @@ var AClientForm_vue_vue_type_script_lang_default = defineComponent({
6114
6411
  });
6115
6412
  //#endregion
6116
6413
  //#region src/components/entities/client/AClientForm.vue
6117
- const _hoisted_1$31 = { class: "row" };
6118
- const _hoisted_2$18 = { class: "col" };
6119
- const _hoisted_3$14 = {
6414
+ const _hoisted_1$35 = { class: "row" };
6415
+ const _hoisted_2$22 = { class: "col" };
6416
+ const _hoisted_3$18 = {
6120
6417
  key: 0,
6121
6418
  class: "text-error-600 font-bold"
6122
6419
  };
6123
- const _hoisted_4$12 = { class: "row" };
6420
+ const _hoisted_4$16 = { class: "row" };
6124
6421
  const _hoisted_5$11 = { class: "col" };
6125
6422
  const _hoisted_6$9 = { class: "col" };
6126
- const _hoisted_7$4 = { class: "col" };
6423
+ const _hoisted_7$5 = { class: "col" };
6127
6424
  const _hoisted_8$2 = { class: "col" };
6128
- function _sfc_render$65(_ctx, _cache, $props, $setup, $data, $options) {
6425
+ function _sfc_render$69(_ctx, _cache, $props, $setup, $data, $options) {
6129
6426
  const _component_VCFormInput = resolveComponent("VCFormInput");
6130
6427
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
6131
6428
  const _component_ANameInput = resolveComponent("ANameInput");
@@ -6137,7 +6434,7 @@ function _sfc_render$65(_ctx, _cache, $props, $setup, $data, $options) {
6137
6434
  const _component_AFormInputList = resolveComponent("AFormInputList");
6138
6435
  const _component_VCFormTextarea = resolveComponent("VCFormTextarea");
6139
6436
  const _component_AFormSubmit = resolveComponent("AFormSubmit");
6140
- return openBlock(), createElementBlock("div", _hoisted_1$31, [createElementVNode("div", _hoisted_2$18, [
6437
+ return openBlock(), createElementBlock("div", _hoisted_1$35, [createElementVNode("div", _hoisted_2$22, [
6141
6438
  _ctx.data ? (openBlock(), createBlock(_component_VCFormGroup, { key: 0 }, {
6142
6439
  label: withCtx(() => [..._cache[1] || (_cache[1] = [createTextVNode(" ID ", -1)])]),
6143
6440
  default: withCtx(() => [createVNode(_component_VCFormInput, {
@@ -6183,7 +6480,7 @@ function _sfc_render$65(_ctx, _cache, $props, $setup, $data, $options) {
6183
6480
  }, 8, ["field"]),
6184
6481
  createVNode(_component_IFieldValidation, { field: _ctx.v.fields.secret }, {
6185
6482
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
6186
- label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.secret) + " ", 1), _ctx.isSecretHashed ? (openBlock(), createElementBlock("span", _hoisted_3$14, [createVNode(_component_VCIcon, { name: "fa6-solid:triangle-exclamation" })])) : createCommentVNode("v-if", true)]),
6483
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.secret) + " ", 1), _ctx.isSecretHashed ? (openBlock(), createElementBlock("span", _hoisted_3$18, [createVNode(_component_VCIcon, { name: "fa6-solid:triangle-exclamation" })])) : createCommentVNode("v-if", true)]),
6187
6484
  default: withCtx(() => [createVNode(_component_ASecretInput, {
6188
6485
  "model-value": _ctx.v.fields.secret.$model.value ?? "",
6189
6486
  disabled: !_ctx.v.fields.is_confidential.$model.value,
@@ -6199,7 +6496,7 @@ function _sfc_render$65(_ctx, _cache, $props, $setup, $data, $options) {
6199
6496
  }, 1032, ["validation"])]),
6200
6497
  _: 1
6201
6498
  }, 8, ["field"]),
6202
- createElementVNode("div", _hoisted_4$12, [
6499
+ createElementVNode("div", _hoisted_4$16, [
6203
6500
  createElementVNode("div", _hoisted_5$11, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.is_confidential }, {
6204
6501
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
6205
6502
  default: withCtx(() => [createVNode(_component_VCFormSwitch, {
@@ -6232,7 +6529,7 @@ function _sfc_render$65(_ctx, _cache, $props, $setup, $data, $options) {
6232
6529
  }, 1032, ["validation"])]),
6233
6530
  _: 1
6234
6531
  }, 8, ["field"])]),
6235
- createElementVNode("div", _hoisted_7$4, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.active }, {
6532
+ createElementVNode("div", _hoisted_7$5, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.active }, {
6236
6533
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
6237
6534
  default: withCtx(() => [createVNode(_component_VCFormSwitch, {
6238
6535
  modelValue: _ctx.v.fields.active.$model.value,
@@ -6308,7 +6605,7 @@ function _sfc_render$65(_ctx, _cache, $props, $setup, $data, $options) {
6308
6605
  ])])
6309
6606
  ])]);
6310
6607
  }
6311
- var AClientForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientForm_vue_vue_type_script_lang_default, [["render", _sfc_render$65]]);
6608
+ var AClientForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientForm_vue_vue_type_script_lang_default, [["render", _sfc_render$69]]);
6312
6609
  //#endregion
6313
6610
  //#region src/components/entities/client/AClients.ts
6314
6611
  const AClients = defineComponent({
@@ -6322,13 +6619,13 @@ const AClients = defineComponent({
6322
6619
  setup: ctx
6323
6620
  });
6324
6621
  const translationName = useTranslation({
6325
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
6326
- key: core_exports.TranslatorTranslationEntityKey.CLIENT,
6622
+ namespace: TranslatorTranslationNamespace.ENTITY,
6623
+ key: TranslatorTranslationEntityKey.CLIENT,
6327
6624
  count: 2
6328
6625
  });
6329
6626
  const translation = useTranslation({
6330
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
6331
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
6627
+ namespace: TranslatorTranslationNamespace.VUECS,
6628
+ key: TranslatorTranslationVuecsKey.NO_MORE,
6332
6629
  data: { name: translationName }
6333
6630
  });
6334
6631
  return () => render({ noMore: { content: translation.value } });
@@ -6471,24 +6768,24 @@ var APermissionForm_vue_vue_type_script_lang_default = defineComponent({
6471
6768
  };
6472
6769
  const translationsDefault = useTranslations([
6473
6770
  {
6474
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6475
- key: core_exports.TranslatorTranslationFieldKey.NAME
6771
+ namespace: TranslatorTranslationNamespace.FIELD,
6772
+ key: TranslatorTranslationFieldKey.NAME
6476
6773
  },
6477
6774
  {
6478
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6479
- key: core_exports.TranslatorTranslationFieldKey.DISPLAY_NAME
6775
+ namespace: TranslatorTranslationNamespace.FIELD,
6776
+ key: TranslatorTranslationFieldKey.DISPLAY_NAME
6480
6777
  },
6481
6778
  {
6482
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6483
- key: core_exports.TranslatorTranslationFieldKey.DESCRIPTION
6779
+ namespace: TranslatorTranslationNamespace.FIELD,
6780
+ key: TranslatorTranslationFieldKey.DESCRIPTION
6484
6781
  },
6485
6782
  {
6486
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
6487
- key: core_exports.TranslatorTranslationFieldKey.DECISION_STRATEGY
6783
+ namespace: TranslatorTranslationNamespace.FIELD,
6784
+ key: TranslatorTranslationFieldKey.DECISION_STRATEGY
6488
6785
  },
6489
6786
  {
6490
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
6491
- key: core_exports.TranslatorTranslationEntityKey.REALM,
6787
+ namespace: TranslatorTranslationNamespace.ENTITY,
6788
+ key: TranslatorTranslationEntityKey.REALM,
6492
6789
  count: 1
6493
6790
  }
6494
6791
  ]);
@@ -6507,8 +6804,8 @@ var APermissionForm_vue_vue_type_script_lang_default = defineComponent({
6507
6804
  });
6508
6805
  //#endregion
6509
6806
  //#region src/components/entities/permission/APermissionForm.vue
6510
- const _hoisted_1$30 = { class: "alert alert-sm alert-info mt-1 mb-0" };
6511
- function _sfc_render$64(_ctx, _cache, $props, $setup, $data, $options) {
6807
+ const _hoisted_1$34 = { class: "alert alert-sm alert-info mt-1 mb-0" };
6808
+ function _sfc_render$68(_ctx, _cache, $props, $setup, $data, $options) {
6512
6809
  const _component_ANameInput = resolveComponent("ANameInput");
6513
6810
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
6514
6811
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -6573,7 +6870,7 @@ function _sfc_render$64(_ctx, _cache, $props, $setup, $data, $options) {
6573
6870
  "modelValue",
6574
6871
  "onUpdate:modelValue",
6575
6872
  "options"
6576
- ]), createElementVNode("div", _hoisted_1$30, toDisplayString(_ctx.decisionStrategyHint), 1)]),
6873
+ ]), createElementVNode("div", _hoisted_1$34, toDisplayString(_ctx.decisionStrategyHint), 1)]),
6577
6874
  _: 2
6578
6875
  }, 1032, ["validation"])]),
6579
6876
  _: 1
@@ -6608,7 +6905,7 @@ function _sfc_render$64(_ctx, _cache, $props, $setup, $data, $options) {
6608
6905
  ])
6609
6906
  ], 32);
6610
6907
  }
6611
- var APermissionForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionForm_vue_vue_type_script_lang_default, [["render", _sfc_render$64]]);
6908
+ var APermissionForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionForm_vue_vue_type_script_lang_default, [["render", _sfc_render$68]]);
6612
6909
  //#endregion
6613
6910
  //#region src/components/entities/permission/APermissions.ts
6614
6911
  const APermissions = defineComponent({
@@ -6622,13 +6919,13 @@ const APermissions = defineComponent({
6622
6919
  setup
6623
6920
  });
6624
6921
  const translationName = useTranslation({
6625
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
6626
- key: core_exports.TranslatorTranslationEntityKey.PERMISSION,
6922
+ namespace: TranslatorTranslationNamespace.ENTITY,
6923
+ key: TranslatorTranslationEntityKey.PERMISSION,
6627
6924
  count: 2
6628
6925
  });
6629
6926
  const translation = useTranslation({
6630
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
6631
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
6927
+ namespace: TranslatorTranslationNamespace.VUECS,
6928
+ key: TranslatorTranslationVuecsKey.NO_MORE,
6632
6929
  data: { name: translationName }
6633
6930
  });
6634
6931
  return () => render({ noMore: { content: translation.value } });
@@ -6647,13 +6944,13 @@ const APolicies = defineComponent({
6647
6944
  setup
6648
6945
  });
6649
6946
  const translationName = useTranslation({
6650
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
6651
- key: core_exports.TranslatorTranslationEntityKey.POLICY,
6947
+ namespace: TranslatorTranslationNamespace.ENTITY,
6948
+ key: TranslatorTranslationEntityKey.POLICY,
6652
6949
  count: 2
6653
6950
  });
6654
6951
  const translation = useTranslation({
6655
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
6656
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
6952
+ namespace: TranslatorTranslationNamespace.VUECS,
6953
+ key: TranslatorTranslationVuecsKey.NO_MORE,
6657
6954
  data: { name: translationName }
6658
6955
  });
6659
6956
  return () => render({ noMore: { content: translation.value } });
@@ -6682,11 +6979,11 @@ var APolicyTypeBadge_vue_vue_type_script_lang_default = defineComponent({
6682
6979
  });
6683
6980
  //#endregion
6684
6981
  //#region src/components/entities/policy/APolicyTypeBadge.vue
6685
- const _hoisted_1$29 = { class: "badge bg-info-500" };
6686
- function _sfc_render$63(_ctx, _cache, $props, $setup, $data, $options) {
6687
- return openBlock(), createElementBlock("span", _hoisted_1$29, toDisplayString(_ctx.typeLabels[_ctx.type] || _ctx.type), 1);
6982
+ const _hoisted_1$33 = { class: "badge bg-info-500" };
6983
+ function _sfc_render$67(_ctx, _cache, $props, $setup, $data, $options) {
6984
+ return openBlock(), createElementBlock("span", _hoisted_1$33, toDisplayString(_ctx.typeLabels[_ctx.type] || _ctx.type), 1);
6688
6985
  }
6689
- var APolicyTypeBadge_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyTypeBadge_vue_vue_type_script_lang_default, [["render", _sfc_render$63]]);
6986
+ var APolicyTypeBadge_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyTypeBadge_vue_vue_type_script_lang_default, [["render", _sfc_render$67]]);
6690
6987
  //#endregion
6691
6988
  //#region src/components/entities/policy/APolicyDetailNav.vue?vue&type=script&lang.ts
6692
6989
  var APolicyDetailNav_vue_vue_type_script_lang_default = defineComponent({
@@ -6697,8 +6994,8 @@ var APolicyDetailNav_vue_vue_type_script_lang_default = defineComponent({
6697
6994
  emits: ["click"],
6698
6995
  setup(props, { emit }) {
6699
6996
  const viewPolicyDetails = useTranslation({
6700
- namespace: core_exports.TranslatorTranslationNamespace.CLIENT,
6701
- key: core_exports.TranslatorTranslationClientKey.VIEW_POLICY_DETAILS
6997
+ namespace: TranslatorTranslationNamespace.CLIENT,
6998
+ key: TranslatorTranslationClientKey.VIEW_POLICY_DETAILS
6702
6999
  });
6703
7000
  const handleClick = (e) => {
6704
7001
  e.preventDefault();
@@ -6712,8 +7009,8 @@ var APolicyDetailNav_vue_vue_type_script_lang_default = defineComponent({
6712
7009
  });
6713
7010
  //#endregion
6714
7011
  //#region src/components/entities/policy/APolicyDetailNav.vue
6715
- const _hoisted_1$28 = ["title", "aria-label"];
6716
- function _sfc_render$62(_ctx, _cache, $props, $setup, $data, $options) {
7012
+ const _hoisted_1$32 = ["title", "aria-label"];
7013
+ function _sfc_render$66(_ctx, _cache, $props, $setup, $data, $options) {
6717
7014
  const _component_VCIcon = resolveComponent("VCIcon");
6718
7015
  return openBlock(), createElementBlock("button", {
6719
7016
  type: "button",
@@ -6721,9 +7018,9 @@ function _sfc_render$62(_ctx, _cache, $props, $setup, $data, $options) {
6721
7018
  title: _ctx.viewPolicyDetails,
6722
7019
  "aria-label": _ctx.viewPolicyDetails,
6723
7020
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
6724
- }, [createVNode(_component_VCIcon, { name: "fa6-solid:eye" })], 8, _hoisted_1$28);
7021
+ }, [createVNode(_component_VCIcon, { name: "fa6-solid:eye" })], 8, _hoisted_1$32);
6725
7022
  }
6726
- var APolicyDetailNav_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyDetailNav_vue_vue_type_script_lang_default, [["render", _sfc_render$62]]);
7023
+ var APolicyDetailNav_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyDetailNav_vue_vue_type_script_lang_default, [["render", _sfc_render$66]]);
6727
7024
  //#endregion
6728
7025
  //#region src/components/entities/policy/APolicyInlineInfo.vue?vue&type=script&lang.ts
6729
7026
  var APolicyInlineInfo_vue_vue_type_script_lang_default = defineComponent({
@@ -6745,23 +7042,23 @@ var APolicyInlineInfo_vue_vue_type_script_lang_default = defineComponent({
6745
7042
  });
6746
7043
  //#endregion
6747
7044
  //#region src/components/entities/policy/APolicyInlineInfo.vue
6748
- const _hoisted_1$27 = {
7045
+ const _hoisted_1$31 = {
6749
7046
  key: 0,
6750
7047
  class: "badge bg-warning-500"
6751
7048
  };
6752
- function _sfc_render$61(_ctx, _cache, $props, $setup, $data, $options) {
7049
+ function _sfc_render$65(_ctx, _cache, $props, $setup, $data, $options) {
6753
7050
  const _component_APolicyTypeBadge = resolveComponent("APolicyTypeBadge");
6754
7051
  const _component_APolicyDetailNav = resolveComponent("APolicyDetailNav");
6755
7052
  return openBlock(), createElementBlock(Fragment, null, [
6756
7053
  createVNode(_component_APolicyTypeBadge, { type: _ctx.entity.type }, null, 8, ["type"]),
6757
- _ctx.entity.invert ? (openBlock(), createElementBlock("span", _hoisted_1$27, "Inverted")) : createCommentVNode("v-if", true),
7054
+ _ctx.entity.invert ? (openBlock(), createElementBlock("span", _hoisted_1$31, "Inverted")) : createCommentVNode("v-if", true),
6758
7055
  createVNode(_component_APolicyDetailNav, {
6759
7056
  "policy-id": _ctx.entity.id,
6760
7057
  onClick: _ctx.handleDetail
6761
7058
  }, null, 8, ["policy-id", "onClick"])
6762
7059
  ], 64);
6763
7060
  }
6764
- var APolicyInlineInfo_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyInlineInfo_vue_vue_type_script_lang_default, [["render", _sfc_render$61]]);
7061
+ var APolicyInlineInfo_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyInlineInfo_vue_vue_type_script_lang_default, [["render", _sfc_render$65]]);
6765
7062
  //#endregion
6766
7063
  //#region src/components/entities/policy/APolicySummary.vue?vue&type=script&lang.ts
6767
7064
  var APolicySummary_vue_vue_type_script_lang_default = defineComponent({
@@ -6773,13 +7070,13 @@ var APolicySummary_vue_vue_type_script_lang_default = defineComponent({
6773
7070
  });
6774
7071
  //#endregion
6775
7072
  //#region src/components/entities/policy/APolicySummary.vue
6776
- const _hoisted_1$26 = { class: "flex flex-row gap-2 mb-2" };
6777
- const _hoisted_2$17 = { class: "flex flex-row gap-2 mb-2" };
6778
- const _hoisted_3$13 = {
7073
+ const _hoisted_1$30 = { class: "flex flex-row gap-2 mb-2" };
7074
+ const _hoisted_2$21 = { class: "flex flex-row gap-2 mb-2" };
7075
+ const _hoisted_3$17 = {
6779
7076
  key: 0,
6780
7077
  class: "flex flex-row gap-2 mb-2"
6781
7078
  };
6782
- const _hoisted_4$11 = {
7079
+ const _hoisted_4$15 = {
6783
7080
  key: 1,
6784
7081
  class: "flex flex-row gap-2 mb-2"
6785
7082
  };
@@ -6791,18 +7088,18 @@ const _hoisted_6$8 = {
6791
7088
  key: 3,
6792
7089
  class: "flex flex-row gap-2 mb-2"
6793
7090
  };
6794
- function _sfc_render$60(_ctx, _cache, $props, $setup, $data, $options) {
7091
+ function _sfc_render$64(_ctx, _cache, $props, $setup, $data, $options) {
6795
7092
  const _component_APolicyTypeBadge = resolveComponent("APolicyTypeBadge");
6796
7093
  return openBlock(), createElementBlock("div", null, [
6797
- createElementVNode("div", _hoisted_1$26, [_cache[0] || (_cache[0] = createElementVNode("strong", { style: { "min-width": "120px" } }, "Name", -1)), createElementVNode("div", null, toDisplayString(_ctx.entity.name), 1)]),
6798
- createElementVNode("div", _hoisted_2$17, [_cache[1] || (_cache[1] = createElementVNode("strong", { style: { "min-width": "120px" } }, "Type", -1)), createElementVNode("div", null, [createVNode(_component_APolicyTypeBadge, { type: _ctx.entity.type }, null, 8, ["type"])])]),
6799
- _ctx.entity.display_name ? (openBlock(), createElementBlock("div", _hoisted_3$13, [_cache[2] || (_cache[2] = createElementVNode("strong", { style: { "min-width": "120px" } }, "Display Name", -1)), createElementVNode("div", null, toDisplayString(_ctx.entity.display_name), 1)])) : createCommentVNode("v-if", true),
6800
- _ctx.entity.description ? (openBlock(), createElementBlock("div", _hoisted_4$11, [_cache[3] || (_cache[3] = createElementVNode("strong", { style: { "min-width": "120px" } }, "Description", -1)), createElementVNode("div", null, toDisplayString(_ctx.entity.description), 1)])) : createCommentVNode("v-if", true),
7094
+ createElementVNode("div", _hoisted_1$30, [_cache[0] || (_cache[0] = createElementVNode("strong", { style: { "min-width": "120px" } }, "Name", -1)), createElementVNode("div", null, toDisplayString(_ctx.entity.name), 1)]),
7095
+ createElementVNode("div", _hoisted_2$21, [_cache[1] || (_cache[1] = createElementVNode("strong", { style: { "min-width": "120px" } }, "Type", -1)), createElementVNode("div", null, [createVNode(_component_APolicyTypeBadge, { type: _ctx.entity.type }, null, 8, ["type"])])]),
7096
+ _ctx.entity.display_name ? (openBlock(), createElementBlock("div", _hoisted_3$17, [_cache[2] || (_cache[2] = createElementVNode("strong", { style: { "min-width": "120px" } }, "Display Name", -1)), createElementVNode("div", null, toDisplayString(_ctx.entity.display_name), 1)])) : createCommentVNode("v-if", true),
7097
+ _ctx.entity.description ? (openBlock(), createElementBlock("div", _hoisted_4$15, [_cache[3] || (_cache[3] = createElementVNode("strong", { style: { "min-width": "120px" } }, "Description", -1)), createElementVNode("div", null, toDisplayString(_ctx.entity.description), 1)])) : createCommentVNode("v-if", true),
6801
7098
  _ctx.entity.invert ? (openBlock(), createElementBlock("div", _hoisted_5$10, [..._cache[4] || (_cache[4] = [createElementVNode("strong", { style: { "min-width": "120px" } }, "Invert", -1), createElementVNode("div", null, [createElementVNode("span", { class: "badge bg-warning-500" }, "Yes")], -1)])])) : createCommentVNode("v-if", true),
6802
7099
  _ctx.entity.built_in ? (openBlock(), createElementBlock("div", _hoisted_6$8, [..._cache[5] || (_cache[5] = [createElementVNode("strong", { style: { "min-width": "120px" } }, "Built-in", -1), createElementVNode("div", null, [createElementVNode("span", { class: "badge bg-bg-elevated" }, "Yes")], -1)])])) : createCommentVNode("v-if", true)
6803
7100
  ]);
6804
7101
  }
6805
- var APolicySummary_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicySummary_vue_vue_type_script_lang_default, [["render", _sfc_render$60]]);
7102
+ var APolicySummary_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicySummary_vue_vue_type_script_lang_default, [["render", _sfc_render$64]]);
6806
7103
  //#endregion
6807
7104
  //#region src/components/entities/permission-policy-binding/APermissionPolicyBindingButton.ts
6808
7105
  const APermissionPolicyBindingButton = defineComponent({
@@ -7024,11 +7321,11 @@ var AClientPermissionAssignment_vue_vue_type_script_lang_default = defineCompone
7024
7321
  });
7025
7322
  //#endregion
7026
7323
  //#region src/components/entities/client-permission/AClientPermissionAssignment.vue
7027
- const _hoisted_1$25 = { class: "flex gap-1" };
7028
- function _sfc_render$59(_ctx, _cache, $props, $setup, $data, $options) {
7324
+ const _hoisted_1$29 = { class: "flex gap-1" };
7325
+ function _sfc_render$63(_ctx, _cache, $props, $setup, $data, $options) {
7029
7326
  const _component_AToggleButton = resolveComponent("AToggleButton");
7030
7327
  const _component_APermissionPolicyBindingButton = resolveComponent("APermissionPolicyBindingButton");
7031
- return openBlock(), createElementBlock("span", _hoisted_1$25, [createVNode(_component_AToggleButton, {
7328
+ return openBlock(), createElementBlock("span", _hoisted_1$29, [createVNode(_component_AToggleButton, {
7032
7329
  value: !!_ctx.manager.data.value,
7033
7330
  "is-busy": _ctx.manager.busy.value,
7034
7331
  onChanged: _ctx.handleChanged
@@ -7047,7 +7344,7 @@ function _sfc_render$59(_ctx, _cache, $props, $setup, $data, $options) {
7047
7344
  "onUpdated"
7048
7345
  ])) : createCommentVNode("v-if", true)]);
7049
7346
  }
7050
- var AClientPermissionAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientPermissionAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$59]]);
7347
+ var AClientPermissionAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientPermissionAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$63]]);
7051
7348
  //#endregion
7052
7349
  //#region src/components/entities/client-permission/AClientPermissionAssignments.vue?vue&type=script&lang.ts
7053
7350
  var AClientPermissionAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -7065,7 +7362,7 @@ var AClientPermissionAssignments_vue_vue_type_script_lang_default = defineCompon
7065
7362
  });
7066
7363
  //#endregion
7067
7364
  //#region src/components/entities/client-permission/AClientPermissionAssignments.vue
7068
- function _sfc_render$58(_ctx, _cache, $props, $setup, $data, $options) {
7365
+ function _sfc_render$62(_ctx, _cache, $props, $setup, $data, $options) {
7069
7366
  const _component_AClientPermissionAssignment = resolveComponent("AClientPermissionAssignment");
7070
7367
  const _component_APermissions = resolveComponent("APermissions");
7071
7368
  return openBlock(), createBlock(_component_APermissions, null, createSlots({
@@ -7082,7 +7379,7 @@ function _sfc_render$58(_ctx, _cache, $props, $setup, $data, $options) {
7082
7379
  };
7083
7380
  })]), 1024);
7084
7381
  }
7085
- var AClientPermissionAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientPermissionAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$58]]);
7382
+ var AClientPermissionAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientPermissionAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$62]]);
7086
7383
  //#endregion
7087
7384
  //#region src/components/entities/role/ARoleForm.vue?vue&type=script&lang.ts
7088
7385
  var ARoleForm_vue_vue_type_script_lang_default = defineComponent({
@@ -7144,20 +7441,20 @@ var ARoleForm_vue_vue_type_script_lang_default = defineComponent({
7144
7441
  realmId,
7145
7442
  translationsDefault: useTranslations([
7146
7443
  {
7147
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7148
- key: core_exports.TranslatorTranslationFieldKey.NAME
7444
+ namespace: TranslatorTranslationNamespace.FIELD,
7445
+ key: TranslatorTranslationFieldKey.NAME
7149
7446
  },
7150
7447
  {
7151
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7152
- key: core_exports.TranslatorTranslationFieldKey.DISPLAY_NAME
7448
+ namespace: TranslatorTranslationNamespace.FIELD,
7449
+ key: TranslatorTranslationFieldKey.DISPLAY_NAME
7153
7450
  },
7154
7451
  {
7155
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7156
- key: core_exports.TranslatorTranslationFieldKey.DESCRIPTION
7452
+ namespace: TranslatorTranslationNamespace.FIELD,
7453
+ key: TranslatorTranslationFieldKey.DESCRIPTION
7157
7454
  },
7158
7455
  {
7159
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
7160
- key: core_exports.TranslatorTranslationEntityKey.REALM,
7456
+ namespace: TranslatorTranslationNamespace.ENTITY,
7457
+ key: TranslatorTranslationEntityKey.REALM,
7161
7458
  count: 1
7162
7459
  }
7163
7460
  ]),
@@ -7167,7 +7464,7 @@ var ARoleForm_vue_vue_type_script_lang_default = defineComponent({
7167
7464
  });
7168
7465
  //#endregion
7169
7466
  //#region src/components/entities/role/ARoleForm.vue
7170
- function _sfc_render$57(_ctx, _cache, $props, $setup, $data, $options) {
7467
+ function _sfc_render$61(_ctx, _cache, $props, $setup, $data, $options) {
7171
7468
  const _component_ANameInput = resolveComponent("ANameInput");
7172
7469
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
7173
7470
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -7243,7 +7540,7 @@ function _sfc_render$57(_ctx, _cache, $props, $setup, $data, $options) {
7243
7540
  ])
7244
7541
  ], 32);
7245
7542
  }
7246
- var ARoleForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARoleForm_vue_vue_type_script_lang_default, [["render", _sfc_render$57]]);
7543
+ var ARoleForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARoleForm_vue_vue_type_script_lang_default, [["render", _sfc_render$61]]);
7247
7544
  //#endregion
7248
7545
  //#region src/components/entities/role/ARoles.ts
7249
7546
  const ARoles = defineComponent({
@@ -7257,13 +7554,13 @@ const ARoles = defineComponent({
7257
7554
  setup: ctx
7258
7555
  });
7259
7556
  const translationName = useTranslation({
7260
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
7261
- key: core_exports.TranslatorTranslationEntityKey.ROLE,
7557
+ namespace: TranslatorTranslationNamespace.ENTITY,
7558
+ key: TranslatorTranslationEntityKey.ROLE,
7262
7559
  count: 2
7263
7560
  });
7264
7561
  const translation = useTranslation({
7265
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
7266
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
7562
+ namespace: TranslatorTranslationNamespace.VUECS,
7563
+ key: TranslatorTranslationVuecsKey.NO_MORE,
7267
7564
  data: { name: translationName }
7268
7565
  });
7269
7566
  return () => render({ noMore: { content: translation.value } });
@@ -7335,7 +7632,7 @@ var AClientRoleAssignment_vue_vue_type_script_lang_default = defineComponent({
7335
7632
  });
7336
7633
  //#endregion
7337
7634
  //#region src/components/entities/client-role/AClientRoleAssignment.vue
7338
- function _sfc_render$56(_ctx, _cache, $props, $setup, $data, $options) {
7635
+ function _sfc_render$60(_ctx, _cache, $props, $setup, $data, $options) {
7339
7636
  const _component_AToggleButton = resolveComponent("AToggleButton");
7340
7637
  return openBlock(), createBlock(_component_AToggleButton, {
7341
7638
  value: !!_ctx.manager.data.value,
@@ -7347,7 +7644,7 @@ function _sfc_render$56(_ctx, _cache, $props, $setup, $data, $options) {
7347
7644
  "onChanged"
7348
7645
  ]);
7349
7646
  }
7350
- var AClientRoleAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientRoleAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$56]]);
7647
+ var AClientRoleAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientRoleAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$60]]);
7351
7648
  //#endregion
7352
7649
  //#region src/components/entities/client-role/AClientRoleAssignments.vue?vue&type=script&lang.ts
7353
7650
  var AClientRoleAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -7371,7 +7668,7 @@ var AClientRoleAssignments_vue_vue_type_script_lang_default = defineComponent({
7371
7668
  });
7372
7669
  //#endregion
7373
7670
  //#region src/components/entities/client-role/AClientRoleAssignments.vue
7374
- function _sfc_render$55(_ctx, _cache, $props, $setup, $data, $options) {
7671
+ function _sfc_render$59(_ctx, _cache, $props, $setup, $data, $options) {
7375
7672
  const _component_AClientRoleAssignment = resolveComponent("AClientRoleAssignment");
7376
7673
  const _component_ARoles = resolveComponent("ARoles");
7377
7674
  return openBlock(), createBlock(_component_ARoles, { query: _ctx.query }, createSlots({
@@ -7388,7 +7685,7 @@ function _sfc_render$55(_ctx, _cache, $props, $setup, $data, $options) {
7388
7685
  };
7389
7686
  })]), 1032, ["query"]);
7390
7687
  }
7391
- var AClientRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$55]]);
7688
+ var AClientRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$59]]);
7392
7689
  //#endregion
7393
7690
  //#region src/components/entities/client-scope/AClientScope.ts
7394
7691
  const AClientScope = defineComponent({
@@ -7422,12 +7719,12 @@ const AClientScopes = defineComponent({
7422
7719
  setup: ctx
7423
7720
  });
7424
7721
  const translationClientScopes = useTranslation({
7425
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7426
- key: core_exports.TranslatorTranslationFieldKey.CLIENT_SCOPES
7722
+ namespace: TranslatorTranslationNamespace.FIELD,
7723
+ key: TranslatorTranslationFieldKey.CLIENT_SCOPES
7427
7724
  });
7428
7725
  const translation = useTranslation({
7429
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
7430
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
7726
+ namespace: TranslatorTranslationNamespace.VUECS,
7727
+ key: TranslatorTranslationVuecsKey.NO_MORE,
7431
7728
  data: { name: translationClientScopes }
7432
7729
  });
7433
7730
  return () => render({ noMore: { content: translation.value } });
@@ -7503,20 +7800,20 @@ var AScopeForm_vue_vue_type_script_lang_default = defineComponent({
7503
7800
  isNameFixed,
7504
7801
  translationsDefault: useTranslations([
7505
7802
  {
7506
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7507
- key: core_exports.TranslatorTranslationFieldKey.NAME
7803
+ namespace: TranslatorTranslationNamespace.FIELD,
7804
+ key: TranslatorTranslationFieldKey.NAME
7508
7805
  },
7509
7806
  {
7510
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7511
- key: core_exports.TranslatorTranslationFieldKey.DISPLAY_NAME
7807
+ namespace: TranslatorTranslationNamespace.FIELD,
7808
+ key: TranslatorTranslationFieldKey.DISPLAY_NAME
7512
7809
  },
7513
7810
  {
7514
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7515
- key: core_exports.TranslatorTranslationFieldKey.DESCRIPTION
7811
+ namespace: TranslatorTranslationNamespace.FIELD,
7812
+ key: TranslatorTranslationFieldKey.DESCRIPTION
7516
7813
  },
7517
7814
  {
7518
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
7519
- key: core_exports.TranslatorTranslationEntityKey.REALM,
7815
+ namespace: TranslatorTranslationNamespace.ENTITY,
7816
+ key: TranslatorTranslationEntityKey.REALM,
7520
7817
  count: 1
7521
7818
  }
7522
7819
  ]),
@@ -7526,7 +7823,7 @@ var AScopeForm_vue_vue_type_script_lang_default = defineComponent({
7526
7823
  });
7527
7824
  //#endregion
7528
7825
  //#region src/components/entities/scope/AScopeForm.vue
7529
- function _sfc_render$54(_ctx, _cache, $props, $setup, $data, $options) {
7826
+ function _sfc_render$58(_ctx, _cache, $props, $setup, $data, $options) {
7530
7827
  const _component_ANameInput = resolveComponent("ANameInput");
7531
7828
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
7532
7829
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -7607,7 +7904,7 @@ function _sfc_render$54(_ctx, _cache, $props, $setup, $data, $options) {
7607
7904
  ])
7608
7905
  ], 32);
7609
7906
  }
7610
- var AScopeForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AScopeForm_vue_vue_type_script_lang_default, [["render", _sfc_render$54]]);
7907
+ var AScopeForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AScopeForm_vue_vue_type_script_lang_default, [["render", _sfc_render$58]]);
7611
7908
  //#endregion
7612
7909
  //#region src/components/entities/scope/AScopes.ts
7613
7910
  const AScopes = defineComponent({
@@ -7621,13 +7918,13 @@ const AScopes = defineComponent({
7621
7918
  setup: ctx
7622
7919
  });
7623
7920
  const translationName = useTranslation({
7624
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
7625
- key: core_exports.TranslatorTranslationEntityKey.SCOPE,
7921
+ namespace: TranslatorTranslationNamespace.ENTITY,
7922
+ key: TranslatorTranslationEntityKey.SCOPE,
7626
7923
  count: 2
7627
7924
  });
7628
7925
  const translation = useTranslation({
7629
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
7630
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
7926
+ namespace: TranslatorTranslationNamespace.VUECS,
7927
+ key: TranslatorTranslationVuecsKey.NO_MORE,
7631
7928
  data: { name: translationName }
7632
7929
  });
7633
7930
  return () => render({ noMore: { content: translation.value } });
@@ -7699,7 +7996,7 @@ var AClientScopeAssignment_vue_vue_type_script_lang_default = defineComponent({
7699
7996
  });
7700
7997
  //#endregion
7701
7998
  //#region src/components/entities/client-scope/AClientScopeAssignment.vue
7702
- function _sfc_render$53(_ctx, _cache, $props, $setup, $data, $options) {
7999
+ function _sfc_render$57(_ctx, _cache, $props, $setup, $data, $options) {
7703
8000
  const _component_AToggleButton = resolveComponent("AToggleButton");
7704
8001
  return openBlock(), createBlock(_component_AToggleButton, {
7705
8002
  value: !!_ctx.manager.data.value,
@@ -7711,7 +8008,7 @@ function _sfc_render$53(_ctx, _cache, $props, $setup, $data, $options) {
7711
8008
  "onChanged"
7712
8009
  ]);
7713
8010
  }
7714
- var AClientScopeAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientScopeAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$53]]);
8011
+ var AClientScopeAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientScopeAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$57]]);
7715
8012
  //#endregion
7716
8013
  //#region src/components/entities/client-scope/AClientScopeAssignments.vue?vue&type=script&lang.ts
7717
8014
  var AClientScopeAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -7729,7 +8026,7 @@ var AClientScopeAssignments_vue_vue_type_script_lang_default = defineComponent({
7729
8026
  });
7730
8027
  //#endregion
7731
8028
  //#region src/components/entities/client-scope/AClientScopeAssignments.vue
7732
- function _sfc_render$52(_ctx, _cache, $props, $setup, $data, $options) {
8029
+ function _sfc_render$56(_ctx, _cache, $props, $setup, $data, $options) {
7733
8030
  const _component_AClientScopeAssignment = resolveComponent("AClientScopeAssignment");
7734
8031
  const _component_AScopes = resolveComponent("AScopes");
7735
8032
  return openBlock(), createBlock(_component_AScopes, null, createSlots({
@@ -7746,7 +8043,7 @@ function _sfc_render$52(_ctx, _cache, $props, $setup, $data, $options) {
7746
8043
  };
7747
8044
  })]), 1024);
7748
8045
  }
7749
- var AClientScopeAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientScopeAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$52]]);
8046
+ var AClientScopeAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AClientScopeAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$56]]);
7750
8047
  //#endregion
7751
8048
  //#region src/components/entities/identity-provider/AIdentityProvider.ts
7752
8049
  const AIdentityProvider = defineComponent({
@@ -7807,16 +8104,16 @@ var AIdentityProviderBasicFields_vue_vue_type_script_lang_default = defineCompon
7807
8104
  assign(props.entity);
7808
8105
  const translationsDefault = useTranslations([
7809
8106
  {
7810
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7811
- key: core_exports.TranslatorTranslationFieldKey.DISPLAY_NAME
8107
+ namespace: TranslatorTranslationNamespace.FIELD,
8108
+ key: TranslatorTranslationFieldKey.DISPLAY_NAME
7812
8109
  },
7813
8110
  {
7814
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7815
- key: core_exports.TranslatorTranslationFieldKey.NAME
8111
+ namespace: TranslatorTranslationNamespace.FIELD,
8112
+ key: TranslatorTranslationFieldKey.NAME
7816
8113
  },
7817
8114
  {
7818
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
7819
- key: core_exports.TranslatorTranslationFieldKey.DESCRIPTION
8115
+ namespace: TranslatorTranslationNamespace.FIELD,
8116
+ key: TranslatorTranslationFieldKey.DESCRIPTION
7820
8117
  }
7821
8118
  ]);
7822
8119
  const onEnabledChange = (value) => {
@@ -7837,8 +8134,8 @@ var AIdentityProviderBasicFields_vue_vue_type_script_lang_default = defineCompon
7837
8134
  });
7838
8135
  //#endregion
7839
8136
  //#region src/components/entities/identity-provider/AIdentityProviderBasicFields.vue
7840
- const _hoisted_1$24 = { class: "mt-3" };
7841
- function _sfc_render$51(_ctx, _cache, $props, $setup, $data, $options) {
8137
+ const _hoisted_1$28 = { class: "mt-3" };
8138
+ function _sfc_render$55(_ctx, _cache, $props, $setup, $data, $options) {
7842
8139
  const _component_ANameInput = resolveComponent("ANameInput");
7843
8140
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
7844
8141
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -7869,7 +8166,7 @@ function _sfc_render$51(_ctx, _cache, $props, $setup, $data, $options) {
7869
8166
  }, 1032, ["validation"])]),
7870
8167
  _: 1
7871
8168
  }, 8, ["field"]),
7872
- createElementVNode("div", _hoisted_1$24, [createVNode(_component_VCFormSwitch, {
8169
+ createElementVNode("div", _hoisted_1$28, [createVNode(_component_VCFormSwitch, {
7873
8170
  "model-value": _ctx.v.fields.enabled.$model.value,
7874
8171
  label: true,
7875
8172
  "label-content": "Enabled?",
@@ -7877,7 +8174,7 @@ function _sfc_render$51(_ctx, _cache, $props, $setup, $data, $options) {
7877
8174
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
7878
8175
  ]);
7879
8176
  }
7880
- var AIdentityProviderBasicFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderBasicFields_vue_vue_type_script_lang_default, [["render", _sfc_render$51]]);
8177
+ var AIdentityProviderBasicFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderBasicFields_vue_vue_type_script_lang_default, [["render", _sfc_render$55]]);
7881
8178
  //#endregion
7882
8179
  //#region src/components/entities/identity-provider/AIdentityProviderLdapConnectionFields.vue?vue&type=script&lang.ts
7883
8180
  var AIdentityProviderLdapConnectionFields_vue_vue_type_script_lang_default = defineComponent({
@@ -7925,7 +8222,7 @@ var AIdentityProviderLdapConnectionFields_vue_vue_type_script_lang_default = def
7925
8222
  });
7926
8223
  //#endregion
7927
8224
  //#region src/components/entities/identity-provider/AIdentityProviderLdapConnectionFields.vue
7928
- function _sfc_render$50(_ctx, _cache, $props, $setup, $data, $options) {
8225
+ function _sfc_render$54(_ctx, _cache, $props, $setup, $data, $options) {
7929
8226
  const _component_VCFormInput = resolveComponent("VCFormInput");
7930
8227
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
7931
8228
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -7982,7 +8279,7 @@ function _sfc_render$50(_ctx, _cache, $props, $setup, $data, $options) {
7982
8279
  }, 8, ["field"])
7983
8280
  ]);
7984
8281
  }
7985
- var AIdentityProviderLdapConnectionFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapConnectionFields_vue_vue_type_script_lang_default, [["render", _sfc_render$50]]);
8282
+ var AIdentityProviderLdapConnectionFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapConnectionFields_vue_vue_type_script_lang_default, [["render", _sfc_render$54]]);
7986
8283
  //#endregion
7987
8284
  //#region src/components/entities/identity-provider/AIdentityProviderLdapCredentialsFields.vue?vue&type=script&lang.ts
7988
8285
  var AIdentityProviderLdapCredentialsFields_vue_vue_type_script_lang_default = defineComponent({
@@ -8020,7 +8317,7 @@ var AIdentityProviderLdapCredentialsFields_vue_vue_type_script_lang_default = de
8020
8317
  });
8021
8318
  //#endregion
8022
8319
  //#region src/components/entities/identity-provider/AIdentityProviderLdapCredentialsFields.vue
8023
- function _sfc_render$49(_ctx, _cache, $props, $setup, $data, $options) {
8320
+ function _sfc_render$53(_ctx, _cache, $props, $setup, $data, $options) {
8024
8321
  const _component_VCFormInput = resolveComponent("VCFormInput");
8025
8322
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
8026
8323
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -8060,7 +8357,7 @@ function _sfc_render$49(_ctx, _cache, $props, $setup, $data, $options) {
8060
8357
  _: 1
8061
8358
  }, 8, ["field"])]);
8062
8359
  }
8063
- var AIdentityProviderLdapCredentialsFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapCredentialsFields_vue_vue_type_script_lang_default, [["render", _sfc_render$49]]);
8360
+ var AIdentityProviderLdapCredentialsFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapCredentialsFields_vue_vue_type_script_lang_default, [["render", _sfc_render$53]]);
8064
8361
  //#endregion
8065
8362
  //#region src/components/entities/identity-provider/AIdentityProviderLdapGroupFields.vue?vue&type=script&lang.ts
8066
8363
  var AIdentityProviderLdapGroupFields_vue_vue_type_script_lang_default = defineComponent({
@@ -8098,7 +8395,7 @@ var AIdentityProviderLdapGroupFields_vue_vue_type_script_lang_default = defineCo
8098
8395
  });
8099
8396
  //#endregion
8100
8397
  //#region src/components/entities/identity-provider/AIdentityProviderLdapGroupFields.vue
8101
- function _sfc_render$48(_ctx, _cache, $props, $setup, $data, $options) {
8398
+ function _sfc_render$52(_ctx, _cache, $props, $setup, $data, $options) {
8102
8399
  const _component_VCFormInput = resolveComponent("VCFormInput");
8103
8400
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
8104
8401
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -8172,7 +8469,7 @@ function _sfc_render$48(_ctx, _cache, $props, $setup, $data, $options) {
8172
8469
  }, 8, ["field"])
8173
8470
  ]);
8174
8471
  }
8175
- var AIdentityProviderLdapGroupFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapGroupFields_vue_vue_type_script_lang_default, [["render", _sfc_render$48]]);
8472
+ var AIdentityProviderLdapGroupFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapGroupFields_vue_vue_type_script_lang_default, [["render", _sfc_render$52]]);
8176
8473
  //#endregion
8177
8474
  //#region src/components/entities/identity-provider/AIdentityProviderLdapUserFields.vue?vue&type=script&lang.ts
8178
8475
  var AIdentityProviderLdapUserFields_vue_vue_type_script_lang_default = defineComponent({
@@ -8209,7 +8506,7 @@ var AIdentityProviderLdapUserFields_vue_vue_type_script_lang_default = defineCom
8209
8506
  });
8210
8507
  //#endregion
8211
8508
  //#region src/components/entities/identity-provider/AIdentityProviderLdapUserFields.vue
8212
- function _sfc_render$47(_ctx, _cache, $props, $setup, $data, $options) {
8509
+ function _sfc_render$51(_ctx, _cache, $props, $setup, $data, $options) {
8213
8510
  const _component_VCFormInput = resolveComponent("VCFormInput");
8214
8511
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
8215
8512
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -8272,7 +8569,7 @@ function _sfc_render$47(_ctx, _cache, $props, $setup, $data, $options) {
8272
8569
  }, 8, ["field"])
8273
8570
  ]);
8274
8571
  }
8275
- var AIdentityProviderLdapUserFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapUserFields_vue_vue_type_script_lang_default, [["render", _sfc_render$47]]);
8572
+ var AIdentityProviderLdapUserFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapUserFields_vue_vue_type_script_lang_default, [["render", _sfc_render$51]]);
8276
8573
  //#endregion
8277
8574
  //#region src/components/entities/identity-provider/protocol/utils.ts
8278
8575
  const elements$1 = {
@@ -8378,14 +8675,14 @@ var AIdentityProviderLdapForm_vue_vue_type_script_lang_default = defineComponent
8378
8675
  });
8379
8676
  //#endregion
8380
8677
  //#region src/components/entities/identity-provider/AIdentityProviderLdapForm.vue
8381
- const _hoisted_1$23 = { class: "mb-3" };
8382
- const _hoisted_2$16 = { class: "row" };
8383
- const _hoisted_3$12 = { class: "col" };
8384
- const _hoisted_4$10 = { class: "col" };
8678
+ const _hoisted_1$27 = { class: "mb-3" };
8679
+ const _hoisted_2$20 = { class: "row" };
8680
+ const _hoisted_3$16 = { class: "col" };
8681
+ const _hoisted_4$14 = { class: "col" };
8385
8682
  const _hoisted_5$9 = { class: "row" };
8386
8683
  const _hoisted_6$7 = { class: "col" };
8387
- const _hoisted_7$3 = { class: "col" };
8388
- function _sfc_render$46(_ctx, _cache, $props, $setup, $data, $options) {
8684
+ const _hoisted_7$4 = { class: "col" };
8685
+ function _sfc_render$50(_ctx, _cache, $props, $setup, $data, $options) {
8389
8686
  const _component_VCIcon = resolveComponent("VCIcon");
8390
8687
  const _component_AIdentityProviderProtocol = resolveComponent("AIdentityProviderProtocol");
8391
8688
  const _component_AIdentityProviderBasicFields = resolveComponent("AIdentityProviderBasicFields");
@@ -8399,16 +8696,16 @@ function _sfc_render$46(_ctx, _cache, $props, $setup, $data, $options) {
8399
8696
  id: _ctx.ldapProtocol,
8400
8697
  key: _ctx.ldapProtocol
8401
8698
  }, {
8402
- default: withCtx((element) => [createElementVNode("div", null, [createElementVNode("h4", _hoisted_1$23, [createVNode(_component_VCIcon, {
8699
+ default: withCtx((element) => [createElementVNode("div", null, [createElementVNode("h4", _hoisted_1$27, [createVNode(_component_VCIcon, {
8403
8700
  name: element.icon,
8404
8701
  class: "pe-1"
8405
8702
  }, null, 8, ["name"]), createTextVNode(" " + toDisplayString(element.name), 1)])])]),
8406
8703
  _: 1
8407
8704
  }, 8, ["id"])) : createCommentVNode("v-if", true),
8408
- createElementVNode("div", _hoisted_2$16, [createElementVNode("div", _hoisted_3$12, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:wrench" }), _cache[1] || (_cache[1] = createTextVNode(" Basic ", -1))]), createVNode(_component_AIdentityProviderBasicFields, { entity: _ctx.data }, null, 8, ["entity"])]), createElementVNode("div", _hoisted_4$10, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:lock" }), _cache[2] || (_cache[2] = createTextVNode(" Security ", -1))]), createVNode(_component_AIdentityProviderLdapCredentialsFields, { entity: _ctx.data }, null, 8, ["entity"])])]),
8705
+ createElementVNode("div", _hoisted_2$20, [createElementVNode("div", _hoisted_3$16, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:wrench" }), _cache[1] || (_cache[1] = createTextVNode(" Basic ", -1))]), createVNode(_component_AIdentityProviderBasicFields, { entity: _ctx.data }, null, 8, ["entity"])]), createElementVNode("div", _hoisted_4$14, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:lock" }), _cache[2] || (_cache[2] = createTextVNode(" Security ", -1))]), createVNode(_component_AIdentityProviderLdapCredentialsFields, { entity: _ctx.data }, null, 8, ["entity"])])]),
8409
8706
  createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:vihara" }), _cache[3] || (_cache[3] = createTextVNode(" Connection ", -1))]),
8410
8707
  createVNode(_component_AIdentityProviderLdapConnectionFields, { entity: _ctx.data }, null, 8, ["entity"]),
8411
- createElementVNode("div", _hoisted_5$9, [createElementVNode("div", _hoisted_6$7, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:user" }), _cache[4] || (_cache[4] = createTextVNode(" User ", -1))]), createVNode(_component_AIdentityProviderLdapUserFields, { entity: _ctx.data }, null, 8, ["entity"])]), createElementVNode("div", _hoisted_7$3, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:masks-theater" }), _cache[5] || (_cache[5] = createTextVNode(" Group ", -1))]), createVNode(_component_AIdentityProviderLdapGroupFields, { entity: _ctx.data }, null, 8, ["entity"])])]),
8708
+ createElementVNode("div", _hoisted_5$9, [createElementVNode("div", _hoisted_6$7, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:user" }), _cache[4] || (_cache[4] = createTextVNode(" User ", -1))]), createVNode(_component_AIdentityProviderLdapUserFields, { entity: _ctx.data }, null, 8, ["entity"])]), createElementVNode("div", _hoisted_7$4, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:masks-theater" }), _cache[5] || (_cache[5] = createTextVNode(" Group ", -1))]), createVNode(_component_AIdentityProviderLdapGroupFields, { entity: _ctx.data }, null, 8, ["entity"])])]),
8412
8709
  createVNode(_component_AFormSubmit, {
8413
8710
  "is-busy": _ctx.busy,
8414
8711
  "is-editing": _ctx.isEditing,
@@ -8422,7 +8719,7 @@ function _sfc_render$46(_ctx, _cache, $props, $setup, $data, $options) {
8422
8719
  ])
8423
8720
  ], 32);
8424
8721
  }
8425
- var AIdentityProviderLdapForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapForm_vue_vue_type_script_lang_default, [["render", _sfc_render$46]]);
8722
+ var AIdentityProviderLdapForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderLdapForm_vue_vue_type_script_lang_default, [["render", _sfc_render$50]]);
8426
8723
  //#endregion
8427
8724
  //#region src/components/entities/identity-provider/preset/utils.ts
8428
8725
  const elements = {
@@ -8508,36 +8805,36 @@ var AIdentityProviderPicker_vue_vue_type_script_lang_default = defineComponent({
8508
8805
  });
8509
8806
  //#endregion
8510
8807
  //#region src/components/entities/identity-provider/AIdentityProviderPicker.vue
8511
- const _hoisted_1$22 = { class: "flex flex-col gap-2" };
8512
- const _hoisted_2$15 = { class: "flex flex-row gap-2 flex-wrap" };
8513
- const _hoisted_3$11 = ["onClick"];
8514
- const _hoisted_4$9 = { class: "flex flex-row gap-2 flex-wrap" };
8808
+ const _hoisted_1$26 = { class: "flex flex-col gap-2" };
8809
+ const _hoisted_2$19 = { class: "flex flex-row gap-2 flex-wrap" };
8810
+ const _hoisted_3$15 = ["onClick"];
8811
+ const _hoisted_4$13 = { class: "flex flex-row gap-2 flex-wrap" };
8515
8812
  const _hoisted_5$8 = ["onClick"];
8516
- function _sfc_render$45(_ctx, _cache, $props, $setup, $data, $options) {
8813
+ function _sfc_render$49(_ctx, _cache, $props, $setup, $data, $options) {
8517
8814
  const _component_VCIcon = resolveComponent("VCIcon");
8518
8815
  const _component_AIdentityProviderProtocol = resolveComponent("AIdentityProviderProtocol");
8519
8816
  const _component_AIdentityProviderPreset = resolveComponent("AIdentityProviderPreset");
8520
- return openBlock(), createElementBlock("div", _hoisted_1$22, [createElementVNode("div", null, [_cache[0] || (_cache[0] = createElementVNode("h6", null, "Protocols", -1)), createElementVNode("div", _hoisted_2$15, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.protocols, (item, key) => {
8817
+ return openBlock(), createElementBlock("div", _hoisted_1$26, [createElementVNode("div", null, [_cache[0] || (_cache[0] = createElementVNode("h6", null, "Protocols", -1)), createElementVNode("div", _hoisted_2$19, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.protocols, (item, key) => {
8521
8818
  return openBlock(), createBlock(_component_AIdentityProviderProtocol, {
8522
8819
  key,
8523
8820
  id: item
8524
8821
  }, {
8525
8822
  default: withCtx((props) => [createElementVNode("div", {
8526
- class: normalizeClass([{ "active": item === _ctx.protocol && !_ctx.preset }, "flex flex-col gap-1 text-center identity-provider-picker-item"]),
8823
+ class: normalizeClass([{ "active": item === _ctx.protocol && !_ctx.preset }, "flex flex-col gap-1 text-center a-picker-item"]),
8527
8824
  onClick: withModifiers(($event) => _ctx.pickProtocol(item), ["prevent"])
8528
8825
  }, [createElementVNode("div", null, [createVNode(_component_VCIcon, {
8529
8826
  class: "text-2xl",
8530
8827
  name: props.icon
8531
- }, null, 8, ["name"])]), createElementVNode("div", null, toDisplayString(props.name), 1)], 10, _hoisted_3$11)]),
8828
+ }, null, 8, ["name"])]), createElementVNode("div", null, toDisplayString(props.name), 1)], 10, _hoisted_3$15)]),
8532
8829
  _: 2
8533
8830
  }, 1032, ["id"]);
8534
- }), 128))])]), createElementVNode("div", null, [_cache[1] || (_cache[1] = createElementVNode("h6", null, "Presets", -1)), createElementVNode("div", _hoisted_4$9, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.presets, (item, key) => {
8831
+ }), 128))])]), createElementVNode("div", null, [_cache[1] || (_cache[1] = createElementVNode("h6", null, "Presets", -1)), createElementVNode("div", _hoisted_4$13, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.presets, (item, key) => {
8535
8832
  return openBlock(), createBlock(_component_AIdentityProviderPreset, {
8536
8833
  key,
8537
8834
  id: item
8538
8835
  }, {
8539
8836
  default: withCtx((props) => [createElementVNode("div", {
8540
- class: normalizeClass([{ "active": item === _ctx.preset }, "flex flex-col gap-1 text-center identity-provider-picker-item"]),
8837
+ class: normalizeClass([{ "active": item === _ctx.preset }, "flex flex-col gap-1 text-center a-picker-item"]),
8541
8838
  onClick: withModifiers(($event) => _ctx.pickPreset(item), ["prevent"])
8542
8839
  }, [createElementVNode("div", null, [createVNode(_component_VCIcon, {
8543
8840
  class: "text-2xl",
@@ -8547,7 +8844,7 @@ function _sfc_render$45(_ctx, _cache, $props, $setup, $data, $options) {
8547
8844
  }, 1032, ["id"]);
8548
8845
  }), 128))])])]);
8549
8846
  }
8550
- var AIdentityProviderPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderPicker_vue_vue_type_script_lang_default, [["render", _sfc_render$45], ["__scopeId", "data-v-cb0d0718"]]);
8847
+ var AIdentityProviderPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderPicker_vue_vue_type_script_lang_default, [["render", _sfc_render$49]]);
8551
8848
  //#endregion
8552
8849
  //#region src/components/entities/identity-provider/AIdentityProviderOAuth2ClientFields.vue?vue&type=script&lang.ts
8553
8850
  var AIdentityProviderOAuth2ClientFields_vue_vue_type_script_lang_default = defineComponent({
@@ -8578,7 +8875,7 @@ var AIdentityProviderOAuth2ClientFields_vue_vue_type_script_lang_default = defin
8578
8875
  });
8579
8876
  //#endregion
8580
8877
  //#region src/components/entities/identity-provider/AIdentityProviderOAuth2ClientFields.vue
8581
- function _sfc_render$44(_ctx, _cache, $props, $setup, $data, $options) {
8878
+ function _sfc_render$48(_ctx, _cache, $props, $setup, $data, $options) {
8582
8879
  const _component_VCFormInput = resolveComponent("VCFormInput");
8583
8880
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
8584
8881
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -8618,7 +8915,7 @@ function _sfc_render$44(_ctx, _cache, $props, $setup, $data, $options) {
8618
8915
  _: 1
8619
8916
  }, 8, ["field"])]);
8620
8917
  }
8621
- var AIdentityProviderOAuth2ClientFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderOAuth2ClientFields_vue_vue_type_script_lang_default, [["render", _sfc_render$44]]);
8918
+ var AIdentityProviderOAuth2ClientFields_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderOAuth2ClientFields_vue_vue_type_script_lang_default, [["render", _sfc_render$48]]);
8622
8919
  //#endregion
8623
8920
  //#region src/components/entities/identity-provider/AIdentityProviderOAuth2Discovery.vue?vue&type=script&lang.ts
8624
8921
  var DiscoveryUrlValidator = class extends Container {
@@ -8673,12 +8970,12 @@ var AIdentityProviderOAuth2Discovery_vue_vue_type_script_lang_default = defineCo
8673
8970
  });
8674
8971
  //#endregion
8675
8972
  //#region src/components/entities/identity-provider/AIdentityProviderOAuth2Discovery.vue
8676
- const _hoisted_1$21 = {
8973
+ const _hoisted_1$25 = {
8677
8974
  key: 0,
8678
8975
  class: "alert alert-sm alert-warning"
8679
8976
  };
8680
- const _hoisted_2$14 = ["disabled"];
8681
- function _sfc_render$43(_ctx, _cache, $props, $setup, $data, $options) {
8977
+ const _hoisted_2$18 = ["disabled"];
8978
+ function _sfc_render$47(_ctx, _cache, $props, $setup, $data, $options) {
8682
8979
  const _component_VCFormInput = resolveComponent("VCFormInput");
8683
8980
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
8684
8981
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -8701,7 +8998,7 @@ function _sfc_render$43(_ctx, _cache, $props, $setup, $data, $options) {
8701
8998
  }, 1032, ["validation"])]),
8702
8999
  _: 1
8703
9000
  }, 8, ["field"]),
8704
- _ctx.message ? (openBlock(), createElementBlock("div", _hoisted_1$21, toDisplayString(_ctx.message), 1)) : createCommentVNode("v-if", true),
9001
+ _ctx.message ? (openBlock(), createElementBlock("div", _hoisted_1$25, toDisplayString(_ctx.message), 1)) : createCommentVNode("v-if", true),
8705
9002
  createElementVNode("button", {
8706
9003
  type: "button",
8707
9004
  class: "btn btn-xs btn-primary mb-1",
@@ -8710,7 +9007,7 @@ function _sfc_render$43(_ctx, _cache, $props, $setup, $data, $options) {
8710
9007
  }, [createVNode(_component_VCIcon, {
8711
9008
  name: "fa6-solid:magnifying-glass",
8712
9009
  class: "pe-1"
8713
- }), _cache[2] || (_cache[2] = createTextVNode(" Lookup ", -1))], 8, _hoisted_2$14)
9010
+ }), _cache[2] || (_cache[2] = createTextVNode(" Lookup ", -1))], 8, _hoisted_2$18)
8714
9011
  ]);
8715
9012
  }
8716
9013
  //#endregion
@@ -8719,7 +9016,7 @@ var AIdentityProviderOAuth2EndpointFields_vue_vue_type_script_lang_default = def
8719
9016
  components: {
8720
9017
  VCFormGroup,
8721
9018
  VCFormInput,
8722
- AIdentityProviderOAuth2Discovery: /* @__PURE__ */ _plugin_vue_export_helper_default(AIdentityProviderOAuth2Discovery_vue_vue_type_script_lang_default, [["render", _sfc_render$43]]),
9019
+ AIdentityProviderOAuth2Discovery: /* @__PURE__ */ _plugin_vue_export_helper_default(AIdentityProviderOAuth2Discovery_vue_vue_type_script_lang_default, [["render", _sfc_render$47]]),
8723
9020
  IFieldValidation
8724
9021
  },
8725
9022
  props: {
@@ -8758,7 +9055,7 @@ var AIdentityProviderOAuth2EndpointFields_vue_vue_type_script_lang_default = def
8758
9055
  });
8759
9056
  //#endregion
8760
9057
  //#region src/components/entities/identity-provider/AIdentityProviderOAuth2EndpointFields.vue
8761
- function _sfc_render$42(_ctx, _cache, $props, $setup, $data, $options) {
9058
+ function _sfc_render$46(_ctx, _cache, $props, $setup, $data, $options) {
8762
9059
  const _component_AIdentityProviderOAuth2Discovery = resolveComponent("AIdentityProviderOAuth2Discovery");
8763
9060
  const _component_VCFormInput = resolveComponent("VCFormInput");
8764
9061
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
@@ -8822,7 +9119,7 @@ var AIdentityProviderOAuth2Form_vue_vue_type_script_lang_default = defineCompone
8822
9119
  AFormSubmit,
8823
9120
  AIdentityProviderBasicFields: AIdentityProviderBasicFields_default,
8824
9121
  AIdentityProviderOAuth2ClientFields: AIdentityProviderOAuth2ClientFields_default,
8825
- AIdentityProviderOAuth2EndpointFields: /* @__PURE__ */ _plugin_vue_export_helper_default(AIdentityProviderOAuth2EndpointFields_vue_vue_type_script_lang_default, [["render", _sfc_render$42]]),
9122
+ AIdentityProviderOAuth2EndpointFields: /* @__PURE__ */ _plugin_vue_export_helper_default(AIdentityProviderOAuth2EndpointFields_vue_vue_type_script_lang_default, [["render", _sfc_render$46]]),
8826
9123
  AIdentityProviderPreset,
8827
9124
  AIdentityProviderProtocol,
8828
9125
  VCFormGroup,
@@ -8925,12 +9222,12 @@ var AIdentityProviderOAuth2Form_vue_vue_type_script_lang_default = defineCompone
8925
9222
  });
8926
9223
  //#endregion
8927
9224
  //#region src/components/entities/identity-provider/AIdentityProviderOAuth2Form.vue
8928
- const _hoisted_1$20 = { class: "mb-3" };
8929
- const _hoisted_2$13 = { class: "mb-3" };
8930
- const _hoisted_3$10 = { class: "row" };
8931
- const _hoisted_4$8 = { class: "col" };
9225
+ const _hoisted_1$24 = { class: "mb-3" };
9226
+ const _hoisted_2$17 = { class: "mb-3" };
9227
+ const _hoisted_3$14 = { class: "row" };
9228
+ const _hoisted_4$12 = { class: "col" };
8932
9229
  const _hoisted_5$7 = { class: "col" };
8933
- function _sfc_render$41(_ctx, _cache, $props, $setup, $data, $options) {
9230
+ function _sfc_render$45(_ctx, _cache, $props, $setup, $data, $options) {
8934
9231
  const _component_VCIcon = resolveComponent("VCIcon");
8935
9232
  const _component_AIdentityProviderPreset = resolveComponent("AIdentityProviderPreset");
8936
9233
  const _component_AIdentityProviderProtocol = resolveComponent("AIdentityProviderProtocol");
@@ -8945,7 +9242,7 @@ function _sfc_render$41(_ctx, _cache, $props, $setup, $data, $options) {
8945
9242
  id: _ctx.presetEff,
8946
9243
  key: _ctx.presetEff
8947
9244
  }, {
8948
- default: withCtx((element) => [createElementVNode("div", null, [createElementVNode("h4", _hoisted_1$20, [createVNode(_component_VCIcon, {
9245
+ default: withCtx((element) => [createElementVNode("div", null, [createElementVNode("h4", _hoisted_1$24, [createVNode(_component_VCIcon, {
8949
9246
  name: element.icon,
8950
9247
  class: "pe-1"
8951
9248
  }, null, 8, ["name"]), createTextVNode(" " + toDisplayString(element.name), 1)])])]),
@@ -8954,7 +9251,7 @@ function _sfc_render$41(_ctx, _cache, $props, $setup, $data, $options) {
8954
9251
  id: _ctx.protocolEff,
8955
9252
  key: _ctx.protocolEff
8956
9253
  }, {
8957
- default: withCtx((element) => [createElementVNode("div", null, [createElementVNode("h4", _hoisted_2$13, [createVNode(_component_VCIcon, {
9254
+ default: withCtx((element) => [createElementVNode("div", null, [createElementVNode("h4", _hoisted_2$17, [createVNode(_component_VCIcon, {
8958
9255
  name: element.icon,
8959
9256
  class: "pe-1"
8960
9257
  }, null, 8, ["name"]), createTextVNode(" " + toDisplayString(element.name), 1)])])]),
@@ -8968,7 +9265,7 @@ function _sfc_render$41(_ctx, _cache, $props, $setup, $data, $options) {
8968
9265
  }, null, 8, ["model-value"])]),
8969
9266
  _: 1
8970
9267
  })], 64)) : createCommentVNode("v-if", true),
8971
- createElementVNode("div", _hoisted_3$10, [createElementVNode("div", _hoisted_4$8, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:wrench" }), _cache[3] || (_cache[3] = createTextVNode(" Basic ", -1))]), createVNode(_component_AIdentityProviderBasicFields, {
9268
+ createElementVNode("div", _hoisted_3$14, [createElementVNode("div", _hoisted_4$12, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:wrench" }), _cache[3] || (_cache[3] = createTextVNode(" Basic ", -1))]), createVNode(_component_AIdentityProviderBasicFields, {
8972
9269
  ref: "basicFieldsRef",
8973
9270
  entity: _ctx.data
8974
9271
  }, null, 8, ["entity"])]), createElementVNode("div", _hoisted_5$7, [createElementVNode("h6", null, [createVNode(_component_VCIcon, { name: "fa6-solid:lock" }), _cache[4] || (_cache[4] = createTextVNode(" Security ", -1))]), createVNode(_component_AIdentityProviderOAuth2ClientFields, { entity: _ctx.data }, null, 8, ["entity"])])]),
@@ -8989,7 +9286,7 @@ function _sfc_render$41(_ctx, _cache, $props, $setup, $data, $options) {
8989
9286
  ])
8990
9287
  ], 32);
8991
9288
  }
8992
- var AIdentityProviderOAuth2Form_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderOAuth2Form_vue_vue_type_script_lang_default, [["render", _sfc_render$41]]);
9289
+ var AIdentityProviderOAuth2Form_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderOAuth2Form_vue_vue_type_script_lang_default, [["render", _sfc_render$45]]);
8993
9290
  //#endregion
8994
9291
  //#region src/components/entities/identity-provider/AIdentityProviderForm.vue?vue&type=script&lang.ts
8995
9292
  var AIdentityProviderForm_vue_vue_type_script_lang_default = defineComponent({
@@ -9067,11 +9364,11 @@ var AIdentityProviderForm_vue_vue_type_script_lang_default = defineComponent({
9067
9364
  });
9068
9365
  //#endregion
9069
9366
  //#region src/components/entities/identity-provider/AIdentityProviderForm.vue
9070
- const _hoisted_1$19 = {
9367
+ const _hoisted_1$23 = {
9071
9368
  key: 3,
9072
9369
  class: "alert alert-warning alert-sm"
9073
9370
  };
9074
- function _sfc_render$40(_ctx, _cache, $props, $setup, $data, $options) {
9371
+ function _sfc_render$44(_ctx, _cache, $props, $setup, $data, $options) {
9075
9372
  const _component_AIdentityProviderPicker = resolveComponent("AIdentityProviderPicker");
9076
9373
  const _component_AIdentityProviderOAuth2Form = resolveComponent("AIdentityProviderOAuth2Form");
9077
9374
  const _component_AIdentityProviderLdapForm = resolveComponent("AIdentityProviderLdapForm");
@@ -9118,9 +9415,9 @@ function _sfc_render$40(_ctx, _cache, $props, $setup, $data, $options) {
9118
9415
  "onUpdated",
9119
9416
  "onDeleted",
9120
9417
  "onFailed"
9121
- ])) : _ctx.protocol || _ctx.preset ? (openBlock(), createElementBlock("div", _hoisted_1$19, toDisplayString(_ctx.preset ?? _ctx.protocol) + " is not supported yet :/ ", 1)) : createCommentVNode("v-if", true)]);
9418
+ ])) : _ctx.protocol || _ctx.preset ? (openBlock(), createElementBlock("div", _hoisted_1$23, toDisplayString(_ctx.preset ?? _ctx.protocol) + " is not supported yet :/ ", 1)) : createCommentVNode("v-if", true)]);
9122
9419
  }
9123
- var AIdentityProviderForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderForm_vue_vue_type_script_lang_default, [["render", _sfc_render$40]]);
9420
+ var AIdentityProviderForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderForm_vue_vue_type_script_lang_default, [["render", _sfc_render$44]]);
9124
9421
  //#endregion
9125
9422
  //#region src/components/entities/identity-provider/AIdentityProviders.ts
9126
9423
  const AIdentityProviders = defineComponent({
@@ -9134,13 +9431,13 @@ const AIdentityProviders = defineComponent({
9134
9431
  setup: ctx
9135
9432
  });
9136
9433
  const translationName = useTranslation({
9137
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
9138
- key: core_exports.TranslatorTranslationEntityKey.IDENTITY_PROVIDER,
9434
+ namespace: TranslatorTranslationNamespace.ENTITY,
9435
+ key: TranslatorTranslationEntityKey.IDENTITY_PROVIDER,
9139
9436
  count: 2
9140
9437
  });
9141
9438
  const translation = useTranslation({
9142
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
9143
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
9439
+ namespace: TranslatorTranslationNamespace.VUECS,
9440
+ key: TranslatorTranslationVuecsKey.NO_MORE,
9144
9441
  data: { name: translationName }
9145
9442
  });
9146
9443
  return () => render({ noMore: { content: translation.value } });
@@ -9161,7 +9458,7 @@ var AIdentityProviderIcon_vue_vue_type_script_lang_default = defineComponent({
9161
9458
  });
9162
9459
  //#endregion
9163
9460
  //#region src/components/entities/identity-provider/AIdentityProviderIcon.vue
9164
- function _sfc_render$39(_ctx, _cache, $props, $setup, $data, $options) {
9461
+ function _sfc_render$43(_ctx, _cache, $props, $setup, $data, $options) {
9165
9462
  const _component_VCIcon = resolveComponent("VCIcon");
9166
9463
  const _component_AIdentityProviderPreset = resolveComponent("AIdentityProviderPreset");
9167
9464
  const _component_AIdentityProviderProtocol = resolveComponent("AIdentityProviderProtocol");
@@ -9185,7 +9482,7 @@ function _sfc_render$39(_ctx, _cache, $props, $setup, $data, $options) {
9185
9482
  _: 1
9186
9483
  }, 8, ["id"])) : createCommentVNode("v-if", true);
9187
9484
  }
9188
- var AIdentityProviderIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderIcon_vue_vue_type_script_lang_default, [["render", _sfc_render$39]]);
9485
+ var AIdentityProviderIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderIcon_vue_vue_type_script_lang_default, [["render", _sfc_render$43]]);
9189
9486
  //#endregion
9190
9487
  //#region src/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.vue?vue&type=script&lang.ts
9191
9488
  var RoleMappingAttributesValidator = class extends Container {
@@ -9226,8 +9523,8 @@ var AIdentityProviderRoleAssignment_vue_vue_type_script_lang_default = defineCom
9226
9523
  });
9227
9524
  const v = useValidup(new RoleMappingAttributesValidator(), form);
9228
9525
  const translationsDefault = useTranslations([{
9229
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9230
- key: core_exports.TranslatorTranslationFieldKey.VALUE_IS_REGEX
9526
+ namespace: TranslatorTranslationNamespace.FIELD,
9527
+ key: TranslatorTranslationFieldKey.VALUE_IS_REGEX
9231
9528
  }]);
9232
9529
  const manager = defineEntityManager({
9233
9530
  type: `${EntityType.IDENTITY_PROVIDER_ROLE_MAPPING}`,
@@ -9267,23 +9564,23 @@ var AIdentityProviderRoleAssignment_vue_vue_type_script_lang_default = defineCom
9267
9564
  });
9268
9565
  //#endregion
9269
9566
  //#region src/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.vue
9270
- const _hoisted_1$18 = { class: "flex flex-col" };
9271
- const _hoisted_2$12 = { class: "flex flex-row" };
9272
- const _hoisted_3$9 = { class: "me-2" };
9273
- const _hoisted_4$7 = { class: "ms-auto" };
9567
+ const _hoisted_1$22 = { class: "flex flex-col" };
9568
+ const _hoisted_2$16 = { class: "flex flex-row" };
9569
+ const _hoisted_3$13 = { class: "me-2" };
9570
+ const _hoisted_4$11 = { class: "ms-auto" };
9274
9571
  const _hoisted_5$6 = ["disabled"];
9275
9572
  const _hoisted_6$6 = {
9276
9573
  key: 0,
9277
9574
  class: "mt-2"
9278
9575
  };
9279
- function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
9576
+ function _sfc_render$42(_ctx, _cache, $props, $setup, $data, $options) {
9280
9577
  const _component_VCIcon = resolveComponent("VCIcon");
9281
9578
  const _component_VCFormInput = resolveComponent("VCFormInput");
9282
9579
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
9283
9580
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
9284
9581
  const _component_VCFormSwitch = resolveComponent("VCFormSwitch");
9285
- return openBlock(), createElementBlock("div", _hoisted_1$18, [createElementVNode("div", _hoisted_2$12, [
9286
- createElementVNode("div", _hoisted_3$9, [createElementVNode("button", {
9582
+ return openBlock(), createElementBlock("div", _hoisted_1$22, [createElementVNode("div", _hoisted_2$16, [
9583
+ createElementVNode("div", _hoisted_3$13, [createElementVNode("button", {
9287
9584
  class: "btn btn-xs btn-dark",
9288
9585
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.toggleDisplay(), ["prevent"]))
9289
9586
  }, [createVNode(_component_VCIcon, { name: _ctx.display ? "fa6-solid:chevron-up" : "fa6-solid:chevron-down" }, null, 8, ["name"])])]),
@@ -9291,7 +9588,7 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
9291
9588
  class: "mb-0",
9292
9589
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.toggleDisplay(), ["prevent"]))
9293
9590
  }, toDisplayString(_ctx.role.name), 1)]),
9294
- createElementVNode("div", _hoisted_4$7, [createElementVNode("button", {
9591
+ createElementVNode("div", _hoisted_4$11, [createElementVNode("button", {
9295
9592
  class: normalizeClass(["btn btn-xs", {
9296
9593
  "btn-primary": !_ctx.manager.data.value,
9297
9594
  "btn-dark": !!_ctx.manager.data.value
@@ -9353,7 +9650,7 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
9353
9650
  }, 8, ["field"])
9354
9651
  ])) : createCommentVNode("v-if", true)]);
9355
9652
  }
9356
- var AIdentityProviderRoleAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderRoleAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$38]]);
9653
+ var AIdentityProviderRoleAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderRoleAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$42]]);
9357
9654
  //#endregion
9358
9655
  //#region src/components/entities/identity-provider-role/AIdentityProviderRoleAssignments.vue?vue&type=script&lang.ts
9359
9656
  var AIdentityProviderRoleAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -9371,7 +9668,7 @@ var AIdentityProviderRoleAssignments_vue_vue_type_script_lang_default = defineCo
9371
9668
  });
9372
9669
  //#endregion
9373
9670
  //#region src/components/entities/identity-provider-role/AIdentityProviderRoleAssignments.vue
9374
- function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
9671
+ function _sfc_render$41(_ctx, _cache, $props, $setup, $data, $options) {
9375
9672
  const _component_AIdentityProviderRoleAssignment = resolveComponent("AIdentityProviderRoleAssignment");
9376
9673
  const _component_ARoles = resolveComponent("ARoles");
9377
9674
  return openBlock(), createBlock(_component_ARoles, { "header-title": false }, createSlots({
@@ -9390,7 +9687,7 @@ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
9390
9687
  };
9391
9688
  })]), 1024);
9392
9689
  }
9393
- var AIdentityProviderRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$37]]);
9690
+ var AIdentityProviderRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityProviderRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$41]]);
9394
9691
  //#endregion
9395
9692
  //#region src/components/entities/policy/attribute-names/AAttributeNamesPolicyForm.vue?vue&type=script&lang.ts
9396
9693
  var AAttributeNamesPolicyForm_vue_vue_type_script_lang_default = defineComponent({
@@ -9418,7 +9715,7 @@ var AAttributeNamesPolicyForm_vue_vue_type_script_lang_default = defineComponent
9418
9715
  });
9419
9716
  //#endregion
9420
9717
  //#region src/components/entities/policy/attribute-names/AAttributeNamesPolicyForm.vue
9421
- function _sfc_render$36(_ctx, _cache, $props, $setup, $data, $options) {
9718
+ function _sfc_render$40(_ctx, _cache, $props, $setup, $data, $options) {
9422
9719
  const _component_AFormInputList = resolveComponent("AFormInputList");
9423
9720
  return openBlock(), createBlock(_component_AFormInputList, {
9424
9721
  names: _ctx.v.fields.names.$model.value,
@@ -9426,7 +9723,7 @@ function _sfc_render$36(_ctx, _cache, $props, $setup, $data, $options) {
9426
9723
  onChanged: _ctx.handleUpdated
9427
9724
  }, null, 8, ["names", "onChanged"]);
9428
9725
  }
9429
- var AAttributeNamesPolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AAttributeNamesPolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$36]]);
9726
+ var AAttributeNamesPolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AAttributeNamesPolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$40]]);
9430
9727
  //#endregion
9431
9728
  //#region src/components/entities/policy/APolicyParentAssignment.ts
9432
9729
  const APolicyParentAssignment = defineComponent({
@@ -9578,8 +9875,8 @@ var ACompositePolicyForm_vue_vue_type_script_lang_default = defineComponent({
9578
9875
  });
9579
9876
  //#endregion
9580
9877
  //#region src/components/entities/policy/composite/ACompositePolicyForm.vue
9581
- const _hoisted_1$17 = { class: "alert alert-sm alert-info mt-1 mb-0" };
9582
- function _sfc_render$35(_ctx, _cache, $props, $setup, $data, $options) {
9878
+ const _hoisted_1$21 = { class: "alert alert-sm alert-info mt-1 mb-0" };
9879
+ function _sfc_render$39(_ctx, _cache, $props, $setup, $data, $options) {
9583
9880
  const _component_VCFormSelect = resolveComponent("VCFormSelect");
9584
9881
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
9585
9882
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -9596,7 +9893,7 @@ function _sfc_render$35(_ctx, _cache, $props, $setup, $data, $options) {
9596
9893
  "modelValue",
9597
9894
  "onUpdate:modelValue",
9598
9895
  "options"
9599
- ]), createElementVNode("div", _hoisted_1$17, toDisplayString(_ctx.decisionStrategyHint), 1)]),
9896
+ ]), createElementVNode("div", _hoisted_1$21, toDisplayString(_ctx.decisionStrategyHint), 1)]),
9600
9897
  _: 2
9601
9898
  }, 1032, ["validation"])]),
9602
9899
  _: 1
@@ -9619,7 +9916,7 @@ function _sfc_render$35(_ctx, _cache, $props, $setup, $data, $options) {
9619
9916
  _: 1
9620
9917
  }, 8, ["field"])]);
9621
9918
  }
9622
- var ACompositePolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ACompositePolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$35]]);
9919
+ var ACompositePolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ACompositePolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$39]]);
9623
9920
  //#endregion
9624
9921
  //#region src/components/entities/policy/date/ADatePolicyForm.vue?vue&type=script&lang.ts
9625
9922
  var ADatePolicyForm_vue_vue_type_script_lang_default = defineComponent({
@@ -9637,11 +9934,11 @@ var ADatePolicyForm_vue_vue_type_script_lang_default = defineComponent({
9637
9934
  });
9638
9935
  const v = useValidup(new Container(), form, { name: "type" });
9639
9936
  const translationsDefault = useTranslations([{
9640
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9641
- key: core_exports.TranslatorTranslationFieldKey.START
9937
+ namespace: TranslatorTranslationNamespace.FIELD,
9938
+ key: TranslatorTranslationFieldKey.START
9642
9939
  }, {
9643
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9644
- key: core_exports.TranslatorTranslationFieldKey.END
9940
+ namespace: TranslatorTranslationNamespace.FIELD,
9941
+ key: TranslatorTranslationFieldKey.END
9645
9942
  }]);
9646
9943
  function assign(data = {}) {
9647
9944
  assignFormProperties(form, data);
@@ -9664,7 +9961,7 @@ var ADatePolicyForm_vue_vue_type_script_lang_default = defineComponent({
9664
9961
  });
9665
9962
  //#endregion
9666
9963
  //#region src/components/entities/policy/date/ADatePolicyForm.vue
9667
- function _sfc_render$34(_ctx, _cache, $props, $setup, $data, $options) {
9964
+ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
9668
9965
  const _component_VCFormInput = resolveComponent("VCFormInput");
9669
9966
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
9670
9967
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -9702,7 +9999,7 @@ function _sfc_render$34(_ctx, _cache, $props, $setup, $data, $options) {
9702
9999
  _: 1
9703
10000
  }, 8, ["field"])]);
9704
10001
  }
9705
- var ADatePolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ADatePolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$34]]);
10002
+ var ADatePolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ADatePolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$38]]);
9706
10003
  //#endregion
9707
10004
  //#region src/components/entities/policy/identity/AIdentityPolicyForm.vue?vue&type=script&lang.ts
9708
10005
  var AIdentityPolicyForm_vue_vue_type_script_lang_default = defineComponent({
@@ -9730,7 +10027,7 @@ var AIdentityPolicyForm_vue_vue_type_script_lang_default = defineComponent({
9730
10027
  });
9731
10028
  //#endregion
9732
10029
  //#region src/components/entities/policy/identity/AIdentityPolicyForm.vue
9733
- function _sfc_render$33(_ctx, _cache, $props, $setup, $data, $options) {
10030
+ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
9734
10031
  const _component_AFormInputList = resolveComponent("AFormInputList");
9735
10032
  return openBlock(), createBlock(_component_AFormInputList, {
9736
10033
  names: _ctx.v.fields.types.$model.value,
@@ -9741,7 +10038,7 @@ function _sfc_render$33(_ctx, _cache, $props, $setup, $data, $options) {
9741
10038
  _: 1
9742
10039
  }, 8, ["names", "onChanged"]);
9743
10040
  }
9744
- var AIdentityPolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityPolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$33]]);
10041
+ var AIdentityPolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AIdentityPolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$37]]);
9745
10042
  //#endregion
9746
10043
  //#region src/components/entities/policy/realm-match/ARealmMatchPolicyForm.vue?vue&type=script&lang.ts
9747
10044
  var ARealmMatchPolicyForm_vue_vue_type_script_lang_default = defineComponent({
@@ -9789,18 +10086,18 @@ var ARealmMatchPolicyForm_vue_vue_type_script_lang_default = defineComponent({
9789
10086
  });
9790
10087
  //#endregion
9791
10088
  //#region src/components/entities/policy/realm-match/ARealmMatchPolicyForm.vue
9792
- const _hoisted_1$16 = { class: "row" };
9793
- const _hoisted_2$11 = { class: "col-7" };
9794
- const _hoisted_3$8 = { class: "col-5" };
9795
- const _hoisted_4$6 = ["for"];
10089
+ const _hoisted_1$20 = { class: "row" };
10090
+ const _hoisted_2$15 = { class: "col-7" };
10091
+ const _hoisted_3$12 = { class: "col-5" };
10092
+ const _hoisted_4$10 = ["for"];
9796
10093
  const _hoisted_5$5 = ["for"];
9797
10094
  const _hoisted_6$5 = ["for"];
9798
- function _sfc_render$32(_ctx, _cache, $props, $setup, $data, $options) {
10095
+ function _sfc_render$36(_ctx, _cache, $props, $setup, $data, $options) {
9799
10096
  const _component_AFormInputList = resolveComponent("AFormInputList");
9800
10097
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
9801
10098
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
9802
10099
  const _component_VCFormSwitch = resolveComponent("VCFormSwitch");
9803
- return openBlock(), createElementBlock("div", _hoisted_1$16, [createElementVNode("div", _hoisted_2$11, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.attribute_name }, {
10100
+ return openBlock(), createElementBlock("div", _hoisted_1$20, [createElementVNode("div", _hoisted_2$15, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.attribute_name }, {
9804
10101
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
9805
10102
  default: withCtx(() => [createVNode(_component_AFormInputList, {
9806
10103
  names: _ctx.v.fields.attribute_name.$model.value,
@@ -9809,7 +10106,7 @@ function _sfc_render$32(_ctx, _cache, $props, $setup, $data, $options) {
9809
10106
  _: 2
9810
10107
  }, 1032, ["validation"])]),
9811
10108
  _: 1
9812
- }, 8, ["field"])]), createElementVNode("div", _hoisted_3$8, [
10109
+ }, 8, ["field"])]), createElementVNode("div", _hoisted_3$12, [
9813
10110
  createVNode(_component_IFieldValidation, { field: _ctx.v.fields.attribute_name_strict }, {
9814
10111
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
9815
10112
  default: withCtx(() => [createVNode(_component_VCFormSwitch, {
@@ -9818,7 +10115,7 @@ function _sfc_render$32(_ctx, _cache, $props, $setup, $data, $options) {
9818
10115
  label: true,
9819
10116
  onChange: _ctx.handleUpdated
9820
10117
  }, {
9821
- label: withCtx((iProps) => [createElementVNode("label", { for: iProps.id }, " Only match if the attribute is strict equal to the name? ", 8, _hoisted_4$6)]),
10118
+ label: withCtx((iProps) => [createElementVNode("label", { for: iProps.id }, " Only match if the attribute is strict equal to the name? ", 8, _hoisted_4$10)]),
9822
10119
  _: 1
9823
10120
  }, 8, [
9824
10121
  "modelValue",
@@ -9877,7 +10174,7 @@ function _sfc_render$32(_ctx, _cache, $props, $setup, $data, $options) {
9877
10174
  }, 8, ["field"])
9878
10175
  ])]);
9879
10176
  }
9880
- var ARealmMatchPolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARealmMatchPolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$32]]);
10177
+ var ARealmMatchPolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARealmMatchPolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$36]]);
9881
10178
  //#endregion
9882
10179
  //#region src/components/entities/policy/time/ATimePolicyForm.vue?vue&type=script&lang.ts
9883
10180
  var ATimePolicyForm_vue_vue_type_script_lang_default = defineComponent({
@@ -9905,28 +10202,28 @@ var ATimePolicyForm_vue_vue_type_script_lang_default = defineComponent({
9905
10202
  const v = useValidup(new Container(), form, { name: "type" });
9906
10203
  const translationsDefault = useTranslations([
9907
10204
  {
9908
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9909
- key: core_exports.TranslatorTranslationFieldKey.START
10205
+ namespace: TranslatorTranslationNamespace.FIELD,
10206
+ key: TranslatorTranslationFieldKey.START
9910
10207
  },
9911
10208
  {
9912
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9913
- key: core_exports.TranslatorTranslationFieldKey.END
10209
+ namespace: TranslatorTranslationNamespace.FIELD,
10210
+ key: TranslatorTranslationFieldKey.END
9914
10211
  },
9915
10212
  {
9916
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9917
- key: core_exports.TranslatorTranslationFieldKey.INTERVAL
10213
+ namespace: TranslatorTranslationNamespace.FIELD,
10214
+ key: TranslatorTranslationFieldKey.INTERVAL
9918
10215
  },
9919
10216
  {
9920
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9921
- key: core_exports.TranslatorTranslationFieldKey.DAY_OF_WEEK
10217
+ namespace: TranslatorTranslationNamespace.FIELD,
10218
+ key: TranslatorTranslationFieldKey.DAY_OF_WEEK
9922
10219
  },
9923
10220
  {
9924
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9925
- key: core_exports.TranslatorTranslationFieldKey.DAY_OF_MONTH
10221
+ namespace: TranslatorTranslationNamespace.FIELD,
10222
+ key: TranslatorTranslationFieldKey.DAY_OF_MONTH
9926
10223
  },
9927
10224
  {
9928
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
9929
- key: core_exports.TranslatorTranslationFieldKey.DAY_OF_YEAR
10225
+ namespace: TranslatorTranslationNamespace.FIELD,
10226
+ key: TranslatorTranslationFieldKey.DAY_OF_YEAR
9930
10227
  }
9931
10228
  ]);
9932
10229
  function assign(data = {}) {
@@ -9964,16 +10261,16 @@ var ATimePolicyForm_vue_vue_type_script_lang_default = defineComponent({
9964
10261
  });
9965
10262
  //#endregion
9966
10263
  //#region src/components/entities/policy/time/ATimePolicyForm.vue
9967
- const _hoisted_1$15 = { class: "row" };
9968
- const _hoisted_2$10 = { class: "col" };
9969
- const _hoisted_3$7 = { class: "col" };
9970
- const _hoisted_4$5 = { class: "row" };
10264
+ const _hoisted_1$19 = { class: "row" };
10265
+ const _hoisted_2$14 = { class: "col" };
10266
+ const _hoisted_3$11 = { class: "col" };
10267
+ const _hoisted_4$9 = { class: "row" };
9971
10268
  const _hoisted_5$4 = { class: "col" };
9972
10269
  const _hoisted_6$4 = {
9973
10270
  key: 0,
9974
10271
  class: "col"
9975
10272
  };
9976
- const _hoisted_7$2 = {
10273
+ const _hoisted_7$3 = {
9977
10274
  key: 1,
9978
10275
  class: "col"
9979
10276
  };
@@ -9981,12 +10278,12 @@ const _hoisted_8$1 = {
9981
10278
  key: 2,
9982
10279
  class: "col"
9983
10280
  };
9984
- function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
10281
+ function _sfc_render$35(_ctx, _cache, $props, $setup, $data, $options) {
9985
10282
  const _component_VCFormInput = resolveComponent("VCFormInput");
9986
10283
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
9987
10284
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
9988
10285
  const _component_VCFormSelect = resolveComponent("VCFormSelect");
9989
- return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$15, [createElementVNode("div", _hoisted_2$10, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.start }, {
10286
+ return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$19, [createElementVNode("div", _hoisted_2$14, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.start }, {
9990
10287
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
9991
10288
  label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.start), 1)]),
9992
10289
  default: withCtx(() => [createVNode(_component_VCFormInput, {
@@ -10002,7 +10299,7 @@ function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
10002
10299
  _: 2
10003
10300
  }, 1032, ["validation"])]),
10004
10301
  _: 1
10005
- }, 8, ["field"])]), createElementVNode("div", _hoisted_3$7, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.end }, {
10302
+ }, 8, ["field"])]), createElementVNode("div", _hoisted_3$11, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.end }, {
10006
10303
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
10007
10304
  label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.end), 1)]),
10008
10305
  default: withCtx(() => [createVNode(_component_VCFormInput, {
@@ -10018,7 +10315,7 @@ function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
10018
10315
  _: 2
10019
10316
  }, 1032, ["validation"])]),
10020
10317
  _: 1
10021
- }, 8, ["field"])])]), createElementVNode("div", _hoisted_4$5, [
10318
+ }, 8, ["field"])])]), createElementVNode("div", _hoisted_4$9, [
10022
10319
  createElementVNode("div", _hoisted_5$4, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.interval }, {
10023
10320
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
10024
10321
  label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.interval), 1)]),
@@ -10054,7 +10351,7 @@ function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
10054
10351
  }, 1032, ["validation"])]),
10055
10352
  _: 1
10056
10353
  }, 8, ["field"])])) : createCommentVNode("v-if", true),
10057
- _ctx.displayIntervalForDayOfMonth ? (openBlock(), createElementBlock("div", _hoisted_7$2, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.day_of_month }, {
10354
+ _ctx.displayIntervalForDayOfMonth ? (openBlock(), createElementBlock("div", _hoisted_7$3, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.day_of_month }, {
10058
10355
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
10059
10356
  label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.dayOfMonth), 1)]),
10060
10357
  default: withCtx(() => [createVNode(_component_VCFormInput, {
@@ -10092,7 +10389,7 @@ function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
10092
10389
  }, 8, ["field"])])) : createCommentVNode("v-if", true)
10093
10390
  ])]);
10094
10391
  }
10095
- var ATimePolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ATimePolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$31]]);
10392
+ var ATimePolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ATimePolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$35]]);
10096
10393
  //#endregion
10097
10394
  //#region src/components/entities/policy/APolicy.ts
10098
10395
  const APolicy = defineComponent({
@@ -10150,19 +10447,19 @@ var APolicyTypePicker_vue_vue_type_script_lang_default = defineComponent({
10150
10447
  });
10151
10448
  //#endregion
10152
10449
  //#region src/components/entities/policy/APolicyTypePicker.vue
10153
- const _hoisted_1$14 = { class: "flex flex-col gap-2" };
10154
- const _hoisted_2$9 = { class: "flex flex-row gap-2 flex-wrap" };
10155
- const _hoisted_3$6 = ["onClick"];
10156
- function _sfc_render$30(_ctx, _cache, $props, $setup, $data, $options) {
10157
- return openBlock(), createElementBlock("div", _hoisted_1$14, [createElementVNode("div", null, [_cache[0] || (_cache[0] = createElementVNode("h6", null, "Type", -1)), createElementVNode("div", _hoisted_2$9, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (item, key) => {
10450
+ const _hoisted_1$18 = { class: "flex flex-col gap-2" };
10451
+ const _hoisted_2$13 = { class: "flex flex-row gap-2 flex-wrap" };
10452
+ const _hoisted_3$10 = ["onClick"];
10453
+ function _sfc_render$34(_ctx, _cache, $props, $setup, $data, $options) {
10454
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [createElementVNode("div", null, [_cache[0] || (_cache[0] = createElementVNode("h6", null, "Type", -1)), createElementVNode("div", _hoisted_2$13, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (item, key) => {
10158
10455
  return openBlock(), createElementBlock("div", {
10159
10456
  key,
10160
10457
  class: normalizeClass([{ "active": item.value === _ctx.option }, "flex flex-col gap-1 text-center a-picker-item"]),
10161
10458
  onClick: withModifiers(($event) => _ctx.pick(`${item.value}`), ["prevent"])
10162
- }, [createElementVNode("div", null, toDisplayString(item.value), 1)], 10, _hoisted_3$6);
10459
+ }, [createElementVNode("div", null, toDisplayString(item.value), 1)], 10, _hoisted_3$10);
10163
10460
  }), 128))])])]);
10164
10461
  }
10165
- var APolicyTypePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyTypePicker_vue_vue_type_script_lang_default, [["render", _sfc_render$30], ["__scopeId", "data-v-51b5a9d2"]]);
10462
+ var APolicyTypePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyTypePicker_vue_vue_type_script_lang_default, [["render", _sfc_render$34]]);
10166
10463
  //#endregion
10167
10464
  //#region src/components/entities/policy/APolicyBasicForm.vue?vue&type=script&lang.ts
10168
10465
  var APolicyBasicForm_vue_vue_type_script_lang_default = defineComponent({
@@ -10235,14 +10532,14 @@ var APolicyBasicForm_vue_vue_type_script_lang_default = defineComponent({
10235
10532
  });
10236
10533
  //#endregion
10237
10534
  //#region src/components/entities/policy/APolicyBasicForm.vue
10238
- const _hoisted_1$13 = { class: "row" };
10239
- const _hoisted_2$8 = { class: "col" };
10240
- const _hoisted_3$5 = ["for"];
10241
- const _hoisted_4$4 = {
10535
+ const _hoisted_1$17 = { class: "row" };
10536
+ const _hoisted_2$12 = { class: "col" };
10537
+ const _hoisted_3$9 = ["for"];
10538
+ const _hoisted_4$8 = {
10242
10539
  key: 0,
10243
10540
  class: "col"
10244
10541
  };
10245
- function _sfc_render$29(_ctx, _cache, $props, $setup, $data, $options) {
10542
+ function _sfc_render$33(_ctx, _cache, $props, $setup, $data, $options) {
10246
10543
  const _component_ANameInput = resolveComponent("ANameInput");
10247
10544
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
10248
10545
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -10250,7 +10547,7 @@ function _sfc_render$29(_ctx, _cache, $props, $setup, $data, $options) {
10250
10547
  const _component_VCFormTextarea = resolveComponent("VCFormTextarea");
10251
10548
  const _component_VCFormSwitch = resolveComponent("VCFormSwitch");
10252
10549
  const _component_ARealmPicker = resolveComponent("ARealmPicker");
10253
- return openBlock(), createElementBlock("div", _hoisted_1$13, [createElementVNode("div", _hoisted_2$8, [
10550
+ return openBlock(), createElementBlock("div", _hoisted_1$17, [createElementVNode("div", _hoisted_2$12, [
10254
10551
  createVNode(_component_IFieldValidation, { field: _ctx.v.fields.name }, {
10255
10552
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
10256
10553
  label: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode(" Name ", -1)])]),
@@ -10310,7 +10607,7 @@ function _sfc_render$29(_ctx, _cache, $props, $setup, $data, $options) {
10310
10607
  label: true,
10311
10608
  onChange: _ctx.handleUpdated
10312
10609
  }, {
10313
- label: withCtx((iProps) => [createElementVNode("label", { for: iProps.id }, " Invert? ", 8, _hoisted_3$5)]),
10610
+ label: withCtx((iProps) => [createElementVNode("label", { for: iProps.id }, " Invert? ", 8, _hoisted_3$9)]),
10314
10611
  _: 1
10315
10612
  }, 8, [
10316
10613
  "modelValue",
@@ -10321,7 +10618,7 @@ function _sfc_render$29(_ctx, _cache, $props, $setup, $data, $options) {
10321
10618
  }, 1032, ["validation"])]),
10322
10619
  _: 1
10323
10620
  }, 8, ["field"])
10324
- ]), !_ctx.realmId && !_ctx.isEditing ? (openBlock(), createElementBlock("div", _hoisted_4$4, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.realm_id }, {
10621
+ ]), !_ctx.realmId && !_ctx.isEditing ? (openBlock(), createElementBlock("div", _hoisted_4$8, [createVNode(_component_IFieldValidation, { field: _ctx.v.fields.realm_id }, {
10325
10622
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
10326
10623
  label: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode(" Realm ", -1)])]),
10327
10624
  default: withCtx(() => [createVNode(_component_ARealmPicker, {
@@ -10341,7 +10638,7 @@ var APolicyForm_vue_vue_type_script_lang_default = defineComponent({
10341
10638
  components: {
10342
10639
  AFormSubmit,
10343
10640
  APolicyTypePicker: APolicyTypePicker_default,
10344
- APolicyBasicForm: /* @__PURE__ */ _plugin_vue_export_helper_default(APolicyBasicForm_vue_vue_type_script_lang_default, [["render", _sfc_render$29]])
10641
+ APolicyBasicForm: /* @__PURE__ */ _plugin_vue_export_helper_default(APolicyBasicForm_vue_vue_type_script_lang_default, [["render", _sfc_render$33]])
10345
10642
  },
10346
10643
  props: {
10347
10644
  entity: { type: Object },
@@ -10399,11 +10696,11 @@ var APolicyForm_vue_vue_type_script_lang_default = defineComponent({
10399
10696
  });
10400
10697
  //#endregion
10401
10698
  //#region src/components/entities/policy/APolicyForm.vue
10402
- const _hoisted_1$12 = { class: "flex flex-col" };
10403
- function _sfc_render$28(_ctx, _cache, $props, $setup, $data, $options) {
10699
+ const _hoisted_1$16 = { class: "flex flex-col" };
10700
+ function _sfc_render$32(_ctx, _cache, $props, $setup, $data, $options) {
10404
10701
  const _component_APolicyBasicForm = resolveComponent("APolicyBasicForm");
10405
10702
  const _component_AFormSubmit = resolveComponent("AFormSubmit");
10406
- return openBlock(), createElementBlock("div", _hoisted_1$12, [
10703
+ return openBlock(), createElementBlock("div", _hoisted_1$16, [
10407
10704
  _cache[0] || (_cache[0] = createElementVNode("h6", null, "General", -1)),
10408
10705
  createVNode(_component_APolicyBasicForm, {
10409
10706
  entity: _ctx.data,
@@ -10429,7 +10726,7 @@ function _sfc_render$28(_ctx, _cache, $props, $setup, $data, $options) {
10429
10726
  ])])
10430
10727
  ]);
10431
10728
  }
10432
- var APolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$28]]);
10729
+ var APolicyForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APolicyForm_vue_vue_type_script_lang_default, [["render", _sfc_render$32]]);
10433
10730
  //#endregion
10434
10731
  //#region src/components/entities/permission-client/APermissionClientAssignments.vue?vue&type=script&lang.ts
10435
10732
  var APermissionClientAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -10447,7 +10744,7 @@ var APermissionClientAssignments_vue_vue_type_script_lang_default = defineCompon
10447
10744
  });
10448
10745
  //#endregion
10449
10746
  //#region src/components/entities/permission-client/APermissionClientAssignments.vue
10450
- function _sfc_render$27(_ctx, _cache, $props, $setup, $data, $options) {
10747
+ function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
10451
10748
  const _component_AClientPermissionAssignment = resolveComponent("AClientPermissionAssignment");
10452
10749
  const _component_AClients = resolveComponent("AClients");
10453
10750
  return openBlock(), createBlock(_component_AClients, null, createSlots({
@@ -10464,7 +10761,7 @@ function _sfc_render$27(_ctx, _cache, $props, $setup, $data, $options) {
10464
10761
  };
10465
10762
  })]), 1024);
10466
10763
  }
10467
- var APermissionClientAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionClientAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$27]]);
10764
+ var APermissionClientAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionClientAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$31]]);
10468
10765
  //#endregion
10469
10766
  //#region src/components/entities/permission-policy/APermissionPolicyAssignment.vue?vue&type=script&lang.ts
10470
10767
  var APermissionPolicyAssignment_vue_vue_type_script_lang_default = defineComponent({
@@ -10511,7 +10808,7 @@ var APermissionPolicyAssignment_vue_vue_type_script_lang_default = defineCompone
10511
10808
  });
10512
10809
  //#endregion
10513
10810
  //#region src/components/entities/permission-policy/APermissionPolicyAssignment.vue
10514
- function _sfc_render$26(_ctx, _cache, $props, $setup, $data, $options) {
10811
+ function _sfc_render$30(_ctx, _cache, $props, $setup, $data, $options) {
10515
10812
  const _component_AToggleButton = resolveComponent("AToggleButton");
10516
10813
  return openBlock(), createBlock(_component_AToggleButton, {
10517
10814
  value: !!_ctx.manager.data.value,
@@ -10523,7 +10820,7 @@ function _sfc_render$26(_ctx, _cache, $props, $setup, $data, $options) {
10523
10820
  "onChanged"
10524
10821
  ]);
10525
10822
  }
10526
- var APermissionPolicyAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionPolicyAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$26]]);
10823
+ var APermissionPolicyAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionPolicyAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$30]]);
10527
10824
  //#endregion
10528
10825
  //#region src/components/entities/permission-policy/APermissionPolicyAssignments.vue?vue&type=script&lang.ts
10529
10826
  var APermissionPolicyAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -10556,14 +10853,14 @@ var APermissionPolicyAssignments_vue_vue_type_script_lang_default = defineCompon
10556
10853
  });
10557
10854
  //#endregion
10558
10855
  //#region src/components/entities/permission-policy/APermissionPolicyAssignments.vue
10559
- const _hoisted_1$11 = { class: "ms-auto" };
10560
- const _hoisted_2$7 = ["aria-labelledby"];
10561
- const _hoisted_3$4 = { class: "modal-content" };
10562
- const _hoisted_4$3 = { class: "modal-header" };
10856
+ const _hoisted_1$15 = { class: "ms-auto" };
10857
+ const _hoisted_2$11 = ["aria-labelledby"];
10858
+ const _hoisted_3$8 = { class: "modal-content" };
10859
+ const _hoisted_4$7 = { class: "modal-header" };
10563
10860
  const _hoisted_5$3 = ["id"];
10564
10861
  const _hoisted_6$3 = { class: "modal-body" };
10565
- const _hoisted_7$1 = { class: "modal-footer" };
10566
- function _sfc_render$25(_ctx, _cache, $props, $setup, $data, $options) {
10862
+ const _hoisted_7$2 = { class: "modal-footer" };
10863
+ function _sfc_render$29(_ctx, _cache, $props, $setup, $data, $options) {
10567
10864
  const _component_APolicyInlineInfo = resolveComponent("APolicyInlineInfo");
10568
10865
  const _component_APermissionPolicyAssignment = resolveComponent("APermissionPolicyAssignment");
10569
10866
  const _component_APolicies = resolveComponent("APolicies");
@@ -10575,7 +10872,7 @@ function _sfc_render$25(_ctx, _cache, $props, $setup, $data, $options) {
10575
10872
  entity: data,
10576
10873
  onDetail: _cache[0] || (_cache[0] = ($event) => _ctx.detailPolicy = $event)
10577
10874
  }, null, 8, ["entity"]),
10578
- createElementVNode("div", _hoisted_1$11, [(openBlock(), createBlock(_component_APermissionPolicyAssignment, {
10875
+ createElementVNode("div", _hoisted_1$15, [(openBlock(), createBlock(_component_APermissionPolicyAssignment, {
10579
10876
  key: data.id,
10580
10877
  "permission-id": _ctx.entityId,
10581
10878
  "policy-id": data.id
@@ -10603,8 +10900,8 @@ function _sfc_render$25(_ctx, _cache, $props, $setup, $data, $options) {
10603
10900
  class: "modal-dialog",
10604
10901
  role: "document",
10605
10902
  onClick: _cache[4] || (_cache[4] = withModifiers(() => {}, ["stop"]))
10606
- }, [createElementVNode("div", _hoisted_3$4, [
10607
- createElementVNode("div", _hoisted_4$3, [createElementVNode("h5", {
10903
+ }, [createElementVNode("div", _hoisted_3$8, [
10904
+ createElementVNode("div", _hoisted_4$7, [createElementVNode("h5", {
10608
10905
  id: `policy-detail-modal-${_ctx.detailPolicy.id}`,
10609
10906
  class: "modal-title"
10610
10907
  }, toDisplayString(_ctx.detailPolicy.name), 9, _hoisted_5$3), createElementVNode("button", {
@@ -10614,14 +10911,14 @@ function _sfc_render$25(_ctx, _cache, $props, $setup, $data, $options) {
10614
10911
  onClick: _cache[2] || (_cache[2] = ($event) => _ctx.detailPolicy = null)
10615
10912
  })]),
10616
10913
  createElementVNode("div", _hoisted_6$3, [createVNode(_component_APolicySummary, { entity: _ctx.detailPolicy }, null, 8, ["entity"])]),
10617
- createElementVNode("div", _hoisted_7$1, [createElementVNode("button", {
10914
+ createElementVNode("div", _hoisted_7$2, [createElementVNode("button", {
10618
10915
  type: "button",
10619
10916
  class: "btn btn-secondary btn-xs",
10620
10917
  onClick: _cache[3] || (_cache[3] = ($event) => _ctx.detailPolicy = null)
10621
10918
  }, " Close ")])
10622
- ])])], 8, _hoisted_2$7)])) : createCommentVNode("v-if", true)]);
10919
+ ])])], 8, _hoisted_2$11)])) : createCommentVNode("v-if", true)]);
10623
10920
  }
10624
- var APermissionPolicyAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionPolicyAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$25]]);
10921
+ var APermissionPolicyAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionPolicyAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$29]]);
10625
10922
  //#endregion
10626
10923
  //#region src/components/entities/robot-permission/ARobotPermissionAssignment.vue?vue&type=script&lang.ts
10627
10924
  var ARobotPermissionAssignment_vue_vue_type_script_lang_default = defineComponent({
@@ -10676,11 +10973,11 @@ var ARobotPermissionAssignment_vue_vue_type_script_lang_default = defineComponen
10676
10973
  });
10677
10974
  //#endregion
10678
10975
  //#region src/components/entities/robot-permission/ARobotPermissionAssignment.vue
10679
- const _hoisted_1$10 = { class: "flex gap-1" };
10680
- function _sfc_render$24(_ctx, _cache, $props, $setup, $data, $options) {
10976
+ const _hoisted_1$14 = { class: "flex gap-1" };
10977
+ function _sfc_render$28(_ctx, _cache, $props, $setup, $data, $options) {
10681
10978
  const _component_AToggleButton = resolveComponent("AToggleButton");
10682
10979
  const _component_APermissionPolicyBindingButton = resolveComponent("APermissionPolicyBindingButton");
10683
- return openBlock(), createElementBlock("span", _hoisted_1$10, [createVNode(_component_AToggleButton, {
10980
+ return openBlock(), createElementBlock("span", _hoisted_1$14, [createVNode(_component_AToggleButton, {
10684
10981
  value: !!_ctx.manager.data.value,
10685
10982
  "is-busy": _ctx.manager.busy.value,
10686
10983
  onChanged: _ctx.handleChanged
@@ -10699,7 +10996,7 @@ function _sfc_render$24(_ctx, _cache, $props, $setup, $data, $options) {
10699
10996
  "onUpdated"
10700
10997
  ])) : createCommentVNode("v-if", true)]);
10701
10998
  }
10702
- var ARobotPermissionAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotPermissionAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$24]]);
10999
+ var ARobotPermissionAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotPermissionAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$28]]);
10703
11000
  //#endregion
10704
11001
  //#region src/components/entities/robot/ARobot.ts
10705
11002
  const ARobot = defineComponent({
@@ -10798,24 +11095,24 @@ var ARobotForm_vue_vue_type_script_lang_default = defineComponent({
10798
11095
  };
10799
11096
  const translationsDefault = useTranslations([
10800
11097
  {
10801
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
10802
- key: core_exports.TranslatorTranslationFieldKey.HASHED
11098
+ namespace: TranslatorTranslationNamespace.FIELD,
11099
+ key: TranslatorTranslationFieldKey.HASHED
10803
11100
  },
10804
11101
  {
10805
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
10806
- key: core_exports.TranslatorTranslationFieldKey.NAME
11102
+ namespace: TranslatorTranslationNamespace.FIELD,
11103
+ key: TranslatorTranslationFieldKey.NAME
10807
11104
  },
10808
11105
  {
10809
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
10810
- key: core_exports.TranslatorTranslationFieldKey.DISPLAY_NAME
11106
+ namespace: TranslatorTranslationNamespace.FIELD,
11107
+ key: TranslatorTranslationFieldKey.DISPLAY_NAME
10811
11108
  },
10812
11109
  {
10813
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
10814
- key: core_exports.TranslatorTranslationFieldKey.DESCRIPTION
11110
+ namespace: TranslatorTranslationNamespace.FIELD,
11111
+ key: TranslatorTranslationFieldKey.DESCRIPTION
10815
11112
  },
10816
11113
  {
10817
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
10818
- key: core_exports.TranslatorTranslationFieldKey.SECRET
11114
+ namespace: TranslatorTranslationNamespace.FIELD,
11115
+ key: TranslatorTranslationFieldKey.SECRET
10819
11116
  }
10820
11117
  ]);
10821
11118
  return {
@@ -10834,15 +11131,15 @@ var ARobotForm_vue_vue_type_script_lang_default = defineComponent({
10834
11131
  });
10835
11132
  //#endregion
10836
11133
  //#region src/components/entities/robot/ARobotForm.vue
10837
- const _hoisted_1$9 = {
11134
+ const _hoisted_1$13 = {
10838
11135
  key: 0,
10839
11136
  class: "text-error-600 font-bold ps-1"
10840
11137
  };
10841
- const _hoisted_2$6 = {
11138
+ const _hoisted_2$10 = {
10842
11139
  key: 0,
10843
11140
  class: "col"
10844
11141
  };
10845
- function _sfc_render$23(_ctx, _cache, $props, $setup, $data, $options) {
11142
+ function _sfc_render$27(_ctx, _cache, $props, $setup, $data, $options) {
10846
11143
  const _component_VCFormInput = resolveComponent("VCFormInput");
10847
11144
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
10848
11145
  const _component_ANameInput = resolveComponent("ANameInput");
@@ -10892,7 +11189,7 @@ function _sfc_render$23(_ctx, _cache, $props, $setup, $data, $options) {
10892
11189
  }, 8, ["field"]),
10893
11190
  createVNode(_component_IFieldValidation, { field: _ctx.v.fields.secret }, {
10894
11191
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
10895
- label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.secret), 1), _ctx.isSecretHashed ? (openBlock(), createElementBlock("span", _hoisted_1$9, [createTextVNode(toDisplayString(_ctx.translationsDefault.hashed) + " ", 1), createVNode(_component_VCIcon, {
11192
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.secret), 1), _ctx.isSecretHashed ? (openBlock(), createElementBlock("span", _hoisted_1$13, [createTextVNode(toDisplayString(_ctx.translationsDefault.hashed) + " ", 1), createVNode(_component_VCIcon, {
10896
11193
  name: "fa6-solid:triangle-exclamation",
10897
11194
  class: "ps-1"
10898
11195
  })])) : createCommentVNode("v-if", true)]),
@@ -10917,7 +11214,7 @@ function _sfc_render$23(_ctx, _cache, $props, $setup, $data, $options) {
10917
11214
  "is-invalid",
10918
11215
  "onSubmit"
10919
11216
  ])
10920
- ], 2), !_ctx.isRealmLocked ? (openBlock(), createElementBlock("div", _hoisted_2$6, [createVNode(_component_ARealms, null, {
11217
+ ], 2), !_ctx.isRealmLocked ? (openBlock(), createElementBlock("div", _hoisted_2$10, [createVNode(_component_ARealms, null, {
10921
11218
  itemActions: withCtx((pickerProps) => [createVNode(_component_AToggleButton, {
10922
11219
  value: _ctx.form.realm_id === pickerProps.data.id,
10923
11220
  "is-busy": pickerProps.busy,
@@ -10932,7 +11229,7 @@ function _sfc_render$23(_ctx, _cache, $props, $setup, $data, $options) {
10932
11229
  _: 1
10933
11230
  })])) : createCommentVNode("v-if", true)], 2)], 32);
10934
11231
  }
10935
- var ARobotForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotForm_vue_vue_type_script_lang_default, [["render", _sfc_render$23]]);
11232
+ var ARobotForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotForm_vue_vue_type_script_lang_default, [["render", _sfc_render$27]]);
10936
11233
  //#endregion
10937
11234
  //#region src/components/entities/robot/ARobots.ts
10938
11235
  const ARobots = defineComponent({
@@ -10946,13 +11243,13 @@ const ARobots = defineComponent({
10946
11243
  setup: ctx
10947
11244
  });
10948
11245
  const translationName = useTranslation({
10949
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
10950
- key: core_exports.TranslatorTranslationEntityKey.ROBOT,
11246
+ namespace: TranslatorTranslationNamespace.ENTITY,
11247
+ key: TranslatorTranslationEntityKey.ROBOT,
10951
11248
  count: 2
10952
11249
  });
10953
11250
  const translation = useTranslation({
10954
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
10955
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
11251
+ namespace: TranslatorTranslationNamespace.VUECS,
11252
+ key: TranslatorTranslationVuecsKey.NO_MORE,
10956
11253
  data: { name: translationName }
10957
11254
  });
10958
11255
  return () => render({ noMore: { content: translation.value } });
@@ -10975,7 +11272,7 @@ var APermissionRobotAssignments_vue_vue_type_script_lang_default = defineCompone
10975
11272
  });
10976
11273
  //#endregion
10977
11274
  //#region src/components/entities/permission-robot/APermissionRobotAssignments.vue
10978
- function _sfc_render$22(_ctx, _cache, $props, $setup, $data, $options) {
11275
+ function _sfc_render$26(_ctx, _cache, $props, $setup, $data, $options) {
10979
11276
  const _component_ARobotPermissionAssignment = resolveComponent("ARobotPermissionAssignment");
10980
11277
  const _component_ARobots = resolveComponent("ARobots");
10981
11278
  return openBlock(), createBlock(_component_ARobots, null, createSlots({
@@ -10992,7 +11289,7 @@ function _sfc_render$22(_ctx, _cache, $props, $setup, $data, $options) {
10992
11289
  };
10993
11290
  })]), 1024);
10994
11291
  }
10995
- var APermissionRobotAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionRobotAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$22]]);
11292
+ var APermissionRobotAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionRobotAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$26]]);
10996
11293
  //#endregion
10997
11294
  //#region src/components/entities/role-permission/ARolePermissionAssignment.vue?vue&type=script&lang.ts
10998
11295
  var ARolePermissionAssignment_vue_vue_type_script_lang_default = defineComponent({
@@ -11047,11 +11344,11 @@ var ARolePermissionAssignment_vue_vue_type_script_lang_default = defineComponent
11047
11344
  });
11048
11345
  //#endregion
11049
11346
  //#region src/components/entities/role-permission/ARolePermissionAssignment.vue
11050
- const _hoisted_1$8 = { class: "flex gap-1" };
11051
- function _sfc_render$21(_ctx, _cache, $props, $setup, $data, $options) {
11347
+ const _hoisted_1$12 = { class: "flex gap-1" };
11348
+ function _sfc_render$25(_ctx, _cache, $props, $setup, $data, $options) {
11052
11349
  const _component_AToggleButton = resolveComponent("AToggleButton");
11053
11350
  const _component_APermissionPolicyBindingButton = resolveComponent("APermissionPolicyBindingButton");
11054
- return openBlock(), createElementBlock("span", _hoisted_1$8, [createVNode(_component_AToggleButton, {
11351
+ return openBlock(), createElementBlock("span", _hoisted_1$12, [createVNode(_component_AToggleButton, {
11055
11352
  value: !!_ctx.manager.data.value,
11056
11353
  "is-busy": _ctx.manager.busy.value,
11057
11354
  onChanged: _ctx.handleChanged
@@ -11070,7 +11367,7 @@ function _sfc_render$21(_ctx, _cache, $props, $setup, $data, $options) {
11070
11367
  "onUpdated"
11071
11368
  ])) : createCommentVNode("v-if", true)]);
11072
11369
  }
11073
- var ARolePermissionAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARolePermissionAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$21]]);
11370
+ var ARolePermissionAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARolePermissionAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$25]]);
11074
11371
  //#endregion
11075
11372
  //#region src/components/entities/role-permission/ARolePermissionAssignments.vue?vue&type=script&lang.ts
11076
11373
  var ARolePermissionAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11088,7 +11385,7 @@ var ARolePermissionAssignments_vue_vue_type_script_lang_default = defineComponen
11088
11385
  });
11089
11386
  //#endregion
11090
11387
  //#region src/components/entities/role-permission/ARolePermissionAssignments.vue
11091
- function _sfc_render$20(_ctx, _cache, $props, $setup, $data, $options) {
11388
+ function _sfc_render$24(_ctx, _cache, $props, $setup, $data, $options) {
11092
11389
  const _component_ARolePermissionAssignment = resolveComponent("ARolePermissionAssignment");
11093
11390
  const _component_APermissions = resolveComponent("APermissions");
11094
11391
  return openBlock(), createBlock(_component_APermissions, null, createSlots({
@@ -11105,7 +11402,7 @@ function _sfc_render$20(_ctx, _cache, $props, $setup, $data, $options) {
11105
11402
  };
11106
11403
  })]), 1024);
11107
11404
  }
11108
- var ARolePermissionAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARolePermissionAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$20]]);
11405
+ var ARolePermissionAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARolePermissionAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$24]]);
11109
11406
  //#endregion
11110
11407
  //#region src/components/entities/permission-role/APermissionRoleAssignments.vue?vue&type=script&lang.ts
11111
11408
  var APermissionRoleAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11123,7 +11420,7 @@ var APermissionRoleAssignments_vue_vue_type_script_lang_default = defineComponen
11123
11420
  });
11124
11421
  //#endregion
11125
11422
  //#region src/components/entities/permission-role/APermissionRoleAssignments.vue
11126
- function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
11423
+ function _sfc_render$23(_ctx, _cache, $props, $setup, $data, $options) {
11127
11424
  const _component_ARolePermissionAssignment = resolveComponent("ARolePermissionAssignment");
11128
11425
  const _component_ARoles = resolveComponent("ARoles");
11129
11426
  return openBlock(), createBlock(_component_ARoles, null, createSlots({
@@ -11140,7 +11437,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
11140
11437
  };
11141
11438
  })]), 1024);
11142
11439
  }
11143
- var APermissionRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$19]]);
11440
+ var APermissionRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$23]]);
11144
11441
  //#endregion
11145
11442
  //#region src/components/entities/user-permission/AUserPermissionAssignment.vue?vue&type=script&lang.ts
11146
11443
  var AUserPermissionAssignment_vue_vue_type_script_lang_default = defineComponent({
@@ -11195,11 +11492,11 @@ var AUserPermissionAssignment_vue_vue_type_script_lang_default = defineComponent
11195
11492
  });
11196
11493
  //#endregion
11197
11494
  //#region src/components/entities/user-permission/AUserPermissionAssignment.vue
11198
- const _hoisted_1$7 = { class: "flex gap-1" };
11199
- function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
11495
+ const _hoisted_1$11 = { class: "flex gap-1" };
11496
+ function _sfc_render$22(_ctx, _cache, $props, $setup, $data, $options) {
11200
11497
  const _component_AToggleButton = resolveComponent("AToggleButton");
11201
11498
  const _component_APermissionPolicyBindingButton = resolveComponent("APermissionPolicyBindingButton");
11202
- return openBlock(), createElementBlock("span", _hoisted_1$7, [createVNode(_component_AToggleButton, {
11499
+ return openBlock(), createElementBlock("span", _hoisted_1$11, [createVNode(_component_AToggleButton, {
11203
11500
  value: !!_ctx.manager.data.value,
11204
11501
  "is-busy": _ctx.manager.busy.value,
11205
11502
  onChanged: _ctx.handleChanged
@@ -11218,7 +11515,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
11218
11515
  "onUpdated"
11219
11516
  ])) : createCommentVNode("v-if", true)]);
11220
11517
  }
11221
- var AUserPermissionAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserPermissionAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$18]]);
11518
+ var AUserPermissionAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserPermissionAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$22]]);
11222
11519
  //#endregion
11223
11520
  //#region src/components/entities/user-permission/AUserPermissionAssignments.vue?vue&type=script&lang.ts
11224
11521
  var AUserPermissionAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11236,7 +11533,7 @@ var AUserPermissionAssignments_vue_vue_type_script_lang_default = defineComponen
11236
11533
  });
11237
11534
  //#endregion
11238
11535
  //#region src/components/entities/user-permission/AUserPermissionAssignments.vue
11239
- function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
11536
+ function _sfc_render$21(_ctx, _cache, $props, $setup, $data, $options) {
11240
11537
  const _component_AUserPermissionAssignment = resolveComponent("AUserPermissionAssignment");
11241
11538
  const _component_APermissions = resolveComponent("APermissions");
11242
11539
  return openBlock(), createBlock(_component_APermissions, null, createSlots({
@@ -11253,7 +11550,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
11253
11550
  };
11254
11551
  })]), 1024);
11255
11552
  }
11256
- var AUserPermissionAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserPermissionAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$17]]);
11553
+ var AUserPermissionAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserPermissionAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$21]]);
11257
11554
  //#endregion
11258
11555
  //#region src/components/entities/user/AUser.ts
11259
11556
  const AUser = defineComponent({
@@ -11361,36 +11658,36 @@ var AUserForm_vue_vue_type_script_lang_default = defineComponent({
11361
11658
  showRealmPicker,
11362
11659
  translationsDefault: useTranslations([
11363
11660
  {
11364
- namespace: core_exports.TranslatorTranslationNamespace.COMMON,
11365
- key: core_exports.TranslatorTranslationCommonKey.ACTIVE
11661
+ namespace: TranslatorTranslationNamespace.COMMON,
11662
+ key: TranslatorTranslationCommonKey.ACTIVE
11366
11663
  },
11367
11664
  {
11368
- namespace: core_exports.TranslatorTranslationNamespace.COMMON,
11369
- key: core_exports.TranslatorTranslationCommonKey.INACTIVE
11665
+ namespace: TranslatorTranslationNamespace.COMMON,
11666
+ key: TranslatorTranslationCommonKey.INACTIVE
11370
11667
  },
11371
11668
  {
11372
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
11373
- key: core_exports.TranslatorTranslationFieldKey.DISPLAY_NAME
11669
+ namespace: TranslatorTranslationNamespace.FIELD,
11670
+ key: TranslatorTranslationFieldKey.DISPLAY_NAME
11374
11671
  },
11375
11672
  {
11376
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
11377
- key: core_exports.TranslatorTranslationFieldKey.EMAIL
11673
+ namespace: TranslatorTranslationNamespace.FIELD,
11674
+ key: TranslatorTranslationFieldKey.EMAIL
11378
11675
  },
11379
11676
  {
11380
- namespace: core_exports.TranslatorTranslationNamespace.COMMON,
11381
- key: core_exports.TranslatorTranslationCommonKey.LOCKED
11677
+ namespace: TranslatorTranslationNamespace.COMMON,
11678
+ key: TranslatorTranslationCommonKey.LOCKED
11382
11679
  },
11383
11680
  {
11384
- namespace: core_exports.TranslatorTranslationNamespace.COMMON,
11385
- key: core_exports.TranslatorTranslationCommonKey.NOT_LOCKED
11681
+ namespace: TranslatorTranslationNamespace.COMMON,
11682
+ key: TranslatorTranslationCommonKey.NOT_LOCKED
11386
11683
  },
11387
11684
  {
11388
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
11389
- key: core_exports.TranslatorTranslationFieldKey.NAME
11685
+ namespace: TranslatorTranslationNamespace.FIELD,
11686
+ key: TranslatorTranslationFieldKey.NAME
11390
11687
  },
11391
11688
  {
11392
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
11393
- key: core_exports.TranslatorTranslationFieldKey.DESCRIPTION
11689
+ namespace: TranslatorTranslationNamespace.FIELD,
11690
+ key: TranslatorTranslationFieldKey.DESCRIPTION
11394
11691
  }
11395
11692
  ]),
11396
11693
  onNameChange,
@@ -11400,19 +11697,19 @@ var AUserForm_vue_vue_type_script_lang_default = defineComponent({
11400
11697
  });
11401
11698
  //#endregion
11402
11699
  //#region src/components/entities/user/AUserForm.vue
11403
- const _hoisted_1$6 = {
11700
+ const _hoisted_1$10 = {
11404
11701
  key: 0,
11405
11702
  class: "row"
11406
11703
  };
11407
- const _hoisted_2$5 = { class: "col" };
11408
- const _hoisted_3$3 = ["for"];
11409
- const _hoisted_4$2 = {
11704
+ const _hoisted_2$9 = { class: "col" };
11705
+ const _hoisted_3$7 = ["for"];
11706
+ const _hoisted_4$6 = {
11410
11707
  key: 0,
11411
11708
  class: "col"
11412
11709
  };
11413
11710
  const _hoisted_5$2 = ["for"];
11414
11711
  const _hoisted_6$2 = { key: 0 };
11415
- function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
11712
+ function _sfc_render$20(_ctx, _cache, $props, $setup, $data, $options) {
11416
11713
  const _component_ANameInput = resolveComponent("ANameInput");
11417
11714
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
11418
11715
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -11464,7 +11761,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
11464
11761
  }, 1032, ["validation"])]),
11465
11762
  _: 1
11466
11763
  }, 8, ["field"]),
11467
- _ctx.$props.canManage ? (openBlock(), createElementBlock("div", _hoisted_1$6, [createElementVNode("div", _hoisted_2$5, [createVNode(_component_VCFormSwitch, {
11764
+ _ctx.$props.canManage ? (openBlock(), createElementBlock("div", _hoisted_1$10, [createElementVNode("div", _hoisted_2$9, [createVNode(_component_VCFormSwitch, {
11468
11765
  modelValue: _ctx.form.active,
11469
11766
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.form.active = $event),
11470
11767
  label: true
@@ -11472,9 +11769,9 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
11472
11769
  label: withCtx(({ id, class: labelClass }) => [createElementVNode("label", {
11473
11770
  for: id,
11474
11771
  class: normalizeClass([labelClass, _ctx.form.active ? "text-success-600" : "text-error-600"])
11475
- }, toDisplayString(_ctx.form.active ? _ctx.translationsDefault.active : _ctx.translationsDefault.inactive), 11, _hoisted_3$3)]),
11772
+ }, toDisplayString(_ctx.form.active ? _ctx.translationsDefault.active : _ctx.translationsDefault.inactive), 11, _hoisted_3$7)]),
11476
11773
  _: 1
11477
- }, 8, ["modelValue"])]), _ctx.$props.entity ? (openBlock(), createElementBlock("div", _hoisted_4$2, [createVNode(_component_VCFormSwitch, {
11774
+ }, 8, ["modelValue"])]), _ctx.$props.entity ? (openBlock(), createElementBlock("div", _hoisted_4$6, [createVNode(_component_VCFormSwitch, {
11478
11775
  modelValue: _ctx.form.name_locked,
11479
11776
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.form.name_locked = $event),
11480
11777
  label: true
@@ -11511,7 +11808,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
11511
11808
  _: 1
11512
11809
  })])) : createCommentVNode("v-if", true)], 2)], 32);
11513
11810
  }
11514
- var AUserForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserForm_vue_vue_type_script_lang_default, [["render", _sfc_render$16]]);
11811
+ var AUserForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserForm_vue_vue_type_script_lang_default, [["render", _sfc_render$20]]);
11515
11812
  //#endregion
11516
11813
  //#region src/components/entities/user/AUsers.ts
11517
11814
  const AUsers = defineComponent({
@@ -11525,13 +11822,13 @@ const AUsers = defineComponent({
11525
11822
  setup: ctx
11526
11823
  });
11527
11824
  const translationName = useTranslation({
11528
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
11529
- key: core_exports.TranslatorTranslationEntityKey.USER,
11825
+ namespace: TranslatorTranslationNamespace.ENTITY,
11826
+ key: TranslatorTranslationEntityKey.USER,
11530
11827
  count: 2
11531
11828
  });
11532
11829
  const translation = useTranslation({
11533
- namespace: core_exports.TranslatorTranslationNamespace.VUECS,
11534
- key: core_exports.TranslatorTranslationVuecsKey.NO_MORE,
11830
+ namespace: TranslatorTranslationNamespace.VUECS,
11831
+ key: TranslatorTranslationVuecsKey.NO_MORE,
11535
11832
  data: { name: translationName }
11536
11833
  });
11537
11834
  return () => render({ noMore: { content: translation.value } });
@@ -11607,8 +11904,8 @@ var AUserPasswordForm_vue_vue_type_script_lang_default = defineComponent({
11607
11904
  });
11608
11905
  //#endregion
11609
11906
  //#region src/components/entities/user/AUserPasswordForm.vue
11610
- const _hoisted_1$5 = ["for"];
11611
- function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
11907
+ const _hoisted_1$9 = ["for"];
11908
+ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
11612
11909
  const _component_VCFormInput = resolveComponent("VCFormInput");
11613
11910
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
11614
11911
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
@@ -11660,7 +11957,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
11660
11957
  label: withCtx(({ id, class: labelClass }) => [createCommentVNode(" Render `<label for=id>` ourselves so clicking the text\n toggles the switch (matches the implicit behavior of\n passing labelContent as a string prop, which the\n component wraps in <label for=id> internally). "), createElementVNode("label", {
11661
11958
  for: id,
11662
11959
  class: normalizeClass(labelClass)
11663
- }, " Password " + toDisplayString(_ctx.passwordShow ? "hide" : "show"), 11, _hoisted_1$5)]),
11960
+ }, " Password " + toDisplayString(_ctx.passwordShow ? "hide" : "show"), 11, _hoisted_1$9)]),
11664
11961
  _: 1
11665
11962
  }, 8, ["modelValue"])]),
11666
11963
  createElementVNode("div", null, [createVNode(_component_AFormSubmit, {
@@ -11675,7 +11972,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
11675
11972
  ])])
11676
11973
  ], 32);
11677
11974
  }
11678
- var AUserPasswordForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserPasswordForm_vue_vue_type_script_lang_default, [["render", _sfc_render$15]]);
11975
+ var AUserPasswordForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserPasswordForm_vue_vue_type_script_lang_default, [["render", _sfc_render$19]]);
11679
11976
  //#endregion
11680
11977
  //#region src/components/entities/permission-user/APermissionUserAssignments.vue?vue&type=script&lang.ts
11681
11978
  var APermissionUserAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11693,7 +11990,7 @@ var APermissionUserAssignments_vue_vue_type_script_lang_default = defineComponen
11693
11990
  });
11694
11991
  //#endregion
11695
11992
  //#region src/components/entities/permission-user/APermissionUserAssignments.vue
11696
- function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
11993
+ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
11697
11994
  const _component_AUserPermissionAssignment = resolveComponent("AUserPermissionAssignment");
11698
11995
  const _component_AUsers = resolveComponent("AUsers");
11699
11996
  return openBlock(), createBlock(_component_AUsers, null, createSlots({
@@ -11710,7 +12007,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
11710
12007
  };
11711
12008
  })]), 1024);
11712
12009
  }
11713
- var APermissionUserAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionUserAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$14]]);
12010
+ var APermissionUserAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(APermissionUserAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$18]]);
11714
12011
  //#endregion
11715
12012
  //#region src/components/entities/robot-permission/ARobotPermissionAssignments.vue?vue&type=script&lang.ts
11716
12013
  var ARobotPermissionAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11728,7 +12025,7 @@ var ARobotPermissionAssignments_vue_vue_type_script_lang_default = defineCompone
11728
12025
  });
11729
12026
  //#endregion
11730
12027
  //#region src/components/entities/robot-permission/ARobotPermissionAssignments.vue
11731
- function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
12028
+ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
11732
12029
  const _component_ARobotPermissionAssignment = resolveComponent("ARobotPermissionAssignment");
11733
12030
  const _component_APermissions = resolveComponent("APermissions");
11734
12031
  return openBlock(), createBlock(_component_APermissions, null, createSlots({
@@ -11745,7 +12042,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
11745
12042
  };
11746
12043
  })]), 1024);
11747
12044
  }
11748
- var ARobotPermissionAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotPermissionAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$13]]);
12045
+ var ARobotPermissionAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotPermissionAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$17]]);
11749
12046
  //#endregion
11750
12047
  //#region src/components/entities/robot-role/ARobotRoleAssignment.vue?vue&type=script&lang.ts
11751
12048
  var ARobotRoleAssignment_vue_vue_type_script_lang_default = defineComponent({
@@ -11792,7 +12089,7 @@ var ARobotRoleAssignment_vue_vue_type_script_lang_default = defineComponent({
11792
12089
  });
11793
12090
  //#endregion
11794
12091
  //#region src/components/entities/robot-role/ARobotRoleAssignment.vue
11795
- function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
12092
+ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
11796
12093
  const _component_AToggleButton = resolveComponent("AToggleButton");
11797
12094
  return openBlock(), createBlock(_component_AToggleButton, {
11798
12095
  value: !!_ctx.manager.data.value,
@@ -11804,7 +12101,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
11804
12101
  "onChanged"
11805
12102
  ]);
11806
12103
  }
11807
- var ARobotRoleAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotRoleAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$12]]);
12104
+ var ARobotRoleAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotRoleAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$16]]);
11808
12105
  //#endregion
11809
12106
  //#region src/components/entities/robot-role/ARobotRoleAssignments.vue?vue&type=script&lang.ts
11810
12107
  var ARobotRoleAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11822,7 +12119,7 @@ var ARobotRoleAssignments_vue_vue_type_script_lang_default = defineComponent({
11822
12119
  });
11823
12120
  //#endregion
11824
12121
  //#region src/components/entities/robot-role/ARobotRoleAssignments.vue
11825
- function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
12122
+ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
11826
12123
  const _component_ARobotRoleAssignment = resolveComponent("ARobotRoleAssignment");
11827
12124
  const _component_ARoles = resolveComponent("ARoles");
11828
12125
  return openBlock(), createBlock(_component_ARoles, null, createSlots({
@@ -11839,7 +12136,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
11839
12136
  };
11840
12137
  })]), 1024);
11841
12138
  }
11842
- var ARobotRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$11]]);
12139
+ var ARobotRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARobotRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$15]]);
11843
12140
  //#endregion
11844
12141
  //#region src/components/entities/role-client/ARoleClientAssignments.vue?vue&type=script&lang.ts
11845
12142
  var ARoleClientAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11854,7 +12151,7 @@ var ARoleClientAssignments_vue_vue_type_script_lang_default = defineComponent({
11854
12151
  });
11855
12152
  //#endregion
11856
12153
  //#region src/components/entities/role-client/ARoleClientAssignments.vue
11857
- function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
12154
+ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
11858
12155
  const _component_AClientRoleAssignment = resolveComponent("AClientRoleAssignment");
11859
12156
  const _component_AClients = resolveComponent("AClients");
11860
12157
  return openBlock(), createBlock(_component_AClients, null, {
@@ -11866,7 +12163,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
11866
12163
  _: 1
11867
12164
  });
11868
12165
  }
11869
- var ARoleClientAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARoleClientAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$10]]);
12166
+ var ARoleClientAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARoleClientAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$14]]);
11870
12167
  //#endregion
11871
12168
  //#region src/components/entities/role-robot/ARoleRobotAssignments.vue?vue&type=script&lang.ts
11872
12169
  var ARoleRobotAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11881,7 +12178,7 @@ var ARoleRobotAssignments_vue_vue_type_script_lang_default = defineComponent({
11881
12178
  });
11882
12179
  //#endregion
11883
12180
  //#region src/components/entities/role-robot/ARoleRobotAssignments.vue
11884
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
12181
+ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
11885
12182
  const _component_ARobotRoleAssignment = resolveComponent("ARobotRoleAssignment");
11886
12183
  const _component_ARobots = resolveComponent("ARobots");
11887
12184
  return openBlock(), createBlock(_component_ARobots, null, {
@@ -11893,7 +12190,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
11893
12190
  _: 1
11894
12191
  });
11895
12192
  }
11896
- var ARoleRobotAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARoleRobotAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$9]]);
12193
+ var ARoleRobotAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARoleRobotAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$13]]);
11897
12194
  //#endregion
11898
12195
  //#region src/components/entities/user-role/AUserRoleAssignment.vue?vue&type=script&lang.ts
11899
12196
  var AUserRoleAssignment_vue_vue_type_script_lang_default = defineComponent({
@@ -11940,7 +12237,7 @@ var AUserRoleAssignment_vue_vue_type_script_lang_default = defineComponent({
11940
12237
  });
11941
12238
  //#endregion
11942
12239
  //#region src/components/entities/user-role/AUserRoleAssignment.vue
11943
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
12240
+ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
11944
12241
  const _component_AToggleButton = resolveComponent("AToggleButton");
11945
12242
  return openBlock(), createBlock(_component_AToggleButton, {
11946
12243
  value: !!_ctx.manager.data.value,
@@ -11952,7 +12249,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
11952
12249
  "onChanged"
11953
12250
  ]);
11954
12251
  }
11955
- var AUserRoleAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserRoleAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$8]]);
12252
+ var AUserRoleAssignment_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserRoleAssignment_vue_vue_type_script_lang_default, [["render", _sfc_render$12]]);
11956
12253
  //#endregion
11957
12254
  //#region src/components/entities/user-role/AUserRoleAssignments.vue?vue&type=script&lang.ts
11958
12255
  var AUserRoleAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -11970,7 +12267,7 @@ var AUserRoleAssignments_vue_vue_type_script_lang_default = defineComponent({
11970
12267
  });
11971
12268
  //#endregion
11972
12269
  //#region src/components/entities/user-role/AUserRoleAssignments.vue
11973
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
12270
+ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
11974
12271
  const _component_AUserRoleAssignment = resolveComponent("AUserRoleAssignment");
11975
12272
  const _component_ARoles = resolveComponent("ARoles");
11976
12273
  return openBlock(), createBlock(_component_ARoles, null, createSlots({
@@ -11987,7 +12284,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
11987
12284
  };
11988
12285
  })]), 1024);
11989
12286
  }
11990
- var AUserRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$7]]);
12287
+ var AUserRoleAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AUserRoleAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$11]]);
11991
12288
  //#endregion
11992
12289
  //#region src/components/entities/role-user/ARoleUserAssignments.vue?vue&type=script&lang.ts
11993
12290
  var ARoleUserAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -12005,7 +12302,7 @@ var ARoleUserAssignments_vue_vue_type_script_lang_default = defineComponent({
12005
12302
  });
12006
12303
  //#endregion
12007
12304
  //#region src/components/entities/role-user/ARoleUserAssignments.vue
12008
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12305
+ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
12009
12306
  const _component_AUserRoleAssignment = resolveComponent("AUserRoleAssignment");
12010
12307
  const _component_AUsers = resolveComponent("AUsers");
12011
12308
  return openBlock(), createBlock(_component_AUsers, null, createSlots({
@@ -12022,7 +12319,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12022
12319
  };
12023
12320
  })]), 1024);
12024
12321
  }
12025
- var ARoleUserAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARoleUserAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$6]]);
12322
+ var ARoleUserAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ARoleUserAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$10]]);
12026
12323
  //#endregion
12027
12324
  //#region src/components/entities/scope-client/AScopeClientAssignments.vue?vue&type=script&lang.ts
12028
12325
  var AScopeClientAssignments_vue_vue_type_script_lang_default = defineComponent({
@@ -12040,7 +12337,7 @@ var AScopeClientAssignments_vue_vue_type_script_lang_default = defineComponent({
12040
12337
  });
12041
12338
  //#endregion
12042
12339
  //#region src/components/entities/scope-client/AScopeClientAssignments.vue
12043
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
12340
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
12044
12341
  const _component_AClientScopeAssignment = resolveComponent("AClientScopeAssignment");
12045
12342
  const _component_AClients = resolveComponent("AClients");
12046
12343
  return openBlock(), createBlock(_component_AClients, null, createSlots({
@@ -12057,7 +12354,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
12057
12354
  };
12058
12355
  })]), 1024);
12059
12356
  }
12060
- var AScopeClientAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AScopeClientAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$5]]);
12357
+ var AScopeClientAssignments_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AScopeClientAssignments_vue_vue_type_script_lang_default, [["render", _sfc_render$9]]);
12061
12358
  //#endregion
12062
12359
  //#region src/components/entities/index.ts
12063
12360
  var entities_exports = /* @__PURE__ */ __exportAll({
@@ -12108,6 +12405,7 @@ var entities_exports = /* @__PURE__ */ __exportAll({
12108
12405
  APolicyTypePicker: () => APolicyTypePicker_default,
12109
12406
  ARealm: () => ARealm,
12110
12407
  ARealmForm: () => ARealmForm_default,
12408
+ ARealmGrid: () => ARealmGrid_default,
12111
12409
  ARealmMatchPolicyForm: () => ARealmMatchPolicyForm_default,
12112
12410
  ARealmPicker: () => ARealmPicker,
12113
12411
  ARealms: () => ARealms,
@@ -12162,6 +12460,7 @@ function install(app, options) {
12162
12460
  installStore(app, {
12163
12461
  pinia: options.pinia,
12164
12462
  baseURL: options.baseURL,
12463
+ httpClient: options.httpClient,
12165
12464
  cookieSet: options.cookieSet,
12166
12465
  cookieGet: options.cookieGet,
12167
12466
  cookieUnset: options.cookieUnset
@@ -12169,11 +12468,13 @@ function install(app, options) {
12169
12468
  installHTTPClientAuthenticationHook(app, {
12170
12469
  pinia: options.pinia,
12171
12470
  baseURL: options.baseURL,
12471
+ httpClient: options.httpClient,
12172
12472
  isServer: options.isServer
12173
12473
  });
12174
12474
  installHTTPClient(app, {
12175
12475
  pinia: options.pinia,
12176
12476
  baseURL: options.baseURL,
12477
+ httpClient: options.httpClient,
12177
12478
  isServer: options.isServer
12178
12479
  });
12179
12480
  installTranslator(app, { locale: options.translatorLocale });
@@ -12188,7 +12489,7 @@ function install(app, options) {
12188
12489
  installComponents(app, options.components);
12189
12490
  }
12190
12491
  //#endregion
12191
- //#region src/components/workflows/Login.vue?vue&type=script&lang.ts
12492
+ //#region src/components/workflows/login/LoginForm.vue?vue&type=script&lang.ts
12192
12493
  var LoginCredentialsValidator = class extends Container {
12193
12494
  initialize() {
12194
12495
  super.initialize();
@@ -12197,7 +12498,7 @@ var LoginCredentialsValidator = class extends Container {
12197
12498
  this.mount("realm_id", { optional: true }, createValidator(string()));
12198
12499
  }
12199
12500
  };
12200
- var Login_vue_vue_type_script_lang_default = defineComponent({
12501
+ var LoginForm_vue_vue_type_script_lang_default = defineComponent({
12201
12502
  components: {
12202
12503
  ARealmPicker,
12203
12504
  APagination,
@@ -12207,9 +12508,14 @@ var Login_vue_vue_type_script_lang_default = defineComponent({
12207
12508
  VCButton,
12208
12509
  VCFormGroup,
12209
12510
  VCFormInput,
12511
+ VCLink,
12210
12512
  IFieldValidation
12211
12513
  },
12212
- props: { codeRequest: { type: Object } },
12514
+ props: {
12515
+ codeRequest: { type: Object },
12516
+ registerLink: { type: Object },
12517
+ passwordForgotLink: { type: Object }
12518
+ },
12213
12519
  emits: ["done", "failed"],
12214
12520
  setup(props, { emit }) {
12215
12521
  const apiClient = injectHTTPClient();
@@ -12222,21 +12528,29 @@ var Login_vue_vue_type_script_lang_default = defineComponent({
12222
12528
  const v = useValidup(new LoginCredentialsValidator(), form);
12223
12529
  const translationsDefault = useTranslations([
12224
12530
  {
12225
- namespace: core_exports.TranslatorTranslationNamespace.ACTION,
12226
- key: core_exports.TranslatorTranslationActionKey.LOGIN
12531
+ namespace: TranslatorTranslationNamespace.ACTION,
12532
+ key: TranslatorTranslationActionKey.LOGIN
12227
12533
  },
12228
12534
  {
12229
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
12230
- key: core_exports.TranslatorTranslationFieldKey.NAME
12535
+ namespace: TranslatorTranslationNamespace.FIELD,
12536
+ key: TranslatorTranslationFieldKey.NAME
12231
12537
  },
12232
12538
  {
12233
- namespace: core_exports.TranslatorTranslationNamespace.FIELD,
12234
- key: core_exports.TranslatorTranslationFieldKey.PASSWORD
12539
+ namespace: TranslatorTranslationNamespace.FIELD,
12540
+ key: TranslatorTranslationFieldKey.PASSWORD
12235
12541
  },
12236
12542
  {
12237
- namespace: core_exports.TranslatorTranslationNamespace.ENTITY,
12238
- key: core_exports.TranslatorTranslationEntityKey.IDENTITY_PROVIDER,
12543
+ namespace: TranslatorTranslationNamespace.ENTITY,
12544
+ key: TranslatorTranslationEntityKey.IDENTITY_PROVIDER,
12239
12545
  count: 2
12546
+ },
12547
+ {
12548
+ namespace: TranslatorTranslationNamespace.CLIENT,
12549
+ key: TranslatorTranslationClientKey.CREATE_ACCOUNT
12550
+ },
12551
+ {
12552
+ namespace: TranslatorTranslationNamespace.CLIENT,
12553
+ key: TranslatorTranslationClientKey.FORGOT_PASSWORD
12240
12554
  }
12241
12555
  ]);
12242
12556
  const translate = useTranslator();
@@ -12275,8 +12589,8 @@ var Login_vue_vue_type_script_lang_default = defineComponent({
12275
12589
  emit("done");
12276
12590
  } catch (e) {
12277
12591
  emit("failed", e instanceof Error ? e.message : await translate({
12278
- namespace: core_exports.TranslatorTranslationNamespace.CLIENT,
12279
- key: core_exports.TranslatorTranslationClientKey.LOGIN_FAILED
12592
+ namespace: TranslatorTranslationNamespace.CLIENT,
12593
+ key: TranslatorTranslationClientKey.LOGIN_FAILED
12280
12594
  }));
12281
12595
  }
12282
12596
  };
@@ -12306,24 +12620,29 @@ var Login_vue_vue_type_script_lang_default = defineComponent({
12306
12620
  }
12307
12621
  });
12308
12622
  //#endregion
12309
- //#region src/components/workflows/Login.vue
12310
- const _hoisted_1$4 = { class: "text-center" };
12311
- const _hoisted_2$4 = { class: "font-bold" };
12312
- const _hoisted_3$2 = { class: "flex flex-row" };
12313
- const _hoisted_4$1 = ["href"];
12314
- const _hoisted_5$1 = { class: "flex flex-col" };
12315
- const _hoisted_6$1 = { class: "text-center mb-1" };
12316
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12623
+ //#region src/components/workflows/login/LoginForm.vue
12624
+ const _hoisted_1$8 = { class: "text-center" };
12625
+ const _hoisted_2$8 = { class: "font-bold" };
12626
+ const _hoisted_3$6 = {
12627
+ key: 0,
12628
+ class: "flex flex-row justify-between mt-2 text-sm"
12629
+ };
12630
+ const _hoisted_4$5 = { class: "flex flex-row flex-wrap gap-1" };
12631
+ const _hoisted_5$1 = ["href"];
12632
+ const _hoisted_6$1 = { class: "flex flex-col" };
12633
+ const _hoisted_7$1 = { class: "text-center mb-1" };
12634
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
12317
12635
  const _component_VCFormInput = resolveComponent("VCFormInput");
12318
12636
  const _component_VCFormGroup = resolveComponent("VCFormGroup");
12319
12637
  const _component_IFieldValidation = resolveComponent("IFieldValidation");
12320
12638
  const _component_VCButton = resolveComponent("VCButton");
12639
+ const _component_VCLink = resolveComponent("VCLink");
12321
12640
  const _component_ARealmPicker = resolveComponent("ARealmPicker");
12322
12641
  const _component_ATitle = resolveComponent("ATitle");
12323
12642
  const _component_APagination = resolveComponent("APagination");
12324
12643
  const _component_AIdentityProviderIcon = resolveComponent("AIdentityProviderIcon");
12325
12644
  const _component_AIdentityProviders = resolveComponent("AIdentityProviders");
12326
- return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$4, [createElementVNode("h1", _hoisted_2$4, toDisplayString(_ctx.translationsDefault.login), 1)]), createElementVNode("form", { onSubmit: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.submit && _ctx.submit(...args), ["prevent"])) }, [
12645
+ return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$8, [createElementVNode("h1", _hoisted_2$8, toDisplayString(_ctx.translationsDefault.login), 1)]), createElementVNode("form", { onSubmit: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.submit && _ctx.submit(...args), ["prevent"])) }, [
12327
12646
  createVNode(_component_IFieldValidation, { field: _ctx.v.fields.name }, {
12328
12647
  default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
12329
12648
  label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.name), 1)]),
@@ -12352,9 +12671,16 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12352
12671
  label: _ctx.translationsDefault.login,
12353
12672
  class: "w-full"
12354
12673
  }), null, 16, ["label"]),
12674
+ _ctx.registerLink || _ctx.passwordForgotLink ? (openBlock(), createElementBlock("div", _hoisted_3$6, [_ctx.registerLink ? (openBlock(), createBlock(_component_VCLink, normalizeProps(mergeProps({ key: 0 }, _ctx.registerLink)), {
12675
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.createAccount), 1)]),
12676
+ _: 1
12677
+ }, 16)) : createCommentVNode("v-if", true), _ctx.passwordForgotLink ? (openBlock(), createBlock(_component_VCLink, mergeProps({ key: 1 }, _ctx.passwordForgotLink, { class: "ms-auto" }), {
12678
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.translationsDefault.forgotPassword), 1)]),
12679
+ _: 1
12680
+ }, 16)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true),
12355
12681
  _cache[1] || (_cache[1] = createElementVNode("hr", null, null, -1)),
12356
12682
  !_ctx.codeRequest || !_ctx.codeRequest.realm_id ? (openBlock(), createBlock(_component_ARealmPicker, {
12357
- key: 0,
12683
+ key: 1,
12358
12684
  value: _ctx.form.realm_id,
12359
12685
  onChange: _ctx.updateRealmId
12360
12686
  }, null, 8, ["value", "onChange"])) : createCommentVNode("v-if", true),
@@ -12375,20 +12701,23 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12375
12701
  "load",
12376
12702
  "total"
12377
12703
  ])]),
12378
- body: withCtx((props) => [createElementVNode("div", _hoisted_3$2, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.data, (item, key) => {
12379
- return openBlock(), createElementBlock("div", { key }, [createElementVNode("a", {
12704
+ body: withCtx((props) => [createElementVNode("div", _hoisted_4$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.data, (item, key) => {
12705
+ return openBlock(), createElementBlock("div", {
12706
+ key,
12707
+ class: "a-login-provider-item"
12708
+ }, [createElementVNode("a", {
12380
12709
  href: _ctx.buildIdentityProviderURL(item.id),
12381
- class: "btn btn-dark btn-xs p-2 me-1 identity-provider-box bg-fg"
12382
- }, [createElementVNode("div", _hoisted_5$1, [createElementVNode("div", _hoisted_6$1, [createVNode(_component_AIdentityProviderIcon, {
12710
+ class: "btn btn-dark btn-xs p-2 a-login-provider-box bg-fg"
12711
+ }, [createElementVNode("div", _hoisted_6$1, [createElementVNode("div", _hoisted_7$1, [createVNode(_component_AIdentityProviderIcon, {
12383
12712
  class: "text-2xl",
12384
12713
  entity: item
12385
- }, null, 8, ["entity"])]), createElementVNode("div", null, toDisplayString(item.name), 1)])], 8, _hoisted_4$1)]);
12714
+ }, null, 8, ["entity"])]), createElementVNode("div", null, toDisplayString(item.name), 1)])], 8, _hoisted_5$1)]);
12386
12715
  }), 128))])]),
12387
12716
  _: 1
12388
12717
  }, 8, ["query"])
12389
12718
  ], 32)]);
12390
12719
  }
12391
- var Login_default = /*#__PURE__*/ _plugin_vue_export_helper_default(Login_vue_vue_type_script_lang_default, [["render", _sfc_render$4], ["__scopeId", "data-v-b205167f"]]);
12720
+ var LoginForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(LoginForm_vue_vue_type_script_lang_default, [["render", _sfc_render$8]]);
12392
12721
  //#endregion
12393
12722
  //#region src/components/workflows/authorize/AuthorizeScope.vue?vue&type=script&lang.ts
12394
12723
  var AuthorizeScope_vue_vue_type_script_lang_default = defineComponent({
@@ -12408,22 +12737,22 @@ var AuthorizeScope_vue_vue_type_script_lang_default = defineComponent({
12408
12737
  });
12409
12738
  //#endregion
12410
12739
  //#region src/components/workflows/authorize/AuthorizeScope.vue
12411
- const _hoisted_1$3 = { class: "text-center" };
12412
- const _hoisted_2$3 = { key: 0 };
12413
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
12740
+ const _hoisted_1$7 = { class: "text-center" };
12741
+ const _hoisted_2$7 = { key: 0 };
12742
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
12414
12743
  const _component_VCIcon = resolveComponent("VCIcon");
12415
- return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$3, [createVNode(_component_VCIcon, {
12744
+ return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$7, [createVNode(_component_VCIcon, {
12416
12745
  name: _ctx.isEnabled ? "fa6-solid:check" : "fa6-solid:xmark",
12417
12746
  class: normalizeClass({
12418
12747
  "text-success-600": _ctx.isEnabled,
12419
12748
  "text-error-600": !_ctx.isEnabled
12420
12749
  })
12421
- }, null, 8, ["name", "class"])]), createElementVNode("div", null, [createElementVNode("strong", null, toDisplayString(_ctx.entity.name), 1), _ctx.entity.description ? (openBlock(), createElementBlock("p", _hoisted_2$3, toDisplayString(_ctx.entity.description), 1)) : createCommentVNode("v-if", true)])]);
12750
+ }, null, 8, ["name", "class"])]), createElementVNode("div", null, [createElementVNode("strong", null, toDisplayString(_ctx.entity.name), 1), _ctx.entity.description ? (openBlock(), createElementBlock("p", _hoisted_2$7, toDisplayString(_ctx.entity.description), 1)) : createCommentVNode("v-if", true)])]);
12422
12751
  }
12423
12752
  //#endregion
12424
12753
  //#region src/components/workflows/authorize/AuthorizeScopes.vue?vue&type=script&lang.ts
12425
12754
  var AuthorizeScopes_vue_vue_type_script_lang_default = defineComponent({
12426
- components: { AuthorizeScope: /* @__PURE__ */ _plugin_vue_export_helper_default(AuthorizeScope_vue_vue_type_script_lang_default, [["render", _sfc_render$3]]) },
12755
+ components: { AuthorizeScope: /* @__PURE__ */ _plugin_vue_export_helper_default(AuthorizeScope_vue_vue_type_script_lang_default, [["render", _sfc_render$7]]) },
12427
12756
  props: {
12428
12757
  client: {
12429
12758
  type: Object,
@@ -12434,8 +12763,8 @@ var AuthorizeScopes_vue_vue_type_script_lang_default = defineComponent({
12434
12763
  },
12435
12764
  setup(props) {
12436
12765
  const httpClient = injectHTTPClient();
12437
- const translationsClient = useTranslationsForNamespace(core_exports.TranslatorTranslationNamespace.CLIENT, [{
12438
- key: core_exports.TranslatorTranslationClientKey.SCOPE_GRANT_INTRO,
12766
+ const translationsClient = useTranslationsForNamespace(TranslatorTranslationNamespace.CLIENT, [{
12767
+ key: TranslatorTranslationClientKey.SCOPE_GRANT_INTRO,
12439
12768
  data: { client: props.client.name }
12440
12769
  }]);
12441
12770
  const scopesRequestedNormalized = computed(() => {
@@ -12466,11 +12795,11 @@ var AuthorizeScopes_vue_vue_type_script_lang_default = defineComponent({
12466
12795
  });
12467
12796
  //#endregion
12468
12797
  //#region src/components/workflows/authorize/AuthorizeScopes.vue
12469
- const _hoisted_1$2 = { key: 0 };
12470
- const _hoisted_2$2 = { class: "flex-col" };
12471
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
12798
+ const _hoisted_1$6 = { key: 0 };
12799
+ const _hoisted_2$6 = { class: "flex-col" };
12800
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12472
12801
  const _component_AuthorizeScope = resolveComponent("AuthorizeScope");
12473
- return _ctx.scopesAvailableNormalized.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$2, [createElementVNode("div", null, toDisplayString(_ctx.translationsClient.scopeGrantIntro), 1), createElementVNode("div", _hoisted_2$2, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.scopesAvailableNormalized, (item) => {
12802
+ return _ctx.scopesAvailableNormalized.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$6, [createElementVNode("div", null, toDisplayString(_ctx.translationsClient.scopeGrantIntro), 1), createElementVNode("div", _hoisted_2$6, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.scopesAvailableNormalized, (item) => {
12474
12803
  return openBlock(), createBlock(_component_AuthorizeScope, {
12475
12804
  key: item.id,
12476
12805
  entity: item,
@@ -12482,7 +12811,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
12482
12811
  //#endregion
12483
12812
  //#region src/components/workflows/authorize/AuthorizeForm.vue?vue&type=script&lang.ts
12484
12813
  var AuthorizeForm_vue_vue_type_script_lang_default = defineComponent({
12485
- components: { AuthorizeScopes: /* @__PURE__ */ _plugin_vue_export_helper_default(AuthorizeScopes_vue_vue_type_script_lang_default, [["render", _sfc_render$2]]) },
12814
+ components: { AuthorizeScopes: /* @__PURE__ */ _plugin_vue_export_helper_default(AuthorizeScopes_vue_vue_type_script_lang_default, [["render", _sfc_render$6]]) },
12486
12815
  props: {
12487
12816
  client: {
12488
12817
  type: Object,
@@ -12498,23 +12827,23 @@ var AuthorizeForm_vue_vue_type_script_lang_default = defineComponent({
12498
12827
  const httpClient = injectHTTPClient();
12499
12828
  const translationsDefault = useTranslations([
12500
12829
  {
12501
- namespace: core_exports.TranslatorTranslationNamespace.COMMON,
12502
- key: core_exports.TranslatorTranslationCommonKey.APPLICATION
12830
+ namespace: TranslatorTranslationNamespace.COMMON,
12831
+ key: TranslatorTranslationCommonKey.APPLICATION
12503
12832
  },
12504
12833
  {
12505
- namespace: core_exports.TranslatorTranslationNamespace.ACTION,
12506
- key: core_exports.TranslatorTranslationActionKey.ABORT
12834
+ namespace: TranslatorTranslationNamespace.ACTION,
12835
+ key: TranslatorTranslationActionKey.ABORT
12507
12836
  },
12508
12837
  {
12509
- namespace: core_exports.TranslatorTranslationNamespace.ACTION,
12510
- key: core_exports.TranslatorTranslationActionKey.AUTHORIZE
12838
+ namespace: TranslatorTranslationNamespace.ACTION,
12839
+ key: TranslatorTranslationActionKey.AUTHORIZE
12511
12840
  }
12512
12841
  ]);
12513
- const translationsClient = useTranslationsForNamespace(core_exports.TranslatorTranslationNamespace.CLIENT, [
12514
- { key: core_exports.TranslatorTranslationClientKey.ONCE_AUTHORIZED_REDIRECT },
12515
- { key: core_exports.TranslatorTranslationClientKey.ACTIVE_SINCE },
12842
+ const translationsClient = useTranslationsForNamespace(TranslatorTranslationNamespace.CLIENT, [
12843
+ { key: TranslatorTranslationClientKey.ONCE_AUTHORIZED_REDIRECT },
12844
+ { key: TranslatorTranslationClientKey.ACTIVE_SINCE },
12516
12845
  {
12517
- key: core_exports.TranslatorTranslationClientKey.GOVERNED_BY,
12846
+ key: TranslatorTranslationClientKey.GOVERNED_BY,
12518
12847
  data: { client: props.client.name }
12519
12848
  }
12520
12849
  ]);
@@ -12525,21 +12854,29 @@ var AuthorizeForm_vue_vue_type_script_lang_default = defineComponent({
12525
12854
  if (props.codeRequest.state) url.searchParams.set("state", props.codeRequest.state);
12526
12855
  if (typeof window !== "undefined") window.location.href = url.href;
12527
12856
  };
12857
+ const autoConsentFailed = ref(false);
12528
12858
  const authorize = async () => {
12859
+ autoConsentFailed.value = false;
12529
12860
  try {
12530
12861
  const { url } = await httpClient.authorize.confirm({
12531
- response_type: props.codeRequest.response_type,
12532
- client_id: props.client.id,
12533
- redirect_uri: props.codeRequest.redirect_uri,
12534
- ...props.codeRequest.state ? { state: props.codeRequest.state } : {},
12535
- ...props.codeRequest.scope ? { scope: props.codeRequest.scope } : {}
12862
+ ...props.codeRequest,
12863
+ client_id: props.client.id
12536
12864
  });
12537
12865
  if (typeof window !== "undefined") window.location.href = url;
12538
- } catch {}
12866
+ } catch {
12867
+ autoConsentFailed.value = true;
12868
+ }
12539
12869
  };
12870
+ const autoConsent = computed(() => !!props.client.built_in);
12871
+ const showSpinner = computed(() => autoConsent.value && !autoConsentFailed.value);
12872
+ onMounted(() => {
12873
+ if (autoConsent.value) authorize();
12874
+ });
12540
12875
  return {
12541
12876
  authorize,
12542
12877
  abort,
12878
+ autoConsent,
12879
+ showSpinner,
12543
12880
  translationsDefault,
12544
12881
  translationsClient
12545
12882
  };
@@ -12547,25 +12884,32 @@ var AuthorizeForm_vue_vue_type_script_lang_default = defineComponent({
12547
12884
  });
12548
12885
  //#endregion
12549
12886
  //#region src/components/workflows/authorize/AuthorizeForm.vue
12550
- const _hoisted_1$1 = { class: "flex-col flex gap-2" };
12551
- const _hoisted_2$1 = { class: "text-center" };
12552
- const _hoisted_3$1 = { class: "text-fg-muted mb-1" };
12553
- const _hoisted_4 = { class: "font-bold" };
12554
- const _hoisted_5 = { class: "mt-auto" };
12555
- const _hoisted_6 = { class: "flex flex-row" };
12556
- const _hoisted_7 = { class: "ms-1" };
12557
- const _hoisted_8 = { class: "flex flex-row" };
12558
- const _hoisted_9 = { class: "ms-1" };
12559
- const _hoisted_10 = { class: "flex flex-row" };
12560
- const _hoisted_11 = { class: "ms-1" };
12561
- const _hoisted_12 = { class: "row" };
12562
- const _hoisted_13 = { class: "col-6" };
12887
+ const _hoisted_1$5 = {
12888
+ key: 0,
12889
+ class: "text-center"
12890
+ };
12891
+ const _hoisted_2$5 = {
12892
+ key: 1,
12893
+ class: "flex-col flex gap-2"
12894
+ };
12895
+ const _hoisted_3$5 = { class: "text-center" };
12896
+ const _hoisted_4$4 = { class: "text-fg-muted mb-1" };
12897
+ const _hoisted_5 = { class: "font-bold" };
12898
+ const _hoisted_6 = { class: "mt-auto" };
12899
+ const _hoisted_7 = { class: "flex flex-row" };
12900
+ const _hoisted_8 = { class: "ms-1" };
12901
+ const _hoisted_9 = { class: "flex flex-row" };
12902
+ const _hoisted_10 = { class: "ms-1" };
12903
+ const _hoisted_11 = { class: "flex flex-row" };
12904
+ const _hoisted_12 = { class: "ms-1" };
12905
+ const _hoisted_13 = { class: "row" };
12563
12906
  const _hoisted_14 = { class: "col-6" };
12564
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
12565
- const _component_AuthorizeScopes = resolveComponent("AuthorizeScopes");
12907
+ const _hoisted_15 = { class: "col-6" };
12908
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
12566
12909
  const _component_VCIcon = resolveComponent("VCIcon");
12567
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
12568
- createElementVNode("div", _hoisted_2$1, [createElementVNode("h5", _hoisted_3$1, toDisplayString(_ctx.translationsDefault.application), 1), createElementVNode("h1", _hoisted_4, toDisplayString(_ctx.client.name), 1)]),
12910
+ const _component_AuthorizeScopes = resolveComponent("AuthorizeScopes");
12911
+ return _ctx.showSpinner ? (openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_VCIcon, { name: "fa6-solid:spinner" })])) : (openBlock(), createElementBlock("div", _hoisted_2$5, [
12912
+ createElementVNode("div", _hoisted_3$5, [createElementVNode("h5", _hoisted_4$4, toDisplayString(_ctx.translationsDefault.application), 1), createElementVNode("h1", _hoisted_5, toDisplayString(_ctx.client.name), 1)]),
12569
12913
  createVNode(_component_AuthorizeScopes, {
12570
12914
  client: _ctx.client,
12571
12915
  "scopes-requested": _ctx.codeRequest.scope,
@@ -12575,23 +12919,23 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
12575
12919
  "scopes-requested",
12576
12920
  "scopes-available"
12577
12921
  ]),
12578
- createElementVNode("div", _hoisted_5, [
12579
- createElementVNode("div", _hoisted_6, [createElementVNode("div", null, [createVNode(_component_VCIcon, { name: "fa6-solid:link" })]), createElementVNode("div", _hoisted_7, [createElementVNode("small", null, [createTextVNode(toDisplayString(_ctx.translationsClient.onceAuthorizedRedirect) + " ", 1), createElementVNode("strong", null, toDisplayString(_ctx.codeRequest.redirect_uri), 1)])])]),
12580
- createElementVNode("div", _hoisted_8, [createElementVNode("div", null, [createVNode(_component_VCIcon, { name: "fa6-solid:lock" })]), createElementVNode("div", _hoisted_9, [createElementVNode("small", null, toDisplayString(_ctx.translationsClient.governedBy), 1)])]),
12581
- createElementVNode("div", _hoisted_10, [createElementVNode("div", null, [createVNode(_component_VCIcon, { name: "fa6-solid:clock" })]), createElementVNode("div", _hoisted_11, [createElementVNode("small", null, toDisplayString(_ctx.translationsClient.activeSince) + " " + toDisplayString(_ctx.client.created_at), 1)])])
12922
+ createElementVNode("div", _hoisted_6, [
12923
+ createElementVNode("div", _hoisted_7, [createElementVNode("div", null, [createVNode(_component_VCIcon, { name: "fa6-solid:link" })]), createElementVNode("div", _hoisted_8, [createElementVNode("small", null, [createTextVNode(toDisplayString(_ctx.translationsClient.onceAuthorizedRedirect) + " ", 1), createElementVNode("strong", null, toDisplayString(_ctx.codeRequest.redirect_uri), 1)])])]),
12924
+ createElementVNode("div", _hoisted_9, [createElementVNode("div", null, [createVNode(_component_VCIcon, { name: "fa6-solid:lock" })]), createElementVNode("div", _hoisted_10, [createElementVNode("small", null, toDisplayString(_ctx.translationsClient.governedBy), 1)])]),
12925
+ createElementVNode("div", _hoisted_11, [createElementVNode("div", null, [createVNode(_component_VCIcon, { name: "fa6-solid:clock" })]), createElementVNode("div", _hoisted_12, [createElementVNode("small", null, toDisplayString(_ctx.translationsClient.activeSince) + " " + toDisplayString(_ctx.client.created_at), 1)])])
12582
12926
  ]),
12583
- createElementVNode("div", _hoisted_12, [createElementVNode("div", _hoisted_13, [createElementVNode("button", {
12927
+ createElementVNode("div", _hoisted_13, [createElementVNode("div", _hoisted_14, [createElementVNode("button", {
12584
12928
  type: "button",
12585
12929
  class: "btn w-full btn-secondary",
12586
12930
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.abort && _ctx.abort(...args), ["prevent"]))
12587
- }, toDisplayString(_ctx.translationsDefault.abort), 1)]), createElementVNode("div", _hoisted_14, [createElementVNode("button", {
12931
+ }, toDisplayString(_ctx.translationsDefault.abort), 1)]), createElementVNode("div", _hoisted_15, [createElementVNode("button", {
12588
12932
  type: "button",
12589
12933
  class: "btn w-full btn-primary",
12590
12934
  onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.authorize && _ctx.authorize(...args), ["prevent"]))
12591
12935
  }, toDisplayString(_ctx.translationsDefault.authorize), 1)])])
12592
- ]);
12936
+ ]));
12593
12937
  }
12594
- var AuthorizeForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AuthorizeForm_vue_vue_type_script_lang_default, [["render", _sfc_render$1]]);
12938
+ var AuthorizeForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AuthorizeForm_vue_vue_type_script_lang_default, [["render", _sfc_render$5]]);
12595
12939
  //#endregion
12596
12940
  //#region src/components/workflows/authorize/AuthorizeText.vue?vue&type=script&lang.ts
12597
12941
  var AuthorizeText_vue_vue_type_script_lang_default = defineComponent({ props: {
@@ -12603,37 +12947,39 @@ var AuthorizeText_vue_vue_type_script_lang_default = defineComponent({ props: {
12603
12947
  } });
12604
12948
  //#endregion
12605
12949
  //#region src/components/workflows/authorize/AuthorizeText.vue
12606
- const _hoisted_1 = { class: "flex flex-col" };
12607
- const _hoisted_2 = { class: "text-center" };
12608
- const _hoisted_3 = { class: "text-center fs-6 p-3" };
12609
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12950
+ const _hoisted_1$4 = { class: "flex flex-col" };
12951
+ const _hoisted_2$4 = { class: "text-center" };
12952
+ const _hoisted_3$4 = { class: "text-center fs-6 p-3" };
12953
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12610
12954
  const _component_VCIcon = resolveComponent("VCIcon");
12611
- return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(_component_VCIcon, {
12955
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [createElementVNode("div", _hoisted_2$4, [createVNode(_component_VCIcon, {
12612
12956
  name: _ctx.isError ? "fa6-solid:exclamation" : "fa6-solid:info",
12613
12957
  class: normalizeClass(["text-9xl", {
12614
12958
  "text-error-600": _ctx.isError,
12615
12959
  "text-info-600": !_ctx.isError
12616
12960
  }])
12617
- }, null, 8, ["name", "class"])]), createElementVNode("div", _hoisted_3, toDisplayString(_ctx.message), 1)]);
12961
+ }, null, 8, ["name", "class"])]), createElementVNode("div", _hoisted_3$4, toDisplayString(_ctx.message), 1)]);
12618
12962
  }
12619
- var AuthorizeText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AuthorizeText_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
12963
+ var AuthorizeText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(AuthorizeText_vue_vue_type_script_lang_default, [["render", _sfc_render$4]]);
12620
12964
  //#endregion
12621
12965
  //#region src/components/workflows/authorize/Authorize.vue?vue&type=script&lang.ts
12622
- const wrapChild = (child) => h("div", { class: "flex items-center justify-center h-full" }, [h("div", { class: "authorize" }, [child])]);
12966
+ const wrapChild = (child) => h(AAuthShell_default, null, { default: () => child });
12623
12967
  //#endregion
12624
12968
  //#region src/components/workflows/authorize/Authorize.vue
12625
12969
  var Authorize_default = defineComponent({
12626
12970
  components: {
12627
12971
  AuthorizeText: AuthorizeText_default,
12628
12972
  AuthorizeForm: AuthorizeForm_default,
12629
- Login: Login_default
12973
+ LoginForm: LoginForm_default
12630
12974
  },
12631
12975
  props: {
12632
12976
  codeRequest: { type: Object },
12633
12977
  client: { type: Object },
12634
12978
  clientId: { type: String },
12635
12979
  scopes: { type: Array },
12636
- error: { type: Object }
12980
+ error: { type: Object },
12981
+ registerLink: { type: Object },
12982
+ passwordForgotLink: { type: Object }
12637
12983
  },
12638
12984
  emits: ["redirect"],
12639
12985
  setup(props) {
@@ -12642,8 +12988,8 @@ var Authorize_default = defineComponent({
12642
12988
  const error = ref(null);
12643
12989
  const client = ref(null);
12644
12990
  const loadingText = useTranslation({
12645
- namespace: core_exports.TranslatorTranslationNamespace.COMMON,
12646
- key: core_exports.TranslatorTranslationCommonKey.LOADING
12991
+ namespace: TranslatorTranslationNamespace.COMMON,
12992
+ key: TranslatorTranslationCommonKey.LOADING
12647
12993
  });
12648
12994
  const resolve = async () => {
12649
12995
  if (props.error) {
@@ -12665,7 +13011,11 @@ var Authorize_default = defineComponent({
12665
13011
  }));
12666
13012
  if (!props.codeRequest) return [];
12667
13013
  if (!loggedIn.value) return wrapChild(h(Suspense, {}, {
12668
- default: () => h(Login_default, { codeRequest: props.codeRequest }),
13014
+ default: () => h(LoginForm_default, {
13015
+ codeRequest: props.codeRequest,
13016
+ registerLink: props.registerLink,
13017
+ passwordForgotLink: props.passwordForgotLink
13018
+ }),
12669
13019
  fallback: () => h(AuthorizeText_default, { message: loadingText.value })
12670
13020
  }));
12671
13021
  if (!client.value) return [];
@@ -12680,179 +13030,564 @@ var Authorize_default = defineComponent({
12680
13030
  };
12681
13031
  }
12682
13032
  });
12683
- __reExport(/* @__PURE__ */ __exportAll({
12684
- AAttributeNamesPolicyForm: () => AAttributeNamesPolicyForm_default,
12685
- AAuthorize: () => Authorize_default,
12686
- AAuthorizeText: () => AuthorizeText_default,
12687
- AClient: () => AClient,
12688
- AClientForm: () => AClientForm_default,
12689
- AClientPermissionAssignment: () => AClientPermissionAssignment_default,
12690
- AClientPermissionAssignments: () => AClientPermissionAssignments_default,
12691
- AClientPicker: () => AClientPicker,
12692
- AClientRoleAssignment: () => AClientRoleAssignment_default,
12693
- AClientRoleAssignments: () => AClientRoleAssignments_default,
12694
- AClientScope: () => AClientScope,
12695
- AClientScopeAssignment: () => AClientScopeAssignment_default,
12696
- AClientScopeAssignments: () => AClientScopeAssignments_default,
12697
- AClientScopes: () => AClientScopes,
12698
- AClients: () => AClients,
12699
- ACompositePolicyForm: () => ACompositePolicyForm_default,
12700
- ADatePolicyForm: () => ADatePolicyForm_default,
12701
- AEntityDelete: () => AEntityDelete,
12702
- AFormInputList: () => AFormInputList_default,
12703
- AFormInputListItem: () => AFormInputListItem_default,
12704
- AFormSubmit: () => AFormSubmit,
12705
- AIdentityPolicyForm: () => AIdentityPolicyForm_default,
12706
- AIdentityProvider: () => AIdentityProvider,
12707
- AIdentityProviderForm: () => AIdentityProviderForm_default,
12708
- AIdentityProviderIcon: () => AIdentityProviderIcon_default,
12709
- AIdentityProviderLdapForm: () => AIdentityProviderLdapForm_default,
12710
- AIdentityProviderOAuth2Form: () => AIdentityProviderOAuth2Form_default,
12711
- AIdentityProviderPreset: () => AIdentityProviderPreset,
12712
- AIdentityProviderProtocol: () => AIdentityProviderProtocol,
12713
- AIdentityProviderRoleAssignment: () => AIdentityProviderRoleAssignment_default,
12714
- AIdentityProviderRoleAssignments: () => AIdentityProviderRoleAssignments_default,
12715
- AIdentityProviders: () => AIdentityProviders,
12716
- ALogin: () => Login_default,
12717
- ANameInput: () => ANameInput_default,
12718
- APagination: () => APagination,
12719
- APermission: () => APermission,
12720
- APermissionCheck: () => APermissionCheck,
12721
- APermissionClientAssignments: () => APermissionClientAssignments_default,
12722
- APermissionForm: () => APermissionForm_default,
12723
- APermissionPolicyAssignment: () => APermissionPolicyAssignment_default,
12724
- APermissionPolicyAssignments: () => APermissionPolicyAssignments_default,
12725
- APermissionPolicyBindingButton: () => APermissionPolicyBindingButton,
12726
- APermissionRobotAssignments: () => APermissionRobotAssignments_default,
12727
- APermissionRoleAssignments: () => APermissionRoleAssignments_default,
12728
- APermissionUserAssignments: () => APermissionUserAssignments_default,
12729
- APermissions: () => APermissions,
12730
- APolicies: () => APolicies,
12731
- APolicy: () => APolicy,
12732
- APolicyDetailNav: () => APolicyDetailNav_default,
12733
- APolicyForm: () => APolicyForm_default,
12734
- APolicyInlineInfo: () => APolicyInlineInfo_default,
12735
- APolicySummary: () => APolicySummary_default,
12736
- APolicyTypeBadge: () => APolicyTypeBadge_default,
12737
- APolicyTypePicker: () => APolicyTypePicker_default,
12738
- ARealm: () => ARealm,
12739
- ARealmForm: () => ARealmForm_default,
12740
- ARealmMatchPolicyForm: () => ARealmMatchPolicyForm_default,
12741
- ARealmPicker: () => ARealmPicker,
12742
- ARealms: () => ARealms,
12743
- ARobot: () => ARobot,
12744
- ARobotForm: () => ARobotForm_default,
12745
- ARobotPermissionAssignment: () => ARobotPermissionAssignment_default,
12746
- ARobotPermissionAssignments: () => ARobotPermissionAssignments_default,
12747
- ARobotRoleAssignment: () => ARobotRoleAssignment_default,
12748
- ARobotRoleAssignments: () => ARobotRoleAssignments_default,
12749
- ARobots: () => ARobots,
12750
- ARole: () => ARole,
12751
- ARoleClientAssignments: () => ARoleClientAssignments_default,
12752
- ARoleForm: () => ARoleForm_default,
12753
- ARolePermissionAssignment: () => ARolePermissionAssignment_default,
12754
- ARolePermissionAssignments: () => ARolePermissionAssignments_default,
12755
- ARoleRobotAssignments: () => ARoleRobotAssignments_default,
12756
- ARoleUserAssignments: () => ARoleUserAssignments_default,
12757
- ARoles: () => ARoles,
12758
- AScope: () => AScope,
12759
- AScopeClientAssignments: () => AScopeClientAssignments_default,
12760
- AScopeForm: () => AScopeForm_default,
12761
- AScopes: () => AScopes,
12762
- ASearch: () => ASearch,
12763
- ASecretInput: () => ASecretInput_default,
12764
- ATimePolicyForm: () => ATimePolicyForm_default,
12765
- ATitle: () => ATitle,
12766
- AToggleButton: () => AToggleButton_default,
12767
- AUser: () => AUser,
12768
- AUserForm: () => AUserForm_default,
12769
- AUserPasswordForm: () => AUserPasswordForm_default,
12770
- AUserPermissionAssignment: () => AUserPermissionAssignment_default,
12771
- AUserPermissionAssignments: () => AUserPermissionAssignments_default,
12772
- AUserRoleAssignment: () => AUserRoleAssignment_default,
12773
- AUserRoleAssignments: () => AUserRoleAssignments_default,
12774
- AUsers: () => AUsers,
12775
- EntityRecordError: () => EntityRecordError,
12776
- HTTPClientSymbol: () => HTTPClientSymbol,
12777
- LanguageSwitcherDropdown: () => LanguageSwitcherDropdown,
12778
- ListHandlers: () => ListHandlers,
12779
- STORE_ID: () => STORE_ID,
12780
- SlotName: () => SlotName,
12781
- SocketClientSymbol: () => SocketClientSymbol,
12782
- StoreDispatcherEventName: () => StoreDispatcherEventName,
12783
- assignFormProperties: () => assignFormProperties,
12784
- buildEntityVSlotProps: () => buildEntityVSlotProps,
12785
- buildFormCheckbox: () => buildFormCheckbox,
12786
- buildFormGroup: () => buildFormGroup,
12787
- buildFormInput: () => buildFormInput,
12788
- buildFormInputText: () => buildFormInputText,
12789
- buildFormSelect: () => buildFormSelect,
12790
- buildFormSubmit: () => buildFormSubmit,
12791
- buildFormSubmitWithTranslations: () => buildFormSubmitWithTranslations,
12792
- buildFormSwitch: () => buildFormSwitch,
12793
- buildFormTextarea: () => buildFormTextarea,
12794
- buildSubmitButtonDefaults: () => buildSubmitButtonDefaults,
12795
- createFormSubmitTranslations: () => createFormSubmitTranslations,
12796
- createPermissionCheckerReactiveFn: () => createPermissionCheckerReactiveFn,
12797
- createStore: () => createStore,
12798
- createStoreDispatcher: () => createStoreDispatcher,
12799
- default: () => src_default,
12800
- defineEntityCollectionManager: () => defineEntityCollectionManager,
12801
- defineEntityCollectionVEmitOptions: () => defineEntityCollectionVEmitOptions,
12802
- defineEntityCollectionVProps: () => defineEntityCollectionVProps,
12803
- defineEntityManager: () => defineEntityManager,
12804
- defineEntityPicker: () => defineEntityPicker,
12805
- defineEntityPickerVEmitOptions: () => defineEntityPickerVEmitOptions,
12806
- defineEntityPickerVProps: () => defineEntityPickerVProps,
12807
- defineEntitySocketManager: () => defineEntitySocketManager,
12808
- defineEntityVEmitOptions: () => defineEntityVEmitOptions,
12809
- defineEntityVProps: () => defineEntityVProps,
12810
- extractValidupResultsFromChild: () => extractValidupResultsFromChild,
12811
- getSeverity: () => getSeverity,
12812
- hasHTTPClient: () => hasHTTPClient,
12813
- hasHTTPClientAuthenticationHook: () => hasHTTPClientAuthenticationHook,
12814
- hasNormalizedSlot: () => hasNormalizedSlot,
12815
- hasStoreFactory: () => hasStoreFactory,
12816
- inject: () => inject,
12817
- injectHTTPClient: () => injectHTTPClient,
12818
- injectHTTPClientAuthenticationHook: () => injectHTTPClientAuthenticationHook,
12819
- injectSocketManager: () => injectSocketManager,
12820
- injectStore: () => injectStore,
12821
- injectStoreDispatcher: () => injectStoreDispatcher,
12822
- injectStoreFactory: () => injectStoreFactory,
12823
- injectTranslatorLocale: () => injectTranslatorLocale,
12824
- install: () => install,
12825
- installHTTPClient: () => installHTTPClient,
12826
- installHTTPClientAuthenticationHook: () => installHTTPClientAuthenticationHook,
12827
- installSocketManager: () => installSocketManager,
12828
- installStore: () => installStore,
12829
- installTranslator: () => installTranslator,
12830
- isQuerySortedDescByDate: () => isQuerySortedDescByDate,
12831
- isSocketManagerUsable: () => isSocketManagerUsable,
12832
- mergeEntityCollectionRenderOptions: () => mergeEntityCollectionRenderOptions,
12833
- normalizeSlot: () => normalizeSlot,
12834
- onChange: () => onChange,
12835
- provide: () => provide,
12836
- provideHTTPClient: () => provideHTTPClient,
12837
- provideHTTPClientAuthenticationHook: () => provideHTTPClientAuthenticationHook,
12838
- provideSocketManager: () => provideSocketManager,
12839
- provideStoreDispatcher: () => provideStoreDispatcher,
12840
- provideStoreFactory: () => provideStoreFactory,
12841
- renderToggleButton: () => renderToggleButton,
12842
- storeToRefs: () => storeToRefs,
12843
- useIsEditing: () => useIsEditing,
12844
- usePermissionCheck: () => usePermissionCheck,
12845
- useTranslation: () => useTranslation,
12846
- useTranslations: () => useTranslations,
12847
- useTranslationsForComposable: () => useTranslationsForComposable,
12848
- useTranslationsForField: () => useTranslationsForField,
12849
- useTranslationsForNamespace: () => useTranslationsForNamespace,
12850
- useTranslator: () => useTranslator,
12851
- useUpdatedAt: () => useUpdatedAt,
12852
- wrapFnWithBusyState: () => wrapFnWithBusyState
12853
- }), core_exports);
13033
+ //#endregion
13034
+ //#region src/components/workflows/password/PasswordForgotForm.vue?vue&type=script&lang.ts
13035
+ var PasswordForgotValidator = class extends Container {
13036
+ initialize() {
13037
+ super.initialize();
13038
+ this.mount("identifier", createValidator(string().min(3).max(255)));
13039
+ }
13040
+ };
13041
+ var PasswordForgotForm_vue_vue_type_script_lang_default = defineComponent({
13042
+ components: {
13043
+ AAuthBackLink: AAuthBackLink_default,
13044
+ VCButton,
13045
+ VCFormGroup,
13046
+ VCFormInput,
13047
+ IFieldValidation
13048
+ },
13049
+ props: {
13050
+ realmId: { type: String },
13051
+ backLink: { type: Object }
13052
+ },
13053
+ emits: ["done", "failed"],
13054
+ setup(props, { emit }) {
13055
+ const apiClient = injectHTTPClient();
13056
+ const form = reactive({ identifier: "" });
13057
+ const v = useValidup(new PasswordForgotValidator(), form);
13058
+ const translations = useTranslations([
13059
+ {
13060
+ namespace: TranslatorTranslationNamespace.ACTION,
13061
+ key: TranslatorTranslationActionKey.SEND
13062
+ },
13063
+ {
13064
+ namespace: TranslatorTranslationNamespace.CLIENT,
13065
+ key: TranslatorTranslationClientKey.FORGOT_PASSWORD
13066
+ },
13067
+ {
13068
+ namespace: TranslatorTranslationNamespace.CLIENT,
13069
+ key: TranslatorTranslationClientKey.EMAIL_OR_NAME
13070
+ },
13071
+ {
13072
+ namespace: TranslatorTranslationNamespace.CLIENT,
13073
+ key: TranslatorTranslationClientKey.CHECK_EMAIL_RESET
13074
+ },
13075
+ {
13076
+ namespace: TranslatorTranslationNamespace.CLIENT,
13077
+ key: TranslatorTranslationClientKey.BACK_TO_LOGIN
13078
+ }
13079
+ ]);
13080
+ const busy = ref(false);
13081
+ const error = ref(null);
13082
+ const sent = ref(false);
13083
+ return {
13084
+ v,
13085
+ form,
13086
+ submit: wrapFnWithBusyState(busy, async () => {
13087
+ error.value = null;
13088
+ try {
13089
+ const identifier = form.identifier.trim();
13090
+ const response = await apiClient.user.passwordForgot({
13091
+ ...identifier.includes("@") ? { email: identifier } : { name: identifier },
13092
+ ...props.realmId ? { realm_id: props.realmId } : {}
13093
+ });
13094
+ sent.value = true;
13095
+ emit("done", response);
13096
+ } catch (e) {
13097
+ error.value = e instanceof Error ? e.message : null;
13098
+ emit("failed", e);
13099
+ }
13100
+ }),
13101
+ submitButton: useSubmitButton({
13102
+ loading: busy,
13103
+ disabled: computed(() => busy.value || v.$invalid.value)
13104
+ }),
13105
+ busy,
13106
+ error,
13107
+ sent,
13108
+ translations
13109
+ };
13110
+ }
13111
+ });
13112
+ //#endregion
13113
+ //#region src/components/workflows/password/PasswordForgotForm.vue
13114
+ const _hoisted_1$3 = { class: "text-center" };
13115
+ const _hoisted_2$3 = { class: "font-bold" };
13116
+ const _hoisted_3$3 = {
13117
+ key: 0,
13118
+ class: "alert alert-info"
13119
+ };
13120
+ const _hoisted_4$3 = {
13121
+ key: 0,
13122
+ class: "alert alert-danger"
13123
+ };
13124
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
13125
+ const _component_VCFormInput = resolveComponent("VCFormInput");
13126
+ const _component_VCFormGroup = resolveComponent("VCFormGroup");
13127
+ const _component_IFieldValidation = resolveComponent("IFieldValidation");
13128
+ const _component_VCButton = resolveComponent("VCButton");
13129
+ const _component_AAuthBackLink = resolveComponent("AAuthBackLink");
13130
+ return openBlock(), createElementBlock("div", null, [
13131
+ createElementVNode("div", _hoisted_1$3, [createElementVNode("h1", _hoisted_2$3, toDisplayString(_ctx.translations.forgotPassword), 1)]),
13132
+ _ctx.sent ? (openBlock(), createElementBlock("div", _hoisted_3$3, toDisplayString(_ctx.translations.checkEmailReset), 1)) : (openBlock(), createElementBlock("form", {
13133
+ key: 1,
13134
+ onSubmit: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.submit && _ctx.submit(...args), ["prevent"]))
13135
+ }, [
13136
+ _ctx.error ? (openBlock(), createElementBlock("div", _hoisted_4$3, toDisplayString(_ctx.error), 1)) : createCommentVNode("v-if", true),
13137
+ createVNode(_component_IFieldValidation, { field: _ctx.v.fields.identifier }, {
13138
+ default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
13139
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translations.emailOrName), 1)]),
13140
+ default: withCtx(() => [createVNode(_component_VCFormInput, {
13141
+ modelValue: _ctx.v.fields.identifier.$model.value,
13142
+ "onUpdate:modelValue": ($event) => _ctx.v.fields.identifier.$model.value = $event
13143
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
13144
+ _: 2
13145
+ }, 1032, ["validation"])]),
13146
+ _: 1
13147
+ }, 8, ["field"]),
13148
+ createVNode(_component_VCButton, mergeProps(_ctx.submitButton, {
13149
+ label: _ctx.translations.send,
13150
+ class: "w-full"
13151
+ }), null, 16, ["label"])
13152
+ ], 32)),
13153
+ createVNode(_component_AAuthBackLink, { link: _ctx.backLink }, null, 8, ["link"])
13154
+ ]);
13155
+ }
13156
+ var PasswordForgotForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(PasswordForgotForm_vue_vue_type_script_lang_default, [["render", _sfc_render$3]]);
13157
+ //#endregion
13158
+ //#region src/components/workflows/password/PasswordResetForm.vue?vue&type=script&lang.ts
13159
+ var PasswordResetValidator = class extends Container {
13160
+ initialize() {
13161
+ super.initialize();
13162
+ this.mount("identifier", createValidator(string().min(3).max(255)));
13163
+ this.mount("token", createValidator(string().min(3).max(256)));
13164
+ this.mount("password", createValidator(string().min(3).max(255)));
13165
+ }
13166
+ };
13167
+ var PasswordResetForm_vue_vue_type_script_lang_default = defineComponent({
13168
+ components: {
13169
+ VCButton,
13170
+ VCFormGroup,
13171
+ VCFormInput,
13172
+ IFieldValidation
13173
+ },
13174
+ props: {
13175
+ realmId: { type: String },
13176
+ token: {
13177
+ type: String,
13178
+ default: ""
13179
+ }
13180
+ },
13181
+ emits: ["done", "failed"],
13182
+ setup(props, { emit }) {
13183
+ const apiClient = injectHTTPClient();
13184
+ const form = reactive({
13185
+ identifier: "",
13186
+ token: props.token,
13187
+ password: ""
13188
+ });
13189
+ watch(() => props.token, (value) => {
13190
+ form.token = value;
13191
+ });
13192
+ const v = useValidup(new PasswordResetValidator(), form);
13193
+ const translations = useTranslations([
13194
+ {
13195
+ namespace: TranslatorTranslationNamespace.ACTION,
13196
+ key: TranslatorTranslationActionKey.RESET
13197
+ },
13198
+ {
13199
+ namespace: TranslatorTranslationNamespace.FIELD,
13200
+ key: TranslatorTranslationFieldKey.CODE
13201
+ },
13202
+ {
13203
+ namespace: TranslatorTranslationNamespace.FIELD,
13204
+ key: TranslatorTranslationFieldKey.PASSWORD
13205
+ },
13206
+ {
13207
+ namespace: TranslatorTranslationNamespace.CLIENT,
13208
+ key: TranslatorTranslationClientKey.RESET_PASSWORD
13209
+ },
13210
+ {
13211
+ namespace: TranslatorTranslationNamespace.CLIENT,
13212
+ key: TranslatorTranslationClientKey.EMAIL_OR_NAME
13213
+ },
13214
+ {
13215
+ namespace: TranslatorTranslationNamespace.CLIENT,
13216
+ key: TranslatorTranslationClientKey.PASSWORD_RESET_DONE
13217
+ }
13218
+ ]);
13219
+ const busy = ref(false);
13220
+ const error = ref(null);
13221
+ const finished = ref(false);
13222
+ return {
13223
+ v,
13224
+ form,
13225
+ submit: wrapFnWithBusyState(busy, async () => {
13226
+ error.value = null;
13227
+ try {
13228
+ const identifier = form.identifier.trim();
13229
+ const response = await apiClient.user.passwordReset({
13230
+ ...identifier.includes("@") ? { email: identifier } : { name: identifier },
13231
+ token: form.token,
13232
+ password: form.password,
13233
+ ...props.realmId ? { realm_id: props.realmId } : {}
13234
+ });
13235
+ finished.value = true;
13236
+ emit("done", response);
13237
+ } catch (e) {
13238
+ error.value = e instanceof Error ? e.message : null;
13239
+ emit("failed", e);
13240
+ }
13241
+ }),
13242
+ submitButton: useSubmitButton({
13243
+ loading: busy,
13244
+ disabled: computed(() => busy.value || v.$invalid.value)
13245
+ }),
13246
+ busy,
13247
+ error,
13248
+ finished,
13249
+ translations
13250
+ };
13251
+ }
13252
+ });
13253
+ //#endregion
13254
+ //#region src/components/workflows/password/PasswordResetForm.vue
13255
+ const _hoisted_1$2 = { class: "text-center" };
13256
+ const _hoisted_2$2 = { class: "font-bold" };
13257
+ const _hoisted_3$2 = {
13258
+ key: 0,
13259
+ class: "alert alert-success"
13260
+ };
13261
+ const _hoisted_4$2 = {
13262
+ key: 0,
13263
+ class: "alert alert-danger"
13264
+ };
13265
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
13266
+ const _component_VCFormInput = resolveComponent("VCFormInput");
13267
+ const _component_VCFormGroup = resolveComponent("VCFormGroup");
13268
+ const _component_IFieldValidation = resolveComponent("IFieldValidation");
13269
+ const _component_VCButton = resolveComponent("VCButton");
13270
+ return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$2, [createElementVNode("h1", _hoisted_2$2, toDisplayString(_ctx.translations.resetPassword), 1)]), _ctx.finished ? (openBlock(), createElementBlock("div", _hoisted_3$2, toDisplayString(_ctx.translations.passwordResetDone), 1)) : (openBlock(), createElementBlock("form", {
13271
+ key: 1,
13272
+ onSubmit: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.submit && _ctx.submit(...args), ["prevent"]))
13273
+ }, [
13274
+ _ctx.error ? (openBlock(), createElementBlock("div", _hoisted_4$2, toDisplayString(_ctx.error), 1)) : createCommentVNode("v-if", true),
13275
+ createVNode(_component_IFieldValidation, { field: _ctx.v.fields.identifier }, {
13276
+ default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
13277
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translations.emailOrName), 1)]),
13278
+ default: withCtx(() => [createVNode(_component_VCFormInput, {
13279
+ modelValue: _ctx.v.fields.identifier.$model.value,
13280
+ "onUpdate:modelValue": ($event) => _ctx.v.fields.identifier.$model.value = $event
13281
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
13282
+ _: 2
13283
+ }, 1032, ["validation"])]),
13284
+ _: 1
13285
+ }, 8, ["field"]),
13286
+ createVNode(_component_IFieldValidation, { field: _ctx.v.fields.token }, {
13287
+ default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
13288
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translations.code), 1)]),
13289
+ default: withCtx(() => [createVNode(_component_VCFormInput, {
13290
+ modelValue: _ctx.v.fields.token.$model.value,
13291
+ "onUpdate:modelValue": ($event) => _ctx.v.fields.token.$model.value = $event
13292
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
13293
+ _: 2
13294
+ }, 1032, ["validation"])]),
13295
+ _: 1
13296
+ }, 8, ["field"]),
13297
+ createVNode(_component_IFieldValidation, { field: _ctx.v.fields.password }, {
13298
+ default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
13299
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translations.password), 1)]),
13300
+ default: withCtx(() => [createVNode(_component_VCFormInput, {
13301
+ modelValue: _ctx.v.fields.password.$model.value,
13302
+ "onUpdate:modelValue": ($event) => _ctx.v.fields.password.$model.value = $event,
13303
+ type: "password"
13304
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
13305
+ _: 2
13306
+ }, 1032, ["validation"])]),
13307
+ _: 1
13308
+ }, 8, ["field"]),
13309
+ createVNode(_component_VCButton, mergeProps(_ctx.submitButton, {
13310
+ label: _ctx.translations.reset,
13311
+ class: "w-full"
13312
+ }), null, 16, ["label"])
13313
+ ], 32))]);
13314
+ }
13315
+ var PasswordResetForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(PasswordResetForm_vue_vue_type_script_lang_default, [["render", _sfc_render$2]]);
13316
+ //#endregion
13317
+ //#region src/components/workflows/register/ActivateForm.vue?vue&type=script&lang.ts
13318
+ var ActivateValidator = class extends Container {
13319
+ initialize() {
13320
+ super.initialize();
13321
+ this.mount("token", createValidator(string().min(3).max(256)));
13322
+ }
13323
+ };
13324
+ var ActivateForm_vue_vue_type_script_lang_default = defineComponent({
13325
+ components: {
13326
+ VCButton,
13327
+ VCFormGroup,
13328
+ VCFormInput,
13329
+ IFieldValidation
13330
+ },
13331
+ props: { token: {
13332
+ type: String,
13333
+ default: ""
13334
+ } },
13335
+ emits: ["done", "failed"],
13336
+ setup(props, { emit }) {
13337
+ const apiClient = injectHTTPClient();
13338
+ const form = reactive({ token: props.token });
13339
+ watch(() => props.token, (value) => {
13340
+ form.token = value;
13341
+ });
13342
+ const v = useValidup(new ActivateValidator(), form);
13343
+ const translations = useTranslations([
13344
+ {
13345
+ namespace: TranslatorTranslationNamespace.ACTION,
13346
+ key: TranslatorTranslationActionKey.ACTIVATE
13347
+ },
13348
+ {
13349
+ namespace: TranslatorTranslationNamespace.FIELD,
13350
+ key: TranslatorTranslationFieldKey.CODE
13351
+ },
13352
+ {
13353
+ namespace: TranslatorTranslationNamespace.CLIENT,
13354
+ key: TranslatorTranslationClientKey.ACTIVATE_ACCOUNT
13355
+ },
13356
+ {
13357
+ namespace: TranslatorTranslationNamespace.CLIENT,
13358
+ key: TranslatorTranslationClientKey.ACCOUNT_ACTIVATED
13359
+ }
13360
+ ]);
13361
+ const busy = ref(false);
13362
+ const error = ref(null);
13363
+ const finished = ref(false);
13364
+ return {
13365
+ v,
13366
+ form,
13367
+ submit: wrapFnWithBusyState(busy, async () => {
13368
+ error.value = null;
13369
+ try {
13370
+ await apiClient.user.activate(form.token);
13371
+ finished.value = true;
13372
+ emit("done");
13373
+ } catch (e) {
13374
+ error.value = e instanceof Error ? e.message : null;
13375
+ emit("failed", e);
13376
+ }
13377
+ }),
13378
+ submitButton: useSubmitButton({
13379
+ loading: busy,
13380
+ disabled: computed(() => busy.value || v.$invalid.value)
13381
+ }),
13382
+ busy,
13383
+ error,
13384
+ finished,
13385
+ translations
13386
+ };
13387
+ }
13388
+ });
13389
+ //#endregion
13390
+ //#region src/components/workflows/register/ActivateForm.vue
13391
+ const _hoisted_1$1 = { class: "text-center" };
13392
+ const _hoisted_2$1 = { class: "font-bold" };
13393
+ const _hoisted_3$1 = {
13394
+ key: 0,
13395
+ class: "alert alert-success"
13396
+ };
13397
+ const _hoisted_4$1 = {
13398
+ key: 0,
13399
+ class: "alert alert-danger"
13400
+ };
13401
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
13402
+ const _component_VCFormInput = resolveComponent("VCFormInput");
13403
+ const _component_VCFormGroup = resolveComponent("VCFormGroup");
13404
+ const _component_IFieldValidation = resolveComponent("IFieldValidation");
13405
+ const _component_VCButton = resolveComponent("VCButton");
13406
+ return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$1, [createElementVNode("h1", _hoisted_2$1, toDisplayString(_ctx.translations.activateAccount), 1)]), _ctx.finished ? (openBlock(), createElementBlock("div", _hoisted_3$1, toDisplayString(_ctx.translations.accountActivated), 1)) : (openBlock(), createElementBlock("form", {
13407
+ key: 1,
13408
+ onSubmit: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.submit && _ctx.submit(...args), ["prevent"]))
13409
+ }, [
13410
+ _ctx.error ? (openBlock(), createElementBlock("div", _hoisted_4$1, toDisplayString(_ctx.error), 1)) : createCommentVNode("v-if", true),
13411
+ createVNode(_component_IFieldValidation, { field: _ctx.v.fields.token }, {
13412
+ default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
13413
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translations.code), 1)]),
13414
+ default: withCtx(() => [createVNode(_component_VCFormInput, {
13415
+ modelValue: _ctx.v.fields.token.$model.value,
13416
+ "onUpdate:modelValue": ($event) => _ctx.v.fields.token.$model.value = $event
13417
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
13418
+ _: 2
13419
+ }, 1032, ["validation"])]),
13420
+ _: 1
13421
+ }, 8, ["field"]),
13422
+ createVNode(_component_VCButton, mergeProps(_ctx.submitButton, {
13423
+ label: _ctx.translations.activate,
13424
+ class: "w-full"
13425
+ }), null, 16, ["label"])
13426
+ ], 32))]);
13427
+ }
13428
+ var ActivateForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ActivateForm_vue_vue_type_script_lang_default, [["render", _sfc_render$1]]);
13429
+ //#endregion
13430
+ //#region src/components/workflows/register/RegisterForm.vue?vue&type=script&lang.ts
13431
+ var RegisterValidator = class extends Container {
13432
+ initialize() {
13433
+ super.initialize();
13434
+ this.mount("name", createValidator(string().min(3).max(128)));
13435
+ this.mount("email", createValidator(string().email().max(255)));
13436
+ this.mount("password", createValidator(string().min(3).max(255)));
13437
+ }
13438
+ };
13439
+ var RegisterForm_vue_vue_type_script_lang_default = defineComponent({
13440
+ components: {
13441
+ AAuthBackLink: AAuthBackLink_default,
13442
+ ActivateForm: ActivateForm_default,
13443
+ VCButton,
13444
+ VCFormGroup,
13445
+ VCFormInput,
13446
+ IFieldValidation
13447
+ },
13448
+ props: {
13449
+ realmId: { type: String },
13450
+ backLink: { type: Object }
13451
+ },
13452
+ emits: ["done", "failed"],
13453
+ setup(props, { emit }) {
13454
+ const apiClient = injectHTTPClient();
13455
+ const form = reactive({
13456
+ name: "",
13457
+ email: "",
13458
+ password: ""
13459
+ });
13460
+ const v = useValidup(new RegisterValidator(), form);
13461
+ const translations = useTranslations([
13462
+ {
13463
+ namespace: TranslatorTranslationNamespace.ACTION,
13464
+ key: TranslatorTranslationActionKey.REGISTER
13465
+ },
13466
+ {
13467
+ namespace: TranslatorTranslationNamespace.FIELD,
13468
+ key: TranslatorTranslationFieldKey.NAME
13469
+ },
13470
+ {
13471
+ namespace: TranslatorTranslationNamespace.FIELD,
13472
+ key: TranslatorTranslationFieldKey.EMAIL
13473
+ },
13474
+ {
13475
+ namespace: TranslatorTranslationNamespace.FIELD,
13476
+ key: TranslatorTranslationFieldKey.PASSWORD
13477
+ },
13478
+ {
13479
+ namespace: TranslatorTranslationNamespace.CLIENT,
13480
+ key: TranslatorTranslationClientKey.CREATE_ACCOUNT
13481
+ },
13482
+ {
13483
+ namespace: TranslatorTranslationNamespace.CLIENT,
13484
+ key: TranslatorTranslationClientKey.CHECK_EMAIL_ACTIVATE
13485
+ },
13486
+ {
13487
+ namespace: TranslatorTranslationNamespace.CLIENT,
13488
+ key: TranslatorTranslationClientKey.BACK_TO_LOGIN
13489
+ }
13490
+ ]);
13491
+ const busy = ref(false);
13492
+ const error = ref(null);
13493
+ const awaitingActivation = ref(false);
13494
+ return {
13495
+ v,
13496
+ form,
13497
+ submit: wrapFnWithBusyState(busy, async () => {
13498
+ error.value = null;
13499
+ try {
13500
+ const response = await apiClient.user.register({
13501
+ name: form.name,
13502
+ email: form.email,
13503
+ password: form.password,
13504
+ ...props.realmId ? { realm_id: props.realmId } : {}
13505
+ });
13506
+ if (response.active) emit("done", response);
13507
+ else awaitingActivation.value = true;
13508
+ } catch (e) {
13509
+ error.value = e instanceof Error ? e.message : null;
13510
+ emit("failed", e);
13511
+ }
13512
+ }),
13513
+ submitButton: useSubmitButton({
13514
+ loading: busy,
13515
+ disabled: computed(() => busy.value || v.$invalid.value)
13516
+ }),
13517
+ busy,
13518
+ error,
13519
+ awaitingActivation,
13520
+ translations
13521
+ };
13522
+ }
13523
+ });
13524
+ //#endregion
13525
+ //#region src/components/workflows/register/RegisterForm.vue
13526
+ const _hoisted_1 = { class: "alert alert-info" };
13527
+ const _hoisted_2 = { class: "text-center" };
13528
+ const _hoisted_3 = { class: "font-bold" };
13529
+ const _hoisted_4 = {
13530
+ key: 0,
13531
+ class: "alert alert-danger"
13532
+ };
13533
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
13534
+ const _component_ActivateForm = resolveComponent("ActivateForm");
13535
+ const _component_VCFormInput = resolveComponent("VCFormInput");
13536
+ const _component_VCFormGroup = resolveComponent("VCFormGroup");
13537
+ const _component_IFieldValidation = resolveComponent("IFieldValidation");
13538
+ const _component_VCButton = resolveComponent("VCButton");
13539
+ const _component_AAuthBackLink = resolveComponent("AAuthBackLink");
13540
+ return openBlock(), createElementBlock("div", null, [_ctx.awaitingActivation ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createElementVNode("div", _hoisted_1, toDisplayString(_ctx.translations.checkEmailActivate), 1), createVNode(_component_ActivateForm, {
13541
+ onDone: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("done")),
13542
+ onFailed: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("failed", $event))
13543
+ })], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createElementVNode("div", _hoisted_2, [createElementVNode("h1", _hoisted_3, toDisplayString(_ctx.translations.createAccount), 1)]), createElementVNode("form", { onSubmit: _cache[2] || (_cache[2] = withModifiers((...args) => _ctx.submit && _ctx.submit(...args), ["prevent"])) }, [
13544
+ _ctx.error ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(_ctx.error), 1)) : createCommentVNode("v-if", true),
13545
+ createVNode(_component_IFieldValidation, { field: _ctx.v.fields.name }, {
13546
+ default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
13547
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translations.name), 1)]),
13548
+ default: withCtx(() => [createVNode(_component_VCFormInput, {
13549
+ modelValue: _ctx.v.fields.name.$model.value,
13550
+ "onUpdate:modelValue": ($event) => _ctx.v.fields.name.$model.value = $event
13551
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
13552
+ _: 2
13553
+ }, 1032, ["validation"])]),
13554
+ _: 1
13555
+ }, 8, ["field"]),
13556
+ createVNode(_component_IFieldValidation, { field: _ctx.v.fields.email }, {
13557
+ default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
13558
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translations.email), 1)]),
13559
+ default: withCtx(() => [createVNode(_component_VCFormInput, {
13560
+ modelValue: _ctx.v.fields.email.$model.value,
13561
+ "onUpdate:modelValue": ($event) => _ctx.v.fields.email.$model.value = $event,
13562
+ type: "email"
13563
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
13564
+ _: 2
13565
+ }, 1032, ["validation"])]),
13566
+ _: 1
13567
+ }, 8, ["field"]),
13568
+ createVNode(_component_IFieldValidation, { field: _ctx.v.fields.password }, {
13569
+ default: withCtx(({ value }) => [createVNode(_component_VCFormGroup, { validation: value }, {
13570
+ label: withCtx(() => [createTextVNode(toDisplayString(_ctx.translations.password), 1)]),
13571
+ default: withCtx(() => [createVNode(_component_VCFormInput, {
13572
+ modelValue: _ctx.v.fields.password.$model.value,
13573
+ "onUpdate:modelValue": ($event) => _ctx.v.fields.password.$model.value = $event,
13574
+ type: "password"
13575
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
13576
+ _: 2
13577
+ }, 1032, ["validation"])]),
13578
+ _: 1
13579
+ }, 8, ["field"]),
13580
+ createVNode(_component_VCButton, mergeProps(_ctx.submitButton, {
13581
+ label: _ctx.translations.register,
13582
+ class: "w-full"
13583
+ }), null, 16, ["label"])
13584
+ ], 32)], 64)), createVNode(_component_AAuthBackLink, { link: _ctx.backLink }, null, 8, ["link"])]);
13585
+ }
13586
+ var RegisterForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(RegisterForm_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
13587
+ //#endregion
13588
+ //#region src/index.ts
12854
13589
  var src_default = { install };
12855
13590
  //#endregion
12856
- export { AAttributeNamesPolicyForm_default as AAttributeNamesPolicyForm, Authorize_default as AAuthorize, AuthorizeText_default as AAuthorizeText, AClient, AClientForm_default as AClientForm, AClientPermissionAssignment_default as AClientPermissionAssignment, AClientPermissionAssignments_default as AClientPermissionAssignments, AClientPicker, AClientRoleAssignment_default as AClientRoleAssignment, AClientRoleAssignments_default as AClientRoleAssignments, AClientScope, AClientScopeAssignment_default as AClientScopeAssignment, AClientScopeAssignments_default as AClientScopeAssignments, AClientScopes, AClients, ACompositePolicyForm_default as ACompositePolicyForm, ADatePolicyForm_default as ADatePolicyForm, AEntityDelete, AFormInputList_default as AFormInputList, AFormInputListItem_default as AFormInputListItem, AFormSubmit, AIdentityPolicyForm_default as AIdentityPolicyForm, AIdentityProvider, AIdentityProviderForm_default as AIdentityProviderForm, AIdentityProviderIcon_default as AIdentityProviderIcon, AIdentityProviderLdapForm_default as AIdentityProviderLdapForm, AIdentityProviderOAuth2Form_default as AIdentityProviderOAuth2Form, AIdentityProviderPreset, AIdentityProviderProtocol, AIdentityProviderRoleAssignment_default as AIdentityProviderRoleAssignment, AIdentityProviderRoleAssignments_default as AIdentityProviderRoleAssignments, AIdentityProviders, Login_default as ALogin, ANameInput_default as ANameInput, APagination, APermission, APermissionCheck, APermissionClientAssignments_default as APermissionClientAssignments, APermissionForm_default as APermissionForm, APermissionPolicyAssignment_default as APermissionPolicyAssignment, APermissionPolicyAssignments_default as APermissionPolicyAssignments, APermissionPolicyBindingButton, APermissionRobotAssignments_default as APermissionRobotAssignments, APermissionRoleAssignments_default as APermissionRoleAssignments, APermissionUserAssignments_default as APermissionUserAssignments, APermissions, APolicies, APolicy, APolicyDetailNav_default as APolicyDetailNav, APolicyForm_default as APolicyForm, APolicyInlineInfo_default as APolicyInlineInfo, APolicySummary_default as APolicySummary, APolicyTypeBadge_default as APolicyTypeBadge, APolicyTypePicker_default as APolicyTypePicker, ARealm, ARealmForm_default as ARealmForm, ARealmMatchPolicyForm_default as ARealmMatchPolicyForm, ARealmPicker, ARealms, ARobot, ARobotForm_default as ARobotForm, ARobotPermissionAssignment_default as ARobotPermissionAssignment, ARobotPermissionAssignments_default as ARobotPermissionAssignments, ARobotRoleAssignment_default as ARobotRoleAssignment, ARobotRoleAssignments_default as ARobotRoleAssignments, ARobots, ARole, ARoleClientAssignments_default as ARoleClientAssignments, ARoleForm_default as ARoleForm, ARolePermissionAssignment_default as ARolePermissionAssignment, ARolePermissionAssignments_default as ARolePermissionAssignments, ARoleRobotAssignments_default as ARoleRobotAssignments, ARoleUserAssignments_default as ARoleUserAssignments, ARoles, AScope, AScopeClientAssignments_default as AScopeClientAssignments, AScopeForm_default as AScopeForm, AScopes, ASearch, ASecretInput_default as ASecretInput, ATimePolicyForm_default as ATimePolicyForm, ATitle, AToggleButton_default as AToggleButton, AUser, AUserForm_default as AUserForm, AUserPasswordForm_default as AUserPasswordForm, AUserPermissionAssignment_default as AUserPermissionAssignment, AUserPermissionAssignments_default as AUserPermissionAssignments, AUserRoleAssignment_default as AUserRoleAssignment, AUserRoleAssignments_default as AUserRoleAssignments, AUsers, EntityRecordError, HTTPClientSymbol, LanguageSwitcherDropdown, ListHandlers, STORE_ID, SlotName, SocketClientSymbol, StoreDispatcherEventName, assignFormProperties, buildEntityVSlotProps, buildFormCheckbox, buildFormGroup, buildFormInput, buildFormInputText, buildFormSelect, buildFormSubmit, buildFormSubmitWithTranslations, buildFormSwitch, buildFormTextarea, buildSubmitButtonDefaults, createFormSubmitTranslations, createPermissionCheckerReactiveFn, createStore, createStoreDispatcher, src_default as default, defineEntityCollectionManager, defineEntityCollectionVEmitOptions, defineEntityCollectionVProps, defineEntityManager, defineEntityPicker, defineEntityPickerVEmitOptions, defineEntityPickerVProps, defineEntitySocketManager, defineEntityVEmitOptions, defineEntityVProps, extractValidupResultsFromChild, getSeverity, hasHTTPClient, hasHTTPClientAuthenticationHook, hasNormalizedSlot, hasStoreFactory, inject, injectHTTPClient, injectHTTPClientAuthenticationHook, injectSocketManager, injectStore, injectStoreDispatcher, injectStoreFactory, injectTranslatorLocale, install, installHTTPClient, installHTTPClientAuthenticationHook, installSocketManager, installStore, installTranslator, isQuerySortedDescByDate, isSocketManagerUsable, mergeEntityCollectionRenderOptions, normalizeSlot, onChange, provide, provideHTTPClient, provideHTTPClientAuthenticationHook, provideSocketManager, provideStoreDispatcher, provideStoreFactory, renderToggleButton, storeToRefs, useIsEditing, usePermissionCheck, useTranslation, useTranslations, useTranslationsForComposable, useTranslationsForField, useTranslationsForNamespace, useTranslator, useUpdatedAt, wrapFnWithBusyState };
13591
+ export { ActivateForm_default as AActivateForm, AAttributeNamesPolicyForm_default as AAttributeNamesPolicyForm, AAuthBackLink_default as AAuthBackLink, AAuthGadgets_default as AAuthGadgets, AAuthShell_default as AAuthShell, Authorize_default as AAuthorize, AuthorizeText_default as AAuthorizeText, AClient, AClientForm_default as AClientForm, AClientPermissionAssignment_default as AClientPermissionAssignment, AClientPermissionAssignments_default as AClientPermissionAssignments, AClientPicker, AClientRoleAssignment_default as AClientRoleAssignment, AClientRoleAssignments_default as AClientRoleAssignments, AClientScope, AClientScopeAssignment_default as AClientScopeAssignment, AClientScopeAssignments_default as AClientScopeAssignments, AClientScopes, AClients, AColorModeSwitcher_default as AColorModeSwitcher, ACompositePolicyForm_default as ACompositePolicyForm, ADatePolicyForm_default as ADatePolicyForm, AEntityDelete, AFormInputList_default as AFormInputList, AFormInputListItem_default as AFormInputListItem, AFormSubmit, AIdentityPolicyForm_default as AIdentityPolicyForm, AIdentityProvider, AIdentityProviderForm_default as AIdentityProviderForm, AIdentityProviderIcon_default as AIdentityProviderIcon, AIdentityProviderLdapForm_default as AIdentityProviderLdapForm, AIdentityProviderOAuth2Form_default as AIdentityProviderOAuth2Form, AIdentityProviderPreset, AIdentityProviderProtocol, AIdentityProviderRoleAssignment_default as AIdentityProviderRoleAssignment, AIdentityProviderRoleAssignments_default as AIdentityProviderRoleAssignments, AIdentityProviders, ALanguageSwitcherDropdown, LoginForm_default as ALogin, LoginForm_default as ALoginForm, ANameInput_default as ANameInput, APagination, PasswordForgotForm_default as APasswordForgotForm, PasswordResetForm_default as APasswordResetForm, APermission, APermissionCheck, APermissionClientAssignments_default as APermissionClientAssignments, APermissionForm_default as APermissionForm, APermissionPolicyAssignment_default as APermissionPolicyAssignment, APermissionPolicyAssignments_default as APermissionPolicyAssignments, APermissionPolicyBindingButton, APermissionRobotAssignments_default as APermissionRobotAssignments, APermissionRoleAssignments_default as APermissionRoleAssignments, APermissionUserAssignments_default as APermissionUserAssignments, APermissions, APolicies, APolicy, APolicyDetailNav_default as APolicyDetailNav, APolicyForm_default as APolicyForm, APolicyInlineInfo_default as APolicyInlineInfo, APolicySummary_default as APolicySummary, APolicyTypeBadge_default as APolicyTypeBadge, APolicyTypePicker_default as APolicyTypePicker, ARealm, ARealmForm_default as ARealmForm, ARealmGrid_default as ARealmGrid, ARealmMatchPolicyForm_default as ARealmMatchPolicyForm, ARealmPicker, ARealms, RegisterForm_default as ARegisterForm, ARobot, ARobotForm_default as ARobotForm, ARobotPermissionAssignment_default as ARobotPermissionAssignment, ARobotPermissionAssignments_default as ARobotPermissionAssignments, ARobotRoleAssignment_default as ARobotRoleAssignment, ARobotRoleAssignments_default as ARobotRoleAssignments, ARobots, ARole, ARoleClientAssignments_default as ARoleClientAssignments, ARoleForm_default as ARoleForm, ARolePermissionAssignment_default as ARolePermissionAssignment, ARolePermissionAssignments_default as ARolePermissionAssignments, ARoleRobotAssignments_default as ARoleRobotAssignments, ARoleUserAssignments_default as ARoleUserAssignments, ARoles, AScope, AScopeClientAssignments_default as AScopeClientAssignments, AScopeForm_default as AScopeForm, AScopes, ASearch, ASecretInput_default as ASecretInput, ATimePolicyForm_default as ATimePolicyForm, ATitle, AToggleButton_default as AToggleButton, AUser, AUserForm_default as AUserForm, AUserPasswordForm_default as AUserPasswordForm, AUserPermissionAssignment_default as AUserPermissionAssignment, AUserPermissionAssignments_default as AUserPermissionAssignments, AUserRoleAssignment_default as AUserRoleAssignment, AUserRoleAssignments_default as AUserRoleAssignments, AUsers, EntityRecordError, HTTPClientSymbol, LanguageSwitcherDropdown, ListHandlers, STORE_ID, SlotName, SocketClientSymbol, StoreDispatcherEventName, assignFormProperties, buildAuthorizeURL, buildEntityVSlotProps, buildFormCheckbox, buildFormGroup, buildFormInput, buildFormInputText, buildFormSelect, buildFormSubmit, buildFormSubmitWithTranslations, buildFormSwitch, buildFormTextarea, buildSubmitButtonDefaults, clearAuthorizationRequest, createFormSubmitTranslations, createPKCE, createPermissionCheckerReactiveFn, createState, createStore, createStoreDispatcher, src_default as default, defineEntityCollectionManager, defineEntityCollectionVEmitOptions, defineEntityCollectionVProps, defineEntityManager, defineEntityPicker, defineEntityPickerVEmitOptions, defineEntityPickerVProps, defineEntitySocketManager, defineEntityVEmitOptions, defineEntityVProps, extractValidupResultsFromChild, getSeverity, hasHTTPClient, hasHTTPClientAuthenticationHook, hasNormalizedSlot, hasStoreFactory, inject, injectHTTPClient, injectHTTPClientAuthenticationHook, injectSocketManager, injectStore, injectStoreDispatcher, injectStoreFactory, injectTranslatorLocale, install, installHTTPClient, installHTTPClientAuthenticationHook, installSocketManager, installStore, installTranslator, isQuerySortedDescByDate, isSocketManagerUsable, loadAuthorizationRequest, mergeEntityCollectionRenderOptions, normalizeSlot, onChange, provide, provideHTTPClient, provideHTTPClientAuthenticationHook, provideSocketManager, provideStoreDispatcher, provideStoreFactory, renderToggleButton, saveAuthorizationRequest, storeToRefs, syncTranslatorLocaleFromManager, useIsEditing, useLocaleControl, usePermissionCheck, useTranslation, useTranslations, useTranslationsForComposable, useTranslationsForField, useTranslationsForNamespace, useTranslator, useUpdatedAt, wrapFnWithBusyState };
12857
13592
 
12858
13593
  //# sourceMappingURL=index.mjs.map