@opencloud-eu/web-pkg 5.1.0 → 6.1.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.
- package/dist/TextEditor-B0ZZfO_w.js +819 -0
- package/dist/assets/worker-BVTM6bn-.js +1 -0
- package/dist/assets/worker-C-Nrpmiq.js +24 -0
- package/dist/assets/worker-CzI1mBNb.js +24 -0
- package/dist/assets/worker-DDmV-och.js +24 -0
- package/dist/composables-TkULFBg4.js +20165 -0
- package/dist/src/apps/types.d.ts +9 -12
- package/dist/src/components/AppBar/AppBar.vue.d.ts +154 -96
- package/dist/src/components/AppBar/index.d.ts +0 -1
- package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -1
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +37 -33
- package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +1 -1
- package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +5 -4
- package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -1
- package/dist/src/components/AppTopBar.vue.d.ts +13 -4
- package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +3 -4
- package/dist/src/components/Avatars/UserAvatar.vue.d.ts +11 -1
- package/dist/src/components/BatchActions.vue.d.ts +16 -15
- package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -2
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +9 -8
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +41 -22
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +176 -23
- package/dist/src/components/CreateLinkModal.vue.d.ts +17 -7
- package/dist/src/components/CreateShortcutModal.vue.d.ts +233 -0
- package/dist/src/components/CustomComponentTarget.vue.d.ts +12 -13
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +56 -37
- package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +22 -11
- package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceLink.vue.d.ts +7 -6
- package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +13 -4
- package/dist/src/components/FilesList/ResourceName.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceSize.vue.d.ts +6 -5
- package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +51 -154
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +37 -153
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +34 -119
- package/dist/src/components/Filters/DateFilter.vue.d.ts +37 -0
- package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +6 -5
- package/dist/src/components/Groupware/Accounts/AccountsSwitch.vue.d.ts +3 -0
- package/dist/src/components/Groupware/Accounts/index.d.ts +1 -0
- package/dist/src/components/Groupware/index.d.ts +1 -0
- package/dist/src/components/ItemFilter.vue.d.ts +19 -204
- package/dist/src/components/ItemFilterToggle.vue.d.ts +6 -5
- package/dist/src/components/LinkRoleDropdown.vue.d.ts +7 -6
- package/dist/src/components/LoadingIndicator.vue.d.ts +5 -4
- package/dist/src/components/Modals/DatePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +6 -5
- package/dist/src/components/Modals/FilePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +9 -8
- package/dist/src/components/Modals/SaveAsModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +5 -4
- package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +5 -4
- package/dist/src/components/Navigation/MobileNav.vue.d.ts +3 -0
- package/dist/src/components/Navigation/index.d.ts +1 -0
- package/dist/src/components/NoContentMessage.vue.d.ts +19 -13
- package/dist/src/components/Pagination.vue.d.ts +5 -4
- package/dist/src/components/QuotaSelect.vue.d.ts +7 -6
- package/dist/src/components/Search/ResourcePreview.vue.d.ts +10 -41
- package/dist/src/components/SearchBarFilter.vue.d.ts +7 -6
- package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +6 -5
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +10 -75
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +10 -1
- package/dist/src/components/SideBar/SideBar.vue.d.ts +20 -21
- package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +21 -22
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +10 -1
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +10 -1
- package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +2 -1
- package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -1
- package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +7 -6
- package/dist/src/components/SpaceQuota.vue.d.ts +10 -1
- package/dist/src/components/Spaces/QuotaModal.vue.d.ts +13 -4
- package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +12 -4
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +22 -161
- package/dist/src/components/TextEditor/index.d.ts +16 -138
- package/dist/src/components/VersionCheck.vue.d.ts +2 -1
- package/dist/src/components/ViewOptions.vue.d.ts +10 -1
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActions.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsMove.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsRename.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +2 -2
- package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -1
- package/dist/src/composables/actions/spaces/index.d.ts +1 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +7 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +1 -1
- package/dist/src/composables/actions/useActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppConfig.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +2 -1
- package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +4 -2
- package/dist/src/composables/appDefaults/useAppMeta.d.ts +1 -1
- package/dist/src/composables/authContext/useAuthService.d.ts +3 -1
- package/dist/src/composables/authContext/useRequest.d.ts +2 -2
- package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +1 -1
- package/dist/src/composables/embedMode/useEmbedMode.d.ts +8 -8
- package/dist/src/composables/eventBus/useEventBus.d.ts +1 -1
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -1
- package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
- package/dist/src/composables/index.d.ts +1 -1
- package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +1 -1
- package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
- package/dist/src/composables/links/useLinkTypes.d.ts +1 -1
- package/dist/src/composables/localStorage/useLocalStorage.d.ts +1 -1
- package/dist/src/composables/navItems/index.d.ts +1 -0
- package/dist/src/composables/navItems/useNavItems.d.ts +13 -0
- package/dist/src/composables/piniaStores/apps.d.ts +31 -31
- package/dist/src/composables/piniaStores/auth.d.ts +30 -24
- package/dist/src/composables/piniaStores/avatars.d.ts +9 -9
- package/dist/src/composables/piniaStores/capabilities.d.ts +160 -160
- package/dist/src/composables/piniaStores/clipboard.d.ts +49 -49
- package/dist/src/composables/piniaStores/config/config.d.ts +135 -141
- package/dist/src/composables/piniaStores/config/types.d.ts +6 -20
- package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +4 -4
- package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +1 -1
- package/dist/src/composables/piniaStores/extensionRegistry/types.d.ts +14 -1
- package/dist/src/composables/piniaStores/groupware/accounts.d.ts +511 -0
- package/dist/src/composables/piniaStores/{groupwareConfig/groupwareConfig.d.ts → groupware/config.d.ts} +107 -80
- package/dist/src/composables/piniaStores/groupware/index.d.ts +3 -0
- package/dist/src/composables/piniaStores/{groupwareConfig → groupware}/types.d.ts +30 -18
- package/dist/src/composables/piniaStores/index.d.ts +1 -1
- package/dist/src/composables/piniaStores/messages.d.ts +70 -70
- package/dist/src/composables/piniaStores/modals.d.ts +197 -209
- package/dist/src/composables/piniaStores/resources.d.ts +11 -11
- package/dist/src/composables/piniaStores/shares/shares.d.ts +1 -1
- package/dist/src/composables/piniaStores/shares/types.d.ts +2 -1
- package/dist/src/composables/piniaStores/sideBar.d.ts +8 -22
- package/dist/src/composables/piniaStores/spaces.d.ts +189 -188
- package/dist/src/composables/piniaStores/theme.d.ts +10 -10
- package/dist/src/composables/piniaStores/updates.d.ts +10 -10
- package/dist/src/composables/piniaStores/user.d.ts +5 -5
- package/dist/src/composables/piniaStores/webWorkers.d.ts +1 -1
- package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +1 -1
- package/dist/src/composables/resources/useGetResourceContext.d.ts +26 -26
- package/dist/src/composables/resources/useLoadPreview.d.ts +1 -1
- package/dist/src/composables/resources/useResourceContents.d.ts +1 -1
- package/dist/src/composables/resources/useResourceIndicators.d.ts +12 -1
- package/dist/src/composables/resources/useResourceViewContextMenu.d.ts +4 -3
- package/dist/src/composables/resources/useResourceViewDrag.d.ts +23 -13
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +30 -20
- package/dist/src/composables/resources/useResourceViewSelection.d.ts +2 -2
- package/dist/src/composables/selection/useSelectedResources.d.ts +2 -1
- package/dist/src/composables/spaces/useCreateSpace.d.ts +2 -1
- package/dist/src/composables/spaces/useSpaceHelpers.d.ts +1 -1
- package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +2 -2
- package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +3 -1
- package/dist/src/constants.d.ts +0 -6
- package/dist/src/extensionPoints.d.ts +3 -0
- package/dist/src/helpers/filesize.d.ts +0 -7
- package/dist/src/helpers/index.d.ts +1 -2
- package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +1 -1
- package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +4 -4
- package/dist/src/helpers/resource/conflictHandling/types.d.ts +1 -1
- package/dist/src/helpers/share/driveItem.d.ts +1 -1
- package/dist/src/helpers/versions.d.ts +5 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/router/common.d.ts +1 -1
- package/dist/src/router/index.d.ts +2 -1
- package/dist/src/router/public.d.ts +1 -1
- package/dist/src/router/shares.d.ts +1 -1
- package/dist/src/router/spaces.d.ts +1 -1
- package/dist/src/router/trash.d.ts +1 -1
- package/dist/src/services/passwordPolicy/rules.d.ts +3 -9
- package/dist/src/services/preview/types.d.ts +1 -1
- package/dist/src/services/uppy/DropTarget/plugin.d.ts +2 -1
- package/dist/src/services/uppy/uppyService.d.ts +3 -3
- package/dist/web-pkg.js +4251 -354
- package/package.json +36 -38
- package/src/index.ts +1 -0
- package/dist/TextEditor-CXSedGM4.js +0 -867
- package/dist/assets/worker-22sDKzz_.js +0 -21
- package/dist/assets/worker-BBQqm_-D.js +0 -1
- package/dist/assets/worker-BSCY2vwA.js +0 -21
- package/dist/assets/worker-DH8D29Kr.js +0 -21
- package/dist/index-CEJcEmbf.js +0 -25419
- package/dist/src/components/AppBar/CreateSpace.vue.d.ts +0 -18
- package/dist/src/components/PortalTarget.vue.d.ts +0 -2
- package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +0 -2
- package/dist/src/composables/portalTarget/eventTopics.d.ts +0 -3
- package/dist/src/composables/portalTarget/index.d.ts +0 -2
- package/dist/src/composables/portalTarget/usePortalTarget.d.ts +0 -4
- package/dist/src/helpers/contextMenuDropdown.d.ts +0 -7
- package/dist/src/helpers/statusIndicators.d.ts +0 -12
- package/dist/web-pkg.umd.cjs +0 -36
|
@@ -20,12 +20,12 @@ export type Modal = {
|
|
|
20
20
|
elementClass?: string;
|
|
21
21
|
title: string;
|
|
22
22
|
message?: string;
|
|
23
|
-
cancelText?: string;
|
|
24
23
|
confirmDisabled?: boolean;
|
|
25
24
|
isLoading?: boolean;
|
|
26
25
|
confirmText?: string;
|
|
27
26
|
hideActions?: boolean;
|
|
28
27
|
hideConfirmButton?: boolean;
|
|
28
|
+
hideCancelButton?: boolean;
|
|
29
29
|
hasInput?: boolean;
|
|
30
30
|
inputValue?: string;
|
|
31
31
|
inputType?: 'text' | 'number' | 'email' | 'password' | 'date';
|
|
@@ -43,19 +43,19 @@ export type Modal = {
|
|
|
43
43
|
onConfirm?: (value: any) => void | Promise<void>;
|
|
44
44
|
onInput?: (value: string, setError: (error: string) => void) => void;
|
|
45
45
|
};
|
|
46
|
-
export declare const useModals: import(
|
|
47
|
-
modals: import(
|
|
46
|
+
export declare const useModals: import("pinia").StoreDefinition<"modals", Pick<{
|
|
47
|
+
modals: import("vue").Ref<{
|
|
48
48
|
id: string;
|
|
49
49
|
elementId?: string;
|
|
50
50
|
elementClass?: string;
|
|
51
51
|
title: string;
|
|
52
52
|
message?: string;
|
|
53
|
-
cancelText?: string;
|
|
54
53
|
confirmDisabled?: boolean;
|
|
55
54
|
isLoading?: boolean;
|
|
56
55
|
confirmText?: string;
|
|
57
56
|
hideActions?: boolean;
|
|
58
57
|
hideConfirmButton?: boolean;
|
|
58
|
+
hideCancelButton?: boolean;
|
|
59
59
|
hasInput?: boolean;
|
|
60
60
|
inputValue?: string;
|
|
61
61
|
inputType?: "text" | "number" | "email" | "password" | "date";
|
|
@@ -75,7 +75,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
75
75
|
}[];
|
|
76
76
|
readMoreLink?: string;
|
|
77
77
|
};
|
|
78
|
-
customComponent?: import(
|
|
78
|
+
customComponent?: import("vue").FunctionalComponent<{
|
|
79
79
|
modal: Modal;
|
|
80
80
|
} & Record<string, any>, {}, any, {}> | {
|
|
81
81
|
new (...args: any[]): {
|
|
@@ -86,14 +86,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
86
86
|
__isSuspense?: never;
|
|
87
87
|
} | {
|
|
88
88
|
[x: string]: any;
|
|
89
|
-
setup?: (this: void, props: import(
|
|
89
|
+
setup?: (this: void, props: import("@vue/shared").LooseRequired<{
|
|
90
90
|
modal: Modal;
|
|
91
91
|
} & Record<string, any> & {}>, ctx: {
|
|
92
|
-
attrs:
|
|
93
|
-
[x: string]: unknown;
|
|
94
|
-
};
|
|
92
|
+
attrs: import("vue").Attrs;
|
|
95
93
|
slots: Readonly<{
|
|
96
|
-
[name: string]: import(
|
|
94
|
+
[name: string]: import("vue").Slot<any>;
|
|
97
95
|
}>;
|
|
98
96
|
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
99
97
|
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
@@ -101,8 +99,8 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
101
99
|
name?: string;
|
|
102
100
|
template?: string | object;
|
|
103
101
|
render?: Function;
|
|
104
|
-
components?: Record<string, Component<any, any, any, import(
|
|
105
|
-
directives?: Record<string, import(
|
|
102
|
+
components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>>;
|
|
103
|
+
directives?: Record<string, import("vue").Directive<any, any, string, any>>;
|
|
106
104
|
inheritAttrs?: boolean;
|
|
107
105
|
emits?: any;
|
|
108
106
|
slots?: {};
|
|
@@ -164,16 +162,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
164
162
|
PRIVATE_APIS?: boolean | "suppress-warning";
|
|
165
163
|
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
|
|
166
164
|
};
|
|
167
|
-
data?: (this: import(
|
|
165
|
+
data?: (this: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
168
166
|
modal: Modal;
|
|
169
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
167
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
170
168
|
modal: Modal;
|
|
171
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
169
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
172
170
|
P: {};
|
|
173
171
|
B: {};
|
|
174
172
|
D: {};
|
|
175
|
-
C: import(
|
|
176
|
-
M: import(
|
|
173
|
+
C: import("vue").ComputedOptions;
|
|
174
|
+
M: import("vue").MethodOptions;
|
|
177
175
|
Defaults: {};
|
|
178
176
|
} & {
|
|
179
177
|
P: {};
|
|
@@ -184,16 +182,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
184
182
|
Defaults: {};
|
|
185
183
|
}, {
|
|
186
184
|
modal: Modal;
|
|
187
|
-
} & Record<string, any>, {}, {}, import(
|
|
185
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>, vm: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
188
186
|
modal: Modal;
|
|
189
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
187
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
190
188
|
modal: Modal;
|
|
191
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
189
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
192
190
|
P: {};
|
|
193
191
|
B: {};
|
|
194
192
|
D: {};
|
|
195
|
-
C: import(
|
|
196
|
-
M: import(
|
|
193
|
+
C: import("vue").ComputedOptions;
|
|
194
|
+
M: import("vue").MethodOptions;
|
|
197
195
|
Defaults: {};
|
|
198
196
|
} & {
|
|
199
197
|
P: {};
|
|
@@ -204,17 +202,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
204
202
|
Defaults: {};
|
|
205
203
|
}, {
|
|
206
204
|
modal: Modal;
|
|
207
|
-
} & Record<string, any>, {}, {}, import(
|
|
208
|
-
computed?: import(
|
|
209
|
-
methods?: import(
|
|
205
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>) => any;
|
|
206
|
+
computed?: import("vue").ComputedOptions;
|
|
207
|
+
methods?: import("vue").MethodOptions;
|
|
210
208
|
watch?: {
|
|
211
|
-
[x: string]: (string | import(
|
|
212
|
-
handler: import(
|
|
213
|
-
} & import(
|
|
214
|
-
handler: import(
|
|
215
|
-
} & import(
|
|
209
|
+
[x: string]: (string | import("vue").WatchCallback | ({
|
|
210
|
+
handler: import("vue").WatchCallback | string;
|
|
211
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback | ({
|
|
212
|
+
handler: import("vue").WatchCallback | string;
|
|
213
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
216
214
|
};
|
|
217
|
-
provide?: import(
|
|
215
|
+
provide?: import("vue").ComponentProvideOptions;
|
|
218
216
|
inject?: {} | string[];
|
|
219
217
|
filters?: Record<string, Function>;
|
|
220
218
|
mixins?: any[];
|
|
@@ -231,17 +229,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
231
229
|
beforeUnmount?: () => any;
|
|
232
230
|
destroyed?: () => any;
|
|
233
231
|
unmounted?: () => any;
|
|
234
|
-
renderTracked?: (e: import(
|
|
235
|
-
renderTriggered?: (e: import(
|
|
232
|
+
renderTracked?: (e: import("vue").DebuggerEvent) => void;
|
|
233
|
+
renderTriggered?: (e: import("vue").DebuggerEvent) => void;
|
|
236
234
|
errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
|
|
237
235
|
delimiters?: [string, string];
|
|
238
236
|
__differentiator?: string | number | symbol;
|
|
239
237
|
__isBuiltIn?: boolean;
|
|
240
238
|
__file?: string;
|
|
241
239
|
__name?: string;
|
|
242
|
-
beforeRouteEnter?: import(
|
|
243
|
-
beforeRouteUpdate?: import(
|
|
244
|
-
beforeRouteLeave?: import(
|
|
240
|
+
beforeRouteEnter?: import("vue-router").TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import("vue-router").NavigationGuardWithThis<undefined>;
|
|
241
|
+
beforeRouteUpdate?: import("vue-router").TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import("vue-router").NavigationGuard;
|
|
242
|
+
beforeRouteLeave?: import("vue-router").TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import("vue-router").NavigationGuard;
|
|
245
243
|
};
|
|
246
244
|
customComponentAttrs?: () => Record<string, unknown>;
|
|
247
245
|
onCancel?: () => void;
|
|
@@ -253,12 +251,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
253
251
|
elementClass?: string;
|
|
254
252
|
title: string;
|
|
255
253
|
message?: string;
|
|
256
|
-
cancelText?: string;
|
|
257
254
|
confirmDisabled?: boolean;
|
|
258
255
|
isLoading?: boolean;
|
|
259
256
|
confirmText?: string;
|
|
260
257
|
hideActions?: boolean;
|
|
261
258
|
hideConfirmButton?: boolean;
|
|
259
|
+
hideCancelButton?: boolean;
|
|
262
260
|
hasInput?: boolean;
|
|
263
261
|
inputValue?: string;
|
|
264
262
|
inputType?: "text" | "number" | "email" | "password" | "date";
|
|
@@ -278,7 +276,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
278
276
|
}[];
|
|
279
277
|
readMoreLink?: string;
|
|
280
278
|
};
|
|
281
|
-
customComponent?: import(
|
|
279
|
+
customComponent?: import("vue").FunctionalComponent<{
|
|
282
280
|
modal: Modal;
|
|
283
281
|
} & Record<string, any>, {}, any, {}> | {
|
|
284
282
|
new (...args: any[]): {
|
|
@@ -289,14 +287,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
289
287
|
__isSuspense?: never;
|
|
290
288
|
} | {
|
|
291
289
|
[x: string]: any;
|
|
292
|
-
setup?: (this: void, props: import(
|
|
290
|
+
setup?: (this: void, props: import("@vue/shared").LooseRequired<{
|
|
293
291
|
modal: Modal;
|
|
294
292
|
} & Record<string, any> & {}>, ctx: {
|
|
295
|
-
attrs:
|
|
296
|
-
[x: string]: unknown;
|
|
297
|
-
};
|
|
293
|
+
attrs: import("vue").Attrs;
|
|
298
294
|
slots: Readonly<{
|
|
299
|
-
[name: string]: import(
|
|
295
|
+
[name: string]: import("vue").Slot<any>;
|
|
300
296
|
}>;
|
|
301
297
|
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
302
298
|
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
@@ -304,8 +300,8 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
304
300
|
name?: string;
|
|
305
301
|
template?: string | object;
|
|
306
302
|
render?: Function;
|
|
307
|
-
components?: Record<string, Component<any, any, any, import(
|
|
308
|
-
directives?: Record<string, import(
|
|
303
|
+
components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>>;
|
|
304
|
+
directives?: Record<string, import("vue").Directive<any, any, string, any>>;
|
|
309
305
|
inheritAttrs?: boolean;
|
|
310
306
|
emits?: any;
|
|
311
307
|
slots?: {};
|
|
@@ -367,16 +363,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
367
363
|
PRIVATE_APIS?: boolean | "suppress-warning";
|
|
368
364
|
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
|
|
369
365
|
};
|
|
370
|
-
data?: (this: import(
|
|
366
|
+
data?: (this: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
371
367
|
modal: Modal;
|
|
372
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
368
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
373
369
|
modal: Modal;
|
|
374
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
370
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
375
371
|
P: {};
|
|
376
372
|
B: {};
|
|
377
373
|
D: {};
|
|
378
|
-
C: import(
|
|
379
|
-
M: import(
|
|
374
|
+
C: import("vue").ComputedOptions;
|
|
375
|
+
M: import("vue").MethodOptions;
|
|
380
376
|
Defaults: {};
|
|
381
377
|
} & {
|
|
382
378
|
P: {};
|
|
@@ -387,16 +383,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
387
383
|
Defaults: {};
|
|
388
384
|
}, {
|
|
389
385
|
modal: Modal;
|
|
390
|
-
} & Record<string, any>, {}, {}, import(
|
|
386
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>, vm: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
391
387
|
modal: Modal;
|
|
392
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
388
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
393
389
|
modal: Modal;
|
|
394
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
390
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
395
391
|
P: {};
|
|
396
392
|
B: {};
|
|
397
393
|
D: {};
|
|
398
|
-
C: import(
|
|
399
|
-
M: import(
|
|
394
|
+
C: import("vue").ComputedOptions;
|
|
395
|
+
M: import("vue").MethodOptions;
|
|
400
396
|
Defaults: {};
|
|
401
397
|
} & {
|
|
402
398
|
P: {};
|
|
@@ -407,17 +403,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
407
403
|
Defaults: {};
|
|
408
404
|
}, {
|
|
409
405
|
modal: Modal;
|
|
410
|
-
} & Record<string, any>, {}, {}, import(
|
|
411
|
-
computed?: import(
|
|
412
|
-
methods?: import(
|
|
406
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>) => any;
|
|
407
|
+
computed?: import("vue").ComputedOptions;
|
|
408
|
+
methods?: import("vue").MethodOptions;
|
|
413
409
|
watch?: {
|
|
414
|
-
[x: string]: (string | import(
|
|
415
|
-
handler: import(
|
|
416
|
-
} & import(
|
|
417
|
-
handler: import(
|
|
418
|
-
} & import(
|
|
410
|
+
[x: string]: (string | import("vue").WatchCallback | ({
|
|
411
|
+
handler: import("vue").WatchCallback | string;
|
|
412
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback | ({
|
|
413
|
+
handler: import("vue").WatchCallback | string;
|
|
414
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
419
415
|
};
|
|
420
|
-
provide?: import(
|
|
416
|
+
provide?: import("vue").ComponentProvideOptions;
|
|
421
417
|
inject?: {} | string[];
|
|
422
418
|
filters?: Record<string, Function>;
|
|
423
419
|
mixins?: any[];
|
|
@@ -434,24 +430,24 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
434
430
|
beforeUnmount?: () => any;
|
|
435
431
|
destroyed?: () => any;
|
|
436
432
|
unmounted?: () => any;
|
|
437
|
-
renderTracked?: (e: import(
|
|
438
|
-
renderTriggered?: (e: import(
|
|
433
|
+
renderTracked?: (e: import("vue").DebuggerEvent) => void;
|
|
434
|
+
renderTriggered?: (e: import("vue").DebuggerEvent) => void;
|
|
439
435
|
errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
|
|
440
436
|
delimiters?: [string, string];
|
|
441
437
|
__differentiator?: string | number | symbol;
|
|
442
438
|
__isBuiltIn?: boolean;
|
|
443
439
|
__file?: string;
|
|
444
440
|
__name?: string;
|
|
445
|
-
beforeRouteEnter?: import(
|
|
446
|
-
beforeRouteUpdate?: import(
|
|
447
|
-
beforeRouteLeave?: import(
|
|
441
|
+
beforeRouteEnter?: import("vue-router").TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import("vue-router").NavigationGuardWithThis<undefined>;
|
|
442
|
+
beforeRouteUpdate?: import("vue-router").TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import("vue-router").NavigationGuard;
|
|
443
|
+
beforeRouteLeave?: import("vue-router").TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import("vue-router").NavigationGuard;
|
|
448
444
|
};
|
|
449
445
|
customComponentAttrs?: () => Record<string, unknown>;
|
|
450
446
|
onCancel?: () => void;
|
|
451
447
|
onConfirm?: (value: any) => void | Promise<void>;
|
|
452
448
|
onInput?: (value: string, setError: (error: string) => void) => void;
|
|
453
449
|
}[]>;
|
|
454
|
-
activeModal: import(
|
|
450
|
+
activeModal: import("vue").ComputedRef<Modal>;
|
|
455
451
|
dispatchModal: (data: Omit<Modal, "id">) => {
|
|
456
452
|
id: string;
|
|
457
453
|
message?: string;
|
|
@@ -464,6 +460,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
464
460
|
focusTrapInitial?: string | false;
|
|
465
461
|
hasInput?: boolean;
|
|
466
462
|
hideActions?: boolean;
|
|
463
|
+
hideCancelButton?: boolean;
|
|
467
464
|
hideConfirmButton?: boolean;
|
|
468
465
|
inputDescription?: string;
|
|
469
466
|
inputRequiredMark?: boolean;
|
|
@@ -476,7 +473,6 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
476
473
|
onCancel?: () => void;
|
|
477
474
|
onConfirm?: (value: any) => void | Promise<void>;
|
|
478
475
|
customComponent?: CustomModalComponent;
|
|
479
|
-
cancelText?: string;
|
|
480
476
|
confirmDisabled?: boolean;
|
|
481
477
|
confirmText?: string;
|
|
482
478
|
customComponentAttrs?: () => Record<string, unknown>;
|
|
@@ -486,18 +482,18 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
486
482
|
removeAllModals: () => void;
|
|
487
483
|
setModalActive: (id: Modal["id"]) => void;
|
|
488
484
|
}, "modals">, Pick<{
|
|
489
|
-
modals: import(
|
|
485
|
+
modals: import("vue").Ref<{
|
|
490
486
|
id: string;
|
|
491
487
|
elementId?: string;
|
|
492
488
|
elementClass?: string;
|
|
493
489
|
title: string;
|
|
494
490
|
message?: string;
|
|
495
|
-
cancelText?: string;
|
|
496
491
|
confirmDisabled?: boolean;
|
|
497
492
|
isLoading?: boolean;
|
|
498
493
|
confirmText?: string;
|
|
499
494
|
hideActions?: boolean;
|
|
500
495
|
hideConfirmButton?: boolean;
|
|
496
|
+
hideCancelButton?: boolean;
|
|
501
497
|
hasInput?: boolean;
|
|
502
498
|
inputValue?: string;
|
|
503
499
|
inputType?: "text" | "number" | "email" | "password" | "date";
|
|
@@ -517,7 +513,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
517
513
|
}[];
|
|
518
514
|
readMoreLink?: string;
|
|
519
515
|
};
|
|
520
|
-
customComponent?: import(
|
|
516
|
+
customComponent?: import("vue").FunctionalComponent<{
|
|
521
517
|
modal: Modal;
|
|
522
518
|
} & Record<string, any>, {}, any, {}> | {
|
|
523
519
|
new (...args: any[]): {
|
|
@@ -528,14 +524,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
528
524
|
__isSuspense?: never;
|
|
529
525
|
} | {
|
|
530
526
|
[x: string]: any;
|
|
531
|
-
setup?: (this: void, props: import(
|
|
527
|
+
setup?: (this: void, props: import("@vue/shared").LooseRequired<{
|
|
532
528
|
modal: Modal;
|
|
533
529
|
} & Record<string, any> & {}>, ctx: {
|
|
534
|
-
attrs:
|
|
535
|
-
[x: string]: unknown;
|
|
536
|
-
};
|
|
530
|
+
attrs: import("vue").Attrs;
|
|
537
531
|
slots: Readonly<{
|
|
538
|
-
[name: string]: import(
|
|
532
|
+
[name: string]: import("vue").Slot<any>;
|
|
539
533
|
}>;
|
|
540
534
|
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
541
535
|
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
@@ -543,8 +537,8 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
543
537
|
name?: string;
|
|
544
538
|
template?: string | object;
|
|
545
539
|
render?: Function;
|
|
546
|
-
components?: Record<string, Component<any, any, any, import(
|
|
547
|
-
directives?: Record<string, import(
|
|
540
|
+
components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>>;
|
|
541
|
+
directives?: Record<string, import("vue").Directive<any, any, string, any>>;
|
|
548
542
|
inheritAttrs?: boolean;
|
|
549
543
|
emits?: any;
|
|
550
544
|
slots?: {};
|
|
@@ -606,16 +600,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
606
600
|
PRIVATE_APIS?: boolean | "suppress-warning";
|
|
607
601
|
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
|
|
608
602
|
};
|
|
609
|
-
data?: (this: import(
|
|
603
|
+
data?: (this: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
610
604
|
modal: Modal;
|
|
611
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
605
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
612
606
|
modal: Modal;
|
|
613
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
607
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
614
608
|
P: {};
|
|
615
609
|
B: {};
|
|
616
610
|
D: {};
|
|
617
|
-
C: import(
|
|
618
|
-
M: import(
|
|
611
|
+
C: import("vue").ComputedOptions;
|
|
612
|
+
M: import("vue").MethodOptions;
|
|
619
613
|
Defaults: {};
|
|
620
614
|
} & {
|
|
621
615
|
P: {};
|
|
@@ -626,16 +620,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
626
620
|
Defaults: {};
|
|
627
621
|
}, {
|
|
628
622
|
modal: Modal;
|
|
629
|
-
} & Record<string, any>, {}, {}, import(
|
|
623
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>, vm: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
630
624
|
modal: Modal;
|
|
631
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
625
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
632
626
|
modal: Modal;
|
|
633
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
627
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
634
628
|
P: {};
|
|
635
629
|
B: {};
|
|
636
630
|
D: {};
|
|
637
|
-
C: import(
|
|
638
|
-
M: import(
|
|
631
|
+
C: import("vue").ComputedOptions;
|
|
632
|
+
M: import("vue").MethodOptions;
|
|
639
633
|
Defaults: {};
|
|
640
634
|
} & {
|
|
641
635
|
P: {};
|
|
@@ -646,17 +640,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
646
640
|
Defaults: {};
|
|
647
641
|
}, {
|
|
648
642
|
modal: Modal;
|
|
649
|
-
} & Record<string, any>, {}, {}, import(
|
|
650
|
-
computed?: import(
|
|
651
|
-
methods?: import(
|
|
643
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>) => any;
|
|
644
|
+
computed?: import("vue").ComputedOptions;
|
|
645
|
+
methods?: import("vue").MethodOptions;
|
|
652
646
|
watch?: {
|
|
653
|
-
[x: string]: (string | import(
|
|
654
|
-
handler: import(
|
|
655
|
-
} & import(
|
|
656
|
-
handler: import(
|
|
657
|
-
} & import(
|
|
647
|
+
[x: string]: (string | import("vue").WatchCallback | ({
|
|
648
|
+
handler: import("vue").WatchCallback | string;
|
|
649
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback | ({
|
|
650
|
+
handler: import("vue").WatchCallback | string;
|
|
651
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
658
652
|
};
|
|
659
|
-
provide?: import(
|
|
653
|
+
provide?: import("vue").ComponentProvideOptions;
|
|
660
654
|
inject?: {} | string[];
|
|
661
655
|
filters?: Record<string, Function>;
|
|
662
656
|
mixins?: any[];
|
|
@@ -673,17 +667,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
673
667
|
beforeUnmount?: () => any;
|
|
674
668
|
destroyed?: () => any;
|
|
675
669
|
unmounted?: () => any;
|
|
676
|
-
renderTracked?: (e: import(
|
|
677
|
-
renderTriggered?: (e: import(
|
|
670
|
+
renderTracked?: (e: import("vue").DebuggerEvent) => void;
|
|
671
|
+
renderTriggered?: (e: import("vue").DebuggerEvent) => void;
|
|
678
672
|
errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
|
|
679
673
|
delimiters?: [string, string];
|
|
680
674
|
__differentiator?: string | number | symbol;
|
|
681
675
|
__isBuiltIn?: boolean;
|
|
682
676
|
__file?: string;
|
|
683
677
|
__name?: string;
|
|
684
|
-
beforeRouteEnter?: import(
|
|
685
|
-
beforeRouteUpdate?: import(
|
|
686
|
-
beforeRouteLeave?: import(
|
|
678
|
+
beforeRouteEnter?: import("vue-router").TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import("vue-router").NavigationGuardWithThis<undefined>;
|
|
679
|
+
beforeRouteUpdate?: import("vue-router").TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import("vue-router").NavigationGuard;
|
|
680
|
+
beforeRouteLeave?: import("vue-router").TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import("vue-router").NavigationGuard;
|
|
687
681
|
};
|
|
688
682
|
customComponentAttrs?: () => Record<string, unknown>;
|
|
689
683
|
onCancel?: () => void;
|
|
@@ -695,12 +689,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
695
689
|
elementClass?: string;
|
|
696
690
|
title: string;
|
|
697
691
|
message?: string;
|
|
698
|
-
cancelText?: string;
|
|
699
692
|
confirmDisabled?: boolean;
|
|
700
693
|
isLoading?: boolean;
|
|
701
694
|
confirmText?: string;
|
|
702
695
|
hideActions?: boolean;
|
|
703
696
|
hideConfirmButton?: boolean;
|
|
697
|
+
hideCancelButton?: boolean;
|
|
704
698
|
hasInput?: boolean;
|
|
705
699
|
inputValue?: string;
|
|
706
700
|
inputType?: "text" | "number" | "email" | "password" | "date";
|
|
@@ -720,7 +714,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
720
714
|
}[];
|
|
721
715
|
readMoreLink?: string;
|
|
722
716
|
};
|
|
723
|
-
customComponent?: import(
|
|
717
|
+
customComponent?: import("vue").FunctionalComponent<{
|
|
724
718
|
modal: Modal;
|
|
725
719
|
} & Record<string, any>, {}, any, {}> | {
|
|
726
720
|
new (...args: any[]): {
|
|
@@ -731,14 +725,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
731
725
|
__isSuspense?: never;
|
|
732
726
|
} | {
|
|
733
727
|
[x: string]: any;
|
|
734
|
-
setup?: (this: void, props: import(
|
|
728
|
+
setup?: (this: void, props: import("@vue/shared").LooseRequired<{
|
|
735
729
|
modal: Modal;
|
|
736
730
|
} & Record<string, any> & {}>, ctx: {
|
|
737
|
-
attrs:
|
|
738
|
-
[x: string]: unknown;
|
|
739
|
-
};
|
|
731
|
+
attrs: import("vue").Attrs;
|
|
740
732
|
slots: Readonly<{
|
|
741
|
-
[name: string]: import(
|
|
733
|
+
[name: string]: import("vue").Slot<any>;
|
|
742
734
|
}>;
|
|
743
735
|
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
744
736
|
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
@@ -746,8 +738,8 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
746
738
|
name?: string;
|
|
747
739
|
template?: string | object;
|
|
748
740
|
render?: Function;
|
|
749
|
-
components?: Record<string, Component<any, any, any, import(
|
|
750
|
-
directives?: Record<string, import(
|
|
741
|
+
components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>>;
|
|
742
|
+
directives?: Record<string, import("vue").Directive<any, any, string, any>>;
|
|
751
743
|
inheritAttrs?: boolean;
|
|
752
744
|
emits?: any;
|
|
753
745
|
slots?: {};
|
|
@@ -809,16 +801,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
809
801
|
PRIVATE_APIS?: boolean | "suppress-warning";
|
|
810
802
|
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
|
|
811
803
|
};
|
|
812
|
-
data?: (this: import(
|
|
804
|
+
data?: (this: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
813
805
|
modal: Modal;
|
|
814
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
806
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
815
807
|
modal: Modal;
|
|
816
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
808
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
817
809
|
P: {};
|
|
818
810
|
B: {};
|
|
819
811
|
D: {};
|
|
820
|
-
C: import(
|
|
821
|
-
M: import(
|
|
812
|
+
C: import("vue").ComputedOptions;
|
|
813
|
+
M: import("vue").MethodOptions;
|
|
822
814
|
Defaults: {};
|
|
823
815
|
} & {
|
|
824
816
|
P: {};
|
|
@@ -829,16 +821,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
829
821
|
Defaults: {};
|
|
830
822
|
}, {
|
|
831
823
|
modal: Modal;
|
|
832
|
-
} & Record<string, any>, {}, {}, import(
|
|
824
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>, vm: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
833
825
|
modal: Modal;
|
|
834
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
826
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
835
827
|
modal: Modal;
|
|
836
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
828
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
837
829
|
P: {};
|
|
838
830
|
B: {};
|
|
839
831
|
D: {};
|
|
840
|
-
C: import(
|
|
841
|
-
M: import(
|
|
832
|
+
C: import("vue").ComputedOptions;
|
|
833
|
+
M: import("vue").MethodOptions;
|
|
842
834
|
Defaults: {};
|
|
843
835
|
} & {
|
|
844
836
|
P: {};
|
|
@@ -849,17 +841,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
849
841
|
Defaults: {};
|
|
850
842
|
}, {
|
|
851
843
|
modal: Modal;
|
|
852
|
-
} & Record<string, any>, {}, {}, import(
|
|
853
|
-
computed?: import(
|
|
854
|
-
methods?: import(
|
|
844
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>) => any;
|
|
845
|
+
computed?: import("vue").ComputedOptions;
|
|
846
|
+
methods?: import("vue").MethodOptions;
|
|
855
847
|
watch?: {
|
|
856
|
-
[x: string]: (string | import(
|
|
857
|
-
handler: import(
|
|
858
|
-
} & import(
|
|
859
|
-
handler: import(
|
|
860
|
-
} & import(
|
|
848
|
+
[x: string]: (string | import("vue").WatchCallback | ({
|
|
849
|
+
handler: import("vue").WatchCallback | string;
|
|
850
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback | ({
|
|
851
|
+
handler: import("vue").WatchCallback | string;
|
|
852
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
861
853
|
};
|
|
862
|
-
provide?: import(
|
|
854
|
+
provide?: import("vue").ComponentProvideOptions;
|
|
863
855
|
inject?: {} | string[];
|
|
864
856
|
filters?: Record<string, Function>;
|
|
865
857
|
mixins?: any[];
|
|
@@ -876,24 +868,24 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
876
868
|
beforeUnmount?: () => any;
|
|
877
869
|
destroyed?: () => any;
|
|
878
870
|
unmounted?: () => any;
|
|
879
|
-
renderTracked?: (e: import(
|
|
880
|
-
renderTriggered?: (e: import(
|
|
871
|
+
renderTracked?: (e: import("vue").DebuggerEvent) => void;
|
|
872
|
+
renderTriggered?: (e: import("vue").DebuggerEvent) => void;
|
|
881
873
|
errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
|
|
882
874
|
delimiters?: [string, string];
|
|
883
875
|
__differentiator?: string | number | symbol;
|
|
884
876
|
__isBuiltIn?: boolean;
|
|
885
877
|
__file?: string;
|
|
886
878
|
__name?: string;
|
|
887
|
-
beforeRouteEnter?: import(
|
|
888
|
-
beforeRouteUpdate?: import(
|
|
889
|
-
beforeRouteLeave?: import(
|
|
879
|
+
beforeRouteEnter?: import("vue-router").TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import("vue-router").NavigationGuardWithThis<undefined>;
|
|
880
|
+
beforeRouteUpdate?: import("vue-router").TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import("vue-router").NavigationGuard;
|
|
881
|
+
beforeRouteLeave?: import("vue-router").TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import("vue-router").NavigationGuard;
|
|
890
882
|
};
|
|
891
883
|
customComponentAttrs?: () => Record<string, unknown>;
|
|
892
884
|
onCancel?: () => void;
|
|
893
885
|
onConfirm?: (value: any) => void | Promise<void>;
|
|
894
886
|
onInput?: (value: string, setError: (error: string) => void) => void;
|
|
895
887
|
}[]>;
|
|
896
|
-
activeModal: import(
|
|
888
|
+
activeModal: import("vue").ComputedRef<Modal>;
|
|
897
889
|
dispatchModal: (data: Omit<Modal, "id">) => {
|
|
898
890
|
id: string;
|
|
899
891
|
message?: string;
|
|
@@ -906,6 +898,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
906
898
|
focusTrapInitial?: string | false;
|
|
907
899
|
hasInput?: boolean;
|
|
908
900
|
hideActions?: boolean;
|
|
901
|
+
hideCancelButton?: boolean;
|
|
909
902
|
hideConfirmButton?: boolean;
|
|
910
903
|
inputDescription?: string;
|
|
911
904
|
inputRequiredMark?: boolean;
|
|
@@ -918,7 +911,6 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
918
911
|
onCancel?: () => void;
|
|
919
912
|
onConfirm?: (value: any) => void | Promise<void>;
|
|
920
913
|
customComponent?: CustomModalComponent;
|
|
921
|
-
cancelText?: string;
|
|
922
914
|
confirmDisabled?: boolean;
|
|
923
915
|
confirmText?: string;
|
|
924
916
|
customComponentAttrs?: () => Record<string, unknown>;
|
|
@@ -928,18 +920,18 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
928
920
|
removeAllModals: () => void;
|
|
929
921
|
setModalActive: (id: Modal["id"]) => void;
|
|
930
922
|
}, "activeModal">, Pick<{
|
|
931
|
-
modals: import(
|
|
923
|
+
modals: import("vue").Ref<{
|
|
932
924
|
id: string;
|
|
933
925
|
elementId?: string;
|
|
934
926
|
elementClass?: string;
|
|
935
927
|
title: string;
|
|
936
928
|
message?: string;
|
|
937
|
-
cancelText?: string;
|
|
938
929
|
confirmDisabled?: boolean;
|
|
939
930
|
isLoading?: boolean;
|
|
940
931
|
confirmText?: string;
|
|
941
932
|
hideActions?: boolean;
|
|
942
933
|
hideConfirmButton?: boolean;
|
|
934
|
+
hideCancelButton?: boolean;
|
|
943
935
|
hasInput?: boolean;
|
|
944
936
|
inputValue?: string;
|
|
945
937
|
inputType?: "text" | "number" | "email" | "password" | "date";
|
|
@@ -959,7 +951,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
959
951
|
}[];
|
|
960
952
|
readMoreLink?: string;
|
|
961
953
|
};
|
|
962
|
-
customComponent?: import(
|
|
954
|
+
customComponent?: import("vue").FunctionalComponent<{
|
|
963
955
|
modal: Modal;
|
|
964
956
|
} & Record<string, any>, {}, any, {}> | {
|
|
965
957
|
new (...args: any[]): {
|
|
@@ -970,14 +962,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
970
962
|
__isSuspense?: never;
|
|
971
963
|
} | {
|
|
972
964
|
[x: string]: any;
|
|
973
|
-
setup?: (this: void, props: import(
|
|
965
|
+
setup?: (this: void, props: import("@vue/shared").LooseRequired<{
|
|
974
966
|
modal: Modal;
|
|
975
967
|
} & Record<string, any> & {}>, ctx: {
|
|
976
|
-
attrs:
|
|
977
|
-
[x: string]: unknown;
|
|
978
|
-
};
|
|
968
|
+
attrs: import("vue").Attrs;
|
|
979
969
|
slots: Readonly<{
|
|
980
|
-
[name: string]: import(
|
|
970
|
+
[name: string]: import("vue").Slot<any>;
|
|
981
971
|
}>;
|
|
982
972
|
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
983
973
|
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
@@ -985,8 +975,8 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
985
975
|
name?: string;
|
|
986
976
|
template?: string | object;
|
|
987
977
|
render?: Function;
|
|
988
|
-
components?: Record<string, Component<any, any, any, import(
|
|
989
|
-
directives?: Record<string, import(
|
|
978
|
+
components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>>;
|
|
979
|
+
directives?: Record<string, import("vue").Directive<any, any, string, any>>;
|
|
990
980
|
inheritAttrs?: boolean;
|
|
991
981
|
emits?: any;
|
|
992
982
|
slots?: {};
|
|
@@ -1048,16 +1038,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1048
1038
|
PRIVATE_APIS?: boolean | "suppress-warning";
|
|
1049
1039
|
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
|
|
1050
1040
|
};
|
|
1051
|
-
data?: (this: import(
|
|
1041
|
+
data?: (this: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
1052
1042
|
modal: Modal;
|
|
1053
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
1043
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
1054
1044
|
modal: Modal;
|
|
1055
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
1045
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1056
1046
|
P: {};
|
|
1057
1047
|
B: {};
|
|
1058
1048
|
D: {};
|
|
1059
|
-
C: import(
|
|
1060
|
-
M: import(
|
|
1049
|
+
C: import("vue").ComputedOptions;
|
|
1050
|
+
M: import("vue").MethodOptions;
|
|
1061
1051
|
Defaults: {};
|
|
1062
1052
|
} & {
|
|
1063
1053
|
P: {};
|
|
@@ -1068,16 +1058,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1068
1058
|
Defaults: {};
|
|
1069
1059
|
}, {
|
|
1070
1060
|
modal: Modal;
|
|
1071
|
-
} & Record<string, any>, {}, {}, import(
|
|
1061
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>, vm: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
1072
1062
|
modal: Modal;
|
|
1073
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
1063
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
1074
1064
|
modal: Modal;
|
|
1075
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
1065
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1076
1066
|
P: {};
|
|
1077
1067
|
B: {};
|
|
1078
1068
|
D: {};
|
|
1079
|
-
C: import(
|
|
1080
|
-
M: import(
|
|
1069
|
+
C: import("vue").ComputedOptions;
|
|
1070
|
+
M: import("vue").MethodOptions;
|
|
1081
1071
|
Defaults: {};
|
|
1082
1072
|
} & {
|
|
1083
1073
|
P: {};
|
|
@@ -1088,17 +1078,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1088
1078
|
Defaults: {};
|
|
1089
1079
|
}, {
|
|
1090
1080
|
modal: Modal;
|
|
1091
|
-
} & Record<string, any>, {}, {}, import(
|
|
1092
|
-
computed?: import(
|
|
1093
|
-
methods?: import(
|
|
1081
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>) => any;
|
|
1082
|
+
computed?: import("vue").ComputedOptions;
|
|
1083
|
+
methods?: import("vue").MethodOptions;
|
|
1094
1084
|
watch?: {
|
|
1095
|
-
[x: string]: (string | import(
|
|
1096
|
-
handler: import(
|
|
1097
|
-
} & import(
|
|
1098
|
-
handler: import(
|
|
1099
|
-
} & import(
|
|
1085
|
+
[x: string]: (string | import("vue").WatchCallback | ({
|
|
1086
|
+
handler: import("vue").WatchCallback | string;
|
|
1087
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback | ({
|
|
1088
|
+
handler: import("vue").WatchCallback | string;
|
|
1089
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
1100
1090
|
};
|
|
1101
|
-
provide?: import(
|
|
1091
|
+
provide?: import("vue").ComponentProvideOptions;
|
|
1102
1092
|
inject?: {} | string[];
|
|
1103
1093
|
filters?: Record<string, Function>;
|
|
1104
1094
|
mixins?: any[];
|
|
@@ -1115,17 +1105,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1115
1105
|
beforeUnmount?: () => any;
|
|
1116
1106
|
destroyed?: () => any;
|
|
1117
1107
|
unmounted?: () => any;
|
|
1118
|
-
renderTracked?: (e: import(
|
|
1119
|
-
renderTriggered?: (e: import(
|
|
1108
|
+
renderTracked?: (e: import("vue").DebuggerEvent) => void;
|
|
1109
|
+
renderTriggered?: (e: import("vue").DebuggerEvent) => void;
|
|
1120
1110
|
errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
|
|
1121
1111
|
delimiters?: [string, string];
|
|
1122
1112
|
__differentiator?: string | number | symbol;
|
|
1123
1113
|
__isBuiltIn?: boolean;
|
|
1124
1114
|
__file?: string;
|
|
1125
1115
|
__name?: string;
|
|
1126
|
-
beforeRouteEnter?: import(
|
|
1127
|
-
beforeRouteUpdate?: import(
|
|
1128
|
-
beforeRouteLeave?: import(
|
|
1116
|
+
beforeRouteEnter?: import("vue-router").TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import("vue-router").NavigationGuardWithThis<undefined>;
|
|
1117
|
+
beforeRouteUpdate?: import("vue-router").TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import("vue-router").NavigationGuard;
|
|
1118
|
+
beforeRouteLeave?: import("vue-router").TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import("vue-router").NavigationGuard;
|
|
1129
1119
|
};
|
|
1130
1120
|
customComponentAttrs?: () => Record<string, unknown>;
|
|
1131
1121
|
onCancel?: () => void;
|
|
@@ -1137,12 +1127,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1137
1127
|
elementClass?: string;
|
|
1138
1128
|
title: string;
|
|
1139
1129
|
message?: string;
|
|
1140
|
-
cancelText?: string;
|
|
1141
1130
|
confirmDisabled?: boolean;
|
|
1142
1131
|
isLoading?: boolean;
|
|
1143
1132
|
confirmText?: string;
|
|
1144
1133
|
hideActions?: boolean;
|
|
1145
1134
|
hideConfirmButton?: boolean;
|
|
1135
|
+
hideCancelButton?: boolean;
|
|
1146
1136
|
hasInput?: boolean;
|
|
1147
1137
|
inputValue?: string;
|
|
1148
1138
|
inputType?: "text" | "number" | "email" | "password" | "date";
|
|
@@ -1162,7 +1152,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1162
1152
|
}[];
|
|
1163
1153
|
readMoreLink?: string;
|
|
1164
1154
|
};
|
|
1165
|
-
customComponent?: import(
|
|
1155
|
+
customComponent?: import("vue").FunctionalComponent<{
|
|
1166
1156
|
modal: Modal;
|
|
1167
1157
|
} & Record<string, any>, {}, any, {}> | {
|
|
1168
1158
|
new (...args: any[]): {
|
|
@@ -1173,14 +1163,12 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1173
1163
|
__isSuspense?: never;
|
|
1174
1164
|
} | {
|
|
1175
1165
|
[x: string]: any;
|
|
1176
|
-
setup?: (this: void, props: import(
|
|
1166
|
+
setup?: (this: void, props: import("@vue/shared").LooseRequired<{
|
|
1177
1167
|
modal: Modal;
|
|
1178
1168
|
} & Record<string, any> & {}>, ctx: {
|
|
1179
|
-
attrs:
|
|
1180
|
-
[x: string]: unknown;
|
|
1181
|
-
};
|
|
1169
|
+
attrs: import("vue").Attrs;
|
|
1182
1170
|
slots: Readonly<{
|
|
1183
|
-
[name: string]: import(
|
|
1171
|
+
[name: string]: import("vue").Slot<any>;
|
|
1184
1172
|
}>;
|
|
1185
1173
|
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
1186
1174
|
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
@@ -1188,8 +1176,8 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1188
1176
|
name?: string;
|
|
1189
1177
|
template?: string | object;
|
|
1190
1178
|
render?: Function;
|
|
1191
|
-
components?: Record<string, Component<any, any, any, import(
|
|
1192
|
-
directives?: Record<string, import(
|
|
1179
|
+
components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>>;
|
|
1180
|
+
directives?: Record<string, import("vue").Directive<any, any, string, any>>;
|
|
1193
1181
|
inheritAttrs?: boolean;
|
|
1194
1182
|
emits?: any;
|
|
1195
1183
|
slots?: {};
|
|
@@ -1251,16 +1239,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1251
1239
|
PRIVATE_APIS?: boolean | "suppress-warning";
|
|
1252
1240
|
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
|
|
1253
1241
|
};
|
|
1254
|
-
data?: (this: import(
|
|
1242
|
+
data?: (this: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
1255
1243
|
modal: Modal;
|
|
1256
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
1244
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
1257
1245
|
modal: Modal;
|
|
1258
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
1246
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1259
1247
|
P: {};
|
|
1260
1248
|
B: {};
|
|
1261
1249
|
D: {};
|
|
1262
|
-
C: import(
|
|
1263
|
-
M: import(
|
|
1250
|
+
C: import("vue").ComputedOptions;
|
|
1251
|
+
M: import("vue").MethodOptions;
|
|
1264
1252
|
Defaults: {};
|
|
1265
1253
|
} & {
|
|
1266
1254
|
P: {};
|
|
@@ -1271,16 +1259,16 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1271
1259
|
Defaults: {};
|
|
1272
1260
|
}, {
|
|
1273
1261
|
modal: Modal;
|
|
1274
|
-
} & Record<string, any>, {}, {}, import(
|
|
1262
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>, vm: import("vue").CreateComponentPublicInstanceWithMixins<{
|
|
1275
1263
|
modal: Modal;
|
|
1276
|
-
} & Record<string, any>, {}, {}, {}, import(
|
|
1264
|
+
} & Record<string, any>, {}, {}, {}, import("vue").MethodOptions, any, any, {}, {
|
|
1277
1265
|
modal: Modal;
|
|
1278
|
-
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import(
|
|
1266
|
+
} & Record<string, any>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1279
1267
|
P: {};
|
|
1280
1268
|
B: {};
|
|
1281
1269
|
D: {};
|
|
1282
|
-
C: import(
|
|
1283
|
-
M: import(
|
|
1270
|
+
C: import("vue").ComputedOptions;
|
|
1271
|
+
M: import("vue").MethodOptions;
|
|
1284
1272
|
Defaults: {};
|
|
1285
1273
|
} & {
|
|
1286
1274
|
P: {};
|
|
@@ -1291,17 +1279,17 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1291
1279
|
Defaults: {};
|
|
1292
1280
|
}, {
|
|
1293
1281
|
modal: Modal;
|
|
1294
|
-
} & Record<string, any>, {}, {}, import(
|
|
1295
|
-
computed?: import(
|
|
1296
|
-
methods?: import(
|
|
1282
|
+
} & Record<string, any>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {}>) => any;
|
|
1283
|
+
computed?: import("vue").ComputedOptions;
|
|
1284
|
+
methods?: import("vue").MethodOptions;
|
|
1297
1285
|
watch?: {
|
|
1298
|
-
[x: string]: (string | import(
|
|
1299
|
-
handler: import(
|
|
1300
|
-
} & import(
|
|
1301
|
-
handler: import(
|
|
1302
|
-
} & import(
|
|
1286
|
+
[x: string]: (string | import("vue").WatchCallback | ({
|
|
1287
|
+
handler: import("vue").WatchCallback | string;
|
|
1288
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback | ({
|
|
1289
|
+
handler: import("vue").WatchCallback | string;
|
|
1290
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
1303
1291
|
};
|
|
1304
|
-
provide?: import(
|
|
1292
|
+
provide?: import("vue").ComponentProvideOptions;
|
|
1305
1293
|
inject?: {} | string[];
|
|
1306
1294
|
filters?: Record<string, Function>;
|
|
1307
1295
|
mixins?: any[];
|
|
@@ -1318,24 +1306,24 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1318
1306
|
beforeUnmount?: () => any;
|
|
1319
1307
|
destroyed?: () => any;
|
|
1320
1308
|
unmounted?: () => any;
|
|
1321
|
-
renderTracked?: (e: import(
|
|
1322
|
-
renderTriggered?: (e: import(
|
|
1309
|
+
renderTracked?: (e: import("vue").DebuggerEvent) => void;
|
|
1310
|
+
renderTriggered?: (e: import("vue").DebuggerEvent) => void;
|
|
1323
1311
|
errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
|
|
1324
1312
|
delimiters?: [string, string];
|
|
1325
1313
|
__differentiator?: string | number | symbol;
|
|
1326
1314
|
__isBuiltIn?: boolean;
|
|
1327
1315
|
__file?: string;
|
|
1328
1316
|
__name?: string;
|
|
1329
|
-
beforeRouteEnter?: import(
|
|
1330
|
-
beforeRouteUpdate?: import(
|
|
1331
|
-
beforeRouteLeave?: import(
|
|
1317
|
+
beforeRouteEnter?: import("vue-router").TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import("vue-router").NavigationGuardWithThis<undefined>;
|
|
1318
|
+
beforeRouteUpdate?: import("vue-router").TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import("vue-router").NavigationGuard;
|
|
1319
|
+
beforeRouteLeave?: import("vue-router").TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import("vue-router").NavigationGuard;
|
|
1332
1320
|
};
|
|
1333
1321
|
customComponentAttrs?: () => Record<string, unknown>;
|
|
1334
1322
|
onCancel?: () => void;
|
|
1335
1323
|
onConfirm?: (value: any) => void | Promise<void>;
|
|
1336
1324
|
onInput?: (value: string, setError: (error: string) => void) => void;
|
|
1337
1325
|
}[]>;
|
|
1338
|
-
activeModal: import(
|
|
1326
|
+
activeModal: import("vue").ComputedRef<Modal>;
|
|
1339
1327
|
dispatchModal: (data: Omit<Modal, "id">) => {
|
|
1340
1328
|
id: string;
|
|
1341
1329
|
message?: string;
|
|
@@ -1348,6 +1336,7 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1348
1336
|
focusTrapInitial?: string | false;
|
|
1349
1337
|
hasInput?: boolean;
|
|
1350
1338
|
hideActions?: boolean;
|
|
1339
|
+
hideCancelButton?: boolean;
|
|
1351
1340
|
hideConfirmButton?: boolean;
|
|
1352
1341
|
inputDescription?: string;
|
|
1353
1342
|
inputRequiredMark?: boolean;
|
|
@@ -1360,7 +1349,6 @@ export declare const useModals: import('pinia').StoreDefinition<"modals", Pick<{
|
|
|
1360
1349
|
onCancel?: () => void;
|
|
1361
1350
|
onConfirm?: (value: any) => void | Promise<void>;
|
|
1362
1351
|
customComponent?: CustomModalComponent;
|
|
1363
|
-
cancelText?: string;
|
|
1364
1352
|
confirmDisabled?: boolean;
|
|
1365
1353
|
confirmText?: string;
|
|
1366
1354
|
customComponentAttrs?: () => Record<string, unknown>;
|