@authup/client-web-kit 1.0.0-beta.44 → 1.0.0-beta.46

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 (143) hide show
  1. package/dist/components/entities/client/AClientForm.vue.d.ts +276 -41
  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 +118 -323
  6. package/dist/components/entities/identity-provider/AIdentityProviderBasicFields.vue.d.ts.map +1 -1
  7. package/dist/components/entities/identity-provider/AIdentityProviderForm.vue.d.ts +283 -3087
  8. package/dist/components/entities/identity-provider/AIdentityProviderForm.vue.d.ts.map +1 -1
  9. package/dist/components/entities/identity-provider/AIdentityProviderLdapConnectionFields.vue.d.ts +3 -358
  10. package/dist/components/entities/identity-provider/AIdentityProviderLdapConnectionFields.vue.d.ts.map +1 -1
  11. package/dist/components/entities/identity-provider/AIdentityProviderLdapCredentialsFields.vue.d.ts +3 -255
  12. package/dist/components/entities/identity-provider/AIdentityProviderLdapCredentialsFields.vue.d.ts.map +1 -1
  13. package/dist/components/entities/identity-provider/AIdentityProviderLdapForm.vue.d.ts +146 -1554
  14. package/dist/components/entities/identity-provider/AIdentityProviderLdapForm.vue.d.ts.map +1 -1
  15. package/dist/components/entities/identity-provider/AIdentityProviderLdapGroupFields.vue.d.ts +3 -258
  16. package/dist/components/entities/identity-provider/AIdentityProviderLdapGroupFields.vue.d.ts.map +1 -1
  17. package/dist/components/entities/identity-provider/AIdentityProviderLdapUserFields.vue.d.ts +3 -257
  18. package/dist/components/entities/identity-provider/AIdentityProviderLdapUserFields.vue.d.ts.map +1 -1
  19. package/dist/components/entities/identity-provider/AIdentityProviderOAuth2ClientFields.vue.d.ts +3 -245
  20. package/dist/components/entities/identity-provider/AIdentityProviderOAuth2ClientFields.vue.d.ts.map +1 -1
  21. package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Discovery.vue.d.ts +0 -237
  22. package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Discovery.vue.d.ts.map +1 -1
  23. package/dist/components/entities/identity-provider/AIdentityProviderOAuth2EndpointFields.vue.d.ts +3 -3
  24. package/dist/components/entities/identity-provider/AIdentityProviderOAuth2EndpointFields.vue.d.ts.map +1 -1
  25. package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Form.vue.d.ts +142 -1415
  26. package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Form.vue.d.ts.map +1 -1
  27. package/dist/components/entities/identity-provider/AIdentityProviders.d.ts.map +1 -1
  28. package/dist/components/entities/identity-provider/index.d.ts +3 -3
  29. package/dist/components/entities/identity-provider/index.d.ts.map +1 -1
  30. package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.vue.d.ts +2 -1
  31. package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.vue.d.ts.map +1 -1
  32. package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignments.vue.d.ts +1 -1
  33. package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignments.vue.d.ts.map +1 -1
  34. package/dist/components/entities/permission/APermissionForm.vue.d.ts +118 -478
  35. package/dist/components/entities/permission/APermissionForm.vue.d.ts.map +1 -1
  36. package/dist/components/entities/permission/APermissions.d.ts.map +1 -1
  37. package/dist/components/entities/permission/index.d.ts +1 -1
  38. package/dist/components/entities/permission/index.d.ts.map +1 -1
  39. package/dist/components/entities/permission-policy/APermissionPolicyAssignments.vue.d.ts +1 -0
  40. package/dist/components/entities/permission-policy/APermissionPolicyAssignments.vue.d.ts.map +1 -1
  41. package/dist/components/entities/policy/APolicies.d.ts.map +1 -1
  42. package/dist/components/entities/policy/APolicyBasicForm.vue.d.ts +136 -0
  43. package/dist/components/entities/policy/APolicyBasicForm.vue.d.ts.map +1 -1
  44. package/dist/components/entities/policy/APolicyDetailNav.vue.d.ts +1 -0
  45. package/dist/components/entities/policy/APolicyDetailNav.vue.d.ts.map +1 -1
  46. package/dist/components/entities/policy/APolicyForm.vue.d.ts +136 -0
  47. package/dist/components/entities/policy/APolicyForm.vue.d.ts.map +1 -1
  48. package/dist/components/entities/policy/APolicyInlineInfo.vue.d.ts +1 -0
  49. package/dist/components/entities/policy/APolicyInlineInfo.vue.d.ts.map +1 -1
  50. package/dist/components/entities/policy/attribute-names/AAttributeNamesPolicyForm.vue.d.ts +1 -37
  51. package/dist/components/entities/policy/attribute-names/AAttributeNamesPolicyForm.vue.d.ts.map +1 -1
  52. package/dist/components/entities/policy/composite/ACompositePolicyForm.vue.d.ts.map +1 -1
  53. package/dist/components/entities/policy/date/ADatePolicyForm.vue.d.ts +2 -0
  54. package/dist/components/entities/policy/date/ADatePolicyForm.vue.d.ts.map +1 -1
  55. package/dist/components/entities/policy/identity/AIdentityPolicyForm.vue.d.ts +1 -37
  56. package/dist/components/entities/policy/identity/AIdentityPolicyForm.vue.d.ts.map +1 -1
  57. package/dist/components/entities/policy/realm-match/ARealmMatchPolicyForm.vue.d.ts +1 -37
  58. package/dist/components/entities/policy/realm-match/ARealmMatchPolicyForm.vue.d.ts.map +1 -1
  59. package/dist/components/entities/policy/time/ATimePolicyForm.vue.d.ts +2 -0
  60. package/dist/components/entities/policy/time/ATimePolicyForm.vue.d.ts.map +1 -1
  61. package/dist/components/entities/realm/ARealmForm.vue.d.ts +120 -316
  62. package/dist/components/entities/realm/ARealmForm.vue.d.ts.map +1 -1
  63. package/dist/components/entities/realm/ARealms.d.ts.map +1 -1
  64. package/dist/components/entities/realm/index.d.ts +1 -1
  65. package/dist/components/entities/realm/index.d.ts.map +1 -1
  66. package/dist/components/entities/robot/ARobotForm.vue.d.ts +242 -386
  67. package/dist/components/entities/robot/ARobotForm.vue.d.ts.map +1 -1
  68. package/dist/components/entities/robot/ARobots.d.ts.map +1 -1
  69. package/dist/components/entities/robot/index.d.ts +1 -1
  70. package/dist/components/entities/robot/index.d.ts.map +1 -1
  71. package/dist/components/entities/role/ARoleForm.vue.d.ts +120 -402
  72. package/dist/components/entities/role/ARoleForm.vue.d.ts.map +1 -1
  73. package/dist/components/entities/role/ARoles.d.ts.map +1 -1
  74. package/dist/components/entities/role/index.d.ts +1 -1
  75. package/dist/components/entities/role/index.d.ts.map +1 -1
  76. package/dist/components/entities/scope/AScopeForm.vue.d.ts +120 -409
  77. package/dist/components/entities/scope/AScopeForm.vue.d.ts.map +1 -1
  78. package/dist/components/entities/scope/AScopes.d.ts.map +1 -1
  79. package/dist/components/entities/scope/index.d.ts +1 -1
  80. package/dist/components/entities/scope/index.d.ts.map +1 -1
  81. package/dist/components/entities/user/AUserForm.vue.d.ts +117 -496
  82. package/dist/components/entities/user/AUserForm.vue.d.ts.map +1 -1
  83. package/dist/components/entities/user/AUserPasswordForm.vue.d.ts +0 -385
  84. package/dist/components/entities/user/AUserPasswordForm.vue.d.ts.map +1 -1
  85. package/dist/components/entities/user/AUsers.d.ts.map +1 -1
  86. package/dist/components/entities/user/index.d.ts +2 -2
  87. package/dist/components/entities/user/index.d.ts.map +1 -1
  88. package/dist/components/utility/ANameInput.vue.d.ts +151 -0
  89. package/dist/components/utility/ANameInput.vue.d.ts.map +1 -0
  90. package/dist/components/utility/ASecretInput.vue.d.ts +156 -0
  91. package/dist/components/utility/ASecretInput.vue.d.ts.map +1 -0
  92. package/dist/components/utility/AToggleButton.vue.d.ts +0 -27
  93. package/dist/components/utility/AToggleButton.vue.d.ts.map +1 -1
  94. package/dist/components/utility/LanguageSwitcherDropdown.d.ts.map +1 -1
  95. package/dist/components/utility/entity/AEntityDelete.d.ts.map +1 -1
  96. package/dist/components/utility/form-input-list/AFormInputList.vue.d.ts +2 -37
  97. package/dist/components/utility/form-input-list/AFormInputList.vue.d.ts.map +1 -1
  98. package/dist/components/utility/form-input-list/AFormInputListItem.vue.d.ts.map +1 -1
  99. package/dist/components/utility/index.d.ts +2 -0
  100. package/dist/components/utility/index.d.ts.map +1 -1
  101. package/dist/components/utility/title/ATitle.d.ts.map +1 -1
  102. package/dist/components/utility/translation/index.d.ts +0 -1
  103. package/dist/components/utility/translation/index.d.ts.map +1 -1
  104. package/dist/components/workflows/Login.vue.d.ts +2 -0
  105. package/dist/components/workflows/Login.vue.d.ts.map +1 -1
  106. package/dist/components/workflows/authorize/Authorize.vue.d.ts +5 -0
  107. package/dist/components/workflows/authorize/Authorize.vue.d.ts.map +1 -1
  108. package/dist/components/workflows/authorize/AuthorizeForm.vue.d.ts +4 -0
  109. package/dist/components/workflows/authorize/AuthorizeForm.vue.d.ts.map +1 -1
  110. package/dist/components/workflows/authorize/AuthorizeScopes.vue.d.ts +2 -0
  111. package/dist/components/workflows/authorize/AuthorizeScopes.vue.d.ts.map +1 -1
  112. package/dist/core/form/defaults.d.ts.map +1 -1
  113. package/dist/core/translator/helpers.d.ts +25 -6
  114. package/dist/core/translator/helpers.d.ts.map +1 -1
  115. package/dist/core/translator/index.d.ts +0 -1
  116. package/dist/core/translator/index.d.ts.map +1 -1
  117. package/dist/core/translator/install.d.ts +7 -6
  118. package/dist/core/translator/install.d.ts.map +1 -1
  119. package/dist/core/translator/singleton.d.ts +12 -0
  120. package/dist/core/translator/singleton.d.ts.map +1 -1
  121. package/dist/index.mjs +2232 -843
  122. package/dist/index.mjs.map +1 -1
  123. package/package.json +27 -25
  124. package/dist/components/utility/translation/ATranslationDefault.vue.d.ts +0 -43
  125. package/dist/components/utility/translation/ATranslationDefault.vue.d.ts.map +0 -1
  126. package/dist/core/translator/constants.d.ts +0 -61
  127. package/dist/core/translator/constants.d.ts.map +0 -1
  128. package/dist/core/translator/de/client.d.ts +0 -3
  129. package/dist/core/translator/de/client.d.ts.map +0 -1
  130. package/dist/core/translator/de/default.d.ts +0 -3
  131. package/dist/core/translator/de/default.d.ts.map +0 -1
  132. package/dist/core/translator/de/index.d.ts +0 -4
  133. package/dist/core/translator/de/index.d.ts.map +0 -1
  134. package/dist/core/translator/de/vuecs.d.ts +0 -3
  135. package/dist/core/translator/de/vuecs.d.ts.map +0 -1
  136. package/dist/core/translator/en/client.d.ts +0 -3
  137. package/dist/core/translator/en/client.d.ts.map +0 -1
  138. package/dist/core/translator/en/default.d.ts +0 -3
  139. package/dist/core/translator/en/default.d.ts.map +0 -1
  140. package/dist/core/translator/en/index.d.ts +0 -4
  141. package/dist/core/translator/en/index.d.ts.map +0 -1
  142. package/dist/core/translator/en/vuecs.d.ts +0 -3
  143. package/dist/core/translator/en/vuecs.d.ts.map +0 -1
