@opencloud-eu/web-pkg 5.1.0 → 6.0.0

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 (49) hide show
  1. package/dist/{TextEditor-CXSedGM4.js → TextEditor-D-HQDUkm.js} +3 -5
  2. package/dist/assets/{worker-22sDKzz_.js → worker-CVwKToFD.js} +18 -18
  3. package/dist/assets/{worker-BSCY2vwA.js → worker-DJbU-qfq.js} +18 -18
  4. package/dist/assets/{worker-DH8D29Kr.js → worker-DyU7W9CZ.js} +18 -18
  5. package/dist/{index-CEJcEmbf.js → index-OU30YA6H.js} +10663 -11050
  6. package/dist/src/apps/types.d.ts +0 -3
  7. package/dist/src/components/AppBar/AppBar.vue.d.ts +1 -0
  8. package/dist/src/components/AppBar/index.d.ts +0 -1
  9. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +1 -1
  10. package/dist/src/components/AppTopBar.vue.d.ts +1 -1
  11. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +409 -11
  12. package/dist/src/components/CreateShortcutModal.vue.d.ts +222 -0
  13. package/dist/src/components/CustomComponentTarget.vue.d.ts +4 -14
  14. package/dist/src/components/Filters/DateFilter.vue.d.ts +500 -0
  15. package/dist/src/components/Navigation/index.d.ts +1 -0
  16. package/dist/src/components/NoContentMessage.vue.d.ts +3 -2
  17. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +2 -1
  18. package/dist/src/components/index.d.ts +1 -1
  19. package/dist/src/composables/actions/spaces/index.d.ts +1 -0
  20. package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +7 -0
  21. package/dist/src/composables/index.d.ts +1 -1
  22. package/dist/src/composables/navItems/index.d.ts +1 -0
  23. package/dist/src/composables/navItems/useNavItems.d.ts +13 -0
  24. package/dist/src/composables/piniaStores/auth.d.ts +8 -2
  25. package/dist/src/composables/piniaStores/extensionRegistry/types.d.ts +14 -1
  26. package/dist/src/composables/piniaStores/sideBar.d.ts +1 -15
  27. package/dist/src/composables/resources/useResourceViewContextMenu.d.ts +4 -3
  28. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +2 -2
  29. package/dist/src/composables/spaces/useCreateSpace.d.ts +1 -0
  30. package/dist/src/constants.d.ts +0 -6
  31. package/dist/src/extensionPoints.d.ts +3 -0
  32. package/dist/src/helpers/filesize.d.ts +0 -7
  33. package/dist/src/helpers/index.d.ts +1 -2
  34. package/dist/src/helpers/versions.d.ts +5 -0
  35. package/dist/src/index.d.ts +1 -0
  36. package/dist/web-pkg.js +329 -331
  37. package/dist/web-pkg.umd.cjs +14 -34
  38. package/package.json +4 -5
  39. package/src/index.ts +1 -0
  40. package/dist/src/components/AppBar/CreateSpace.vue.d.ts +0 -18
  41. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +0 -165
  42. package/dist/src/components/TextEditor/index.d.ts +0 -161
  43. package/dist/src/composables/portalTarget/eventTopics.d.ts +0 -3
  44. package/dist/src/composables/portalTarget/index.d.ts +0 -2
  45. package/dist/src/composables/portalTarget/usePortalTarget.d.ts +0 -4
  46. package/dist/src/helpers/contextMenuDropdown.d.ts +0 -7
  47. package/dist/src/helpers/statusIndicators.d.ts +0 -12
  48. package/dist/src/services/passwordPolicy/rules.d.ts +0 -69
  49. /package/dist/src/components/{PortalTarget.vue.d.ts → Navigation/MobileNav.vue.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencloud-eu/web-pkg",
3
- "version": "5.1.0",
3
+ "version": "6.0.0",
4
4
  "description": "OpenCloud web pkg",
5
5
  "license": "AGPL-3.0",
6
6
  "main": "src/index.ts",
@@ -48,16 +48,15 @@
48
48
  "p-queue": "^9.0.0",
49
49
  "password-sheriff": "^2.0.0",
50
50
  "pinia": "^3.0.0",
51
- "portal-vue": "^3.0.0",
52
51
  "qs": "^6.13.0",
53
52
  "screenfull": "^6.0.2",
54
53
  "uuid": "^13.0.0",
55
54
  "vue-concurrency": "^5.0.1",
56
55
  "vue-router": "^5.0.0",
57
- "vue3-gettext": "^2.4.0",
56
+ "vue3-gettext": "^4.0.0-beta.1",
58
57
  "zod": "^4.0.0",
59
- "@opencloud-eu/web-client": "^5.1.0",
60
- "@opencloud-eu/design-system": "^5.1.0"
58
+ "@opencloud-eu/design-system": "^6.0.0",
59
+ "@opencloud-eu/web-client": "^6.0.0"
61
60
  },
