| Current Path : /home/emeraadmin/public_html/4d695/ |
| Current File : /home/emeraadmin/public_html/4d695/sweetalert.zip |
PK 9[�\�0��� � package.jsonnu �[��� {
"_from": "sweetalert",
"_id": "sweetalert@2.1.2",
"_inBundle": false,
"_integrity": "sha512-iWx7X4anRBNDa/a+AdTmvAzQtkN1+s4j/JJRWlHpYE8Qimkohs8/XnFcWeYHH2lMA8LRCa5tj2d244If3S/hzA==",
"_location": "/sweetalert",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "sweetalert",
"name": "sweetalert",
"escapedName": "sweetalert",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/sweetalert/-/sweetalert-2.1.2.tgz",
"_shasum": "010baaa80d0dbdc86f96bfcaa96b490728594b79",
"_spec": "sweetalert",
"_where": "C:\\xampp\\htdocs\\emeraltd",
"author": {
"name": "Tristan Edwards",
"email": "tristan.edwards@me.com",
"url": "https://tristanedwards.me"
},
"bugs": {
"url": "https://github.com/t4t5/sweetalert/issues"
},
"bundleDependencies": false,
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/SweetAlert"
},
"dependencies": {
"es6-object-assign": "^1.1.0",
"promise-polyfill": "^6.0.2"
},
"deprecated": false,
"description": "A beautiful replacement for JavaScript's \"alert\"",
"devDependencies": {
"@sweetalert/with-react": "^0.1.1",
"@types/jest": "19.2.3",
"autoprefixer": "6.7.7",
"babel-core": "6.24.1",
"babel-loader": "6.4.1",
"babel-plugin-transform-es2015-modules-commonjs": "6.24.1",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.4.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-standalone": "^6.26.0",
"babelify": "^6.0.2",
"browserify": "^9.0.8",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "0.28.7",
"dts-bundle": "0.7.3",
"exports-loader": "0.6.4",
"expose-loader": "0.7.3",
"glob": "^5.0.3",
"jest": "19.0.2",
"jquery": "3.2.1",
"jus": "0.24.1",
"nodelist-foreach-polyfill": "^1.2.0",
"opencollective": "^1.0.3",
"path": "^0.11.14",
"postcss-color-function": "3.0.0",
"postcss-custom-properties": "5.0.2",
"postcss-easy-import": "2.0.0",
"postcss-loader": "1.3.3",
"postcss-nesting": "2.3.1",
"react": "15.5.4",
"react-dom": "15.5.4",
"source-map-loader": "0.2.1",
"style-loader": "0.18.2",
"sweetalert": "file:./",
"ts-jest": "19.0.14",
"ts-loader": "2.0.3",
"tslint": "5.1.0",
"tslint-loader": "3.5.2",
"typescript": "2.2.2",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
"webpack": "3.5.5",
"webpack-bundle-analyzer": "2.9.0",
"webpack-dev-server": "2.4.2",
"webpack-merge": "4.1.0",
"whatwg-fetch": "^2.0.3"
},
"files": [
"dist",
"LICENSE.md",
"README.md",
"typings"
],
"homepage": "https://sweetalert.js.org/",
"jest": {
"verbose": true,
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"keywords": [
"sweetalert",
"alert",
"modal",
"popup"
],
"license": "MIT",
"main": "dist/sweetalert.min.js",
"name": "sweetalert",
"repository": {
"type": "git",
"url": "git+https://github.com/t4t5/sweetalert.git"
},
"scripts": {
"build": "webpack -p",
"builddocs": "node_modules/jus/cli.js build docs-src docs",
"buildtest": "npm run build && jest",
"docs": "npm run build && node_modules/jus/cli.js serve docs-src",
"prepare": "npm run build && npm run builddocs",
"prepublishOnly": "npm run build",
"test": "jest"
},
"types": "typings/sweetalert.d.ts",
"version": "2.1.2"
}
PK 9[�\�^�c� � typings/sweetalert.d.tsnu �[��� import swal, { SweetAlert } from "./core";
declare global {
const swal: SweetAlert;
const sweetAlert: SweetAlert;
}
export default swal;
export as namespace swal;
PK 9[�\�,U� � typings/core.d.tsnu �[��� import { 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;
PK 9[�\d]��� � typings/modules/utils.d.tsnu �[��� export 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;
PK 9[�\a�� � ! typings/modules/init/buttons.d.tsnu �[��� import { ButtonList } from '../options/buttons';
declare const initButtons: (buttons: ButtonList, dangerMode: boolean) => void;
export default initButtons;
PK 9[�\�#� � ! typings/modules/init/content.d.tsnu �[��� import { ContentOptions } from '../options/content';
declare const initContent: (opts: ContentOptions) => void;
export default initContent;
PK 9[�\�蚫p p typings/modules/init/text.d.tsnu �[��� export declare const initTitle: (title: string) => void;
export declare const initText: (text: string) => void;
PK 9[�\�j UH H typings/modules/init/icon.d.tsnu �[��� declare const initIcon: (str: string) => void;
export default initIcon;
PK 9[�\8��� � typings/modules/init/modal.d.tsnu �[��� import { SwalOptions } from '../options';
export declare const injectElIntoModal: (markup: string) => HTMLElement;
export declare const initModalContent: (opts: SwalOptions) => void;
declare const initModalOnce: () => void;
export default initModalOnce;
PK 9[�\�
bQw w typings/modules/init/index.d.tsnu �[��� import { SwalOptions } from '../options';
export declare const init: (opts: SwalOptions) => void;
export default init;
PK 9[�\v�h�K K ! typings/modules/init/overlay.d.tsnu �[��� declare const initOverlayOnce: () => void;
export default initOverlayOnce;
PK 9[�\�M��� � typings/modules/state.d.tsnu �[��� export 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;
PK 9[�\ *m� � typings/modules/actions.d.tsnu �[��� import { 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;
PK 9[�\�� � % typings/modules/class-list/index.d.tsnu �[��� export interface ClassNameList {
[key: string]: string;
}
export declare const CLASS_NAMES: ClassNameList;
export default CLASS_NAMES;
PK 9[�\o�� � $ typings/modules/options/buttons.d.tsnu �[��� export 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;
PK 9[�\N�%�� � $ typings/modules/options/content.d.tsnu �[��� export interface ContentOptions {
element: string | Node;
attributes?: object;
}
export declare const getContentOpts: (contentParam: string | object) => ContentOptions;
PK 9[�\��BnT T ) typings/modules/options/deprecations.d.tsnu �[��� export 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;
PK 9[�\���� "