@@ -0,0 +1,156 @@
1
+ import type { PropType } from 'vue';
2
+ /**
3
+ * Secret input with an attached "regenerate" button rendered inside the
4
+ * `VCFormInput` group append slot. Clicking the button emits a freshly
5
+ * generated, cryptographically strong secret through the same
6
+ * `update:modelValue` channel as typing, so callers can bind it with
7
+ * `v-model` or `:model-value` + `@update:model-value` exactly like a plain
8
+ * `<VCFormInput>`.
9
+ *
10
+ * Mirrors `ANameInput` so name and secret fields share the same
11
+ * input + group-append layout. When `disabled` is set the append button is
12
+ * omitted and a plain disabled input is rendered.
13
+ *
14
+ * The button generates client-side only (a user click), so it never affects
15
+ * SSR. Callers must likewise generate the initial value client-side (e.g. in
16
+ * `onMounted`) — a secret must not be derived from a hydration-stable seed.
17
+ */
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
21
+ modelValue: {
22
+ type: PropType<string | null | undefined>;
23
+ default: string;
24
+ };
25
+ disabled: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ label: {
30
+ type: PropType<string | undefined>;
31
+ default: any;
32
+ };
33
+ }>, {
34
+ buttonLabel: import("vue").ComputedRef<string>;
35
+ onUpdate: (value: string) => void;
36
+ generate: () => void;
37
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
+ modelValue: {
39
+ type: PropType<string | null | undefined>;
40
+ default: string;
41
+ };
42
+ disabled: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ label: {
47
+ type: PropType<string | undefined>;
48
+ default: any;
49
+ };
50
+ }>> & Readonly<{
51
+ "onUpdate:modelValue"?: (...args: any[]) => any;
52
+ }>, {
53
+ modelValue: string;
54
+ label: string;
55
+ disabled: boolean;
56
+ }, {}, {
57
+ VCFormInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
58
+ modelValue: {
59
+ type: PropType<string | null | undefined>;
60
+ };
61
+ type: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ group: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ groupPrepend: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ groupPrependContent: {
74
+ type: StringConstructor;
75
+ default: any;
76
+ };
77
+ groupAppend: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ groupAppendContent: {
82
+ type: StringConstructor;
83
+ default: any;
84
+ };
85
+ debounce: {
86
+ type: NumberConstructor;
87
+ default: number;
88
+ };
89
+ themeClass: {
90
+ type: PropType<import("@vuecs/core").ThemeClassesOverride<import("@vuecs/forms").FormInputThemeClasses>>;
91
+ default: any;
92
+ };
93
+ themeVariant: {
94
+ type: PropType<import("@vuecs/core").VariantValues>;
95
+ default: any;
96
+ };
97
+ }>, () => string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
98
+ [key: string]: any;
99
+ }> | import("vue").VNodeArrayChildren, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
100
+ modelValue: {
101
+ type: PropType<string | null | undefined>;
102
+ };
103
+ type: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ group: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ groupPrepend: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ groupPrependContent: {
116
+ type: StringConstructor;
117
+ default: any;
118
+ };
119
+ groupAppend: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ groupAppendContent: {
124
+ type: StringConstructor;
125
+ default: any;
126
+ };
127
+ debounce: {
128
+ type: NumberConstructor;
129
+ default: number;
130
+ };
131
+ themeClass: {
132
+ type: PropType<import("@vuecs/core").ThemeClassesOverride<import("@vuecs/forms").FormInputThemeClasses>>;
133
+ default: any;
134
+ };
135
+ themeVariant: {
136
+ type: PropType<import("@vuecs/core").VariantValues>;
137
+ default: any;
138
+ };
139
+ }>> & Readonly<{
140
+ "onUpdate:modelValue"?: (...args: any[]) => any;
141
+ }>, {
142
+ group: boolean;
143
+ themeClass: import("@vuecs/core").ThemeClassesOverride<import("@vuecs/forms").FormInputThemeClasses>;
144
+ themeVariant: import("@vuecs/core").VariantValues;
145
+ type: string;
146
+ groupAppend: boolean;
147
+ groupPrepend: boolean;
148
+ groupPrependContent: string;
149
+ groupAppendContent: string;
150
+ debounce: number;
151
+ }, import("vue").SlotsType<{
152
+ groupAppend: import("@vuecs/forms").FormInputGroupSlotProps;
153
+ groupPrepend: import("@vuecs/forms").FormInputGroupSlotProps;
154
+ }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
155
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
156
+ //# sourceMappingURL=ASecretInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ASecretInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/utility/ASecretInput.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAMpC;;;;;;;;;;;;;;;GAeG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAsEzC,QAAA,MAAM,YAAY;;cAKU,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;cAQnC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;sBAevB,MAAM;;;;cAvBX,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;cAQnC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAT5C,GAAG;;;;;;;;;;;;;;;oEAsCb,CAAC"}
@@ -10,33 +10,6 @@
10
10
  * `utility/toggle-button/module.ts` and the inline copies in
