@authup/client-web-kit 1.0.0-beta.42 → 1.0.0-beta.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/entities/client/AClientForm.vue.d.ts +149 -202
- package/dist/components/entities/client/AClientForm.vue.d.ts.map +1 -1
- package/dist/components/entities/identity-provider/AIdentityProviderBasicFields.vue.d.ts +689 -0
- package/dist/components/entities/identity-provider/AIdentityProviderBasicFields.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderForm.vue.d.ts +6158 -0
- package/dist/components/entities/identity-provider/AIdentityProviderForm.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderIcon.vue.d.ts.map +1 -1
- package/dist/components/entities/identity-provider/AIdentityProviderLdapConnectionFields.vue.d.ts +715 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapConnectionFields.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapCredentialsFields.vue.d.ts +509 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapCredentialsFields.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapForm.vue.d.ts +3094 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapForm.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapGroupFields.vue.d.ts +515 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapGroupFields.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapUserFields.vue.d.ts +513 -0
- package/dist/components/entities/identity-provider/AIdentityProviderLdapUserFields.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2ClientFields.vue.d.ts +489 -0
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2ClientFields.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Discovery.vue.d.ts +477 -0
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Discovery.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2EndpointFields.vue.d.ts +369 -73
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2EndpointFields.vue.d.ts.map +1 -1
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Form.vue.d.ts +2824 -0
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Form.vue.d.ts.map +1 -0
- package/dist/components/entities/identity-provider/AIdentityProviderPicker.vue.d.ts.map +1 -1
- package/dist/components/entities/identity-provider/index.d.ts +3 -3
- package/dist/components/entities/identity-provider/index.d.ts.map +1 -1
- package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.vue.d.ts +206 -98
- package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.vue.d.ts.map +1 -1
- package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignments.vue.d.ts +206 -97
- package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignments.vue.d.ts.map +1 -1
- package/dist/components/entities/permission/APermissionCheck.d.ts.map +1 -1
- package/dist/components/entities/permission/APermissionForm.vue.d.ts +1000 -0
- package/dist/components/entities/permission/APermissionForm.vue.d.ts.map +1 -0
- package/dist/components/entities/permission/index.d.ts +1 -1
- package/dist/components/entities/permission/index.d.ts.map +1 -1
- package/dist/components/entities/permission-policy-binding/APermissionPolicyBindingButton.d.ts.map +1 -1
- package/dist/components/entities/policy/APolicyBasicForm.vue.d.ts +253 -128
- package/dist/components/entities/policy/APolicyBasicForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/APolicyDetailNav.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/APolicyForm.vue.d.ts +257 -132
- package/dist/components/entities/policy/APolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/APolicyTypePicker.vue.d.ts +4 -4
- package/dist/components/entities/policy/APolicyTypePicker.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/attribute-names/AAttributeNamesPolicyForm.vue.d.ts +138 -79
- package/dist/components/entities/policy/attribute-names/AAttributeNamesPolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/composite/ACompositePolicyForm.vue.d.ts +116 -56
- package/dist/components/entities/policy/composite/ACompositePolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/date/ADatePolicyForm.vue.d.ts +129 -51
- package/dist/components/entities/policy/date/ADatePolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/identity/AIdentityPolicyForm.vue.d.ts +138 -79
- package/dist/components/entities/policy/identity/AIdentityPolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/realm-match/ARealmMatchPolicyForm.vue.d.ts +295 -110
- package/dist/components/entities/policy/realm-match/ARealmMatchPolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/time/ATimePolicyForm.vue.d.ts +213 -110
- package/dist/components/entities/policy/time/ATimePolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/realm/ARealmForm.vue.d.ts +665 -0
- package/dist/components/entities/realm/ARealmForm.vue.d.ts.map +1 -0
- package/dist/components/entities/realm/index.d.ts +1 -1
- package/dist/components/entities/realm/index.d.ts.map +1 -1
- package/dist/components/entities/robot/ARobotForm.vue.d.ts +837 -0
- package/dist/components/entities/robot/ARobotForm.vue.d.ts.map +1 -0
- package/dist/components/entities/robot/index.d.ts +1 -1
- package/dist/components/entities/robot/index.d.ts.map +1 -1
- package/dist/components/entities/role/ARoleForm.vue.d.ts +843 -0
- package/dist/components/entities/role/ARoleForm.vue.d.ts.map +1 -0
- package/dist/components/entities/role/index.d.ts +1 -1
- package/dist/components/entities/role/index.d.ts.map +1 -1
- package/dist/components/entities/scope/AScopeForm.vue.d.ts +857 -0
- package/dist/components/entities/scope/AScopeForm.vue.d.ts.map +1 -0
- package/dist/components/entities/scope/index.d.ts +1 -1
- package/dist/components/entities/scope/index.d.ts.map +1 -1
- package/dist/components/entities/user/AUserForm.vue.d.ts +1037 -0
- package/dist/components/entities/user/AUserForm.vue.d.ts.map +1 -0
- package/dist/components/entities/user/AUserPasswordForm.vue.d.ts +774 -0
- package/dist/components/entities/user/AUserPasswordForm.vue.d.ts.map +1 -0
- package/dist/components/entities/user/index.d.ts +2 -2
- package/dist/components/entities/user/index.d.ts.map +1 -1
- package/dist/components/utility/AFormSubmit.d.ts +1 -1
- package/dist/components/utility/AToggleButton.vue.d.ts +69 -0
- package/dist/components/utility/AToggleButton.vue.d.ts.map +1 -0
- package/dist/components/utility/LanguageSwitcherDropdown.d.ts +1 -1
- package/dist/components/utility/LanguageSwitcherDropdown.d.ts.map +1 -1
- package/dist/components/utility/entity/AEntityDelete.d.ts +1 -1
- package/dist/components/utility/entity/AEntityDelete.d.ts.map +1 -1
- package/dist/components/utility/entity/collection/module.d.ts.map +1 -1
- package/dist/components/utility/entity/collection/types.d.ts +31 -7
- package/dist/components/utility/entity/collection/types.d.ts.map +1 -1
- package/dist/components/utility/entity/picker/module.d.ts.map +1 -1
- package/dist/components/utility/form-input-list/AFormInputList.vue.d.ts +136 -71
- package/dist/components/utility/form-input-list/AFormInputList.vue.d.ts.map +1 -1
- package/dist/components/utility/form-input-list/AFormInputListItem.vue.d.ts +135 -70
- package/dist/components/utility/form-input-list/AFormInputListItem.vue.d.ts.map +1 -1
- package/dist/components/utility/index.d.ts +1 -0
- package/dist/components/utility/index.d.ts.map +1 -1
- package/dist/components/utility/pagination/module.d.ts +2 -1
- package/dist/components/utility/pagination/module.d.ts.map +1 -1
- package/dist/components/utility/search/ASearch.d.ts +1 -2
- package/dist/components/utility/search/ASearch.d.ts.map +1 -1
- package/dist/components/utility/search/module.d.ts.map +1 -1
- package/dist/components/utility/toggle-button/AToggleButton.vue.d.ts.map +1 -1
- package/dist/components/utility/toggle-button/module.d.ts.map +1 -1
- package/dist/components/utility/translation/ATranslation.d.ts.map +1 -1
- package/dist/components/utility/translation/ATranslationDefault.vue.d.ts +2 -2
- package/dist/components/utility/translation/ATranslationDefault.vue.d.ts.map +1 -1
- package/dist/components/workflows/Login.vue.d.ts +345 -59
- package/dist/components/workflows/Login.vue.d.ts.map +1 -1
- package/dist/components/workflows/authorize/Authorize.vue.d.ts +345 -59
- package/dist/components/workflows/authorize/Authorize.vue.d.ts.map +1 -1
- package/dist/components/workflows/authorize/AuthorizeForm.vue.d.ts.map +1 -1
- package/dist/components/workflows/authorize/AuthorizeScope.vue.d.ts.map +1 -1
- package/dist/components/workflows/authorize/AuthorizeText.vue.d.ts.map +1 -1
- package/dist/core/form/builders.d.ts +110 -0
- package/dist/core/form/builders.d.ts.map +1 -0
- package/dist/core/form/defaults.d.ts +15 -0
- package/dist/core/form/defaults.d.ts.map +1 -0
- package/dist/core/form/index.d.ts +2 -0
- package/dist/core/form/index.d.ts.map +1 -1
- package/dist/core/form/submit.d.ts +14 -2
- package/dist/core/form/submit.d.ts.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/slot.d.ts +19 -0
- package/dist/core/slot.d.ts.map +1 -1
- package/dist/core/socket-manager/install.d.ts.map +1 -1
- package/dist/core/store/create.d.ts +0 -60
- package/dist/core/store/create.d.ts.map +1 -1
- package/dist/core/translator/constants.d.ts +11 -3
- package/dist/core/translator/constants.d.ts.map +1 -1
- package/dist/core/translator/de/client.d.ts +2 -2
- package/dist/core/translator/de/client.d.ts.map +1 -1
- package/dist/core/translator/de/default.d.ts +2 -2
- package/dist/core/translator/de/default.d.ts.map +1 -1
- package/dist/core/translator/de/index.d.ts +0 -1
- package/dist/core/translator/de/index.d.ts.map +1 -1
- package/dist/core/translator/de/vuecs.d.ts +2 -2
- package/dist/core/translator/de/vuecs.d.ts.map +1 -1
- package/dist/core/translator/en/client.d.ts +2 -2
- package/dist/core/translator/en/client.d.ts.map +1 -1
- package/dist/core/translator/en/default.d.ts +2 -2
- package/dist/core/translator/en/default.d.ts.map +1 -1
- package/dist/core/translator/en/index.d.ts +0 -1
- package/dist/core/translator/en/index.d.ts.map +1 -1
- package/dist/core/translator/en/vuecs.d.ts +2 -2
- package/dist/core/translator/en/vuecs.d.ts.map +1 -1
- package/dist/core/translator/helpers.d.ts +6 -2
- package/dist/core/translator/helpers.d.ts.map +1 -1
- package/dist/core/translator/install.d.ts +34 -0
- package/dist/core/translator/install.d.ts.map +1 -1
- package/dist/core/translator/singleton.d.ts +17 -4
- package/dist/core/translator/singleton.d.ts.map +1 -1
- package/dist/core/validup.d.ts +23 -0
- package/dist/core/validup.d.ts.map +1 -0
- package/dist/index.mjs +4991 -2426
- package/dist/index.mjs.map +1 -1
- package/dist/module.d.ts.map +1 -1
- package/package.json +49 -29
- package/dist/components/entities/identity-provider/AIdentityProviderBasicFields.d.ts +0 -16
- package/dist/components/entities/identity-provider/AIdentityProviderBasicFields.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderForm.d.ts +0 -23
- package/dist/components/entities/identity-provider/AIdentityProviderForm.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderLdapConnectionFields.d.ts +0 -26
- package/dist/components/entities/identity-provider/AIdentityProviderLdapConnectionFields.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderLdapCredentialsFields.d.ts +0 -26
- package/dist/components/entities/identity-provider/AIdentityProviderLdapCredentialsFields.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderLdapForm.d.ts +0 -35
- package/dist/components/entities/identity-provider/AIdentityProviderLdapForm.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderLdapGroupFields.d.ts +0 -26
- package/dist/components/entities/identity-provider/AIdentityProviderLdapGroupFields.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderLdapUserFields.d.ts +0 -26
- package/dist/components/entities/identity-provider/AIdentityProviderLdapUserFields.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2ClientFields.d.ts +0 -16
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2ClientFields.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Discovery.d.ts +0 -7
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Discovery.d.ts.map +0 -1
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Form.d.ts +0 -79
- package/dist/components/entities/identity-provider/AIdentityProviderOAuth2Form.d.ts.map +0 -1
- package/dist/components/entities/permission/APermissionForm.d.ts +0 -20
- package/dist/components/entities/permission/APermissionForm.d.ts.map +0 -1
- package/dist/components/entities/realm/ARealmForm.d.ts +0 -26
- package/dist/components/entities/realm/ARealmForm.d.ts.map +0 -1
- package/dist/components/entities/robot/ARobotForm.d.ts +0 -43
- package/dist/components/entities/robot/ARobotForm.d.ts.map +0 -1
- package/dist/components/entities/role/ARoleForm.d.ts +0 -25
- package/dist/components/entities/role/ARoleForm.d.ts.map +0 -1
- package/dist/components/entities/scope/AScopeForm.d.ts +0 -31
- package/dist/components/entities/scope/AScopeForm.d.ts.map +0 -1
- package/dist/components/entities/user/AUserForm.d.ts +0 -43
- package/dist/components/entities/user/AUserForm.d.ts.map +0 -1
- package/dist/components/entities/user/AUserPasswordForm.d.ts +0 -23
- package/dist/components/entities/user/AUserPasswordForm.d.ts.map +0 -1
- package/dist/core/translator/de/vuelidate.d.ts +0 -3
- package/dist/core/translator/de/vuelidate.d.ts.map +0 -1
- package/dist/core/translator/en/vuelidate.d.ts +0 -3
- package/dist/core/translator/en/vuelidate.d.ts.map +0 -1
- package/dist/core/vuelidate.d.ts +0 -13
- package/dist/core/vuelidate.d.ts.map +0 -1
package/dist/core/slot.d.ts
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
import type { Slots, VNode } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Slot-name vocabulary previously exported by `@vuecs/list-controls`.
|
|
4
|
+
* `@vuecs/list` 1.0 (plan 027 compound rewrite) removed the enum;
|
|
5
|
+
* authup keeps the string literals locally so existing collection
|
|
6
|
+
* components and the `EntityCollectionSlotName` re-export keep
|
|
7
|
+
* compiling. New code should prefer the compound `<VCList*>` parts
|
|
8
|
+
* over slot-name dispatch.
|
|
9
|
+
*/
|
|
10
|
+
export declare enum SlotName {
|
|
11
|
+
DEFAULT = "default",
|
|
12
|
+
FOOTER = "footer",
|
|
13
|
+
HEADER = "header",
|
|
14
|
+
BODY = "body",
|
|
15
|
+
LOADING = "loading",
|
|
16
|
+
NO_MORE = "noMore",
|
|
17
|
+
ITEM = "item",
|
|
18
|
+
ITEM_ACTIONS = "itemActions",
|
|
19
|
+
ITEM_ACTIONS_EXTRA = "itemActionsExtra"
|
|
20
|
+
}
|
|
2
21
|
/**
|
|
3
22
|
* Returns true if either scoped or unscoped named slot exists
|
|
4
23
|
*
|
package/dist/core/slot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../src/core/slot.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAQ,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE9C;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC7B,IAAI,EAAG,MAAM,EACb,MAAM,GAAG,KAAU,WAGtB;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CACzB,IAAI,EAAG,MAAM,EACb,KAAK,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EAC/B,MAAM,GAAG,KAAU,GACnB,KAAK,EAAE,GAAG,KAAK,CAMlB"}
|
|
1
|
+
{"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../src/core/slot.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAQ,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE9C;;;;;;;GAOG;AACH,oBAAY,QAAQ;IAChB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,WAAW;IAClB,IAAI,SAAS;IACb,YAAY,gBAAgB;IAC5B,kBAAkB,qBAAqB;CAC1C;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC7B,IAAI,EAAG,MAAM,EACb,MAAM,GAAG,KAAU,WAGtB;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CACzB,IAAI,EAAG,MAAM,EACb,KAAK,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,EAC/B,MAAM,GAAG,KAAU,GACnB,KAAK,EAAE,GAAG,KAAK,CAMlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/socket-manager/install.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAK/B,MAAM,MAAM,2BAA2B,GAAG;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/socket-manager/install.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAK/B,MAAM,MAAM,2BAA2B,GAAG;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,2BAA2B,QA0BlF"}
|
|
@@ -63,36 +63,6 @@ export declare function createStore(context: StoreCreateContext): {
|
|
|
63
63
|
activate_hash: string | null;
|
|
64
64
|
created_at: Date;
|
|
65
65
|
updated_at: Date;
|
|
66
|
-
client_id: import("@authup/core-kit").Client["id"] | null;
|
|
67
|
-
client: {
|
|
68
|
-
id: string;
|
|
69
|
-
active: boolean;
|
|
70
|
-
built_in: boolean;
|
|
71
|
-
is_confidential: boolean;
|
|
72
|
-
name: string;
|
|
73
|
-
display_name: string | null;
|
|
74
|
-
description: string | null;
|
|
75
|
-
secret: string | null;
|
|
76
|
-
secret_hashed: boolean;
|
|
77
|
-
secret_encrypted: boolean;
|
|
78
|
-
redirect_uri: string | null;
|
|
79
|
-
grant_types: string | null;
|
|
80
|
-
scope: string | null;
|
|
81
|
-
base_url: string | null;
|
|
82
|
-
root_url: string | null;
|
|
83
|
-
created_at: string;
|
|
84
|
-
updated_at: string;
|
|
85
|
-
realm_id: Realm["id"];
|
|
86
|
-
realm: {
|
|
87
|
-
id: string;
|
|
88
|
-
name: string;
|
|
89
|
-
display_name: string | null;
|
|
90
|
-
description: string | null;
|
|
91
|
-
built_in: boolean;
|
|
92
|
-
created_at: string;
|
|
93
|
-
updated_at: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
66
|
realm_id: Realm["id"];
|
|
97
67
|
realm: {
|
|
98
68
|
id: string;
|
|
@@ -124,36 +94,6 @@ export declare function createStore(context: StoreCreateContext): {
|
|
|
124
94
|
activate_hash: string | null;
|
|
125
95
|
created_at: Date;
|
|
126
96
|
updated_at: Date;
|
|
127
|
-
client_id: import("@authup/core-kit").Client["id"] | null;
|
|
128
|
-
client: {
|
|
129
|
-
id: string;
|
|
130
|
-
active: boolean;
|
|
131
|
-
built_in: boolean;
|
|
132
|
-
is_confidential: boolean;
|
|
133
|
-
name: string;
|
|
134
|
-
display_name: string | null;
|
|
135
|
-
description: string | null;
|
|
136
|
-
secret: string | null;
|
|
137
|
-
secret_hashed: boolean;
|
|
138
|
-
secret_encrypted: boolean;
|
|
139
|
-
redirect_uri: string | null;
|
|
140
|
-
grant_types: string | null;
|
|
141
|
-
scope: string | null;
|
|
142
|
-
base_url: string | null;
|
|
143
|
-
root_url: string | null;
|
|
144
|
-
created_at: string;
|
|
145
|
-
updated_at: string;
|
|
146
|
-
realm_id: Realm["id"];
|
|
147
|
-
realm: {
|
|
148
|
-
id: string;
|
|
149
|
-
name: string;
|
|
150
|
-
display_name: string | null;
|
|
151
|
-
description: string | null;
|
|
152
|
-
built_in: boolean;
|
|
153
|
-
created_at: string;
|
|
154
|
-
updated_at: string;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
97
|
realm_id: Realm["id"];
|
|
158
98
|
realm: {
|
|
159
99
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/core/store/create.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,mBAAmB,EAGtB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,KAAK,EACR,wBAAwB,EAE3B,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EACR,KAAK,EACL,IAAI,EACP,MAAM,kBAAkB,CAAC;AAI1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAErE,KAAK,OAAO,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAChD,KAAK,QAAQ,CAAC,CAAC,SAAS,OAAO,IAAI,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AA8B/F,KAAK,YAAY,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,CAAC,CAAC;AAE/C,wBAAgB,WAAW,CAAC,OAAO,EAAE,kBAAkB;;4BAIpB,OAAO;;iBA4QZ,iBAAiB;;;4BAlCR,OAAO,CAAC,IAAI,CAAC;sCAmDD,MAAM;wCA3FvC,wBAAwB;;4BA3LP,MAAM,GAAG,IAAI;;sCAYH,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI;;6BAgBtC,MAAM,GAAG,IAAI;;;;;;;;;;;sBAiCpB,YAAY,GAAG,IAAI;;;;;;;;;;gCAUT,YAAY,GAAG,IAAI
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/core/store/create.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,mBAAmB,EAGtB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,KAAK,EACR,wBAAwB,EAE3B,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EACR,KAAK,EACL,IAAI,EACP,MAAM,kBAAkB,CAAC;AAI1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAErE,KAAK,OAAO,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAChD,KAAK,QAAQ,CAAC,CAAC,SAAS,OAAO,IAAI,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AA8B/F,KAAK,YAAY,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,CAAC,CAAC;AAE/C,wBAAgB,WAAW,CAAC,OAAO,EAAE,kBAAkB;;4BAIpB,OAAO;;iBA4QZ,iBAAiB;;;4BAlCR,OAAO,CAAC,IAAI,CAAC;sCAmDD,MAAM;wCA3FvC,wBAAwB;;4BA3LP,MAAM,GAAG,IAAI;;sCAYH,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI;;6BAgBtC,MAAM,GAAG,IAAI;;;;;;;;;;;sBAiCpB,YAAY,GAAG,IAAI;;;;;;;;;;gCAUT,YAAY,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA7B9B,IAAI,GAAG,IAAI;EAkStC"}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Catalog namespace names registered by `installTranslator`. Mirrors
|
|
3
|
+
* ilingo 6's catalog terminology — namespaces are the dotted root paths
|
|
4
|
+
* under each locale.
|
|
5
|
+
*
|
|
6
|
+
* The `validup` namespace (validation-message catalogs for `IssueCode`
|
|
7
|
+
* keys) is registered automatically by `@ilingo/validup-vue`'s install
|
|
8
|
+
* and is **not** part of this enum.
|
|
9
|
+
*/
|
|
10
|
+
export declare enum TranslatorTranslationNamespace {
|
|
2
11
|
DEFAULT = "default",
|
|
3
12
|
CLIENT = "authupClient",
|
|
4
|
-
VUECS = "vuecs"
|
|
5
|
-
VUELIDATE = "vuelidate"
|
|
13
|
+
VUECS = "vuecs"
|
|
6
14
|
}
|
|
7
15
|
export declare enum TranslatorTranslationVuecsKey {
|
|
8
16
|
NO_MORE = "noMore"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/core/translator/constants.ts"],"names":[],"mappings":"AAOA,oBAAY,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/core/translator/constants.ts"],"names":[],"mappings":"AAOA;;;;;;;;GAQG;AACH,oBAAY,8BAA8B;IACtC,OAAO,YAAY;IAEnB,MAAM,iBAAiB;IAEvB,KAAK,UAAU;CAClB;AAED,oBAAY,6BAA6B;IACrC,OAAO,WAAW;CACrB;AAED,oBAAY,8BAA8B;IACtC,SAAS,aAAa;IACtB,gBAAgB,oBAAoB;IACpC,iBAAiB,oBAAoB;IACrC,eAAe,mBAAmB;IAClC,SAAS,aAAa;IACtB,WAAW,eAAe;CAC7B;AAED,oBAAY,+BAA+B;IACvC,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;IAEjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IAErB,MAAM,WAAW;IACjB,UAAU,cAAc;IAExB,cAAc,iBAAiB;IAE/B,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,aAAa,iBAAiB;IAC9B,YAAY,gBAAgB;IAC5B,KAAK,UAAU;IACf,WAAW,eAAe;IAC1B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,kBAAkB,sBAAsB;IACxC,IAAI,SAAS;IACb,iBAAiB,qBAAqB;IACtC,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,aAAa,iBAAiB;IAC9B,KAAK,UAAU;CAClB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const TranslatorTranslationClientGerman:
|
|
1
|
+
import type { Translations } from 'ilingo';
|
|
2
|
+
export declare const TranslatorTranslationClientGerman: Translations;
|
|
3
3
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/de/client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/de/client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAG3C,eAAO,MAAM,iCAAiC,EAAG,YAOhD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const TranslatorTranslationDefaultGerman:
|
|
1
|
+
import type { Translations } from 'ilingo';
|
|
2
|
+
export declare const TranslatorTranslationDefaultGerman: Translations;
|
|
3
3
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/de/default.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/de/default.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAG3C,eAAO,MAAM,kCAAkC,EAAE,YAqChD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/de/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/de/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const TranslatorTranslationVuecsGerman:
|
|
1
|
+
import type { Translations } from 'ilingo';
|
|
2
|
+
export declare const TranslatorTranslationVuecsGerman: Translations;
|
|
3
3
|
//# sourceMappingURL=vuecs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vuecs.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/de/vuecs.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"vuecs.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/de/vuecs.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAG3C,eAAO,MAAM,gCAAgC,EAAG,YAA+F,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const TranslatorTranslationClientEnglish:
|
|
1
|
+
import type { Translations } from 'ilingo';
|
|
2
|
+
export declare const TranslatorTranslationClientEnglish: Translations;
|
|
3
3
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/en/client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/en/client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAG3C,eAAO,MAAM,kCAAkC,EAAG,YAOjD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const TranslatorTranslationDefaultEnglish:
|
|
1
|
+
import type { Translations } from 'ilingo';
|
|
2
|
+
export declare const TranslatorTranslationDefaultEnglish: Translations;
|
|
3
3
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/en/default.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/en/default.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAG3C,eAAO,MAAM,mCAAmC,EAAG,YAqClD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/en/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/en/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const TranslatorTranslationVuecsEnglish:
|
|
1
|
+
import type { Translations } from 'ilingo';
|
|
2
|
+
export declare const TranslatorTranslationVuecsEnglish: Translations;
|
|
3
3
|
//# sourceMappingURL=vuecs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vuecs.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/en/vuecs.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"vuecs.d.ts","sourceRoot":"","sources":["../../../../src/core/translator/en/vuecs.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAG3C,eAAO,MAAM,iCAAiC,EAAG,YAAwF,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { GetContext } from 'ilingo';
|
|
2
2
|
import type { Ref } from 'vue';
|
|
3
|
-
type Input = Omit<GetContext, '
|
|
4
|
-
|
|
3
|
+
type Input = Omit<GetContext, 'namespace'>;
|
|
4
|
+
/**
|
|
5
|
+
* Resolve a batch of translations under a single namespace. Returns a
|
|
6
|
+
* keyed map of `Ref<string>`s, one per element.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useTranslationsForNamespace<T extends Input>(namespace: string, elements: T[]): Record<`${T['key']}`, Ref<string>>;
|
|
5
9
|
export {};
|
|
6
10
|
//# 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,
|
|
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,4 +1,38 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
2
|
import type { TranslatorInstallOptions } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Three-stage install:
|
|
5
|
+
*
|
|
6
|
+
* 1. `@ilingo/vue` first (provides the `Ilingo` instance + locale `Ref`
|
|
7
|
+
* and registers the authup catalogs).
|
|
8
|
+
* 2. `@ilingo/validup-vue` next (looks up the instance via inject and
|
|
9
|
+
* registers its built-in EN/DE/FR/ES validup validation-message
|
|
10
|
+
* catalogs onto it).
|
|
11
|
+
*
|
|
12
|
+
* `<IFieldValidation>` is imported and registered per-form locally
|
|
13
|
+
* rather than globally — keeps the form's `components: {}` registry as
|
|
14
|
+
* the single source of truth for what's used in its template.
|
|
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.
|
|
22
|
+
*
|
|
23
|
+
* Zod-driven validators flow through `@validup/zod`'s
|
|
24
|
+
* `createValidator()`, which maps each `ZodIssue` to a specific validup
|
|
25
|
+
* `IssueCode` (`too_small` → `MIN_LENGTH` / `MIN_VALUE` based on
|
|
26
|
+
* origin, `too_big` → `MAX_LENGTH` / `MAX_VALUE`, `invalid_format` →
|
|
27
|
+
* `EMAIL` / `URL` / `UUID` / `DATE` / `IP_ADDRESS` / `BASE64` / `JSON`
|
|
28
|
+
* / `PATTERN` per zod's `format` discriminator, `invalid_type` with
|
|
29
|
+
* undefined input → `REQUIRED`, `invalid_value` → `ONE_OF_FAILED`).
|
|
30
|
+
* Specific constraints surface as parameterized catalog templates
|
|
31
|
+
* (`'The minimum length allowed is {{min}}'`, etc.), localized via
|
|
32
|
+
* `@ilingo/validup`'s EN / DE / FR / ES translations.
|
|
33
|
+
*
|
|
34
|
+
* Migrated from the previous `@ilingo/vuelidate`-based install when
|
|
35
|
+
* authup's frontend moved off `vuelidate` to `@validup/vue`.
|
|
36
|
+
*/
|
|
3
37
|
export declare function installTranslator(app: App, options?: TranslatorInstallOptions): void;
|
|
4
38
|
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/translator/install.ts"],"names":[],"mappings":"
|
|
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,9 +1,22 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { Composable, FieldState } from '@validup/vue';
|
|
2
|
+
import type { FieldTranslations } from '@ilingo/validup-vue';
|
|
3
3
|
import type { GetContextReactive } from '@ilingo/vue';
|
|
4
|
+
import type { ObjectLiteral } from 'validup';
|
|
4
5
|
import type { Ref } from 'vue';
|
|
5
6
|
export declare function injectTranslatorLocale(): Ref<string>;
|
|
6
7
|
export declare function useTranslation(input: GetContextReactive): Ref<string>;
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Translate the visible errors of a `@validup/vue` `FieldState` to
|
|
10
|
+
* localized messages. Successor to the previous
|
|
11
|
+
* `useTranslationsForBaseValidation` — reads `fieldState.$errors`
|
|
12
|
+
* (already dirty-gated by `@validup/vue`), so the returned
|
|
13
|
+
* `Ref<IssueTranslation[]>` only carries entries the user should see.
|
|
14
|
+
*/
|
|
15
|
+
export declare function useTranslationsForField<V = unknown>(fieldState: FieldState<V>): FieldTranslations;
|
|
16
|
+
/**
|
|
17
|
+
* Translate the form-level `$errors` of a `@validup/vue` `Composable<T>`.
|
|
18
|
+
* Successor to the previous `useTranslationsForNestedValidation` — sugar
|
|
19
|
+
* for the common "render all dirty-gated field errors" pattern.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useTranslationsForComposable<T extends ObjectLiteral = ObjectLiteral>(composable: Composable<T>): FieldTranslations;
|
|
9
22
|
//# sourceMappingURL=singleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../src/core/translator/singleton.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,
|
|
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,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,wBAAgB,sBAAsB,IAAI,GAAG,CAAC,MAAM,CAAC,CAEpD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,GAAG,GAAG,CAAC,MAAM,CAAC,CAErE;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,GAAG,OAAO,EAC/C,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,GAC1B,iBAAiB,CAEnB;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,EAChF,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,GAC1B,iBAAiB,CAEnB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Composable } from '@validup/vue';
|
|
2
|
+
import { getSeverity } from '@validup/vue';
|
|
3
|
+
import type { ObjectLiteral } from 'validup';
|
|
4
|
+
/**
|
|
5
|
+
* Re-export of `@validup/vue`'s `getSeverity()`: `'error'` when the field is
|
|
6
|
+
* `$invalid && $dirty`, `'warning'` for pending-but-dirty, `undefined` for
|
|
7
|
+
* pristine.
|
|
8
|
+
*/
|
|
9
|
+
export { getSeverity };
|
|
10
|
+
/**
|
|
11
|
+
* Snapshot the `$model` values of every top-level field in a registered
|
|
12
|
+
* child composable. Successor to the legacy
|
|
13
|
+
* `extractVuelidateResultsFromChild` — replaces vuelidate's
|
|
14
|
+
* `$getResultsForChild` walk with `@validup/vue`'s typed equivalent.
|
|
15
|
+
*
|
|
16
|
+
* Returns a plain `Record<string, any>` for ergonomic spreading into a
|
|
17
|
+
* parent submit body (`{ ...extract(v, 'basic'), ...extract(v, 'type') }`).
|
|
18
|
+
* Returns an empty object when the named child is not registered (mirrors
|
|
19
|
+
* the legacy permissive contract — composing forms that conditionally
|
|
20
|
+
* mount sub-composables should stay graceful).
|
|
21
|
+
*/
|
|
22
|
+
export declare function extractValidupResultsFromChild<C extends ObjectLiteral = ObjectLiteral>(composable: Composable<any>, name: string, keys?: string[]): Record<string, any>;
|
|
23
|
+
//# sourceMappingURL=validup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validup.d.ts","sourceRoot":"","sources":["../../src/core/validup.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB;;;;;;;;;;;GAWG;AACH,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,EAClF,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,EAC3B,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,EAAE,GAChB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAgBrB"}
|