uawdijnntqw1x1x1
IP : 216.73.216.110
Hostname : 6.87.74.97.host.secureserver.net
Kernel : Linux 6.87.74.97.host.secureserver.net 4.18.0-553.83.1.el8_10.x86_64 #1 SMP Mon Nov 10 04:22:44 EST 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
emeraadmin
/
.caldav
/
.
/
..
/
www
/
node_modules
/
array-each
/
..
/
..
/
4d695
/
typings.tar
/
/
sweetalert.d.ts000064400000000251151677356210007530 0ustar00import swal, { SweetAlert } from "./core"; declare global { const swal: SweetAlert; const sweetAlert: SweetAlert; } export default swal; export as namespace swal; core.d.ts000064400000000754151677356210006311 0ustar00import { ActionOptions, SwalState } from './modules/state'; import { SwalOptions } from './modules/options'; export declare type SwalParams = (string | Partial<SwalOptions>)[]; export interface SweetAlert { (...params: SwalParams): Promise<any>; close?(namespace?: string): void; getState?(): SwalState; setActionValue?(opts: string | ActionOptions): void; stopLoading?(): void; setDefaults?(opts: object): void; } declare const swal: SweetAlert; export default swal; modules/utils.d.ts000064400000000702151677356210010162 0ustar00export declare const getNode: (className: string) => HTMLElement; export declare const stringToNode: (html: string) => HTMLElement; export declare const insertAfter: (newNode: Node, referenceNode: Node) => void; export declare const removeNode: (node: Node) => void; export declare const throwErr: (message: string) => never; export declare const isPlainObject: (value: any) => boolean; export declare const ordinalSuffixOf: (num: number) => string; modules/init/buttons.d.ts000064400000000234151677356210011463 0ustar00import { ButtonList } from '../options/buttons'; declare const initButtons: (buttons: ButtonList, dangerMode: boolean) => void; export default initButtons; modules/init/content.d.ts000064400000000214151677356210011435 0ustar00import { ContentOptions } from '../options/content'; declare const initContent: (opts: ContentOptions) => void; export default initContent; modules/init/text.d.ts000064400000000160151677356210010747 0ustar00export declare const initTitle: (title: string) => void; export declare const initText: (text: string) => void; modules/init/icon.d.ts000064400000000110151677356210010706 0ustar00declare const initIcon: (str: string) => void; export default initIcon; modules/init/modal.d.ts000064400000000376151677356210011070 0ustar00import { SwalOptions } from '../options'; export declare const injectElIntoModal: (markup: string) => HTMLElement; export declare const initModalContent: (opts: SwalOptions) => void; declare const initModalOnce: () => void; export default initModalOnce; modules/init/index.d.ts000064400000000167151677356210011101 0ustar00import { SwalOptions } from '../options'; export declare const init: (opts: SwalOptions) => void; export default init; modules/init/overlay.d.ts000064400000000113151677356210011442 0ustar00declare const initOverlayOnce: () => void; export default initOverlayOnce; modules/state.d.ts000064400000001305151677356210010142 0ustar00export interface SwalState { isOpen: boolean; promise: { resolve?(value: string): void; reject?(): void; }; actions: { [namespace: string]: { value?: string | any; closeModal?: boolean; }; }; timer: number; } export interface ActionOptions { [buttonNamespace: string]: { value?: string; closeModal?: boolean; }; } declare let state: SwalState; export declare const resetState: () => void; export declare const setActionValue: (opts: string | ActionOptions) => void; export declare const setActionOptionsFor: (buttonKey: string, {closeModal}?: { closeModal?: boolean; }) => void; export default state; modules/actions.d.ts000064400000000354151677356210010465 0ustar00import { SwalState } from './state'; export declare const openModal: () => void; export declare const onAction: (namespace?: string) => void; export declare const getState: () => SwalState; export declare const stopLoading: () => void; modules/class-list/index.d.ts000064400000000213151677356210012204 0ustar00export interface ClassNameList { [key: string]: string; } export declare const CLASS_NAMES: ClassNameList; export default CLASS_NAMES; modules/options/buttons.d.ts000064400000000737151677356210012223 0ustar00export interface ButtonOptions { visible?: boolean; text?: string; value?: any; className?: string | Array<string>; closeModal?: boolean; } export interface ButtonList { [buttonNamespace: string]: ButtonOptions | boolean; } export declare const CONFIRM_KEY = "confirm"; export declare const CANCEL_KEY = "cancel"; export declare const defaultButtonList: ButtonList; export declare const getButtonListOpts: (opts: string | boolean | object) => ButtonList; modules/options/content.d.ts000064400000000261151677356210012167 0ustar00export interface ContentOptions { element: string | Node; attributes?: object; } export declare const getContentOpts: (contentParam: string | object) => ContentOptions; modules/options/deprecations.d.ts000064400000000524151677356210013177 0ustar00export declare const logDeprecation: (name: string) => void; export interface OptionReplacement { replacement?: string; onlyRename?: boolean; subOption?: string; link?: string; } export interface OptionReplacementsList { [name: string]: OptionReplacement; } export declare const DEPRECATED_OPTS: OptionReplacementsList; modules/options/index.d.ts000064400000001021151677356210011617 0ustar00import { ButtonList } from './buttons'; import { ContentOptions } from './content'; export interface SwalOptions { title: string; text: string; icon: string; buttons: ButtonList | Array<string | boolean>; content: ContentOptions; className: string; closeOnClickOutside: boolean; closeOnEsc: boolean; dangerMode: boolean; timer: number; } export declare const setDefaults: (opts: object) => void; export declare const getOpts: (...params: (string | Partial<SwalOptions>)[]) => SwalOptions; modules/markup/buttons.d.ts000064400000000053151677356210012016 0ustar00export declare const buttonMarkup: string; modules/markup/icons.d.ts000064400000000240151677356210011431 0ustar00export declare const errorIconMarkup: () => string; export declare const warningIconMarkup: () => string; export declare const successIconMarkup: () => string; modules/markup/content.d.ts000064400000000054151677356210011773 0ustar00export declare const contentMarkup: string; modules/markup/modal.d.ts000064400000000106151677356210011413 0ustar00export declare const modalMarkup: string; export default modalMarkup; modules/markup/index.d.ts000064400000000505151677356210011431 0ustar00export * from './modal'; export { default as overlayMarkup } from './overlay'; export * from './icons'; export * from './content'; export * from './buttons'; export declare const iconMarkup: string; export declare const titleMarkup: string; export declare const textMarkup: string; export declare const footerMarkup: string; modules/markup/overlay.d.ts000064400000000067151677356210012006 0ustar00declare const overlay: string; export default overlay; modules/event-listeners.d.ts000064400000000211151677356210012144 0ustar00import { SwalOptions } from './options'; declare const addEventListeners: (opts: SwalOptions) => void; export default addEventListeners;
/home/emeraadmin/.caldav/./../www/node_modules/array-each/../../4d695/typings.tar