11
11
  * ARobotForm.vue / AUserForm.vue.
12
12
  */
13
- export declare const AToggleButton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
- value: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- isBusy: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- }>, {
23
- ariaLabel: import("vue").ComputedRef<"Updating selection" | "Remove from selection" | "Add to selection">;
24
- toggle(): void;
25
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changed"[], "changed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
- value: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- isBusy: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- }>> & Readonly<{
35
- onChanged?: (...args: any[]) => any;
36
- }>, {
37
- value: boolean;
38
- isBusy: boolean;
39
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
13
  declare const _default: typeof __VLS_export;
41
14
  export default _default;
42
15
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"AToggleButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/utility/AToggleButton.vue"],"names":[],"mappings":"AAwEA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;4EAoBxB,CAAC;wBAEkB,OAAO,YAAY;AAAxC,wBAAyC;AA2CzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;4EAAgB,CAAC"}
1
+ {"version":3,"file":"AToggleButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/utility/AToggleButton.vue"],"names":[],"mappings":"AAuEA;;;;;;;;;;;GAWG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AA2CzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;4EAoBhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LanguageSwitcherDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/utility/LanguageSwitcherDropdown.ts"],"names":[],"mappings":"AAeA,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;4EA+D5B,CAAC;AAEH,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
1
+ {"version":3,"file":"LanguageSwitcherDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/utility/LanguageSwitcherDropdown.ts"],"names":[],"mappings":"AAgBA,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;4EA+D5B,CAAC;AAEH,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AEntityDelete.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/entity/AEntityDelete.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAER,QAAQ,EAGX,MAAM,KAAK,CAAC;AASb,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAUnD,aAAK,WAAW;IACZ,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,cAAc,iBAAiB;CAClC;AAED,QAAA,MAAM,aAAa;;;;;;;;;;cAWS,QAAQ,CAAC,GAAG,WAAW,EAAE,CAAC;;;;;;;;cAS1B,QAAQ,CAAC,GAAG,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;cATzB,QAAQ,CAAC,GAAG,WAAW,EAAE,CAAC;;;;;;;;cAS1B,QAAQ,CAAC,GAAG,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;4EAgGnD,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"AEntityDelete.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/entity/AEntityDelete.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAER,QAAQ,EAGX,MAAM,KAAK,CAAC;AASb,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAKnD,aAAK,WAAW;IACZ,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,cAAc,iBAAiB;CAClC;AAED,QAAA,MAAM,aAAa;;;;;;;;;;cAWS,QAAQ,CAAC,GAAG,WAAW,EAAE,CAAC;;;;;;;;cAS1B,QAAQ,CAAC,GAAG,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;cATzB,QAAQ,CAAC,GAAG,WAAW,EAAE,CAAC;;;;;;;;cAS1B,QAAQ,CAAC,GAAG,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;4EAgGnD,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
+ import { TranslatorTranslationActionKey } from '@authup/i18n';
2
3
  declare const _default: typeof __VLS_export;