62
61
  "exports": {
63
62
  ".": {
package/src/index.ts CHANGED
@@ -3,6 +3,7 @@ export * from './components'
3
3
  export * from './composables'
4
4
  export * from './constants'
5
5
  export * from './errors'
6
+ export * from './extensionPoints'
6
7
  export * from './helpers'
7
8
  export * from './http'
8
9
  export * from './observer'
@@ -1,18 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- showLabel: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- }>, {
7
- showCreateSpaceModal: () => void;
8
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "spaceCreated"[], "spaceCreated", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
- showLabel: {
10
- type: BooleanConstructor;
11
- default: boolean;
12
- };
13
- }>> & Readonly<{
14
- onSpaceCreated?: (...args: any[]) => any;
15
- }>, {
16
- showLabel: boolean;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
- export default _default;
@@ -1,165 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { Resource } from '@opencloud-eu/web-client';
3
- import { AppConfigObject } from '../../apps';
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
- applicationConfig: {
6
- type: PropType<AppConfigObject>;
7
- required: false;
8
- };
9
- currentContent: {
10
- type: StringConstructor;
11
- required: true;
12
- };
13
- markdownMode: {
14
- type: BooleanConstructor;
15
- required: false;
16
- default: boolean;
17
- };
18
- isReadOnly: {
19
- type: BooleanConstructor;
20
- required: false;
21
- default: boolean;
22
- };
23
- resource: {
24
- type: PropType<Resource>;
25
- required: false;
26
- };
27
- }>, {
28
- isMarkdown: import('vue').ComputedRef<boolean>;
29
- theme: import('vue').ComputedRef<"light" | "dark">;
30
- toolbars: import('vue').ComputedRef<(string | number)[]>;
31
- language: {
32
- available: import('vue3-gettext').GetTextOptions["availableLanguages"];
33
- muted: import('vue3-gettext').GetTextOptions["mutedLanguages"];
34
- silent: import('vue3-gettext').GetTextOptions["silent"];
35
- translations: import('vue3-gettext').Translations;
36
- current: string;
37
- $gettext: (msgid: string, parameters?: {
38
- [key: string]: string;
39
- }, disableHtmlEscaping?: boolean) => string;
40
- $pgettext: (context: string, msgid: string, parameters?: {
41
- [key: string]: string;
42
- }, disableHtmlEscaping?: boolean) => string;
43
- $ngettext: (msgid: string, plural: string, n: number, parameters?: {
44
- [key: string]: string;
45
- }, disableHtmlEscaping?: boolean) => string;
46
- $npgettext: (context: string, msgid: string, plural: string, n: number, parameters?: {
47
- [key: string]: string;
48
- }, disableHtmlEscaping?: boolean) => string;
49
- interpolate: (msgid: string, context: object, disableHtmlEscaping?: boolean) => string;
50
- install: (app: import('vue').App) => void;
51
- directive: {
52
- created?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
53
- beforeMount?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
54
- mounted?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
55
- beforeUpdate?: import('vue').DirectiveHook<HTMLElement, import('vue').VNode<any, HTMLElement, {
56
- [key: string]: any;
57
- }>, any, string, any>;
58
- updated?: import('vue').DirectiveHook<HTMLElement, import('vue').VNode<any, HTMLElement, {
59
- [key: string]: any;
60
- }>, any, string, any>;
61
- beforeUnmount?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
62
- unmounted?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
63
- getSSRProps?: (binding: import('vue').DirectiveBinding<any, string, any>, vnode: import('vue').VNode) => {
64
- [x: string]: unknown;
65
- } | undefined;
66
- deep?: boolean;
67
- };
68
- component: import('vue').DefineComponent<{
69
- tag: {
70
- type: StringConstructor;
71
- default: string;
72
- };
73
- translateN: {
74
- type: NumberConstructor;
75
- default: null;
76
- };
77
- translatePlural: {
78
- type: StringConstructor;
79
- default: null;
80
- };
81
- translateContext: {
82
- type: StringConstructor;
83
- default: null;
84
- };
85
- translateParams: {
86
- type: ObjectConstructor;
87
- default: null;
88
- };
89
- translateComment: {
90
- type: StringConstructor;
91
- default: null;
92
- };
93
- }, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
94
- [key: string]: any;
95
- }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
96
- tag: {
97
- type: StringConstructor;
98
- default: string;
99
- };
100
- translateN: {
101
- type: NumberConstructor;
102
- default: null;
103
- };
104
- translatePlural: {
105
- type: StringConstructor;
106
- default: null;
107
- };
108
- translateContext: {
109
- type: StringConstructor;
110
- default: null;
111
- };
112
- translateParams: {
113
- type: ObjectConstructor;
114
- default: null;
115
- };
116
- translateComment: {
117
- type: StringConstructor;
118
- default: null;
119
- };
120
- }>>, {
121
- tag: string;
122
- translateN: number;
123
- translatePlural: string;
124
- translateContext: string;
125
- translateParams: Record<string, any>;
126
- translateComment: string;
127
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
128
- };
129
- languages: Record<string, string>;
130
- onUploadImg: (files: File[]) => Promise<void>;
131
- showLineNumbers: import('vue').Ref<boolean, boolean>;
132
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:currentContent"[], "update:currentContent", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
133
- applicationConfig: {
134
- type: PropType<AppConfigObject>;
135
- required: false;
136
- };
137
- currentContent: {
138
- type: StringConstructor;
139
- required: true;
140
- };
141
- markdownMode: {
142
- type: BooleanConstructor;
143
- required: false;
144
- default: boolean;
145
- };
146
- isReadOnly: {
147
- type: BooleanConstructor;
148
- required: false;
149
- default: boolean;
150
- };
151
- resource: {
152
- type: PropType<Resource>;
153
- required: false;
154
- };
155
- }>> & Readonly<{
156
- "onUpdate:currentContent"?: (...args: any[]) => any;
157
- }>, {
158
- isReadOnly: boolean;
159
- markdownMode: boolean;
160
- }, {}, {
161
- MdEditor: any;
162
- MdPreview: any;
163
- NormalToolbar: any;
164
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
165
- export default _default;
@@ -1,161 +0,0 @@
1
- export declare const TextEditor: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- applicationConfig: {
3
- type: import('vue').PropType<import('../..').AppConfigObject>;
4
- required: false;
5
- };
6
- currentContent: {
7
- type: StringConstructor;
8
- required: true;
9
- };
10
- markdownMode: {
11
- type: BooleanConstructor;
12
- required: false;
13
- default: boolean;
14
- };
15
- isReadOnly: {
16
- type: BooleanConstructor;
17
- required: false;
18
- default: boolean;
19
- };
20
- resource: {
21
- type: import('vue').PropType<import('@opencloud-eu/web-client').Resource>;
22
- required: false;
23
- };
24
- }>, {
25
- isMarkdown: import('vue').ComputedRef<boolean>;
26
- theme: import('vue').ComputedRef<"light" | "dark">;
27
- toolbars: import('vue').ComputedRef<(string | number)[]>;
28
- language: {
29
- available: import('vue3-gettext').GetTextOptions["availableLanguages"];
30
- muted: import('vue3-gettext').GetTextOptions["mutedLanguages"];
31
- silent: import('vue3-gettext').GetTextOptions["silent"];
32
- translations: import('vue3-gettext').Translations;
33
- current: string;
34
- $gettext: (msgid: string, parameters?: {
35
- [key: string]: string;
36
- }, disableHtmlEscaping?: boolean) => string;
37
- $pgettext: (context: string, msgid: string, parameters?: {
38
- [key: string]: string;
39
- }, disableHtmlEscaping?: boolean) => string;
40
- $ngettext: (msgid: string, plural: string, n: number, parameters?: {
41
- [key: string]: string;
42
- }, disableHtmlEscaping?: boolean) => string;
43
- $npgettext: (context: string, msgid: string, plural: string, n: number, parameters?: {
44
- [key: string]: string;
45
- }, disableHtmlEscaping?: boolean) => string;
46
- interpolate: (msgid: string, context: object, disableHtmlEscaping?: boolean) => string;
47
- install: (app: import('vue').App) => void;
48
- directive: {
49
- created?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
50
- beforeMount?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
51
- mounted?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
52
- beforeUpdate?: import('vue').DirectiveHook<HTMLElement, import('vue').VNode<any, HTMLElement, {
53
- [key: string]: any;
54
- }>, any, string, any>;
55
- updated?: import('vue').DirectiveHook<HTMLElement, import('vue').VNode<any, HTMLElement, {
56
- [key: string]: any;
57
- }>, any, string, any>;
58
- beforeUnmount?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
59
- unmounted?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
60
- getSSRProps?: (binding: import('vue').DirectiveBinding<any, string, any>, vnode: import('vue').VNode) => {
61
- [x: string]: unknown;
62
- } | undefined;
63
- deep?: boolean;
64
- };
65
- component: import('vue').DefineComponent<{
66
- tag: {
67
- type: StringConstructor;
68
- default: string;
69
- };
70
- translateN: {
71
- type: NumberConstructor;
72
- default: null;
73
- };
74
- translatePlural: {
75
- type: StringConstructor;
76
- default: null;
77
- };
78
- translateContext: {
79
- type: StringConstructor;
80
- default: null;
81
- };
82
- translateParams: {
83
- type: ObjectConstructor;
84
- default: null;
85
- };
86
- translateComment: {
87
- type: StringConstructor;
88
- default: null;
89
- };
90
- }, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
91
- [key: string]: any;
92
- }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
93
- tag: {
94
- type: StringConstructor;
95
- default: string;
96
- };
97
- translateN: {
98
- type: NumberConstructor;
99
- default: null;
100
- };
101
- translatePlural: {
102
- type: StringConstructor;
103
- default: null;
104
- };
105
- translateContext: {
106
- type: StringConstructor;
107
- default: null;
108
- };
109
- translateParams: {
110
- type: ObjectConstructor;
111
- default: null;
112
- };
113
- translateComment: {
114
- type: StringConstructor;
115
- default: null;
116
- };
117
- }>>, {
118
- tag: string;
119
- translateN: number;
120
- translatePlural: string;
121
- translateContext: string;
122
- translateParams: Record<string, any>;
123
- translateComment: string;
124
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
125
- };
126
- languages: Record<string, string>;
127
- onUploadImg: (files: File[]) => Promise<void>;
128
- showLineNumbers: import('vue').Ref<boolean, boolean>;
129
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:currentContent"[], "update:currentContent", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
130
- applicationConfig: {
131
- type: import('vue').PropType<import('../..').AppConfigObject>;
132
- required: false;
133
- };
134
- currentContent: {
135
- type: StringConstructor;
136
- required: true;
137
- };
138
- markdownMode: {
139
- type: BooleanConstructor;
140
- required: false;
141
- default: boolean;
142
- };
143
- isReadOnly: {
144
- type: BooleanConstructor;
145
- required: false;
146
- default: boolean;
147
- };
148
- resource: {
149
- type: import('vue').PropType<import('@opencloud-eu/web-client').Resource>;
150
- required: false;
151
- };
152
- }>> & Readonly<{
153
- "onUpdate:currentContent"?: (...args: any[]) => any;
154
- }>, {
155
- isReadOnly: boolean;
156
- markdownMode: boolean;
157
- }, {}, {
158
- MdEditor: any;
159
- MdPreview: any;
160
- NormalToolbar: any;
161
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,3 +0,0 @@
1
- export declare enum PortalTargetEventTopics {
2
- mounted = "portal-target.mounted"
3
- }
@@ -1,2 +0,0 @@
1
- export * from './eventTopics';
2
- export * from './usePortalTarget';
@@ -1,4 +0,0 @@
1
- import { TransportInput } from 'portal-vue/types';
2
- export declare const usePortalTarget: () => {
3
- registerPortal: (transportInput: TransportInput) => void;
4
- };
@@ -1,7 +0,0 @@
1
- import { OcDrop } from '@opencloud-eu/design-system/components';
2
- import { ComponentPublicInstance } from 'vue';
3
- export type ContextMenuBtnClickEventData = {
4
- event: MouseEvent | KeyboardEvent;
5
- dropdown: ComponentPublicInstance<typeof OcDrop>;
6
- };
7
- export declare const displayPositionedDropdown: (dropdown: ComponentPublicInstance<typeof OcDrop>, event: MouseEvent | KeyboardEvent, contextMenuButton: HTMLElement | ComponentPublicInstance<unknown>) => void;
@@ -1,12 +0,0 @@
1
- import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
- import { AncestorMetaData } from '../types';
3
- import { User } from '@opencloud-eu/web-client/graph/generated';
4
- import { useInterceptModifierClick, ResourceIndicator } from '../composables';
5
- /** @deprecated use `useResourceIndicators` instead. make sure to call this with injection context. */
6
- export declare const getIndicators: ({ space, resource }: {
7
- space: SpaceResource;
8
- resource: Resource;
9
- ancestorMetaData: AncestorMetaData;
10
- user: User;
11
- interceptModifierClick: ReturnType<typeof useInterceptModifierClick>["interceptModifierClick"];
12
- }) => ResourceIndicator[];
@@ -1,69 +0,0 @@
1
- import { Language } from 'vue3-gettext';
2
- export interface PasswordPolicyRuleOptions {
3
- minLength?: number;
4
- maxLength?: number;
5
- characters?: string;
6
- }
7
- export interface PasswordPolicyRuleExplained {
8
- code: string;
9
- message: string;
10
- helperMessage?: string;
11
- format: (number | string)[];
12
- verified?: boolean;
13
- }
14
- export interface PasswordPolicyRule {
15
- assert(options: PasswordPolicyRuleOptions, password: string): boolean;
16
- explain(options: PasswordPolicyRuleOptions, verified?: boolean): PasswordPolicyRuleExplained;
17
- missing(options: PasswordPolicyRuleOptions, password: string): PasswordPolicyRuleExplained;
18
- validate(options?: PasswordPolicyRuleOptions): boolean;
19
- }
20
- export declare class MustNotBeEmptyRule implements PasswordPolicyRule {
21
- protected $gettext: (msgid: string, parameters?: {
22
- [key: string]: string;
23
- }, disableHtmlEscaping?: boolean) => string;
24
- constructor({ $gettext }: Language);
25
- explain(options: PasswordPolicyRuleOptions, verified: boolean): PasswordPolicyRuleExplained;
26
- assert(options: PasswordPolicyRuleOptions, password: string): boolean;
27
- validate(): boolean;
28
- missing(options: PasswordPolicyRuleOptions, password: string): PasswordPolicyRuleExplained;
29
- }
30
- export declare class MustContainRule implements PasswordPolicyRule {
31
- protected $gettext: (msgid: string, parameters?: {
32
- [key: string]: string;
33
- }, disableHtmlEscaping?: boolean) => string;
34
- constructor({ $gettext }: Language);
35
- explain(options: PasswordPolicyRuleOptions, verified: boolean): PasswordPolicyRuleExplained;
36
- assert(options: PasswordPolicyRuleOptions, password: string): boolean;
37
- validate(options: PasswordPolicyRuleOptions): boolean;
38
- missing(options: PasswordPolicyRuleOptions, password: string): PasswordPolicyRuleExplained;
39
- }
40
- export declare class AtLeastBaseRule implements PasswordPolicyRule {
41
- protected $gettext: (msgid: string, parameters?: {
42
- [key: string]: string;
43
- }, disableHtmlEscaping?: boolean) => string;
44
- constructor({ $gettext }: Language);
45
- assert(options: PasswordPolicyRuleOptions, password: string): boolean;
46
- explain(options: PasswordPolicyRuleOptions, verified?: boolean): PasswordPolicyRuleExplained;
47
- validate(options: PasswordPolicyRuleOptions): boolean;
48
- missing(options: PasswordPolicyRuleOptions, password: string): PasswordPolicyRuleExplained;
49
- }
50
- export declare class AtLeastCharactersRule extends AtLeastBaseRule implements PasswordPolicyRule {
51
- constructor(args: Language);
52
- explain(options: PasswordPolicyRuleOptions, verified: boolean): PasswordPolicyRuleExplained;
53
- assert(options: PasswordPolicyRuleOptions, password: string): boolean;
54
- }
55
- export declare class AtLeastUppercaseCharactersRule extends AtLeastBaseRule {
56
- constructor(args: Language);
57
- explain(options: PasswordPolicyRuleOptions, verified: boolean): PasswordPolicyRuleExplained;
58
- assert(options: PasswordPolicyRuleOptions, password: string): boolean;
59
- }
60
- export declare class AtLeastLowercaseCharactersRule extends AtLeastBaseRule {
61
- constructor(args: Language);
62
- explain(options: PasswordPolicyRuleOptions, verified: boolean): PasswordPolicyRuleExplained;
63
- assert(options: PasswordPolicyRuleOptions, password: string): boolean;
64
- }
65
- export declare class AtLeastDigitsRule extends AtLeastBaseRule {
66
- constructor(args: Language);
67
- explain(options: PasswordPolicyRuleOptions, verified: boolean): PasswordPolicyRuleExplained;
68
- assert(options: PasswordPolicyRuleOptions, password: string): boolean;
69
- }