3
4
  export default _default;
4
5
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -30,6 +31,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
30
31
  id: number;
31
32
  value: string;
32
33
  }[]>;
34
+ translationsAction: Record<TranslatorTranslationActionKey.ADD, string>;
33
35
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changed"[], "changed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
36
  names: {
35
37
  type: PropType<string[]>;
@@ -50,43 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
50
52
  minItems: number;
51
53
  maxItems: number;
52
54
  }, {}, {
53
- ATranslationDefault: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
54
- name: {
55
- type: PropType<`${import("../../../index.ts").TranslatorTranslationDefaultKey}`>;
56
- required: true;
57
- };
58
- }>, {
59
- TranslatorTranslationNamespace: typeof import("../../../index.ts").TranslatorTranslationNamespace;
60
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
- name: {
62
- type: PropType<`${import("../../../index.ts").TranslatorTranslationDefaultKey}`>;
63
- required: true;
64
- };
65
- }>> & Readonly<{}>, {}, {}, {
66
- ATranslation: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
67
- group: {
68
- type: StringConstructor;
69
- required: true;
70
- };
71
- name: {
72
- type: StringConstructor;
73
- required: true;
74
- };
75
- }>, () => string[] | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
76
- [key: string]: any;
77
- }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
78
- [key: string]: any;
79
- }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
80
- group: {
81
- type: StringConstructor;
82
- required: true;
83
- };
84
- name: {
85
- type: StringConstructor;
86
- required: true;
87
- };
88
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
90
55
  AFormInputListItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
91
56
  name: {
92
57
  type: StringConstructor;
@@ -1 +1 @@
1
- {"version":3,"file":"AFormInputList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/form-input-list/AFormInputList.vue"],"names":[],"mappings":"AAwKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBASf,OAAO,YAAY;AAAxC,wBAAyC;AAsIzC,QAAA,MAAM,YAAY;;cAOS,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;iBAoBjB,MAAM;;;wBA4CC,MAAM;wBATN,MAAM,SAAS,MAAM;;YAvCxC,MAAM;eACH,MAAM;;YADT,MAAM;eACH,MAAM;;YADT,MAAM;eACH,MAAM;;;;cAjBE,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA3ExB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEAoKtB,CAAC"}
1
+ {"version":3,"file":"AFormInputList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/form-input-list/AFormInputList.vue"],"names":[],"mappings":"AA+KA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAOpC,OAAO,EAAE,8BAA8B,EAAkC,MAAM,cAAc,CAAC;wBAGzE,OAAO,YAAY;AAAxC,wBAAyC;AA0HzC,QAAA,MAAM,YAAY;;cAIS,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;iBA2BjB,MAAM;;;wBA4CC,MAAM;wBATN,MAAM,SAAS,MAAM;;YAvCxC,MAAM;eACH,MAAM;;YADT,MAAM;eACH,MAAM;;YADT,MAAM;eACH,MAAM;;;;;cAxBE,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA5DzC,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEA8JJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AFormInputListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/form-input-list/AFormInputListItem.vue"],"names":[],"mappings":"wBA2GqB,OAAO,YAAY;AAAxC,wBAAyC;AA+FzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;cAtGyC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA6GzD,GAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEA6BH,CAAC"}
1
+ {"version":3,"file":"AFormInputListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/form-input-list/AFormInputListItem.vue"],"names":[],"mappings":"wBA2GqB,OAAO,YAAY;AAAxC,wBAAyC;AA+FzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;cAtGyC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA0HJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEAgB9D,CAAC"}
@@ -6,5 +6,7 @@ export * from './search';
6
6
  export * from './toggle-button';
7
7
  export * from './LanguageSwitcherDropdown';
8
8
  export { AFormSubmit } from './AFormSubmit';
9
+ export { default as ANameInput } from './ANameInput.vue';
10
+ export { default as ASecretInput } from './ASecretInput.vue';
9
11
  export { default as AToggleButton } from './AToggleButton.vue';
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/utility/index.ts"],"names":[],"mappings":"AAOA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/utility/index.ts"],"names":[],"mappings":"AAOA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ATitle.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/title/ATitle.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAG/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAG7C,eAAO,MAAM,MAAM;;;;;;cAMqB,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC;;;;;;;;;;;;;;;;;;cAAzB,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC;;;;;;;;;;;aAKhD,cAAc;yEAe7B,CAAC"}
1
+ {"version":3,"file":"ATitle.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/title/ATitle.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAI/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAG7C,eAAO,MAAM,MAAM;;;;;;cAMqB,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC;;;;;;;;;;;;;;;;;;cAAzB,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC;;;;;;;;;;;aAKhD,cAAc;yEAe7B,CAAC"}
@@ -1,3 +1,2 @@
1
1
  export { ATranslation } from './ATranslation';
2
- export { default as ATranslationDefault } from './ATranslationDefault.vue';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/translation/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/translation/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { PropType, Ref } from 'vue';
2
2
  import type { IdentityProvider, OAuth2AuthorizationCodeRequest } from '@authup/core-kit';
3
+ import { TranslatorTranslationActionKey, TranslatorTranslationEntityKey, TranslatorTranslationFieldKey } from '@authup/i18n';
3
4
  import type { BuildInput } from 'rapiq';
4
5
  declare const _default: typeof __VLS_export;
5
6
  export default _default;
@@ -34,6 +35,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
34
35
  load: () => Promise<void>;
35
36
  }>;
36
37
  buildIdentityProviderURL: (id: string) => string;
38
+ translationsDefault: Record<TranslatorTranslationActionKey.LOGIN | TranslatorTranslationFieldKey.NAME | TranslatorTranslationFieldKey.PASSWORD | TranslatorTranslationEntityKey.IDENTITY_PROVIDER, string>;
37
39
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("done" | "failed")[], "done" | "failed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
40
  codeRequest: {
39
41
  type: PropType<OAuth2AuthorizationCodeRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"Login.vue.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/Login.vue"],"names":[],"mappings":"AA0RA,OAAO,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAQzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAOzF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;wBA4BnB,OAAO,YAAY;AAAxC,wBAAyC;AA+RzC,QAAA,MAAM,YAAY;;cAa0B,QAAQ,CAAC,8BAA8B,CAAC;;;6BA+C5C,MAAM,GAAG,MAAM,EAAE;;cAvW/C,MAAM;kBACF,M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;;;;;;;;;;oEAmkBP,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { Client, OAuth2AuthorizationCodeRequest, Scope } from '@authup/core-kit';
2
2
  import type { PropType, VNodeChild } from 'vue';
3
+ import { TranslatorTranslationCommonKey } from '@authup/i18n';
3
4
  declare const _default: typeof __VLS_export;
4
5
  export default _default;
5
6
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -73,6 +74,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
73
74
  }>, {
74
75
  authorize: () => Promise<void>;
75
76
  abort: () => void;
77
+ translationsDefault: Record<import("@authup/i18n").TranslatorTranslationActionKey.AUTHORIZE | import("@authup/i18n").TranslatorTranslationActionKey.ABORT | TranslatorTranslationCommonKey.APPLICATION, string>;
78
+ translationsClient: Record<import("@authup/i18n").TranslatorTranslationClientKey.ONCE_AUTHORIZED_REDIRECT | import("@authup/i18n").TranslatorTranslationClientKey.GOVERNED_BY | import("@authup/i18n").TranslatorTranslationClientKey.ACTIVE_SINCE, string>;
76
79
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
77
80
  client: {
78
81
  type: PropType<Client>;
@@ -136,6 +139,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
136
139
  created_at: string;
137
140
  updated_at: string;
138
141
  }[]>;
142
+ translationsClient: Record<import("@authup/i18n").TranslatorTranslationClientKey.SCOPE_GRANT_INTRO, string>;
139
143
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
140
144
  client: {
141
145
  type: PropType<Client>;
@@ -204,6 +208,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
204
208
  load: () => Promise<void>;
205
209
  }>;
206
210
  buildIdentityProviderURL: (id: string) => string;
211
+ translationsDefault: Record<import("@authup/i18n").TranslatorTranslationActionKey.LOGIN | import("@authup/i18n").TranslatorTranslationFieldKey.NAME | import("@authup/i18n").TranslatorTranslationFieldKey.PASSWORD | import("@authup/i18n").TranslatorTranslationEntityKey.IDENTITY_PROVIDER, string>;
207
212
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("done" | "failed")[], "done" | "failed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
208
213
  codeRequest: {
209
214
  type: PropType<OAuth2AuthorizationCodeRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"Authorize.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/Authorize.vue"],"names":[],"mappings":"AAsIA,OAAO,KAAK,EAAE,MAAM,EAAE,8BAA8B,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEtF,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;wBA0B3B,OAAO,YAAY;AAAxC,wBAAyC;AAazC,QAAA,MAAM,YAAY;;cAOqB,QAAQ,CAAC,8BAA8B,CAAC;;;cAC7C,QAAQ,CAAC,MAAM,CAAC;;;;;;cAEjB,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cACjB,QAAQ,CAAC,KAAK,CAAC;;;;;;cAJT,QAAQ,CAAC,8BAA8B,CAAC;;;cAC7C,QAAQ,CAAC,MAAM,CAAC;;;;;;cAEjB,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cACjB,QAAQ,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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PropType } from 'vue';
3
+ import { TranslatorTranslationActionKey, TranslatorTranslationClientKey, TranslatorTranslationCommonKey } from '@authup/i18n';
3
4
  declare const _default: typeof __VLS_export;
4
5
  export default _default;
5
6
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -17,6 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
17
18
  }>, {
18
19
  authorize: () => Promise<void>;
19
20
  abort: () => void;
21
+ translationsDefault: Record<TranslatorTranslationActionKey.AUTHORIZE | TranslatorTranslationActionKey.ABORT | TranslatorTranslationCommonKey.APPLICATION, string>;
22
+ translationsClient: Record<TranslatorTranslationClientKey.ONCE_AUTHORIZED_REDIRECT | TranslatorTranslationClientKey.GOVERNED_BY | TranslatorTranslationClientKey.ACTIVE_SINCE, string>;
20
23
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
24
  client: {
22
25
  type: PropType<Client>;
@@ -80,6 +83,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
80
83
  created_at: string;
81
84
  updated_at: string;
82
85
  }[]>;
86
+ translationsClient: Record<TranslatorTranslationClientKey.SCOPE_GRANT_INTRO, string>;
83
87
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
84
88
  client: {
85
89
  type: PropType<Client>;
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorizeForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/AuthorizeForm.vue"],"names":[],"mappings":"AA6JA,OAAO,KAAK,EAAE,MAAM,EAAE,8BAA8B,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACtF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBAKf,OAAO,YAAY;AAAxC,wBAAyC;AA2JzC,QAAA,MAAM,YAAY;;cAIU,QAAQ,CAAC,MAAM,CAAC;;;;cAGX,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAEtB,QAAQ,CAAC,8BAA8B,CAAC;;;;;;;;cALxC,QAAQ,CAAC,MAAM,CAAC;;;;cAGX,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAEtB,QAAQ,CAAC,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEAoDlE,CAAC"}
1
+ {"version":3,"file":"AuthorizeForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/AuthorizeForm.vue"],"names":[],"mappings":"AA4LA,OAAO,KAAK,EAAE,MAAM,EAAE,8BAA8B,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACtF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EACH,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B,EAEjC,MAAM,cAAc,CAAC;wBAID,OAAO,YAAY;AAAxC,wBAAyC;AA8JzC,QAAA,MAAM,YAAY;;cAIU,QAAQ,CAAC,MAAM,CAAC;;;;cAGX,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAEtB,QAAQ,CAAC,8BAA8B,CAAC;;;;;;;;;;cALxC,QAAQ,CAAC,MAAM,CAAC;;;;cAGX,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAEtB,QAAQ,CAAC,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEAiFlE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { Client, Scope } from '@authup/core-kit';
2
2
  import type { PropType } from 'vue';
3
+ import { TranslatorTranslationClientKey } from '@authup/i18n';
3
4
  declare const _default: typeof __VLS_export;
4
5
  export default _default;
5
6
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -52,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
52
53
  created_at: string;
53
54
  updated_at: string;
54
55
  }[]>;
56
+ translationsClient: Record<TranslatorTranslationClientKey.SCOPE_GRANT_INTRO, string>;
55
57
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
58
  client: {
57
59
  type: PropType<Client>;
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorizeScopes.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/AuthorizeScopes.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBAKf,OAAO,YAAY;AAAxC,wBAAyC;AAkDzC,QAAA,MAAM,YAAY;;cAIU,QAAQ,CAAC,MAAM,CAAC;;;;cAGF,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cACP,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAJnD,QAAQ,CAAC,MAAM,CAAC;;;;cAGF,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cACP,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;oEAyC7E,CAAC"}
1
+ {"version":3,"file":"AuthorizeScopes.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/AuthorizeScopes.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,8BAA8B,EAAkC,MAAM,cAAc,CAAC;wBAIzE,OAAO,YAAY;AAAxC,wBAAyC;AAgDzC,QAAA,MAAM,YAAY;;cAIU,QAAQ,CAAC,MAAM,CAAC;;;;cAGF,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cACP,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAJnD,QAAQ,CAAC,MAAM,CAAC;;;;cAGF,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cACP,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;oEAoD7E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/core/form/defaults.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAOzD;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,IAAI,sBAAsB,CAAC,oBAAoB,CAAC,CAexF"}
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/core/form/defaults.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAIzD;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,IAAI,sBAAsB,CAAC,oBAAoB,CAAC,CAexF"}
@@ -1,10 +1,29 @@
1
- import type { GetContext } from 'ilingo';
2
- import type { Ref } from 'vue';
3
- type Input = Omit<GetContext, 'namespace'>;
1
+ import type { GetContextReactive } from '@ilingo/vue';
4
2
  /**
5
- * Resolve a batch of translations under a single namespace. Returns a
6
- * keyed map of `Ref<string>`s, one per element.
3
+ * One entry of a {@see useTranslations} batch. Carries a full ilingo
4
+ * lookup context: `namespace` + `key`, plus optional `count` for plural
5
+ * selection (`count: 1` → singular, any other → plural) and `data` for
6
+ * interpolation. The output map is keyed by `key`, so a single batch must
7
+ * not list the same `key` twice.
7
8
  */
8
- export declare function useTranslationsForNamespace<T extends Input>(namespace: string, elements: T[]): Record<`${T['key']}`, Ref<string>>;
9
+ export type TranslationsInput = GetContextReactive;
10
+ type TranslationsInputNamespaced = Omit<TranslationsInput, 'namespace'>;
11
+ type OutputKey<T extends TranslationsInput> = T['key'] extends string ? T['key'] : string;
12
+ /**
13
+ * Resolve a batch of translations spanning any number of namespaces.
14
+ * Each element supplies its own `namespace`; the result is a reactive
15
+ * keyed map of unwrapped strings — access as `map.key` (no `.value`) in
16
+ * script, interpolation, and attribute bindings alike. The output key is
17
+ * the element's `key`.
18
+ */
19
+ export declare function useTranslations<const T extends readonly TranslationsInput[]>(elements: T): Record<OutputKey<T[number]>, string>;
20
+ /**
21
+ * Single-namespace sugar over {@see useTranslations}: applies one shared
22
+ * `namespace` to every element. Retained for batches that live entirely
23
+ * in one namespace (e.g. the `authupApp` chrome labels).
24
+ */
25
+ export declare function useTranslationsForNamespace<const T extends readonly TranslationsInputNamespaced[]>(namespace: string, elements: T): Record<OutputKey<T[number] & {
26
+ namespace: string;
27
+ }>, string>;
9
28
  export {};
10
29
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/core/translator/helpers.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG/B,KAAK,KAAK,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAE3C;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,KAAK,EACvD,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,EAAE,GACd,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAUpC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/core/translator/helpers.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAKtD;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD,KAAK,2BAA2B,GAAG,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;AAExE,KAAK,SAAS,CAAC,CAAC,SAAS,iBAAiB,IAAI,CAAC,CAAC,KAAK,CAAC,SAAS,MAAM,GACjE,CAAC,CAAC,KAAK,CAAC,GACR,MAAM,CAAC;AAEX;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,CAAC,CAAC,SAAS,SAAS,iBAAiB,EAAE,EACxE,QAAQ,EAAE,CAAC,GACZ,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAOtC;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,CAAC,SAAS,SAAS,2BAA2B,EAAE,EAC9F,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,GACZ,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,MAAM,CAAC,CAI9D"}
@@ -1,4 +1,3 @@
1
- export * from './constants';
2
1
  export * from './helpers';
3
2
  export * from './install';
4
3
  export * from './singleton';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/translator/index.ts"],"names":[],"mappings":"AAOA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/translator/index.ts"],"names":[],"mappings":"AAOA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
@@ -13,12 +13,13 @@ import type { TranslatorInstallOptions } from './types';
13
13
  * rather than globally — keeps the form's `components: {}` registry as
14
14
  * the single source of truth for what's used in its template.
15
15
  *
16
- * Authup-specific catalogs (`authupClient`, `default`, `vuecs`) ship
17
- * through the same `MemoryStore` — the descriptor-tree shape required
18
- * by ilingo 6 is built via `defineCatalog` / `defineLocale` /
19
- * `defineNamespace` / `defineTranslations` so the type system tracks
20
- * the namespace tree and a misspelled namespace name is a compile
21
- * error.
16
+ * Authup-specific catalogs (`authupEntity`, `authupField`,
17
+ * `authupAction`, `authupCommon`, `authupClient`, `authupApp`,
18
+ * `vuecs`, `authupError`) ship through the same `MemoryStore`. The authored
19
+ * translations live in the framework-agnostic `@authup/i18n` package,
20
+ * which already exports them as an ilingo `CatalogNode` (`CATALOGS`)
21
+ * the canonical ingestion format — so this install just hands it to the
22
+ * store directly with no per-consumer reconstruction.
22
23
  *
23
24
  * Zod-driven validators flow through `@validup/zod`'s
24
25
  * `createValidator()`, which maps each `ZodIssue` to a specific validup
@@ -1 +1 @@
1
- {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/translator/install.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAY/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,wBAA6B,QA+BjF"}
1
+ {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/translator/install.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,wBAA6B,QAMjF"}
@@ -1,10 +1,22 @@
1
1
  import type { Composable, FieldState } from '@validup/vue';
2
2
  import type { FieldTranslations } from '@ilingo/validup-vue';
3
3
  import type { GetContextReactive } from '@ilingo/vue';
4
+ import type { GetContext } from 'ilingo';
4
5
  import type { ObjectLiteral } from 'validup';
5
6
  import type { Ref } from 'vue';
6
7
  export declare function injectTranslatorLocale(): Ref<string>;
7
8
  export declare function useTranslation(input: GetContextReactive): Ref<string>;
9
+ /**
10
+ * Imperative counterpart to {@see useTranslation} for non-reactive,
11
+ * event-time lookups — toast bodies built when a mutation resolves, or
12
+ * nav-label resolution inside the async `Navigation.reduce()` pipeline,
13
+ * where a render-time `Ref` is the wrong shape. Captures the injected
14
+ * ilingo instance + locale `Ref` at call site (so it must run in
15
+ * `setup()`), then returns a translate function that reads the current
16
+ * `locale.value` on each invocation. Missing keys resolve to the bare
17
+ * key value rather than `undefined`.
18
+ */
19
+ export declare function useTranslator(): (ctx: GetContext) => Promise<string>;
8
20
  /**
9
21
  * Translate the visible errors of a `@validup/vue` `FieldState` to
10
22
  * localized messages. Successor to the previous
@@ -1 +1 @@
1
- {"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../src/core/translator/singleton.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAS3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAA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